Created attachment 195850 [details] patch adding LLD_UNSAFE On head, where lld is the default compiler freeorion fails with the following error (trimmed): /usr/bin/ld: error: cannot preempt symbol: alcGetCurrentContext >>> defined in /usr/local/lib/libopenal.so >>> referenced by Sound.cpp >>> CMakeFiles/freeorion.dir/UI/Sound.cpp.o:(Sound::Impl::Disable()) /usr/bin/ld: error: cannot preempt symbol: alSourceStop >>> defined in /usr/local/lib/libopenal.so >>> referenced by Sound.cpp >>> CMakeFiles/freeorion.dir/UI/Sound.cpp.o:(Sound::Impl::Disable()) /usr/bin/ld: error: cannot preempt symbol: alSourcei >>> defined in /usr/local/lib/libopenal.so >>> referenced by Sound.cpp >>> CMakeFiles/freeorion.dir/UI/Sound.cpp.o:(Sound::Impl::Disable()) [...] Attached patch marks it as unsafe with LLD, forcing usage of old ld for this port. This allows it to link correctly.
Feel free to commit as long as it fixes the problem. It even falls under the blanket IMO.
A commit references this bug: Author: madpilot Date: Wed Aug 29 18:45:45 UTC 2018 New revision: 478365 URL: https://svnweb.freebsd.org/changeset/ports/478365 Log: Mark as LLD_UNSAFE. PR: 230356 Submitted by: me Approved by: amdmi3 (maintainer) Changes: head/games/freeorion/Makefile
Committed. Thanks!