Back in squashfs-3.3 there was a patch to replace the use of get_nprocs with a sysconf call instead. This patch seems to have got dropped in the move to squashfs-4 and this fails on uclibc with an "undefined reference" error I have attached an updated ebuild and patch file which implements a similar patch as was presumably acceptable for squashfs-3.3 - can someone please confirm if it's correct? It seems to use all 4 processors for me? Tested on x86_64 using glibc and in a x86 chroot using uclibc Reproducible: Always Steps to Reproduce:
Created attachment 197100 [details] Updated squashfs-tools-4 ebuild
Created attachment 197102 [details, diff] Patch to compile correctly under uclibc (and glibc)
Has this patch been submitted upstream?
Just done it now
ive fixed this in the tree with a sed, thanks