https://sourceware.org/bugzilla/show_bug.cgi?id=27805
--- Comment #6 from John Doe <n2knqf5ogu at bsogq dot anonbox.net> --- I can confirm that compiling the code without -gc-sections seems to resolve this bug. Probably not RISC-V specific. -- You are receiving this mail because: You are on the CC list for the bug.