Recently compiled the 4.8 preview from Git and have attempted to run the UE4 Editor but I receive an libGL error:
[2015.06.05-10.29.32:043][ 0]LogHAL:Error: LinuxSplash_InitSplashResources() : Splash screen window could not be created! SDL_Error: Failed loading libGL.so.1: dlopen: cannot load any more object with static TLS
Fatal error: [File:/home/michael/Projects/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 801]
I’m currently running NVIDIA drivers 349 on 64 bit Arch Linux as seen here:
This is a known problem on Arch - total number of shared objects with static TLS loaded at the moment of the OpenGL initialization exceeds the glibc’s DTV_SURPLUS limit.
Granted, we shouldn’t be using static TLS (and we pass appropriate -ftls-model=… switch), but for some reason this doesn’t seem to work.
It solves the issue for those who want to manually rebuild their glibc. But don’t think this should be resolved as it is quite intrusive and forces users dependency to maintain their own patched version of a core library.