[Bug driver/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:33:00 GMT 2006



------- Comment #8 from howarth at nitro dot med dot uc dot edu  2006-09-14 00:33 -------
g++.old-deja/g++.pt/instantiate6.C suffers from the same...

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  -c  -m64 -o
instantiate6.o /sw/src/fink.build/gcc4-4.1.999-20060911/gcc-
4.2-20060911/gcc/testsuite/g++.old-deja/g++.pt/instantiate6.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++/../../ instantiate6.o  -nostdinc++
-I/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_ob
jdir/powerpc-apple-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-2006091
1/gcc-4.2-20060911/libstdc++-v3/testsuite/util -fmessage-length=0  -frepo   
-L/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdi
r/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
 -multi
ply_defined suppress -lm   -m64 -o instantiate6.exe    (timeout = 300)
Undefined symbols:
  foo<int>::g(), referenced from:
      _main in instantiate6.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<int>::g(), referenced from:
      _main in instantiate6.o
ld64-59.2 failed: symbol(s) not found
collect2: ld returned 1 exit status

FAIL: g++.old-deja/g++.pt/instantiate6.C (test for excess errors)
Excess errors:
Undefined symbols:
  foo<int>::g(), referenced from:
      _main in instantiate6.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