[llvm-bugs] [Bug 33423] lld fails to link kernel modules on FreeBSD/arm: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 17 10:34:43 PDT 2017


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

emaste at freebsd.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from emaste at freebsd.org ---
(In reply to Rafael Ávila de Espíndola from comment #4)
> 
> At least in the case I hit it was just "-z text" being the default. Can you
> try passing "-z notext"?

Indeed, I am able to link the arm kernel modules with -z notext, and for kernel
modules applying .text relocations is not unreasonable.

-- 
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/20170617/05b334b8/attachment.html>


More information about the llvm-bugs mailing list