On Sun, Jun 19, 2016 at 09:53:52 +0100, James Cowgill wrote: > Source: vulkan > Version: 1.0.8.0+dfsg1-1 > Severity: important > Tags: patch > > Hi, > > vulakn FTBFS on mips64el because the libVkLayer_core_validation.so > library contains too many symbols and overflows the default GOT. This > is what causes the relocation errors. This can be fixed by compiling > vulkan with the -mxgot flag, although this does have a performance > penalty. > > Before this can happen, the validation layer CMakeLists.txt file must > be updated so it doesn't clobber the CXXFLAGS variable. > > Patches to do both of these tasks are attached. > Is there any way this can be made non-Debian-specific? Either by having core_validation.cpp not need such a large GOT, or by adding the flag in CMakeLists rather than debian/rules?
Cheers, Julien