[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/12658] New: ld use huge memory and very long time when lin
From: |
dongsheng.song at gmail dot com |
Subject: |
[Bug binutils/12658] New: ld use huge memory and very long time when link wxWidgets into single library |
Date: |
Sat, 9 Apr 2011 13:39:25 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12658
Summary: ld use huge memory and very long time when link
wxWidgets into single library
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: critical
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
When I compile wxWidgets 2.8.12 into single library, ld use huge memory, I have
to use 64bit Linux to do cross compile:
CFLAGS='-pipe' CXXFLAGS='-pipe' LDFLAGS='-pipe -s -static' \
${HOME}/vcs/svn/wxWidgets/branches/WX_2_8_BRANCH/configure --prefix=/tmp/w32 \
--host=i686-w64-mingw32 --with-odbc --with-opengl --enable-shared \
--enable-unicode --enable-mediactrl --enable-official_build \
--disable-compat26 --enable-abi-incompatible-features --enable-monolithic
When make finished, 454 object files generate one 12M file wxmsw28u_gcc.dll.
During the building, after ld running 25 minutes, the VM physical memory (3GB)
was exhausted, the host have 4 Xeon 3.20GHz CPU, and the other VMs were idle.
Maybe there have memory leaks in ld ?
*) 4 minutes
Cpu(s): 18.2%us, 5.9%sy, 0.0%ni, 75.1%id, 0.8%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3095296k total, 1354524k used, 1740772k free, 420k buffers
Swap: 7811064k total, 0k used, 7811064k free, 284988k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1110 dongshen 20 0 989m 983m 892 R 96 32.5 3:50.05 ld
*) 8 minutes
Cpu(s): 20.8%us, 4.5%sy, 0.0%ni, 73.9%id, 0.7%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 3095296k total, 2531320k used, 563976k free, 420k buffers
Swap: 7811064k total, 0k used, 7811064k free, 500396k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1110 dongshen 20 0 1926m 1.9g 892 R 97 63.5 8:01.56 ld
*) 18 minutes
Cpu(s): 19.1%us, 7.1%sy, 0.0%ni, 73.5%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 3095296k total, 3072352k used, 22944k free, 32k buffers
Swap: 7811064k total, 0k used, 7811064k free, 290136k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1110 dongshen 20 0 2658m 2.6g 892 R 99 87.8 18:02.34 ld
*) 25 minutes
Cpu(s): 22.9%us, 16.6%sy, 0.0%ni, 28.7%id, 29.4%wa, 0.2%hi, 2.2%si, 0.0%st
Mem: 3095296k total, 3075624k used, 19672k free, 16k buffers
Swap: 7811064k total, 201056k used, 7610008k free, 11748k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1110 dongshen 20 0 3086m 2.8g 444 R 99 95.9 25:00.40 ld
--
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.
- [Bug binutils/12658] New: ld use huge memory and very long time when link wxWidgets into single library,
dongsheng.song at gmail dot com <=
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, dongsheng.song at gmail dot com, 2011/04/10
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, nickc at redhat dot com, 2011/04/11
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, dongsheng.song at gmail dot com, 2011/04/11
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, nickc at redhat dot com, 2011/04/11
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, dongsheng.song at gmail dot com, 2011/04/11
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, dongsheng.song at gmail dot com, 2011/04/11
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, nickc at redhat dot com, 2011/04/12
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, dongsheng.song at gmail dot com, 2011/04/13
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, cvs-commit at gcc dot gnu.org, 2011/04/13
- [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files, nickc at redhat dot com, 2011/04/13