Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: nick65go on April 16, 2020, 10:20:01 AM

Title: uClibc-ng-1.0.33 in TC11?
Post by: nick65go on April 16, 2020, 10:20:01 AM
Which programs are generated and linked with uClibc-ng-1.0.33 in TC11_x64?I saw it in Index of /11.x/x86_64/release/src/toolchain/
I did not find any details (on this wbe-site) about why uclib is now used. I expected maybe "musl libc".(but then musl + busybox + auto-build for_ANY_packages were in Apline linux main target for years).
Title: Re: uClibc-ng-1.0.33 in TC11?
Post by: Juanito on April 16, 2020, 10:30:22 AM
Just ldconfig, which is statically linked.
Title: Re: uClibc-ng-1.0.33 in TC11?
Post by: nick65go on April 16, 2020, 10:35:13 AM
OK, thanks. But i do not see it in Index of /11.x/x86/release/src/toolchain/. should be here also?  Why not use musl lib, which is specially designed for static linking in programs? We talk here about X64, so not too much size gain/constrains.
my undestanding is that musl is both libc + link loader. so open a wide world of other (small) programs in tcz collection.
Title: Re: uClibc-ng-1.0.33 in TC11?
Post by: Juanito on April 16, 2020, 10:32:37 PM
As mentioned in the 11.1 release notes, ldconfig was only updated for 64-bit - since the 32-bit ldconfig did not give errors and was smaller than the new version, it was not updated.

There no plans to increase the use of uClibc.
Title: Re: uClibc-ng-1.0.33 in TC11?
Post by: curaga on April 17, 2020, 12:31:25 AM
musl in general? Because it's not as compatible as glibc. For ldconfig specifically? We don't know if musl ldconfig is compatible with glibc, it's unlikely it is.