WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: several pkgforge AppImages segfault on TCL 17.1 x86_64  (Read 140 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1890
several pkgforge AppImages segfault on TCL 17.1 x86_64
« on: August 04, 2026, 12:32:02 PM »
The folks at pkgforge are a bit surprised that several of their demo AppImages segfault on TCL. Discussion is here:
https://github.com/pkgforge-dev/Anylinux-AppImages/issues/766

Does TCL provide a live iso that they could use for troubleshooting?

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1890
Re: several pkgforge AppImages segfault on TCL 17.1 x86_64
« Reply #1 on: August 04, 2026, 01:44:41 PM »
Problem had something to do with linker cache working a little differently in TCL than in other distros. We sorted it out.

Solved.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12939
Re: several pkgforge AppImages segfault on TCL 17.1 x86_64
« Reply #2 on: August 04, 2026, 08:36:15 PM »
Hi Paul_123
While I was able to follow the general gist of the issue, I must
admit some of it went over my head.

Maybe you could take a look and tell us what you think?
The explanation of the cause begins here:
https://github.com/pkgforge-dev/Anylinux-AppImages/issues/766#issuecomment-5182763837

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1603
Re: several pkgforge AppImages segfault on TCL 17.1 x86_64
« Reply #3 on: August 05, 2026, 02:05:27 PM »
I read it yesterday, the way I read it is that the ld.so.cache generated on tinycore only has old cache format, and is lacking newer features in the cache.

Now the question is why is the newer stuff being left out of the cache is something that I'm not familiar with.   Is it something that gets stripped out of the .so files?



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15733
Re: several pkgforge AppImages segfault on TCL 17.1 x86_64
« Reply #4 on: August 05, 2026, 03:55:10 PM »
I seem to remember that ldconfig in the base is from uclibc?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1603
Re: several pkgforge AppImages segfault on TCL 17.1 x86_64
« Reply #5 on: August 05, 2026, 04:14:09 PM »
Is there an extension or can you just put the full glibc ldconfig somewhere for gnuser to test?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12939
Re: several pkgforge AppImages segfault on TCL 17.1 x86_64
« Reply #6 on: August 05, 2026, 04:31:02 PM »
Hi Paul_123
glibc_apps has ldconfig:
http://tinycorelinux.net/17.x/x86_64/tcz/glibc_apps.tcz.info
http://tinycorelinux.net/17.x/x86_64/tcz/glibc_apps.tcz.list

I check on my TC14 x86_64 install and the the base ldconfig is 80344 bytes
and the glibc_apps version of ldconfig is 835304 bytes. So that's probably
a full version of ldconfig.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15733
Re: several pkgforge AppImages segfault on TCL 17.1 x86_64
« Reply #7 on: Today at 03:57:42 AM »
..and the glibc_apps version of ldconfig is 835304 bytes. So that's probably
a full version of ldconfig.

Yes, it is  :)