[Bug ld/32067] New: ld crash in _bfd_elf_link_keep_memory when building statifier-1.7.4

2024-08-09 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32067 Bug ID: 32067 Summary: ld crash in _bfd_elf_link_keep_memory when building statifier-1.7.4 Product: binutils Version: unspecified Status: NEW Severity: norma

[Bug ld/32067] ld crash in _bfd_elf_link_keep_memory when building statifier-1.7.4

2024-08-09 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32067 --- Comment #1 from Sam James --- Created attachment 15665 --> https://sourceware.org/bugzilla/attachment.cgi?id=15665&action=edit processor.S ``` $ gcc -nostdinc -m32 processor.S -c -o dl-var.o && gcc -m32 -o dl-var dl-var.o -Wl,--oformat,

[Bug ld/32067] ld crash in _bfd_elf_link_keep_memory when building statifier-1.7.4

2024-08-09 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32067 --- Comment #2 from Sam James --- (gdb) p info->output_bfd $1 = (bfd *) 0x556bca80 (gdb) p *info->output_bfd $2 = {filename = 0x556bcbd0 "dl-var", xvec = 0x77fb1c60 , iostream = 0x5569cee0, iovec = 0x77fa9080 , lru_prev = 0

[Bug ld/32067] ld crash in _bfd_elf_link_keep_memory when building statifier-1.7.4

2024-08-09 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32067 Sam James changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are re

[Bug ld/32067] ld crash in _bfd_elf_link_keep_memory when building statifier-1.7.4 with -Wl,--oformat,binary

2024-08-09 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32067 Sam James changed: What|Removed |Added Summary|ld crash in |ld crash in |_bfd_elf_l

Questions Regarding Initial Input Seeds Used for Fuzzing Binutils via OSS-Fuzz

2024-08-09 Thread Federico Cernera
Dear Binutils Team, I hope this message finds you well. My name is Federico Cernera, and I am a PhD student at Sapienza University of Rome, currently collaborating with Vrije Universiteit Amsterdam. I have been exploring the Binutils library and its integration with OSS-Fuzz for fuzzing purpose

[Bug ld/32003] Specifying --package-metadata might not be possible and is too fragile

2024-08-09 Thread bdrung at posteo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=32003 --- Comment #23 from Benjamin Drung --- (In reply to H.J. Lu from comment #14) > (In reply to Benjamin Drung from comment #13) > > > > Will "%[string]" escape work? > > > > Like this? > > > > -Wl,--encoded-package-metadata={%[quot]type%[quo

[Bug ld/32003] Specifying --package-metadata might not be possible and is too fragile

2024-08-09 Thread bluca at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32003 --- Comment #24 from Luca Boccassi --- (In reply to Benjamin Drung from comment #23) > (In reply to H.J. Lu from comment #14) > > (In reply to Benjamin Drung from comment #13) > > > > > > Will "%[string]" escape work? > > > > > > Like this?

[Bug ld/32003] Specifying --package-metadata might not be possible and is too fragile

2024-08-09 Thread bdrung at posteo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=32003 --- Comment #25 from Benjamin Drung --- (In reply to Luca Boccassi from comment #24) > (In reply to Benjamin Drung from comment #23) > > (In reply to H.J. Lu from comment #14) > > > (In reply to Benjamin Drung from comment #13) > > > > > > Wi

[Bug ld/32003] Specifying --package-metadata might not be possible and is too fragile

2024-08-09 Thread bluca at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32003 --- Comment #26 from Luca Boccassi --- (In reply to Benjamin Drung from comment #25) > (In reply to Luca Boccassi from comment #24) > > (In reply to Benjamin Drung from comment #23) > > > (In reply to H.J. Lu from comment #14) > > > > (In repl

[Bug ld/32003] Specifying --package-metadata might not be possible and is too fragile

2024-08-09 Thread bdrung at posteo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=32003 --- Comment #27 from Benjamin Drung --- Taking all comments into account, here is my implementation proposals: Encoding schema === Option 1: Support percent-encoding of the JSON data. Percent-encoding is widely used and supported

[Bug ld/32067] ld crash in _bfd_elf_link_keep_memory when building statifier-1.7.4 with -Wl,--oformat,binary

2024-08-09 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32067 Alan Modra changed: What|Removed |Added Assignee|unassigned at sourceware dot org |amodra at gmail dot com

[Bug ld/32067] ld crash in _bfd_elf_link_keep_memory when building statifier-1.7.4 with -Wl,--oformat,binary

2024-08-09 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32067 --- Comment #3 from Sourceware Commits --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ec8f5671b4e70806fe3053636426a8d179dfef55 commit ec8f5671b4e70806fe3053636426a8d179dfef55