On Jan 18, 2006, at 6:16 AM, Eric Botcazou wrote:
mkdir.o socket.o raise-gcc.o \
-Wl,-flat_namespace \
-lm
ld: Undefined symbols:
__Unwind_Resume
__Unwind_ForcedUnwind
__Unwind_GetDataRelBase
__Unwind_GetIP
__Unwind_GetLanguageSpecificData
__Unwind_GetRegionStart
__Unwind_GetTextRelBase
__Unwind_RaiseException
__Unwind_SetGR
__Unwind_SetIP
/usr/bin/libtool: internal link edit command failed
make[5]: *** [gnatlib-shared-darwin] Error 1
make[4]: *** [gnatlib-shared] Error 2
make[3]: *** [gnatlib-shared] Error 2
make[2]: *** [all-target-libada] Error 2
make[1]: *** [all] Error 2
make: *** [bootstrap] Error 2
OK, I can reproduce the failure.
Darwin specialists, what are we missing here?
Well it would be helpful if the reporter reran the link line with -v so
people can see what is being linked. All I know it is not picking up
libgcc_s.1.dylib or picking up the wrong one.
I don't have access to 10.4.x to test with but I can test later tonight
on
10.3.9 which might (but I doubt it) expose the issue.
-- Pinski