[Bug c/55811] New: [ERROR] - not enough GOT space for local GOT entries
manish.jamwal at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 26 05:59:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55811
Bug #: 55811
Summary: [ERROR] - not enough GOT space for local GOT entries
Classification: Unclassified
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: manish.jamwal@gmail.com
Hi
I am facing the "not enough GOT space for local GOT entries", while compiling
the component with gcc-4.3.3 for mips64 octeon processor. The binutils version
is 2.18.90 and linux kernel version is 2.6.32.27. The gcc command which is
throwing error is mentioned below. The same component was compiled with linux
kernel 2.6.21 and gcc-4.1 for mips64 octeon processor with below mentioned
command and it compiled successfully. Please provide some pointer...
mips64-octeon-linux-gnu-gcc -Wa,-xgot -mlong-calls -mabi=n32 -o controller \
-Wl,-Map,controller.map \
-Wl,--relax \
-Wl,--start-group \
bootos.o \ gcc
$(cat packageLibs | xargs) \
$(cat packageArcs | xargs) \
-lsqlite3 \
-L /home/v1/common/comps/../install-sdk-2.3.0/ \
-Wl,--end-group \
-Wl,-Bstatic -lstdc++ -lrt -lm \
-Wl,-Bdynamic -lpthread \
/home/v1/sdk2.3.0/tools-gcc-4.3/bin/../lib/gcc/mips64-octeon-linux-gnu/4.3.3/../../../../mips64-octeon-linux-gnu/bin/ld:
not enough GOT space for local GOT entries
/home/v1/sdk2.3.0/tools-gcc-4.3/bin/../lib/gcc/mips64-octeon-linux-gnu/4.3.3/../../../../mips64-octeon-linux-gnu/bin/ld:
BFD 2.19 internal error, aborting at ../../src/bfd/elfxx-mips.c line 9159 in
_bfd_mips_elf_relocate_section
/home/v1/common/bsp/sdk2.3.0/tools-gcc-4.3/bin/../lib/gcc/mips64-octeon-linux-gnu/4.3.3/../../../../mips64-octeon-linux-gnu/bin/ld:
Please report this bug.
collect2: ld returned 1 exit status
DONE!!
Note: Below mentioned lines in the above command resolve to static and dynamic
libs used at run time by the component.
$(cat packageLibs | xargs) \
$(cat packageArcs | xargs) \
More information about the Gcc-bugs
mailing list