[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker scri
From: |
kallisti5 at unixzen dot com |
Subject: |
[Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64 |
Date: |
Tue, 09 Apr 2019 19:26:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24426
--- Comment #8 from Alexander von Gluck IV <kallisti5 at unixzen dot com> ---
I'm ok equating this one to an issue on our end. I think the segfault is an
issue, but since I can't reproduce it on binutils 2.29 or later, it might be
something already fixed... so we can go ahead and close this one if you agree.
One small question:
"I also see in your linker script
. = 0xFFFFFFFF80000000 + SIZEOF_HEADERS;
In order to put the address 0xFFFFFFFF80000000 on the address bus, you have to
have 64-bit physical addressing, and I'm not aware of any RISC-V target with
64-bit physical addressing. This is why the linux kernel uses 0x80000000
instead, because that only requires a minimum of 32-bit physical addressing,
which all known 64-bit targets have."
So RV64 only supports 4GB of ram as implemented today?
Our (initial) kernel linker script produced from this ticket is here:
https://review.haiku-os.org/c/haiku/+/1401/3/src/system/ldscripts/riscv64/kernel.ld
Thanks for your help!
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/24426] New: Binutils 2.28.1 segfault when presented (any) linker script on riscv64, kallisti5 at unixzen dot com, 2019/04/08
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, kallisti5 at unixzen dot com, 2019/04/08
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, wilson at gcc dot gnu.org, 2019/04/08
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, wilson at gcc dot gnu.org, 2019/04/09
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, kallisti5 at unixzen dot com, 2019/04/09
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, kallisti5 at unixzen dot com, 2019/04/09
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, kallisti5 at unixzen dot com, 2019/04/09
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, wilson at gcc dot gnu.org, 2019/04/09
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64,
kallisti5 at unixzen dot com <=
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, wilson at gcc dot gnu.org, 2019/04/09
- [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64, kallisti5 at unixzen dot com, 2019/04/10