[llvm-bugs] [Bug 33423] New: lld fails to link kernel modules on FreeBSD/arm: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jun 12 11:14:00 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33423
Bug ID: 33423
Summary: lld fails to link kernel modules on FreeBSD/arm: can't
create dynamic relocation R_ARM_ABS32 against local
symbol in readonly segment
Product: lld
Version: unspecified
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: emaste at freebsd.org
CC: llvm-bugs at lists.llvm.org
Blocks: 23214
Bug created for tracking - reproduction tarball will be added.
While linking the FreeBSD/arm kernel modules the linking fails with errors of
the form:
ld -m armelf_fbsd -Bshareable -d -warn-common -o accf_data.ko.full
accf_data.kld
ld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in
readonly segment
>>> defined in accf_data.kld
>>> referenced by accf_data.kld:(__set_modmetadata_set_sym__mod_metadata_md_accf_data_on_kernel)
ld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in
readonly segment
>>> defined in accf_data.kld
>>> referenced by accf_data.kld:(__set_modmetadata_set_sym__mod_metadata_md_accf_data)
ld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in
readonly segment
>>> defined in accf_data.kld
>>> referenced by accf_data.kld:(__set_sysinit_set_sym_accf_datamodule_sys_init)*** [accf_data.ko.full] Error code 1
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=23214
[Bug 23214] [META] Using LLD as FreeBSD's system linker
--
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/20170612/f8bab064/attachment-0001.html>
More information about the llvm-bugs
mailing list