[ERROR] – not enough GOT space for local GOT entries

This topic contains 1 reply, has 2 voices, and was last updated by  Sean 4 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31412

    manish
    Member

    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)

    #37800

    Sean
    Moderator

    This thread seems to have been idle for a while. Please let me know if this is still an issue you are working on.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.