Package: binutils Version: 2.45.50.20260119-1 Dear maintainer,
I am developing a program that needs a text file embedded in its binary as a "resource" of sorts. I rely on ld for converting the file to an object file. On Debian sid, however, ld segfaults on me. How to reproduce: $ echo foo > foo.txt $ ld -r -b binary -z noexecstack foo.txt -o foo.o Segmentation fault ld -r -b binary -z noexecstack foo.txt -o foo.o This works fine on Debian testing (with binutils 2.45.50.20251209-1). Workaround: remove the option "-z noexecstack". This option, however, is needed on bookworm to prevent a warning on the final link: "missing .note.GNU-stack section implies executable stack". Regards, Edgar Bonet.

