[Mesa-dev] The long way to a faster build with shared libs and some fixes ...

Ian Romanick idr at freedesktop.org
Thu Sep 12 14:07:28 PDT 2013


On 09/12/2013 02:44 AM, Kenneth Graunke wrote:
> On 09/11/2013 11:41 PM, Christian König wrote:
>> I completely agree.
>>
>> Building everything shared might speed up the build process a little bit
>> and save some space, but for the cost of having to handle allot of
>> rather small shared libraries where which each clashing the symbol space
>> of any application using these drivers with a bunch of unnecessary symbols.
>>
>> Building everything as one big blob sounds like the better idea.
>>
>> Christian.
> 
> Not to mention...installing a ton of shared libraries is just asking for
> version mismatch problems.  I've had a /ton/ of problems due to
> mismatching libdricore and i965_dri.so...usually due to rpath shenanigans.

The existing number of shared libraries already makes it a giant pain in
the ass to build and test multiple Mesa versions (master, 9.2.x, 9.1.x,
branches, etc.).  I'm not interested in seeing anything land that
exacerbates that problem.

> If anything, I'd like to get rid of libdricore and build core Mesa and
> the drivers together again.  No more version clashes.  Far fewer symbols
> exported.  LTO for extra performance with no extra effort...
> 
> Faster build times are nice, but...not if it means shipping a ton of
> shared libraries...
> 
> --Ken
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list