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