[llvm-bugs] [Bug 31159] New: Linking FreeBSD/arm fails with "relocation R_ARM_REL32 cannot refer to absolute symbol '_GLOBAL_OFFSET_TABLE_' defined in (internal)"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 24 11:45:10 PST 2016


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

            Bug ID: 31159
           Summary: Linking FreeBSD/arm fails with "relocation R_ARM_REL32
                    cannot refer to absolute symbol
                    '_GLOBAL_OFFSET_TABLE_' defined in (internal)"
           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
            Blocks: 23214
    Classification: Unclassified

Linking FreeBSD/arm with lld fails while building the target libc:

/tank/emaste/obj/arm.arm/tank/emaste/src/freebsd-xlld/tmp/usr/bin/ld: error:
brk.pico:(function _brk): relocation R_ARM_REL32 cannot refer to absolute
symbol '_GLOBAL_OFFSET_TABLE_' defined in (internal)
/tank/emaste/obj/arm.arm/tank/emaste/src/freebsd-xlld/tmp/usr/bin/ld: error:
setjmp.pico:(function setjmp): relocation R_ARM_REL32 cannot refer to absolute
symbol '_GLOBAL_OFFSET_TABLE_' defined in (internal)
/tank/emaste/obj/arm.arm/tank/emaste/src/freebsd-xlld/tmp/usr/bin/ld: error:
setjmp.pico:(function setjmp): can't create dynamic relocation R_ARM_GOTOFF32
against symbol '_libc_arm_fpu_present' defined in arm_initfini.pico
/tank/emaste/obj/arm.arm/tank/emaste/src/freebsd-xlld/tmp/usr/bin/ld: error:
_setjmp.pico:(.text+0x48): relocation R_ARM_REL32 cannot refer to absolute
symbol '_GLOBAL_OFFSET_TABLE_' defined in (internal)
/tank/emaste/obj/arm.arm/tank/emaste/src/freebsd-xlld/tmp/usr/bin/ld: error:
_setjmp.pico:(.text+0x4C): can't create dynamic relocation R_ARM_GOTOFF32
against symbol '_libc_arm_fpu_present' defined in arm_initfini.pico
/tank/emaste/obj/arm.arm/tank/emaste/src/freebsd-xlld/tmp/usr/bin/ld: error:
sbrk.pico:(function _sbrk): relocation R_ARM_REL32 cannot refer to absolute
symbol '_GLOBAL_OFFSET_TABLE_' defined in (internal)

-- 
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/20161124/f7d579a1/attachment.html>


More information about the llvm-bugs mailing list