On Sat, Feb 27, 2016 at 03:36:18PM -0500, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sat Feb 27 20:36:18 UTC 2016 > > Modified Files: > src/share/mk: bsd.lib.mk > > Log Message: > Don't build archive libs with -fPIC breaks static binaries and profilig.
This is absolutely wrong. It must be possible to link PIC code statically unless it is explicitly depending on _DYNAMIC. Anything else is a bug either in the assembler or the linker, more likely the latter. Joerg