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: unassignedb...@nondot.org Reporter: ema...@freebsd.org CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs