[Bug target/29075] g++.dg/rtti/repo1.C fails to link on Darwin PPC at -m64

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Thu Sep 14 00:21:00 GMT 2006



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2006-09-14 00:21 -------
A similar issue exists with g++.dg/template/repo3.C...

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++/../../  -nostdinc++
-I/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerpc-ap
ple-darwin8/ppc64/libstdc++-v3/include/powerpc-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-20060911/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc4-4.1.999-20060911/gcc-4.2-20060
911/libstdc++-v3/testsuite/util -fmessage-length=0  -frepo -DF='a'  -c  -m64 -o
repo3.o /sw/src/fink.build/gcc4-4.1.999-20060911/gcc
-4.2-20060911/gcc/testsuite/g++.dg/template/repo3.C    (timeout = 300)
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++/../../ repo3.o  -nostdinc++
-I/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/po
werpc-apple-darwin8/ppc64/libstdc++-v3/include/powerpc-apple-darwin8
-I/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerp
c-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-20060911/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc4-4.1.999-20060911/gcc-4
.2-20060911/libstdc++-v3/testsuite/util -fmessage-length=0  -frepo -DF='a'   
-L/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objd
ir/powerpc-apple-darwin8/ppc64/libstdc++-v3/src/.libs 
-L/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerpc-apple-darwin
8/ppc64/libstdc++-v3/src/.libs
-L/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/powerpc-apple-darwin8/ppc64/libiberty
 -mult
iply_defined suppress -lm   -m64 -o repo3.exe    (timeout = 300)
Undefined symbols:
  void g<int, int>(), referenced from:
      _main in repo3.o
ld64-59.2 failed: symbol(s) not found
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
Undefined symbols:
  void g<int, int>(), referenced from:
      _main in repo3.o
ld64-59.2 failed: symbol(s) not found
collect2: ld returned 1 exit status

FAIL: g++.dg/template/repo3.C (test for excess errors)
Excess errors:
Undefined symbols:
  void g<int, int>(), referenced from:
      _main in repo3.o
ld64-59.2 failed: symbol(s) not found 


-- 


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



More information about the Gcc-bugs mailing list