Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2025 13:15:52 +0100
From:      Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
To:        freebsd-current@freebsd.org
Subject:   Re: performance regressions in 15.0
Message-ID:  <260c76a9-42ea-4ddb-be43-0e572ae38799@plan-b.pwste.edu.pl>
In-Reply-To: <202512081147.5B8BlfDs027094@critter.freebsd.dk>
References:  <EF95C136-B1D2-4820-A069-D0078A3B5A05@yahoo.com> <18FB2858-5CBB-4B7A-8089-224A58C6A160@yahoo.com> <CANCZdfqfXfzGQRN5TR7KFcNE1-Ng4ECFKD_6V0118b2UwwX09Q@mail.gmail.com> <CAGudoHEztjmAb2uxRYK-CDjUBx6kEoeKDUgF8R4UvhoNp3A4_w@mail.gmail.com> <aTYYpcYm8uOU1M_q@kib.kiev.ua> <20251208035105.2313075d@rimwks.local> <aTYw9RMdJn4vGCdi@kib.kiev.ua> <202512080745.5B87jeIN025646@critter.freebsd.dk> <aTa40Qjb3xviE0eO@kib.kiev.ua> <202512081147.5B8BlfDs027094@critter.freebsd.dk>

index | next in thread | previous in thread | raw e-mail

W dniu 8.12.2025 o 12:47, Poul-Henning Kamp pisze:
> --------
> Konstantin Belousov writes:
> 
>> On Mon, Dec 08, 2025 at 07:45:40AM +0000, Poul-Henning Kamp wrote:
>>> --------
>>> Konstantin Belousov writes:
>>>
>>>> JFYI, shared llvm libs are required for lot of things.  The incomplete
>>>> list of examples that I am aware of are dri drivers and ispc Intel compiler.
>>>
>>> But installing the shared libs for those other users, does not mean we have
>>> to link the compiler itself against the shared lib ?
>>
>> Sure, we do not have to.
>>
>> But there are other benefits from linking the libraries dynamically.
>> E.g. the same (?) user shed crocodile tears over memory usage by 64bit
>> system, and linking libllvm dynamically exactly reduces the memory profile
>> by sharing significant part of text for cc, lld, and minor binutils.
> 
> We can offer it as an builtime option, but unless some RAM factory or other
> burns down, it should not be our default.
> 

+1
Irrespective of the chosen default, providing a src.conf(5) build-time 
variable for selecting dynamic or static linking would allow both 
approaches to be supported.

-- 
Marek Zarychta


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?260c76a9-42ea-4ddb-be43-0e572ae38799>