WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline nick65go

  • Hero Member
  • *****
  • Posts: 799
uClibc-ng-1.0.33 in TC11?
« 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).

Offline Juanito

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

Offline nick65go

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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: uClibc-ng-1.0.33 in TC11?
« Reply #3 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.

Offline curaga

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