This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]