[llvm-bugs] [Bug 38303] New: ARM_V4BX relocation is not supported
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 24 22:41:49 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38303
Bug ID: 38303
Summary: ARM_V4BX relocation is not supported
Product: lld
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: mh+llvm at glandium.org
CC: llvm-bugs at lists.llvm.org
Building Firefox for Android with lld fails with multiple errors like:
/builds/worker/workspace/build/src/clang/bin/ld.lld: error: can't create
dynamic relocation R_ARM_V4BX against local symbol in readonly segment;
recompile object files with -fPIC
>>> defined in ../../gfx/cairo/libpixman/src/pixman-arm-neon-asm-bilinear.o
>>> referenced by ../../gfx/cairo/libpixman/src/pixman-arm-neon-asm-bilinear.o:(.text+0x4F0)
which doesn't actually say it's not supported, but considering R_ARM_V4BX is
not an actual relocation, and wouldn't imply a dynamic text relocation if it
were supported, the error is actually bogus.
Linking with -z notext is more explicit:
/builds/worker/workspace/build/src/clang/bin/ld.lld: error:
../../gfx/cairo/libpixman/src/pixman-arm-neon-asm-bilinear.o:(.text+0x4F0):
unrecognized reloc 40
--
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/20180725/2f0a7bf6/attachment.html>
More information about the llvm-bugs
mailing list