https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65971

            Bug ID: 65971
           Summary: bootstrap fails with "multiple definition of
                    '__cpu_indicator_init'"
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manfred99 at gmx dot ch
  Target Milestone: ---

Since 2015-04-17
(probably since https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222178),
my bootstrap of trunk fails with

gold: error: cpuinfo_s.o: multiple definition of '__cpu_indicator_init'
gold: cpuinfo_s.o: previous definition here
gold: error: cpuinfo_s.o: multiple definition of '__cpu_model'
gold: cpuinfo_s.o: previous definition here
collect2: error: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: *** Waiting for unfinished jobs....
gold: error: cpuinfo_s.o: multiple definition of '__cpu_indicator_init'
gold: cpuinfo_s.o: previous definition here
gold: error: cpuinfo_s.o: multiple definition of '__cpu_model'
gold: cpuinfo_s.o: previous definition here
collect2: error: ld returned 1 exit status
make[5]: *** [libgcc_s.so] Error 1
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap2-lean] Error 2


before this date everything was fine. Are there any new prerequisites
on the build environment?

I build with
  ../build/configure \
      --enable-languages=c,c++,fortran \
      --enable-checking=release \
      --disable-libstdcxx-pch --enable-libgomp \
      --enable-lto --enable-gold --with-plugin-ld=gold

  make BOOT_CFLAGS="-g -O2" bootstrap2-lean

with gcc 4.5.1, glibc 2.11.3 and binutils 2.21

Reply via email to