I am noticing one other issue with current gcc 4.2 branch
on powerpc-apple-darwin8. We seem to have failures for the
following libgomp testsuite tests...
FAIL: libgomp.c++/pr30703.C -O0 (test for excess errors)
WARNING: libgomp.c++/pr30703.C -O0 compilation failed to produce executable
FAIL: libgomp.c++/pr30703.C -O1 (test for excess errors)
WARNING: libgomp.c++/pr30703.C -O1 compilation failed to produce executable
FAIL: libgomp.c++/pr30703.C -O2 (test for excess errors)
WARNING: libgomp.c++/pr30703.C -O2 compilation failed to produce executable
FAIL: libgomp.c++/pr30703.C -O3 -fomit-frame-pointer (test for excess errors)
WARNING: libgomp.c++/pr30703.C -O3 -fomit-frame-pointer compilation failed to
produce executable
FAIL: libgomp.c++/pr30703.C -O3 -fomit-frame-pointer -funroll-loops (test for
excess errors)
WARNING: libgomp.c++/pr30703.C -O3 -fomit-frame-pointer -funroll-loops
compilation failed to produce executable
FAIL: libgomp.c++/pr30703.C -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions (test for excess errors)
WARNING: libgomp.c++/pr30703.C -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions compilation failed to produce executable
FAIL: libgomp.c++/pr30703.C -O3 -g (test for excess errors)
WARNING: libgomp.c++/pr30703.C -O3 -g compilation failed to produce executable
FAIL: libgomp.c++/pr30703.C -Os (test for excess errors)
WARNING: libgomp.c++/pr30703.C -Os compilation failed to produce executable
which appear to be of the form...
Executing on host:
/sw/src/fink.build/gcc42-4.1.9999-20070312/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc42-4.1.9999-20070312/darwin_objdir/gcc/ /sw/src/fink
.build/gcc42-4.1.9999-20070312/gcc-4.2-20070312/libgomp/testsuite/libgomp.c++/pr30703.C
-B/sw/src/fink.build/gcc42-4.1.9999-20070312/darwin_objdir/powerpc-apple
-darwin8/./libgomp/
-I/sw/src/fink.build/gcc42-4.1.9999-20070312/darwin_objdir/powerpc-apple-darwin8/./libgomp
-I/sw/src/fink.build/gcc42-4.1.9999-20070312/gcc-4
.2-20070312/libgomp/testsuite/.. -fmessage-length=0 -fopenmp -O0
-L/sw/src/fink.build/gcc42-4.1.9999-20070312/darwin_objdir/powerpc-apple-darwin8/./libgomp/
.libs -lgomp
-L/sw/src/fink.build/gcc42-4.1.9999-20070312/darwin_objdir/powerpc-apple-darwin8/./libgomp/../libstdc++-v3/src/.libs
-lstdc++ -lm -m32 -o ./pr3070
3.exe (timeout = 300)
/usr/bin/ld: Undefined symbols:
__Unwind_Resume
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/bin/ld: Undefined symbols:
__Unwind_Resume
collect2: ld returned 1 exit status
FAIL: libgomp.c++/pr30703.C -O0 (test for excess errors)
Excess errors:
/usr/bin/ld: Undefined symbols:
__Unwind_Resume
WARNING: libgomp.c++/pr30703.C -O0 compilation failed to produce executable
Is anyone else seeing this problem?
Jack
ps I see this symbol in libgcc_s.1.dylib, libgcc_s.10.4.dylib and
libgcc_s.10.5.dylib...
nm libgcc_s.1.dylib | grep __Unwind_Resume
00008bb0 T __Unwind_Resume
0000bc68 s __Unwind_Resume.eh
00008b10 T __Unwind_Resume_or_Rethrow
0000bbc4 s __Unwind_Resume_or_Rethrow.eh
nm libgcc_s.10.4.dylib | grep __Unwind_Resume
00008bb0 T __Unwind_Resume
00008b10 T __Unwind_Resume_or_Rethrow
nm libgcc_s.10.5.dylib | grep __Unwind_Resume
00008bb0 T __Unwind_Resume
00008b10 T __Unwind_Resume_or_Rethrow
and undefined in libstdc++.dylib...
nm libstdc++.dylib | grep __Unwind_Resume
U __Unwind_Resume
U __Unwind_Resume_or_Rethrow
So I'm a tad confused why the linker isn't resolving it.