/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in function `glslang::GetThreadPoolAllocator()':
PoolAlloc.cpp:(.text+0xf): undefined reference to `glslang::OS_GetTLSValue(void*)'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in function `glslang::SetThreadPoolAllocator(glslang::TPoolAllocator*)':
PoolAlloc.cpp:(.text+0x33): undefined reference to `glslang::OS_SetTLSValue(void*, void*)'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in function `glslang::InitializePoolIndex()':
PoolAlloc.cpp:(.text+0x45): undefined reference to `glslang::OS_AllocTLSIndex()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShInitialize':
ShaderLang.cpp:(.text+0x7): undefined reference to `glslang::InitGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0xe): undefined reference to `glslang::InitProcess()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x17): undefined reference to `glslang::GetGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x22): undefined reference to `glslang::ReleaseGlobalLock()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShConstructCompiler':
ShaderLang.cpp:(.text+0x7d): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShConstructLinker':
ShaderLang.cpp:(.text+0xad): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShConstructUniformMap':
ShaderLang.cpp:(.text+0xd5): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShFinalize':
ShaderLang.cpp:(.text+0x192): undefined reference to `glslang::GetGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x1ae): undefined reference to `glslang::ReleaseGlobalLock()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `glslang::TShader::parse(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, glslang::TShader::Includer&)':
ShaderLang.cpp:(.text+0x2ee4): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `glslang::TShader::preprocess(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, glslang::TShader::Includer&)':
ShaderLang.cpp:(.text+0x3019): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `(anonymous namespace)::SetupBuiltinSymbolTable(int, EProfile, glslang::SpvVersion const&, glslang::EShSource)':
ShaderLang.cpp:(.text+0x6acc): undefined reference to `glslang::GetGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x6b54): undefined reference to `glslang::ReleaseGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x7d5e): undefined reference to `glslang::ReleaseGlobalLock()'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Reported by: pkg-fallout
Wine is now able to use mingw-w64 to build components. When mingw-w64
is installed on FreeBSD, users might inadvertedly use that when we have
not set up things properly yet (and it probably should be an option to
choose, at least initially). For example, mingw-w64 produces .dll files
instead of the current .dll.so files, breaking pkg-plist.
So for now explicitly disable the use of mingw-w64. In a next step,
once mingw-w64 is available, we probably should make this an option.
PR: 237213
Reported by: Damjan Jovanovic <damjan.jov@gmail.com>
MFH: 2020Q4 (blanket: build issue)