On 13/10/16 11:16 PM, Mike Lothian wrote:
> If you recompile llvm and mesa each time, are there any downsides of
> using the shared libs?

No particular downsides come to mind, rather upsides:

* Generally no requirement to rebuild Mesa after changes to LLVM.
* Both LLVM and Mesa take significantly less time, memory and disk
  space to build.

> 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.

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
mesa-dev mailing list

Reply via email to