[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22920] Segfault in ld with RISC-V binary target
From: |
wilson at gcc dot gnu.org |
Subject: |
[Bug ld/22920] Segfault in ld with RISC-V binary target |
Date: |
Tue, 06 Mar 2018 01:11:29 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22920
Jim Wilson <wilson at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-03-06
CC| |wilson at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jim Wilson <wilson at gcc dot gnu.org> ---
Your linker script sets the output format to binary. Unfortunately, the
current RISC-V linker only works for ELF output format. If you want non-elf
output, you need to generate ELF first, and then use objcopy to convert it to
another format.
I've seen a few similar problems. There are srec testcases in the linker
testsuite that fail because we can't produce srec directly. I think there is
also a related bug report for this in the github riscv-binutils project.
This should be fixed, but we have no time table for when it will be fixed, as
we have many higher priority issues to look at first.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/22920] New: Segfault in ld with RISC-V binary target, geoffrey at allott dot email, 2018/03/03
- [Bug ld/22920] Segfault in ld with RISC-V binary target, geoffrey at allott dot email, 2018/03/03
- [Bug ld/22920] Segfault in ld with RISC-V binary target,
wilson at gcc dot gnu.org <=
- [Bug ld/22920] Segfault in ld with RISC-V binary target, geoffrey at allott dot email, 2018/03/06
- [Bug ld/22920] Segfault in ld with RISC-V binary target, nickc at redhat dot com, 2018/03/06
- [Bug ld/22920] Segfault in ld with RISC-V binary target, cvs-commit at gcc dot gnu.org, 2018/03/06
- [Bug ld/22920] Segfault in ld with RISC-V binary target, wilson at gcc dot gnu.org, 2018/03/06
- [Bug ld/22920] Segfault in ld with RISC-V binary target, wilson at gcc dot gnu.org, 2018/03/06
- [Bug ld/22920] Segfault in ld with RISC-V binary target, jeremip11 at gmail dot com, 2018/03/31