This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error Linking LTO programs using GCC6.4

The same program was linking fine using previous gcc 5.X , please
advise how to debug further.

[Linking driver.exe]
collect2: fatal error: ld terminated with signal 11 [Segmentation
fault], core dumped
compilation terminated.
libdriver.a(regexp.o) (15065197): Section flag STYP_GROUP (0x4)
libdriver.a(regexp.o) (15065197): Section flag STYP_COPY (0x10)
make: *** [Makefile:194: driver.exe] Error 1

aunyx@DESKTOP-R60LL3E ~/fluffos/src
$ cat ld.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at rip=0010045A417
rax=0000000000000000 rbx=0000000600525E40 rcx=0000000600525E40
rdx=0000000100571C00 rsi=0000000000000001 rdi=00000006002E2420
r8 =0000000600528C70 r9 =0000000000000058 r10=0000000100000000
r11=0000000000000000 r12=00000000000003EE r13=0000000100571C00
r14=00000006000D5B50 r15=00000006000CDC00
rbp=00000006000D9A30 rsp=00000000FFFFC4D0
program=D:\cygwin\usr\x86_64-pc-cygwin\bin\ld.exe, pid 8564, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
006000D9A30  0010045A417 (00100571C00, 006000E3374, 000FFFFC6A0, 00100571C00)
006000D9A30  0010045382E (006002E2420, 006000D9A30, 000000003EE, 00100571C00)
006000D9A30  0010045433E (001004EAE20, 00000000000, 0010042843B, 000FFFFC70C)
006000D9A30  0010043C095 (00100571C00, 001004542E0, 001800BAE1C, 00000000000)
00000000000  0010040EDB8 (00600075530, 00600076970, 0010050295C, 00000000000)
00000000000  0010040F8D0 (001802FDC50, 00600068A50, 001800BB092, 00600069690)
000FFFFCA40  00100411976 (003FED791C0, 006000003F0, 001800BB092, 00000390038)
000FFFFCA40  001004E8C7A (000FFFFCA40, 000FFFFCAF0, 00000000000, 001801C31A0)
000FFFFCCB0  00180047BC2 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  00180045863 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  00180045914 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]