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.