[Bug 234717] devel/fastcrc: does not build with lld as i386 system linker
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 7 22:30:25 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234717
Bug ID: 234717
Summary: devel/fastcrc: does not build with lld as i386 system
linker
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: emaste at freebsd.org
Blocks: 214864
nasm -f elf fastcrc.asm
ld -o libfcrc.so.1 -shared -soname libfcrc.so.1 fastcrc.o
ld: error: can't create dynamic relocation R_386_32 against local symbol in
readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to
allow text relocations in the output
>>> defined in fastcrc.o
>>> referenced by fastcrc.asm
>>> fastcrc.o:(.text+0x854)
...
fastcrc.asm needs to be rewritten to be PIC, or -z notext needs to be added to
the link invocation.
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list