Re: performance regressions in 15.0
- In reply to: Poul-Henning Kamp: "Re: performance regressions in 15.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Dec 2025 12:15:52 UTC
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