Summary: | clang + lld 3.9.1: Unhandled relocation 1031 | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Shawn Webb <shawn.webb> | ||||
Component: | bin | Assignee: | freebsd-toolchain (Nobody) <toolchain> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | Andrew, emaste | ||||
Priority: | --- | Flags: | emaste:
mfc-stable11?
emaste: mfc-stable10- emaste: mfc-stable9- |
||||
Version: | CURRENT | ||||||
Hardware: | arm64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Shawn Webb
2016-12-01 02:20:49 UTC
Created attachment 178114 [details]
Fix RTLD
Ping. See also thread at https://lists.freebsd.org/pipermail/freebsd-arm/2017-January/015257.html A commit references this bug: Author: andrew Date: Wed Jan 25 17:35:11 UTC 2017 New revision: 312764 URL: https://svnweb.freebsd.org/changeset/base/312764 Log: Pull the R_AARCH64_TLSDESC code out into a common function and use them in both the plt and non-plt case. This fixes an issue where libraries built with LLD can fail with "Unhandled relocation 1031" PR: 214971 Obtained from: 1 week Sponsored by: DARPA, AFRL Changes: head/libexec/rtld-elf/aarch64/reloc.c This has been merged to stable/11 now too |