http://package18.nyi.freebsd.org/build.html?mastername=headi386PR214864-default&build=2019-01-05_21h00m02s http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_21h00m02s/logs/errors/faust-lv2-1.4.20180118_2.log ld: error: can't create dynamic relocation R_386_32 against symbol: vtable for LV2UI in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in /tmp/NLFeks-4b81cb.o >>> referenced by NLFeks.cpp >>> /tmp/NLFeks-4b81cb.o:(LV2UI::LV2UI(int)) ld: error: can't create dynamic relocation R_386_32 against symbol: vtable for LV2UI in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in /tmp/NLFeks-4b81cb.o >>> referenced by NLFeks.cpp >>> /tmp/NLFeks-4b81cb.o:(LV2UI::~LV2UI()) ... Need to add -Wl,-z,notext to the compiler driver link invocation; unfortunately this port does not honour LDFLAGS. Adding -Wl,-z,notext to CFLAGS (for i386) appears to work. Same change probably solves the BROKEN_aarch64 issue.
lld has been enabled as system linker for i386 on stable/12 in advance of 12.1 (base svn r350297, a few minutes ago)
I confirmed that this builds with CFLAGS=-fPIC and BROKEN_i386 removed. Perhaps consider limiting to CFLAGS_i386 for example, and also aarch64 as the same change presumably fixes the BROKEN_aarch64.
(In reply to Ed Maste from comment #2) yes -fPIC is also needed for aarch64
(In reply to Mikael Urankar from comment #3) err wrong pr
(In reply to Mikael Urankar from comment #3) it's still broken on 12.1 i386
(In reply to Mikael Urankar from comment #5) OK - I tested on -CURRENT with Clang/lld 10.0; presumably this will be fixed as of 12.2.
Does it now build on 12.2?
(In reply to Ed Maste from comment #7) faust-lv2 is currently broken everywhere.
Remove block on 214864, ld.lld has been the system linker for some time now
Is this still a problem? FreshPorts shows that faust packages are available on FreeBSD:{11,12,13}:i386. https://www.freshports.org/audio/faust/
Yuri reports it builds now; closing.