bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under m


From: medhefgo at web dot de
Subject: [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO
Date: Wed, 18 Jan 2023 16:43:45 +0000

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

--- Comment #10 from Jan Janssen <medhefgo at web dot de> ---
> So possibly s->output_section is not a valid pointer ?  Mind you this does 
> seem unlikely as that very same indirection has been used in several places 
> before line 1538.  To be honest though, I have never really trusted the line 
> numbers displayed in stack backtraces...

Probably, you were looking at the wrong sources (mingw-w64-binutils is on 2.38
on arch).

I just now decided to take the arch PKGBUILD and update it to 2.40 and it still
crashes. My debugger shows me this in pe-dll.c@1544:

    bfd_vma sec_vma = s->output_section->vma + s->output_offset;

Here are some variable values of interest:
s->output_section == NULL (which causes the SIGSEGV)
s->output_offset == 0
s->section == ".text"
b->filename == "_chkstk_ms.o"

Lemme know if you need more info (or want me to test a patch).

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