[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.
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, (continued)
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/17
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/17
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, nickc at redhat dot com, 2023/01/18
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/18
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, nickc at redhat dot com, 2023/01/19
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/19
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/20
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, nickc at redhat dot com, 2023/01/23
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/23
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, cvs-commit at gcc dot gnu.org, 2023/01/24
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO,
nickc at redhat dot com <=
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/24
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, nickc at redhat dot com, 2023/01/25
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, nickc at redhat dot com, 2023/01/25
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/25
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, nickc at redhat dot com, 2023/01/25
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, nickc at redhat dot com, 2023/01/26
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, medhefgo at web dot de, 2023/01/27
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, cvs-commit at gcc dot gnu.org, 2023/01/27
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, nickc at redhat dot com, 2023/01/27
- [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO, amodra at gmail dot com, 2023/01/30