[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-06-05 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 --- Comment #8 from Andreas Schwab --- llvm-strip is quite broken: it fails to update the RISCV_ATTRIBUTES segment when .riscv.attributes is removed. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-06-03 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 --- Comment #7 from Fangrui Song --- (In reply to Andreas Schwab from comment #6) > Since arm32 does not have PT_ARM_ATTRIBUTES it cannot have this problem in > the first place. With the PHDRS linker script command, we can customize program

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-06-03 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 --- Comment #6 from Andreas Schwab --- Since arm32 does not have PT_ARM_ATTRIBUTES it cannot have this problem in the first place. If you think this program is trivial, then why does it have .riscv.attributes? -- You are receiving this

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-06-03 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #5

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-06-03 Thread alice at ayaya dot dev
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 --- Comment #4 from alice --- forwarded upstream too, then: https://github.com/llvm/llvm-project/issues/63084 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-06-03 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 --- Comment #3 from Andreas Schwab --- This is really a bug in lld, it fails to create the RISCV_ATTRIBUTES segment for the .riscv.attributes section. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-05-27 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 Andreas Schwab changed: What|Removed |Added Target||riscv*-*-* -- You are receiving

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-05-27 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 --- Comment #2 from Andreas Schwab --- strip and objcopy are the same thing. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-05-26 Thread alice at ayaya dot dev
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 --- Comment #1 from alice --- of note, objcopy also refuses to touch the binary in this case, so this is not `strip` specific, and is rather in the common code that parses(?) the output. -- You are receiving this mail because: You are on

[Bug binutils/30237] strip fails on riscv with 'not enough room for program headers, stgnjAlO[.interp]: bad value'

2023-05-10 Thread alice at ayaya dot dev
https://sourceware.org/bugzilla/show_bug.cgi?id=30237 alice changed: What|Removed |Added CC||alice at ayaya dot dev -- You are receiving