The g++.dg/rtti/repo1.C  testcase fails to link on Darwin PPC at -m64 with
the following error...

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 repo1.o
/sw/src/fink.build/gcc4-4.1.999-20060911/gcc-4.2-200
60911/gcc/testsuite/g++.dg/rtti/repo1.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++/../../ repo1.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   
-L/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/power
pc-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_def
ined suppress -lm   -m64 -o repo1.exe    (timeout = 300)
Undefined symbols:
  function1<1>::function1(), referenced from:
      __static_initialization_and_destruction_0(int, int)in repo1.o
ld64-59.2 failed: symbol(s) not found
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
Undefined symbols:
  function1<1>::function1(), referenced from:
      __static_initialization_and_destruction_0(int, int)in repo1.o
ld64-59.2 failed: symbol(s) not found
collect2: ld returned 1 exit status

FAIL: g++.dg/rtti/repo1.C (test for excess errors)
Excess errors:
Undefined symbols:
  function1<1>::function1(), referenced from:
      __static_initialization_and_destruction_0(int, int)in repo1.o
ld64-59.2 failed: symbol(s) not found

g++-4 -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: ../gcc-4.2-20060913/configure --prefix=/sw
--prefix=/sw/lib/gcc4 --enable-languages=c,c++,fortran
--infodir=/sw/lib/gcc4/share/info --with-gmp=/sw --with-included-gettext
--host=powerpc-apple-darwin8 --with-libiconv-prefix=/sw
Thread model: posix
gcc version 4.2.0 20060913 (experimental)


-- 
           Summary: g++.dg/rtti/repo1.C fails to link on Darwin PPC at -m64
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: powerpc-apple-darwin8
  GCC host triplet: powerpc-apple-darwin8
GCC target triplet: powerpc-apple-darwin8


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

Reply via email to