Libiberty parallel build broken

Daniel Jacobowitz drow@mvista.com
Fri Nov 9 04:26:00 GMT 2001


libiberty/testsuite configures by running config.status in the parent
directory.  stamp-h runs config.status in the same directory.  Both
config.status invocations use the same temp files.

To reproduce, in libiberty:

touch config.status
make -j4

creating config.h
creating Makefile
creating testsuite/Makefile
creating config.h
sed: file conftest.frag line 13: Unknown command: ``]''
sed: file conftest.frag line 13: Unknown command: ``]''
mv: cannot stat `conftest.out': No such file or directory
mv: cannot stat `conftest.out': No such file or directory
mv: cannot stat `conftest.out': No such file or directory


Etc.

What should be done?  A workaround would be to serialize all of these with
dependencies, and force Makefile to be made, then config.h, then
testsuite/Makefile.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-bugs mailing list