https://bugs.llvm.org/show_bug.cgi?id=50153
Bug ID: 50153
Summary: unsupported relocation type R_RISCV_COPY when using
-mno-relax
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: RISC-V
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Blocks: 4068
via: https://github.com/ClangBuiltLinux/linux/issues/1023
$ cat head.s
_start :.dword _end - _start
$ clang --target=riscv64-linux-gnu -c -mno-relax head.s
head.s:1:16: error: Unsupported relocation type
_start :.dword _end - _start
^
Looks like it's a R_RISCV_COPY, for which there is no corresponding
llvm::RISCV::Fixups.
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
--
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