[llvm-bugs] [Bug 30282] New: Linking FreeBSD i386 library with lld fails with "can't create dynamic relocation R_386_GOTOFF against readonly segment"

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 5 07:35:14 PDT 2016


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

            Bug ID: 30282
           Summary: Linking FreeBSD i386 library with lld fails with
                    "can't create dynamic relocation R_386_GOTOFF against
                    readonly segment"
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

>From discussion in a followup to r280310's commit,

> FYI I'm now getting a thousand or so "can't create dynamic relocation
> R_386_GOTOFF against readonly segment" errors when my FreeBSD build
> tries to link the i386 (compat library) version of libcxxrt. I'll try
> to grab a reproduce file, but it's a bit awkward to recreate this
> stage of the build process.

Reproduction cpio is here:
https://people.freebsd.org/~emaste/lld/i386_libc_R_386_GOTOFF.cpio

(I did not attach it as it's a bit large.)

-- 
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/20160905/d71065c1/attachment.html>


More information about the llvm-bugs mailing list