[Top][All Lists]

[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: Fri, 15 Apr 2011 05:56:01 +0000


--- Comment #19 from Dongsheng Song <dongsheng.song at gmail dot com> 
2011-04-15 05:55:52 UTC ---
(In reply to comment #18)
> If I link wxWidgets 2.8 into multiple .DLL files, the link speed is very fast,
> here is the details (the last 2 columns were reported by ld '--stats'):
> DLL SIZE       FILE NAME                LD TIME     LD DATA SIZE
>    1991K   wxbase28u_gcc.dll              42.56s    524M
>     214K   wxbase28u_net_gcc.dll           0.29s     49M
>     194K   wxbase28u_odbc_gcc.dll          0.20s     32M
>     244K   wxbase28u_xml_gcc.dll           0.15s     18M
>     831K   wxmsw28u_adv_gcc.dll            1.06s    102M
>     481K   wxmsw28u_aui_gcc.dll            0.62s     82M
>    5028K   wxmsw28u_core_gcc.dll         349.60s   1694M
>     109K   wxmsw28u_dbgrid_gcc.dll         0.18s     39M
>     108K   wxmsw28u_gl_gcc.dll             0.22s     44M
>     632K   wxmsw28u_html_gcc.dll           0.95s     78M
>     190K   wxmsw28u_media_gcc.dll          0.29s     32M
>     166K   wxmsw28u_qa_gcc.dll             0.24s     28M
>    1226K   wxmsw28u_richtext_gcc.dll       1.64s    102M
>     571K   wxmsw28u_xrc_gcc.dll            0.68s     60M
>   11740K            -                    398.68s   2884M
> The total time is about 400s, why when they link into single .DLL file use so
> much memory (4.6GB) ? and not finished after 6 hours CPU (sys + user) time ?

PS: I checked the total object files, they are 999,944KB.

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]