[Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files

2011-04-13 Thread dongsheng.song at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12658 --- Comment #15 from Dongsheng Song 2011-04-14 05:14:09 UTC --- Here is the updated stack trace (After ld running CPU time 36 minutes, use 3.7GB memory): PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ DATA COMMAND 28412 dongshen

[Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files

2011-04-13 Thread dongsheng.song at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12658 --- Comment #14 from Dongsheng Song 2011-04-14 02:37:12 UTC --- Here is the updated stack trace (After ld running 25 minutes, use 3.6GB memory): PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ DATA COMMAND 28412 dongshen 20 0

[Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files

2011-04-13 Thread dongsheng.song at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12658 --- Comment #13 from Dongsheng Song 2011-04-14 02:04:40 UTC --- Here is the stack trace (After ld running 8 minutes, use 1.4GB memory): # gdb /home/dongsheng/gcc-4.6-windows-linux/i686-w64-mingw32/bin/ld 28412 GNU gdb (GDB) Red Hat Enterprise

[Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files

2011-04-13 Thread dongsheng.song at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12658 --- Comment #12 from Dongsheng Song 2011-04-14 01:32:17 UTC --- (In reply to comment #11) > (In reply to comment #10) > > Hi Dongsheng, > > > > Please could you try the latest FSF mainline sources with Kai's patch in > > them, > > and see i

[Bug ld/12672] LTO on powerpc will not work with static libraries

2011-04-13 Thread meissner at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12672 Michael Meissner changed: What|Removed |Added CC||meissner at gcc dot gnu.org -- Con

[Bug ld/12672] LTO on powerpc will not work with static libraries

2011-04-13 Thread meissner at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12672 --- Comment #1 from Michael Meissner 2011-04-13 21:25:10 UTC --- Ian Taylor has said that gold fixes this problem. Unfortunately, gold does not work for powerpc64-linux. http://sourceware.org/ml/binutils/2011-01/msg00270.html -- Configure

[Bug ld/12672] LTO on powerpc will not work with static libraries

2011-04-13 Thread bergner at vnet dot ibm.com
http://sourceware.org/bugzilla/show_bug.cgi?id=12672 Peter Bergner changed: What|Removed |Added CC||bergner at vnet dot ibm.com -- Config

[Bug ld/12672] New: LTO on powerpc will not work with static libraries

2011-04-13 Thread meissner at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12672 Summary: LTO on powerpc will not work with static libraries Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: critical Priority: P2 Component: ld Assign

[Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files

2011-04-13 Thread dongsheng.song at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12658 --- Comment #11 from Dongsheng Song 2011-04-13 14:53:22 UTC --- (In reply to comment #10) > Hi Dongsheng, > > Please could you try the latest FSF mainline sources with Kai's patch in > them, > and see if this has any affect on your problem

[Bug ld/12669] Suspected bug in calculation of gp-relative offsets for ia64 target

2011-04-13 Thread sch...@linux-m68k.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12669 Andreas Schwab changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug ld/12669] Suspected bug in calculation of gp-relative offsets for ia64 target

2011-04-13 Thread jakub at jermar dot eu
http://sourceware.org/bugzilla/show_bug.cgi?id=12669 --- Comment #3 from Jakub Jermar 2011-04-13 14:16:02 UTC --- (In reply to comment #2) > Note that the linker does not always put gp at the start of the .got section. > If you want to force a particular gp value you need to define the symbol

[Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files

2011-04-13 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12658 --- Comment #10 from Nick Clifton 2011-04-13 14:01:37 UTC --- Hi Dongsheng, Please could you try the latest FSF mainline sources with Kai's patch in them, and see if this has any affect on your problem ? Cheers Nick -- Configure bugmail

[Bug ld/12669] Suspected bug in calculation of gp-relative offsets for ia64 target

2011-04-13 Thread sch...@linux-m68k.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12669 --- Comment #2 from Andreas Schwab 2011-04-13 13:55:02 UTC --- Note that the linker does not always put gp at the start of the .got section. If you want to force a particular gp value you need to define the symbol __gp. Otherwise use this sy

[Bug ld/12669] Suspected bug in calculation of gp-relative offsets for ia64 target

2011-04-13 Thread jakub at jermar dot eu
http://sourceware.org/bugzilla/show_bug.cgi?id=12669 --- Comment #1 from Jakub Jermar 2011-04-13 13:22:46 UTC --- Created attachment 5669 --> http://sourceware.org/bugzilla/attachment.cgi?id=5669 HelenOS testcase showing ld 2.21 computes apparently wrong gp-relative offsets -- Configure bugm

[Bug ld/12669] New: Suspected bug in calculation of gp-relative offsets for ia64 target

2011-04-13 Thread jakub at jermar dot eu
http://sourceware.org/bugzilla/show_bug.cgi?id=12669 Summary: Suspected bug in calculation of gp-relative offsets for ia64 target Product: binutils Version: 2.21 Status: NEW Severity: normal Priority: P2

[Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files

2011-04-13 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12658 --- Comment #9 from cvs-commit at gcc dot gnu.org 2011-04-13 12:53:39 UTC --- CVSROOT:/cvs/src Module name:src Changes by:kti...@sourceware.org2011-04-13 12:53:36 Modified files: ld : ChangeLog deffile.h deffile