public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/55811] New: [ERROR] - not enough GOT space for local GOT entries
@ 2012-12-26  5:59 manish.jamwal at gmail dot com
  2012-12-26  8:29 ` [Bug target/55811] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: manish.jamwal at gmail dot com @ 2012-12-26  5:59 UTC (permalink / raw)
  To: gcc-bugs


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/55811] [ERROR] - not enough GOT space for local GOT entries
  2012-12-26  5:59 [Bug c/55811] New: [ERROR] - not enough GOT space for local GOT entries manish.jamwal at gmail dot com
@ 2012-12-26  8:29 ` pinskia at gcc dot gnu.org
  2012-12-26  9:17 ` manish.jamwal at gmail dot com
  2013-01-09 18:17 ` rsandifo at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-12-26  8:29 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |mips64-octeon-linux-gnu
          Component|c                           |target

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-26 08:28:56 UTC ---
Can you report this directly to Cavium since you are using their (well I work
for them) toolchain?  Cavium includes a fix inside their binutils for an issue
like this, are you using their binutils or your own?

Also -Wa,-xgot does not make a difference really for 4.3 since 4.3 does
explicit got references now; you should use -mxgot instead.

   -Wl,-Bstatic -lstdc++ -lrt -lm         -Wl,-Bdynamic

is also bad form.

Really you should using Cavium's FAEs for help rather than going directly to
the FSF for support.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/55811] [ERROR] - not enough GOT space for local GOT entries
  2012-12-26  5:59 [Bug c/55811] New: [ERROR] - not enough GOT space for local GOT entries manish.jamwal at gmail dot com
  2012-12-26  8:29 ` [Bug target/55811] " pinskia at gcc dot gnu.org
@ 2012-12-26  9:17 ` manish.jamwal at gmail dot com
  2013-01-09 18:17 ` rsandifo at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: manish.jamwal at gmail dot com @ 2012-12-26  9:17 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Manish <manish.jamwal at gmail dot com> 2012-12-26 09:17:31 UTC ---
Hi Andrew

Yes, I am using cavium's toolchain.

Will contact Cavium's FAEs for further issues.

Thanks very much for your quick reply.

Have nice day

On Wed, Dec 26, 2012 at 1:58 PM, pinskia at gcc dot gnu.org <
gcc-bugzilla@gcc.gnu.org> wrote:

> is also bad form


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/55811] [ERROR] - not enough GOT space for local GOT entries
  2012-12-26  5:59 [Bug c/55811] New: [ERROR] - not enough GOT space for local GOT entries manish.jamwal at gmail dot com
  2012-12-26  8:29 ` [Bug target/55811] " pinskia at gcc dot gnu.org
  2012-12-26  9:17 ` manish.jamwal at gmail dot com
@ 2013-01-09 18:17 ` rsandifo at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2013-01-09 18:17 UTC (permalink / raw)
  To: gcc-bugs


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

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |rsandifo at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2013-01-09 18:16:11 UTC ---
Thanks Andrew.  Sounds like we can close this.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-09 18:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-26  5:59 [Bug c/55811] New: [ERROR] - not enough GOT space for local GOT entries manish.jamwal at gmail dot com
2012-12-26  8:29 ` [Bug target/55811] " pinskia at gcc dot gnu.org
2012-12-26  9:17 ` manish.jamwal at gmail dot com
2013-01-09 18:17 ` rsandifo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).