Why does libc.so get built 4 times?

H. J. Lu hjl@lucon.org
Fri Apr 1 17:32:00 GMT 2005


I noticed that libc.so got built 4 times when I did

# make -j 8
# make -j 8 xtests

on a 4way ia64 machine. The dependency between shared libraies got
so messed up that I got

make[4]: *** [/export/build/gnu/glibc-3.4/build-ia64-linux/rt/librt.so] Error 1
...
make[4]: *** [/export/build/gnu/glibc-3.4/build-ia64-linux/rt/librt.so] Error 1
make[3]: *** [linuxthreads/xtests] Error 2
make[2]: *** [xcheck] Error 2
make[1]: *** [check] Error 2

where librt.so got built twice. Something wrong with Makefile. It isn't
parallel build safe.


H.J.



More information about the Libc-alpha mailing list