[Mesa-dev] [PATCH v3 25/25] configure.ac: Add required LLVM versions to the top
Michel Dänzer
michel at daenzer.net
Fri Oct 14 00:57:01 UTC 2016
On 14/10/16 09:54 AM, Michel Dänzer wrote:
> On 13/10/16 11:16 PM, Mike Lothian wrote:
>> I think there were some issues with some programs / games that had
>> clashing symbols but I'm not sure if that's still an issue
>
> I'm only aware of such issues with the Steam runtime, which are arguably
> because the current implementation (if not the design) of the Steam
> runtime is broken (in ways affecting libraries other than Mesa as well,
> so it's not like Mesa linking LLVM statically magically solves all Steam
> runtime issues).
>
> BTW, AFAIK just linking LLVM statically into Mesa isn't enough to avoid
> these issues, one would also need to link libstdc++ statically into LLVM.
I forgot to mention that it's easy to avoid these issues via LD_PRELOAD.
I'm currently using this for Steam:
LD_PRELOAD='/$LIB/libgpg-error.so.0:/$LIB/libtinfo.so.5:/usr/$LIB/libstdc++.so.6:/usr/$LIB/libxcb.so.1':$LD_PRELOAD
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list