[llvm-bugs] [Bug 45319] New: RISC-V can not create eh_frame_hdr
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 26 10:05:30 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45319
Bug ID: 45319
Summary: RISC-V can not create eh_frame_hdr
Product: libraries
Version: 9.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: RISC-V
Assignee: unassignedbugs at nondot.org
Reporter: kamleshbhalui at gmail.com
CC: asb at lowrisc.org, llvm-bugs at lists.llvm.org
consider below minimal testcase
$cat test.c
int main(){
return 0;
}
$./clang test.c -target riscv64 -c -funwind-tables
$./clang --version
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/clang_9.0.0/bin
$./riscv64-unknown-linux-gnu-ld t.o
./riscv64-unknown-linux-gnu-ld: error in t.o(.eh_frame); no .eh_frame_hdr table
will be created
Linker fails only with object file created with clang-9.
It goes smooth with the object create by clang-10.
Any thoughts?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200326/af995cbf/attachment.html>
More information about the llvm-bugs
mailing list