This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: possible race condition in make install?
- From: "Ralf Wildenhues" <Ralf dot Wildenhues at gmx dot de>
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 20 Jul 2011 08:52:51 +0200
- Subject: Re: possible race condition in make install?
- References: <20110716204022.GA29419@bromo.med.uc.edu>
* Jack Howarth wrote on Sat, Jul 16, 2011 at 10:40:22PM CEST:
> I have had a report of i386 darwin10 failing to build gcc 4.4.6 in fink which I've reproduced
> myself. The failure looks quite odd...
>
> /usr/bin/install -c -m 644 ./libiberty.a /sw/src/fink.build/root-gcc44-4.4.6-1001/sw/lib/gcc4.4/lib/`/sw/src/fink.build/gcc44-4.4.6-1001/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc44-4.4.6-1001/darwin_objdir/./gcc/ -B/sw/lib/gcc4.4/i386-apple-darwin10.8.0/bin/ -B/sw/lib/gcc4.4/i386-apple-darwin10.8.0/lib/ -isystem /sw/lib/gcc4.4/i386-apple-darwin10.8.0/include -isystem /sw/lib/gcc4.4/i386-apple-darwin10.8.0/sys-include -g -O2 -print-multi-os-directory`/./libiberty.an
[...]
> ( cd /sw/src/fink.build/root-gcc44-4.4.6-1001/sw/lib/gcc4.4/lib/`gcc -g -O2 -print-multi-os-directory` ; chmod 644 ./libiberty.an ;ranlib ./libiberty.an )
> libtool: install: chmod 644 /sw/src/fink.build/root-gcc44-4.4.6-1001/sw/lib/gcc4.4/lib/x86_64/libssp.a
> ranlib: file: ./libiberty.an is not an archive
> libtool: install: ranlib -c /sw/src/fink.build/root-gcc44-4.4.6-1001/sw/lib/gcc4.4/lib/x86_64/libssp.a
> make[2]: *** [install_to_libdir] Error 1
> make[1]: *** [install-libiberty] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> and only occurs with parallel builds. Is it possible that the command...
This is one bit of the unfixed part of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42980
Cheers,
Ralf