https://sourceware.org/bugzilla/show_bug.cgi?id=29389
Bug ID: 29389 Summary: Failed assertions in bfd/cofflink.c and bfd/coff-x86_64.c during the linking stage (MSYS2 MinGW64) Product: binutils Version: 2.39 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luca.bacci at outlook dot com Target Milestone: --- Hi! First of all, thanks for developing such great tools! We've encountered an issue while building a few projects on an up-to-date MSYS2 MinGW64 envirnoment. What happens is that during the final link stage of executables, ld.exe hits two failed assertions and exits: ld.exe: warning: subprojects/glib/gobject/libgobject-2.0.dll.a(libgobject_2_0_0_dll_d000431.o): local symbol `0' has no section ld.exe: BFD (GNU Binutils) 2.38.90.20220720 assertion fail ../../binutils-gdb/bfd/cofflink.c:2279 ld.exe: BFD (GNU Binutils) 2.38.90.20220720 assertion fail ../../binutils-gdb/bfd/coff-x86_64.c:696 ld.exe: subprojects/glib/gobject/libgobject-2.0.dll.a(libgobject_2_0_0_dll_d000431.o): bad reloc address 0x126 in section `.text' That happens both with the current stable binutils release (version 2.38) and a custom build from binutils-2_39-branch. Reproduction steps: * Install the needed packages with the command: pacman -S --needed git mingw-w64-x86_64-{cc,meson,libadwaita,gtksourceview5,pkgconf,gobject-introspection} * Open the MSYS2 MinGW64 Shell (or alternatively the MSYS2 CLang64 Shell) * Type the following command: git clone https://gitlab.gnome.org/GNOME/gnome-text-editor cd gnome-text-editor meson setup builddir -Dforce_fallback_for=libadwaita && meson compile -C builddir/ Issue originally reported at https://gitlab.gnome.org/GNOME/gtk/-/issues/5053 I remain at your disposal for any needed information or testing. Thank you! -- You are receiving this mail because: You are on the CC list for the bug.