some .so (ld scripts) don't point to /lib32 but to /lib from /emul/linux/x86/usr/liblibpthread.so /* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf32-i386) GROUP ( /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a ) it goes the same way for: libblkid.so libcom_err.so libe2p.so libext2fs.so libhistory.so libncurses.so libpam.so libpam_misc.so libpamc.so libpthread.so libpwdb.so libreadline.so libss.so libuuid.so Reproducible: Always Steps to Reproduce: 1. a valid multilib environment + emul-linux-x86-baselibs-1.1-r2 2. echo 'main() {}' > test.c 3. gcc -m32 test.c -lpthread Actual Results:
Uhhohh.. i hope this have been all ;-) ... Just grep'ed: these are all i missed to sed. Version bump to -r3. Thanks for your eyes up !