>
>
> > --- /dev/null
> > +++ b/libgomp/libgompd.map
> > @@ -0,0 +1,49 @@
> > +OMPD_5.0 {
> > +  global:
> > +     ompd_dll_locations_valid;
>
> ompd_dll_locations and ompd_dll_locations_valid both need to be exported,
> but not from libgompd.so.1 but from libgomp.so.1, so they need to go into
> libgomp.map and be defined somewhere in libgomp.so.1, so likely env.c.
> Include omp-tools.h and plugin-suffix.h in there and move
> ompd_dll_locations
> definition in there (into the #ifndef LIBGOMP_OFFLOADED_ONLY section)
> and for ompd_dll_locations_valid, e.g. make it an alias to
> initialize_env or for the time being just an empty function with
> __attribute__((noipa)) that initialize_env
> calls and I'll help with making it an alias afterwards.
>

Also, for libgomp.map, which block should I place the ompd_dll_locations
and ompd_dll_locations_valid?
Should I make a new block for OMPD_5.0, or should I place them in one of
existing blocks like GOMP_5.0 or OMP_5.0.1?

Reply via email to