AIX has the exact same problem. Thanks for tracking down the solution on Darwin. I applied the equivalent testsuite option for AIX.
Thanks, David * testsuite/libgomp.c++/pr24455.C: Use -Wl,-G on AIX. --- a/libgomp/testsuite/libgomp.c++/pr24455.C 2012-06-18 17:57:13.000000000 -0400 +++ b/libgomp/testsuite/libgomp.c++/pr24455.C 2012-11-06 11:43:55.000000000 -0500 @@ -1,6 +1,7 @@ // { dg-do run } // { dg-additional-sources pr24455-1.C } // { dg-require-effective-target tls_runtime } +// { dg-options "-Wl,-G" { target powerpc-ibm-aix* } } extern "C" void abort (void);