bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/10474] New: relocation truncated to fit: R_PPC_REL24 errors


From: giffordj at la dot twcbc dot com
Subject: [Bug ld/10474] New: relocation truncated to fit: R_PPC_REL24 errors
Date: 2 Aug 2009 17:26:07 -0000

Related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739

GCC and Firefox fail to build due to the following errors. At this point my team
at Cross-LFS believes this is related to ld issues for PPC. We have 2 confirmed
reports of problems, with GCC and firefox and lot of other unconfirmed reports.

Here's the error for GCC, which is the most critical in our mind and
demonstrates the error.

gcc -isystem /usr/include -m32   -g -fkeep-inline-functions -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -Wl,-rpath-link,/lib -m32  -Wl,--relax -o cc1-dummy c-lang.o
stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o
c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o
rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o 
dummy-checksum.o \
          main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -Lyes/lib -Lyes/lib -lmpfr -lgmp -ldl
libbackend.a(tree-ssa-ccp.o): In function 
`VEC_basic_block_gc_safe_grow_cleared':
/var/build_system/work/gcc-4.4.1/gcc/basic-block.h:288: relocation truncated to
fit: R_PPC_REL24 against symbol `memset@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_basic_block_heap_free':
/var/build_system/work/gcc-4.4.1/gcc/basic-block.h:289: relocation truncated to
fit: R_PPC_REL24 against symbol `free@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_basic_block_heap_copy':
/var/build_system/work/gcc-4.4.1/gcc/basic-block.h:289: relocation truncated to
fit: R_PPC_REL24 against symbol `memcpy@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function 
`VEC_basic_block_heap_safe_grow_cleared':
/var/build_system/work/gcc-4.4.1/gcc/basic-block.h:289: relocation truncated to
fit: R_PPC_REL24 against symbol `memset@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_gimple_base_quick_insert':
/var/build_system/work/gcc-4.4.1/gcc/gimple.h:33: relocation truncated to fit:
R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_gimple_base_ordered_remove':
/var/build_system/work/gcc-4.4.1/gcc/gimple.h:33: relocation truncated to fit:
R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_gimple_base_block_remove':
/var/build_system/work/gcc-4.4.1/gcc/gimple.h:33: relocation truncated to fit:
R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_gimple_heap_free':
/var/build_system/work/gcc-4.4.1/gcc/gimple.h:34: relocation truncated to fit:
R_PPC_REL24 against symbol `free@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_gimple_heap_copy':
/var/build_system/work/gcc-4.4.1/gcc/gimple.h:34: relocation truncated to fit:
R_PPC_REL24 against symbol `memcpy@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_gimple_heap_safe_grow_cleared':
/var/build_system/work/gcc-4.4.1/gcc/gimple.h:34: relocation truncated to fit:
R_PPC_REL24 against symbol `memset@@GLIBC_2.0' defined in .plt section in
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.1/../../../crt1.o
libbackend.a(tree-ssa-ccp.o): In function `VEC_gimple_gc_copy':
/var/build_system/work/gcc-4.4.1/gcc/gimple.h:35: additional relocation
overflows omitted from the output
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/var/build_system/work/gcc-build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/var/build_system/work/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/build_system/work/gcc-build'
make: *** [all] Error 2

Here's the error from Firefox as reference as well
/opt/firefox-3.5.1/lib/firefox-3.5.1/firefox-bin: error while loading shared
libraries: /opt/firefox-3.5.1/lib/firefox-3.5.1/libxul.so: R_PPC_REL24
relocation at 0x0fcf7254 for symbol `memset' out of range

-- 
           Summary: relocation truncated to fit: R_PPC_REL24 errors
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: critical
          Priority: P1
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: giffordj at la dot twcbc dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: powerpc-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=10474

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]