ld: error: can't create dynamic relocation R_386_32 against symbol: Mettab27_1 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in viterbi27_mmx.o >>> referenced by mmxbfly27.o:(.text+0x59) 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 mmxbfly27.o >>> referenced by mmxbfly27.o:(.text+0x60) ld: error: can't create dynamic relocation R_386_32 against symbol: Mettab27_2 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in viterbi27_mmx.o >>> referenced by mmxbfly27.o:(.text+0x67) ...
A commit references this bug: Author: db Date: Wed Jan 23 03:10:52 UTC 2019 New revision: 491018 URL: https://svnweb.freebsd.org/changeset/ports/491018 Log: Bug reported only with ld.lld as system ld on i386 solved using suggested -Wl,-z,notext PR: ports/234871 Reported by: @emaste Changes: head/comms/libfec/files/patch-makefile.in