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) \

-- 
Thanks & Regards:

M.S.Jamwal
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to