https://sourceware.org/bugzilla/show_bug.cgi?id=30237

--- Comment #14 from Sam James <sam at gentoo dot org> ---
(In reply to Andreas Schwab from comment #8)
> llvm-strip is quite broken: it fails to update the RISCV_ATTRIBUTES segment
> when .riscv.attributes is removed.

LLVM is now fixed
(https://github.com/llvm/llvm-project/commit/698ac4aba555fa74f6f9310578c9b9bf42beaea0).

Keeping open though as maskray said on that end:
> This looks like a GNU objcopy/strip bug. The tool should work regardless of 
> whether the linker creates PT_RISCV_ATTRIBUTES. AArch32 doesn't have 
> PT_ARM_ATTRIBUTES and I believe objcopy/strip can process such a trivial 
> program. The RISC-V port should be fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to