------- Comment #6 from howarth at nitro dot med dot uc dot edu  2006-09-14 
00:28 -------
g++.dg/warn/weak1.C exhibits a linker failure as well...

Executing on host:
/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/testsuite/g++/../../g++
-B/sw/src/fink.build/gcc4-4.1.
999-20060911/darwin_objdir/gcc/testsuite/g++/../../
/sw/src/fink.build/gcc4-4.1.999-20060911/gcc-4.2-20060911/gcc/testsuite/g++.dg/w
arn/weak1.C  -nostdinc++
-I/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerpc-apple-darwin8/ppc64/libstdc++-v3/include/p
owerpc-apple-darwin8
-I/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerpc-apple-darwin8/ppc64/libstdc++-v3/include
-I/sw
/src/fink.build/gcc4-4.1.999-20060911/gcc-4.2-20060911/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc4-4.1.999-20060911/gcc-4.2-200
60911/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc4-4.1.999-20060911/gcc-4.2-20060911/libstdc++-v3/testsuite/util
-fmessag
e-length=0   -ansi -pedantic-errors -Wno-long-long   
-L/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerpc-apple-darwin8
/ppc64/libstdc++-v3/src/.libs 
-L/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerpc-apple-darwin8/ppc64/libstdc++-v3/src
/.libs
-L/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerpc-apple-darwin8/ppc64/libiberty
 -multiply_defined suppress -l
m   -m64 -o ./weak1.exe    (timeout = 300)
Undefined symbols:
  foo(), referenced from:
      _main in cc1tk2pZ.o
      __Z3foov$non_lazy_ptr in cc1tk2pZ.o
ld64-59.2 failed: symbol(s) not found
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
Undefined symbols:
  foo(), referenced from:
      _main in cc1tk2pZ.o
      __Z3foov$non_lazy_ptr in cc1tk2pZ.o
ld64-59.2 failed: symbol(s) not found
collect2: ld returned 1 exit status

FAIL: g++.dg/warn/weak1.C (test for excess errors)
Excess errors:
Undefined symbols:
  foo(), referenced from:
      _main in cc1tk2pZ.o
      __Z3foov$non_lazy_ptr in cc1tk2pZ.o
ld64-59.2 failed: symbol(s) not found

WARNING: g++.dg/warn/weak1.C compilation failed to produce executable


-- 


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

Reply via email to