On Thu, Oct 28, 2021 at 10:30:36AM +0200, Christian Weisgerber wrote: > Jonathan Gray: > > > > fvwm2 may be an exception here. I looked through the log and can't find > > > any error before the linker error: > > > > > > ld: error: /usr/local/lib/libintl.so.7.0: undefined reference to > > > pthread_mutexattr_init [--no-allow-shlib-undefined] > > > ld: error: /usr/local/lib/libintl.so.7.0: undefined reference to > > > pthread_mutexattr_settype [--no-allow-shlib-undefined] > > > ld: error: /usr/local/lib/libintl.so.7.0: undefined reference to > > > pthread_mutexattr_destroy [--no-allow-shlib-undefined] > > > > > > Leads me to conclude that we need to add -lpthread now to satisfy > > > clang13. Diff for that below; CC maintainer. ok? > > > > There are multiple ports which fail to build like this. > > > > Shouldn't libintl instead link libpthread? > > Shouldn't we try to understand why this is failing now?
I suspect changes to undefined symbol handling in lld mentioned in the lld 13 release notes: https://releases.llvm.org/13.0.0/tools/lld/docs/ReleaseNotes.html