[Bug 253275] [exp-run] base system PIE default

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 10 15:56:06 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253275

--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
I had a quick look at the logs, all appear to be link errors linking against an
object/library built by the port itself, for example from audio/play:

ld: error: can't create dynamic relocation R_X86_64_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 encode_riff.o
>>> referenced by encode_riff.c
>>>               encode_riff.o:(check_riff)

i.e. PIE flags are being added to link commands but not compiles.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list