This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/49992] New: lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11


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

           Summary: lto-bootstrap reveals duplicate symbols on
                    x86_64-apple-darwin11
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


When using an lto-bootstrap on x86_64-apple-darwin11 under Xcode 4.1 with the
current work-in-progress patch for containerization of LTO sections on
darwin...

http://gcc.gnu.org/ml/gcc-bugs/2011-07/msg00595.html

the bootstrap now fails with a duplicate symbol at...


/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./prev-gcc/g++
-B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.7/x86_64-apple-darwin11.0.0/bin/ -nostdinc++
-B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/prev-x86_64-apple-darwin11.0.0/libstdc++-v3/src/.libs
-B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/prev-x86_64-apple-darwin11.0.0/libstdc++-v3/libsupc++/.libs
-I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/prev-x86_64-apple-darwin11.0.0/libstdc++-v3/include/x86_64-apple-darwin11.0.0
-I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/prev-x86_64-apple-darwin11.0.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20110805/libstdc++-v3/libsupc++
-L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/prev-x86_64-apple-darwin11.0.0/libstdc++-v3/src/.libs
-L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/prev-x86_64-apple-darwin11.0.0/libstdc++-v3/libsupc++/.libs
 -g -O2 -mdynamic-no-pic -flto=jobserver -frandom-seed=1 -DIN_GCC   -W -Wall
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -o gengtype gengtype.o gengtype-lex.o gengtype-parse.o
gengtype-state.o version.o errors.o libcommon.a ../libcpp/libcpp.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a -lintl -L/sw/lib -liconv  ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a 
ld: duplicate symbol trim_filename(char const*) in libcommon.a(diagnostic.o)
and errors.o for architecture x86_64
collect2: error: ld returned 1 exit status
make[3]: *** [gengtype] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]