WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: uClibc-ng-1.0.33 in TC11?  (Read 4217 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
uClibc-ng-1.0.33 in TC11?
« on: April 16, 2020, 01:20:01 PM »
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).

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: uClibc-ng-1.0.33 in TC11?
« Reply #1 on: April 16, 2020, 01:30:22 PM »
Just ldconfig, which is statically linked.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: uClibc-ng-1.0.33 in TC11?
« Reply #2 on: April 16, 2020, 01:35:13 PM »
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.
« Last Edit: April 16, 2020, 01:45:59 PM by nick65go »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: uClibc-ng-1.0.33 in TC11?
« Reply #3 on: April 17, 2020, 01:32:37 AM »
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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: uClibc-ng-1.0.33 in TC11?
« Reply #4 on: April 17, 2020, 03: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.
The only barriers that can stop you are the ones you create yourself.