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

--- Comment #13 from Dongsheng Song <dongsheng.song at gmail dot com> 
2011-04-14 02:04:40 UTC ---
Here is the stack trace (After ld running 8 minutes, use 1.4GB memory):

# 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
_bfd_pei_swap_sym_in (abfd=0x4c5eda20, ext1=0x5474af34, in1=0x7fff02619200) at
peigen.c:115
115         in->n_type = H_GET_16 (abfd, ext->e_type);
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.7.el6_0.5.x86_64
(gdb) bt
#0  _bfd_pei_swap_sym_in (abfd=0x4c5eda20, ext1=0x5474af34, in1=0x7fff02619200)
at peigen.c:115
#1  0x0000000000446106 in handle_COMDAT (abfd=0x4c5eda20, hdr=<value optimized
out>, name=<value optimized out>,
    section=0x55422a28, flags_ptr=0x7fff02619ebc) at
/home/dongsheng/vcs/git/binutils/bfd/coffcode.h:897
#2  styp_to_sec_flags (abfd=0x4c5eda20, hdr=<value optimized out>, name=<value
optimized out>, section=0x55422a28,
    flags_ptr=0x7fff02619ebc) at
/home/dongsheng/vcs/git/binutils/bfd/coffcode.h:1253
#3  0x0000000000431c0a in make_a_section_from_file (abfd=0x4c5eda20) at
/home/dongsheng/vcs/git/binutils/bfd/coffgen.c:132
#4  coff_real_object_p (abfd=0x4c5eda20) at
/home/dongsheng/vcs/git/binutils/bfd/coffgen.c:222
#5  coff_object_p (abfd=0x4c5eda20) at
/home/dongsheng/vcs/git/binutils/bfd/coffgen.c:301
#6  0x00000000004320ce in bfd_check_format_matches (abfd=0x4c5eda20,
format=<value optimized out>, matching=0x0)
    at /home/dongsheng/vcs/git/binutils/bfd/format.c:211
#7  0x000000000041b9df in ldfile_try_open_bfd (attempt=0x7fff0261c97b
"monodll_msw_notebook.o", entry=0x160ea90)
    at /home/dongsheng/vcs/git/binutils/ld/ldfile.c:178
#8  0x000000000041c10c in ldfile_open_file (entry=0x160ea90) at
/home/dongsheng/vcs/git/binutils/ld/ldfile.c:443
#9  0x0000000000410465 in load_symbols (entry=0x160ea90, place=0x7fff0261a040)
    at /home/dongsheng/vcs/git/binutils/ld/ldlang.c:2678
#10 0x0000000000410e52 in open_input_bfds (s=0x160ea90, force=0) at
/home/dongsheng/vcs/git/binutils/ld/ldlang.c:3239
#11 0x000000000041215a in lang_process () at
/home/dongsheng/vcs/git/binutils/ld/ldlang.c:6471
#12 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