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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs