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



             Bug #: 56001

           Summary: [4.7.3 regression] relocation truncated to fit:

                    R_PPC_REL24 breaks bootstrap on powerpc64-linux

    Classification: Unclassified

           Product: gcc

           Version: 4.7.3

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: bootstrap

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: mi...@it.uu.se





Attempting to bootstrap gcc-4.7-20130112 on powepc64-linux fails for me with:



gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings

-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute

-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings

-Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o cc1 c-lang.o

c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o

c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o c-family/c-common.o

c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o

c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o

c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o

c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o

default-c.o rs6000-c.o \

  cc1-checksum.o main.o  libbackend.a libcommon-target.a libcommon.a

../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a

../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   

-L/home/mikpe/pkgs/linux-ppc64/gmp-5.0.5/lib

-L/home/mikpe/pkgs/linux-ppc64/mpfr-3.1.1/lib

-L/home/mikpe/pkgs/linux-ppc64/mpc-1.0.1/lib -lmpc -lmpfr -lgmp   -L../zlib -lz

libbackend.a(except.o): In function `VEC_uchar_base_splice':

/mnt/archive/gcc-4.7-20130112/gcc/vecprim.h:27:(.text+0x9238): relocation

truncated to fit: R_PPC_REL24 against symbol `memcpy@@GLIBC_2.0' defined in

.plt section in /usr/lib/../lib/crt1.o

libbackend.a(except.o): In function `VEC_uchar_base_quick_insert':

/mnt/archive/gcc-4.7-20130112/gcc/vecprim.h:27:(.text+0x92f0): relocation

truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in

.plt section in /usr/lib/../lib/crt1.o

libbackend.a(except.o): In function `VEC_uchar_base_ordered_remove':

/mnt/archive/gcc-4.7-20130112/gcc/vecprim.h:27:(.text+0x934c): relocation

truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in

.plt section in /usr/lib/../lib/crt1.o

libbackend.a(except.o): In function `VEC_uchar_base_block_remove':

/mnt/archive/gcc-4.7-20130112/gcc/vecprim.h:27:(.text+0x93c0): relocation

truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in

.plt section in /usr/lib/../lib/crt1.o

collect2: ld returned 1 exit status

make[3]: *** [cc1] Error 1

make[3]: Leaving directory `/mnt/archive/objdir47/gcc'

make[2]: *** [all-stage1-gcc] Error 2

make[2]: Leaving directory `/mnt/archive/objdir47'

make[1]: *** [stage1-bubble] Error 2

make[1]: Leaving directory `/mnt/archive/objdir47'

make: *** [bootstrap] Error 2



On the same machine with the same system toolchain (gcc-4.6.3, binutils-2.22),

both the previous 4.7 snapshot (4.7-20130105) and the current 4.8 snapshot

(4.8-20130113) bootstrapped fine.

Reply via email to