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: nickc at redhat dot com
Subject: [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO
Date: Tue, 24 Jan 2023 09:52:54 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #17 from Nick Clifton <nickc at redhat dot com> ---
Hi Jan,

  Thanks for the container creation guide.  Using that I was able to reproduce
  the problem and come up with a patch to fix it.

  The issue is that LTO is eliminating all of the code, so there are no relocs
  to put into the .reloc section.  But there are places in the PE generation 
  code that assume that the .reloc section, if present, is not empty.  Plus
  the was an issue with how the LTO plugin was marking sections as not needed.

  I have checked in a patch to fix these problems and tidy up the code a little
  bit as well.  With this patch applied your test case compiles successfully,
  although it will not do very much - there is basically no code to run!

Cheers
  Nick

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