[llvm-bugs] [Bug 43418] The linker can't find matching R_RISCV_PCREF_HI20 to the R_RISCV_PCREF_LO12

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 29 21:05:03 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=43418

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i at maskray.me
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Fangrui Song <i at maskray.me> ---
I think the patch is based on lld 8.0 . The deleted lines were introduced in
https://reviews.llvm.org/D39322 (2018-08) and were actually changed in 2019-02.

lld 8 does not have complete RISC-V support, notably it lacks PLT/GOT/TLS. lld
9 has relative complete support (it still lacks relaxation

This particular problem has been fixed for a while, maybe by
https://reviews.llvm.org/D63123 (2019-06-11)

-- 
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/20191130/c5909a9d/attachment.html>


More information about the llvm-bugs mailing list