Created attachment 864737 [details] build log I'm compiling in chroot-qemu mipsel-softfloat-linux-musl pwdx.c:(.text.startup+0x158): undefined reference to `rpl_malloc' I used this workaround to add in ebuild: src_prepare() { export ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes ... but not sure if it is correct location? and propably this should be added conditionally only for mipsel-musl After this addition, package builds and works OK.
Created attachment 864738 [details] environment
Created attachment 864739 [details] output of `emerge --info '=sys-process/procps-3.3.17-r1::gentoo'
Created attachment 864740 [details] output of `emerge -pqv '=sys-process/procps-3.3.17-r1::gentoo'
Hm, why isn't it picking up the stuff from https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=51dfd93c5122df670d2753070807e5a172727ded? We provide cache variables for sys-apps/config-site in sys-devel/crossdev. Could you describe your setup exactly?
(In reply to Sam James from comment #4) > We provide cache variables for sys-apps/config-site in sys-devel/crossdev. > > Could you describe your setup exactly? Yes. When I cross-compile, everything goes OK, but when compiling inside qemu-chroot this error apperar. (qemu-mipsel static)
(In reply to Mariusz Koniarz from comment #5) > (In reply to Sam James from comment #4) > > > We provide cache variables for sys-apps/config-site in sys-devel/crossdev. > > > > Could you describe your setup exactly? > Yes. When I cross-compile, everything goes OK, but when compiling inside > qemu-chroot this error apperar. (qemu-mipsel static) Ah! I think you need to comment out CBUILD in make.conf when you're inside the qemu chroot. When you're using qemu, it's "not cross compiling".
Ok, when I commented out CBUILD inside chroot it works OK, so bug should be closed, I forgot about CBUILD inside make.conf :)