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

--- Comment #14 from Dongsheng Song <dongsheng.song at gmail dot com> 
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 %MEM    TIME+  DATA COMMAND
28412 dongshen  20   0 3685m 860m  228 D 22.9 86.3  25:03.09 3.6g ld

# gdb /home/dongsheng/gcc-4.6-windows-linux/i686-w64-mingw32/bin/ld 28412
GNU gdb (GDB) Red Hat Enterprise Linux (7.1-29.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/dongsheng/gcc-4.6-windows-linux/i686-w64-mingw32/bin/ld...done.
Attaching to program:
/home/dongsheng/gcc-4.6-windows-linux/i686-w64-mingw32/bin/ld, process 28412
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
0x00000000004092e3 in match_simple_wild (pattern=0x161aa90 ".gnu.lto_*",
    name=0xbbcc5538 ".text$_ZNK12wxWindowBase9IsEnabledEv") at
/home/dongsheng/vcs/git/binutils/ld/ldlang.c:368
368       if (pattern[0] != name[0] || pattern[1] != name[1]
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.7.el6_0.5.x86_64
(gdb) bt
#0  0x00000000004092e3 in match_simple_wild (pattern=0x161aa90 ".gnu.lto_*",
    name=0xbbcc5538 ".text$_ZNK12wxWindowBase9IsEnabledEv") at
/home/dongsheng/vcs/git/binutils/ld/ldlang.c:368
#1  0x000000000040b2d5 in walk_wild_section_specs1_wild1 (ptr=0x161a7a0,
file=0x1613260,
    callback=0x409960 <gc_section_callback>, data=0x0) at
/home/dongsheng/vcs/git/binutils/ld/ldlang.c:591
#2  0x0000000000410a11 in walk_wild (s=0x161a7a0, callback=0x409960
<gc_section_callback>, data=0x0)
    at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:908
#3  0x0000000000410b67 in lang_gc_sections_1 (s=0x161a7a0) at
/home/dongsheng/vcs/git/binutils/ld/ldlang.c:6241
#4  0x0000000000410b1d in lang_gc_sections_1 (s=0x1605cb0) at
/home/dongsheng/vcs/git/binutils/ld/ldlang.c:6250
#5  0x0000000000412348 in lang_gc_sections () at
/home/dongsheng/vcs/git/binutils/ld/ldlang.c:6263
#6  lang_process () at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:6549
#7  0x00000000004168e6 in main (argc=536, argv=0x7fff0261a288) at
/home/dongsheng/vcs/git/binutils/ld/ldmain.c:461
(gdb) q
A debugging session is active.

        Inferior 1 [process 28412] will be detached.

Quit anyway? (y or n) y
Detaching from program:
/home/dongsheng/gcc-4.6-windows-linux/i686-w64-mingw32/bin/ld, process 28412

-- 
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 mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to