[llvm-bugs] [Bug 44991] New: lld still not working for mips64

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 21 15:13:57 PST 2020


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

            Bug ID: 44991
           Summary: lld still not working for mips64
           Product: lld
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: jwh at zorins.us
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

Despite D72228 being committed, there doesn't appear to be any functional
change in LLD:

ld: error: can't create dynamic relocation R_MIPS_64 against symbol:
DW.ref.__gxx_personality_v0 in readonly segment; recompile object files with
-fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in projects/libcxx/src/CMakeFiles/cxx_shared.dir/algorithm.cpp.o
>>> referenced by algorithm.cpp
>>>               projects/libcxx/src/CMakeFiles/cxx_shared.dir/algorithm.cpp.o:(.eh_frame+0x94B3)


Judging from the comments it appears to have only been tested on FreeBSD, so in
that case does it either not apply on Linux or just not work there, or just not
for mips64 n64?

TIA

-- 
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/20200221/870b4227/attachment.html>


More information about the llvm-bugs mailing list