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