http://sourceware.org/bugzilla/show_bug.cgi?id=12658
--- Comment #15 from Dongsheng Song <dongsheng.song at gmail dot com> 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 %MEM TIME+ DATA COMMAND 28412 dongshen 20 0 3714m 844m 248 R 7.0 84.7 36:20.98 3.6g ld VmPeak: 3803368 kB VmSize: 3803368 kB VmLck: 0 kB VmHWM: 892824 kB VmRSS: 860116 kB VmData: 3796576 kB VmStk: 100 kB VmExe: 928 kB VmLib: 1620 kB VmPTE: 7448 kB VmSwap: 2936724 kB # 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 0x000000000040bf93 in compare_section (sort=<value optimized out>, asec=0x52e6b5e8, bsec=0x242e1758) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:454 454 ret = strcmp (bfd_get_section_name (asec->owner, asec), Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.7.el6_0.5.x86_64 (gdb) bt #0 0x000000000040bf93 in compare_section (sort=<value optimized out>, asec=0x52e6b5e8, bsec=0x242e1758) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:454 #1 0x000000000040c0c7 in wild_sort_fast (ptr=0x1618140, sec=0x1618410, section=0x52e6b5e8, file=<value optimized out>, output=<value optimized out>) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:499 #2 output_section_callback_fast (ptr=0x1618140, sec=0x1618410, section=0x52e6b5e8, file=<value optimized out>, output=<value optimized out>) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:531 #3 0x000000000040b2f0 in walk_wild_section_specs1_wild1 (ptr=0x1618140, file=0x160e8d0, callback=0x40bff0 <output_section_callback_fast>, data=0x16057e0) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:594 #4 0x0000000000410a11 in walk_wild (s=0x1618140, callback=0x40bff0 <output_section_callback_fast>, data=0x16057e0) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:908 #5 0x000000000041208d in wild (s=0x1618140, target=0x0, os=0x16057e0) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:2835 #6 map_input_to_output_sections (s=0x1618140, target=0x0, os=0x16057e0) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:3533 #7 0x0000000000412057 in map_input_to_output_sections (s=0x16057e0, target=0x0, os=0x0) at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:3555 #8 0x0000000000412451 in lang_process () at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:6560 #9 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