[workaround] libpthread/nptl/sysdeps/unix/sysv/linux: .S-files build problems

Douglas Mencken dougmencken at gmail.com
Sat Apr 23 20:15:21 UTC 2011


> cd "${uclibc_srcdir}"/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/
> [ -f clone.c ] || mv clone.S clone.c
> [ -f vfork.c ] || mv vfork.S vfork.c

Sorry, but it was a wrong workaround. It still not build after that.

The correct one is to *never* try to use DOMULTI.

The problem ("No rule to make target
‘libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.c’, needed by
‘libc/libc.oS’. Stop.") may rise if so called 'DOMULTI mode' is
enabled. The workaround is to never "do multi":

-DOMULTI=y
+# DOMULTI is not set

(so it's DOMULTI which requires clone.c but not clone.S; with DOMULTI,
Makefiles are broken)


More information about the uClibc mailing list