[RFC v3] RISC-V: Fix SIGSEGV of --static-pie binaries on riscv64 [BZ #33911]

daichengrong daichengrong@iscas.ac.cn
Mon Mar 9 02:42:27 GMT 2026



On 3/9/26 00:38, Adhemerval Zanella wrote:
> Did you check if my proposed solution does work [1]? 
> 
> It is polite to at least comment why you think it is not the right solution and why you need a different solution instead.
> 
> [1] https://sourceware.org/pipermail/libc-alpha/2026-March/175705.html

Hi Adhemerval,

Thanks for your v2 review and the proposed solution.

I have read your suggestion and understand the rationale. I do have some reservations about it, but I thought it would be premature to propose my own idea without testing it first. So in v3 RFC, I implemented a reference version and did some preliminary validation. My goal was to explore the feasibility through an actual implementation, though I realize it may not be fully mature yet.

I should have replied under the v2 thread when posting v3 RFC to explain my reasoning, but it was delayed—apologies. I will very soon post a comment under your v2 reply with more detailed explanation.

I’ll also test your proposed solution and compare it with my current implementation to see which approach works better. Happy to continue discussing improvements.



More information about the Libc-alpha mailing list