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: Mon, 23 Jan 2023 16:08:25 +0000

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

--- Comment #15 from Jan Janssen <medhefgo at web dot de> ---
Compilation works with -Wl,--disable-reloc-section.

Since you're on fedora, you can easily set up a container like this (not sure
if adding a repo is needed when this is run on fedora, so you may need to add
"--nogpgcheck" and/or "--repofrompath fedora,$url" with a $url picked from
https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-38&arch=x86_64) to
dnf:

$ sudo dnf --releasever rawhide --installroot /var/lib/machines/ld-crash
install fedora-release-container dnf mingw64-gcc
$ sudo systemd-nspawn -M ld-crash
$(ld-crash) useradd -m $USER
$(ld-crash) exit
$ sudo systemd-nspawn -M ld-crash --user $USER --bind $HOME/ld-crash

You can put the reproducer in ld-crash and it's easily shared between both
(assuming UIDs are the same). Obviously more stuff can be installed by entering
the container as root again. This also works nicely to get access to a git tree
to build and install inside the container…

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