bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/12658] ld: potential infinite loop and memory leaks when l


From: dongsheng.song at gmail dot com
Subject: [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files
Date: Sun, 10 Apr 2011 04:24:39 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12658

Dongsheng Song <dongsheng.song at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ld use huge memory and very |ld: potential infinite loop
                   |long time when link         |and memory leaks when link
                   |wxWidgets into single       |many object files
                   |library                     |

--- Comment #1 from Dongsheng Song <dongsheng.song at gmail dot com> 2011-04-10 
04:24:34 UTC ---
Now, ld running 6 hours cpu time, use 4.6GB memory:

VmPeak:  4776608 kB
VmSize:  4734656 kB
VmLck:         0 kB
VmHWM:   3020260 kB
VmRSS:   2982304 kB
VmData:  4728000 kB
VmStk:       100 kB
VmExe:       912 kB
VmLib:      1504 kB
VmPTE:      9232 kB
Threads:        1

Cpu(s):  7.9%us, 11.5%sy,  0.0%ni, 44.4%id, 33.3%wa,  0.2%hi,  2.7%si,  0.0%st
Mem:   3095296k total,  3073516k used,    21780k free,       16k buffers
Swap:  7811064k total,  3905532k used,  3905532k free,     9484k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1110 dongshen  20   0 4623m 2.8g  196 D   49 96.1 358:15.13 ld


address@hidden:/home/dongsheng/gcc-4.6-windows-linux#
./bin/i686-w64-mingw32-g++ -v
Using built-in specs.
COLLECT_GCC=./bin/i686-w64-mingw32-g++
COLLECT_LTO_WRAPPER=/home/dongsheng/gcc-4.6-windows-linux/libexec/gcc/i686-w64-mingw32/4.6.1/lto-wrapper
Target: i686-w64-mingw32
Configured with: /home/dongsheng/vcs/svn/gcc/branches/gcc-4_6-branch/configure
--prefix=/home/dongsheng/gcc-4.6-windows-linux
--with-sysroot=/home/dongsheng/gcc-4.6-windows-linux --target=i686-w64-mingw32
--disable-multilib --enable-languages=c,c++
Thread model: win32
gcc version 4.6.1 20110408 (prerelease) (GCC)

address@hidden:/home/dongsheng/gcc-4.6-windows-linux#
./i686-w64-mingw32/bin/ld --version
GNU ld (GNU Binutils) 2.21.51.20110408
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]