[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

iverbin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 4 20:03:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607

iverbin at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-02-04
     Ever confirmed|0                           |1

--- Comment #9 from iverbin at gcc dot gnu.org ---
(In reply to vries from comment #8)
> (In reply to iverbin from comment #7)
> > I believe we should drop support of offloading without linker plugin.
> 
> Same failures occur with -fuse-linker-plugin though.

Ok, I see.
Maybe we could promote all *omp_fn* to global? It should fix "undefined
reference" from offload table in one partition to *omp_fn* in another.


More information about the Gcc-bugs mailing list