[Bug middle-end/50598] [4.7 Regression] Undefined symbols: "___emutls_v.*", ... on *-apple-darwin*

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sun Nov 13 13:07:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50598

--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-11-13 12:54:11 UTC ---
I have found that reverting the change for gcc/cgraphunit.c in  revision 179429
and doing a simple update is not enough to fix the libstdc++-v3 failures. In
top of that the libstdc++-v3 libraries have to be rebuilt too. The differences
are at least

libstdc++-v3/src/libstdc++-symbols.explist

which does not contain ___emutls_v._ZSt15__once_callable without the revert,
and

libstdc++-v3-mvd/src/mutex.o

[macbook] gcc/build_w% nm x86_64-apple-darwin10.8.0/libstdc++-v3/src/mutex.o
0000000000000080 s EH_frame1
                 U ___emutls_get_address
0000000000000020 D ___emutls_v._ZSt11__once_call
0000000000000000 T ___once_proxy

without the revert and

[macbook] gcc/build_w% nm
x86_64-apple-darwin10.8.0/libstdc++-v3-mvd/src/mutex.o
00000000000000a0 s EH_frame1
                 U ___emutls_get_address
0000000000000040 D ___emutls_v._ZSt11__once_call
0000000000000020 D ___emutls_v._ZSt15__once_callable
0000000000000000 T ___once_proxy

with it.

Is this a missing dependency in the make?



More information about the Gcc-bugs mailing list