bug-binutils
[Top][All Lists]
Advanced

[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: wilson at gcc dot gnu.org
Subject: [Bug ld/24426] Binutils 2.28.1 segfault when presented (any) linker script on riscv64
Date: Tue, 09 Apr 2019 16:29:00 +0000

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

--- Comment #3 from Jim Wilson <wilson at gcc dot gnu.org> ---
I tried to reproduce with no luck.  I think that there are too many things
broken on your end.  I had to hack up crt0.S to remove the required support for
__global_pointer$, and I had to hack your linker script to keep eh_frame
because other crt files required it.  Then I can link without error, and
debugging ld I see that the gp support is being disabled automatically.  It is
working as I expect.

You will need to provide enough info so that I can reproduce, which probably
means all of your object files and libraries required for a link.

You are also using non-default compiler options, so it would be helpful to know
what system you are building on and what extra compiler options you are using.

It might be simpler if you just looked at any working system.  We have about a
dozen OS ports that are working, zephyr, rtems, freertos, linux, freebsd, etc. 
Look at any one of those and do your OS port in a compatible way.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]