This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/64625] ___OFFLOAD_TABLE__ symbol not produced on x86_64 darwin
- From: "howarth at bromo dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 18 Jan 2015 15:40:28 +0000
- Subject: [Bug libgomp/64625] ___OFFLOAD_TABLE__ symbol not produced on x86_64 darwin
- Auto-submitted: auto-generated
- References: <bug-64625-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64625
--- Comment #10 from howarth at bromo dot med.uc.edu ---
(In reply to David Edelsohn from comment #9)
> Locally reverting the creation of offload_table may avoid the reference to
> the undefined symbol as a workaround to get sane testsuite results.
>
> tree offload_table = build_zero_cst (ptr_type_node);
>
> The failures on AIX are:
>
> FAIL: libgomp.c/examples-4/e.50.1.c (test for excess errors)
> Excess errors:
> ld: 0711-317 ERROR: Undefined symbol: __OFFLOAD_TABLE__
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
>
> WARNING: libgomp.c/examples-4/e.50.1.c compilation failed to produce
> executable
Did you try the proposed patch to fix this?
https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01479.html
On darwin this resolves the failures when coupled with a fix for PR64635.
https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01509.html