bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/24074] ld fails silently when linking MinGW 64-bit app wit


From: address@hidden
Subject: [Bug binutils/24074] ld fails silently when linking MinGW 64-bit app with BOINC libs
Date: Tue, 08 Jan 2019 00:12:42 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24074

--- Comment #1 from Daniel <address@hidden> ---
I also tried to copy .o/.a files to my Windows machine, and use MinGW toolchain
from latest Cygwin, with binutils 2.29.1.20171006. This time ld crashed with
messages as below. I tried to run this under gdb, but for some reason it did
not catch this signal.

collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld:
BFD (GNU Binutils) 2.29.1.20171006 assertion fail
/cygdrive/i/szsz/tmpp/cygwin64/mingw64-x86_64/mingw64-x86_64-binutils-2.29.1.787c9873-1.x86_64/src/binutils-gdb/bfd/cofflink.c:265

Here is contents of ld.exe.stackdump file:

Exception: STATUS_ACCESS_VIOLATION at rip=0000000003E
rax=00000001004EFC80 rbx=0000000600137010 rcx=0000000600137010
rdx=0000000600137E18 rsi=00000001004ECF38 rdi=0000000000000001
r8 =00000000FFFFC650 r9 =0000000180144F30 r10=0000000100000000
r11=000000010043747B r12=00000000FFFFC650 r13=0000000600137E18
r14=000000060013DA80 r15=0000000100574C00
rbp=00000006001295A0 rsp=00000000FFFFC588
program=C:\cygwin64\usr\x86_64-w64-mingw32\bin\ld.exe, pid 140, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
006001295A0  0000000003E (00100524F48, 0010053F5E0, 00000000109, 00000000001)
006001295A0  00100453FA7 (00100574C00, 006001295A0, 0060012DC90, 00100574C00)
006001295A0  0010045496E (001004ECF38, 00000000000, 00100428B2B, 000FFFFC77C)
006001295A0  0010043C85C (00100574C00, 00100454910, 001800BF54C, 00000000000)
00000000000  0010040F1E8 (0010050499C, 00600074510, 0010050499C, 00000000000)
00000000001  0010040FD20 (000FFFFCAB0, 0000000003A, 001800BF7C2, 000FFFFCAB0)
0010050FB40  00100411E16 (003EBDC91C0, 006000003A0, 000FFFFCBC0, 00180275184)
0010050FB40  001004EA3C6 (000FFFFCAB0, 006000003B8, 00000000000, 006000003C4)
000FFFFCCD0  00180049E16 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  00180047973 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  00180047A24 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace

-- 
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]