* ld: non-dynamic relocations refer to dynamic symbol @ 2009-05-30 9:41 Luk Claes 2009-05-30 18:32 ` Kevin Cernekee 0 siblings, 1 reply; 2+ messages in thread From: Luk Claes @ 2009-05-30 9:41 UTC (permalink / raw) To: debian-mips; +Cc: linux-mips Hi There appears to be a mips specific bug in binutils which make some packages fail to build when linking. More details can be found in debian bug #519006 [0] and binutils upstream bug #10144 [1]. Can someone please look into it? Thanks already Luk Debian Release Manager [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519006 [1] http://sourceware.org/bugzilla/show_bug.cgi?id=10144 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ld: non-dynamic relocations refer to dynamic symbol 2009-05-30 9:41 ld: non-dynamic relocations refer to dynamic symbol Luk Claes @ 2009-05-30 18:32 ` Kevin Cernekee 0 siblings, 0 replies; 2+ messages in thread From: Kevin Cernekee @ 2009-05-30 18:32 UTC (permalink / raw) To: Luk Claes; +Cc: debian-mips, linux-mips [-- Attachment #1: Type: text/plain, Size: 789 bytes --] On Sat, May 30, 2009 at 2:41 AM, Luk Claes <luk@debian.org> wrote: > There appears to be a mips specific bug in binutils which make some > packages fail to build when linking. More details can be found in debian bug > #519006 [0] and binutils upstream bug #10144 [1]. > I have seen this error when -fPIC is accidentally omitted from CFLAGS when building shared libraries. Older versions of MIPS gcc used to implicitly generate PIC code for pretty much all Linux executables and libraries, so if you forgot to add -fPIC it usually worked anyway. But with the addition of PLT support this is no longer the case. MIPS gcc now defaults to non-PIC code, which is more efficient and easier to read in the disassembly. The downside is that all of the old broken Makefiles need to be fixed. [-- Attachment #2: Type: text/html, Size: 1045 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-30 18:32 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-05-30 9:41 ld: non-dynamic relocations refer to dynamic symbol Luk Claes 2009-05-30 18:32 ` Kevin Cernekee
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.