[Bug 643801] Internal error: Segmentation fault (program ld) when compiling Google Go

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 2 09:18:06 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=643801

--- Comment #6 from Albert Strasheim <fullung at gmail.com> 2010-11-02 05:18:05 EDT ---
The command that runs is:

/usr/lib64/gcc/i686-pc-mingw32/4.4.2/../../../../i686-pc-mingw32/bin/ld
--sysroot=/usr/i686-pc-mingw32/sys-root -Bdynamic -o 8l
/usr/i686-pc-mingw32/sys-root/mingw/lib/crt2.o
/usr/lib64/gcc/i686-pc-mingw32/4.4.2/crtbegin.o -L/home/alberts/go/lib
-L/usr/lib64/gcc/i686-pc-mingw32/4.4.2
-L/usr/lib64/gcc/i686-pc-mingw32/4.4.2/../../../../i686-pc-mingw32/lib
-L/usr/i686-pc-mingw32/sys-root/mingw/lib asm.o data.o dwarf.o elf.o enam.o
go.o lib.o list.o macho.o obj.o optab.o pass.o pe.o prof.o span.o symtab.o
-lbio -l9 -lm -lmingw32 -lgcc_eh -lgcc -lmoldname -lmingwex -lmsvcrt -luser32
-lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc_eh -lgcc -lmoldname -lmingwex
-lmsvcrt /usr/lib64/gcc/i686-pc-mingw32/4.4.2/crtend.o

Installed the debuginfo:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000446591 in _bfd_coff_generic_relocate_section (output_bfd=<value
optimized out>, info=<value optimized out>, input_bfd=0x7086d0,
input_section=0x7523f0, contents=<value optimized out>, relocs=<value optimized
out>,
    syms=<value optimized out>, sections=<value optimized out>) at
../../bfd/cofflink.c:2970
2970                          val = h2->root.u.def.value

Backtrace:


#0  0x0000000000446591 in _bfd_coff_generic_relocate_section (output_bfd=<value
optimized out>, info=<value optimized out>, input_bfd=0x7086d0,
input_section=0x7523f0, contents=<value optimized out>, relocs=<value optimized
out>,
    syms=<value optimized out>, sections=<value optimized out>) at
../../bfd/cofflink.c:2970
#1  0x00000000004486fc in _bfd_coff_link_input_bfd (finfo=<value optimized
out>, input_bfd=<value optimized out>) at ../../bfd/cofflink.c:2345
#2  0x000000000044a977 in _bfd_coff_final_link (abfd=<value optimized out>,
info=0x6e1a80) at ../../bfd/cofflink.c:905
#3  0x000000000041614c in ldwrite () at ../../ld/ldwrite.c:567
#4  0x00000000004151ec in main (argc=47, argv=0x7fffffffe088) at
../../ld/ldmain.c:495

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the mingw mailing list