Off-Topic > Off-Topic - Tiny Tux's Corner
guix - "loader cache" glibc ldconfig
(1/1)
mocore:
just catching up with some of the more recent the guix additions
https://guix.gnu.org/en/blog/2021/taming-the-stat-storm-with-a-loader-cache/
some intresting details in the above
as mentioned in the quote below
--- Quote from: Juanito on February 03, 2020, 07:20:00 AM ---glibc is not an extension, it is part of the base.
For info:
tc-10.x glibc-2.28
tc-11.x glibc-2.30
--- End quote ---
glibc is part of the tcl base.
I wander if any consideration might be given to adding this guix glibc patch to future build rc
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/glibc-dl-cache.patch?h=core-updates&id=0236013cd0fc86ff4a042885c735e3f36a7f5c25
--- Quote from: guix:blog/2021/taming-the-stat-storm-with-a-loader-cache ---A discussion of these changes is in the issue tracker; you can see the glibc patch and the new make-dynamic-linker-cache build phase.
In short, the make-dynamic-linker-cache phase computes the set of direct and indirect dependencies of an ELF file using the file-needed/recursive procedure and derives from that the library search path, creates a temporary ld.so.conf file containing this search path for use by ldconfig, and finally runs ldconfig to actually build the cache.
--- End quote ---
curaga:
That's not useful for TC. It's rather specific to guix.
TC libs are all in standard dirs, and so found quickly; not searched in 39 dirs like guix. Nor would per-app caches help anything.
mocore:
i had thaught when posting it is probably more aplicable to (guix + core) case
and pondered if some similar reasoning (changes required to base) exists behind the choice to make a spesific dcore build ?
.. rather than just using dpkg + core ...
mocore:
just ftr
https://wiki.archlinux.org/title/Guix
--- Quote ---GNU Guix is a package manager that offers transactional, reproducible, per-user package management. While Guix can be used stand-alone and provide a full GNU distribution and a kernel by itself, you can install the Guix package manager on top of Arch to make Guix available to users while using a more traditional and mature Unix-like system as a base.
--- End quote ---
the arch wiki seams good write up intro to guix *laments the lack of tc-wiki*
i (& others) have previously had some success using tc+guix
"Re: Request guix for TC9 x86" http://forum.tinycorelinux.net/index.php/topic,22443.msg140612.html#msg140612
i had modifyd the guix-install script
0) to run on tc
1) added 'live' config section like https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh:sys_create_store()
but insted of extracting guix store to /
bind mounting it from [eg:/opt/guix/...] (large)disk partition containg guix store into fs /gnu/store, /var/guix
related
http://forum.tinycorelinux.net/index.php/topic,22455.0.html # Guix on Tiny Core import Guix Packages to Mountable TCE extensions
Navigation
[0] Message Index
Go to full version