problem with parallel make

Andreas Jaeger aj@suse.de
Wed Oct 29 13:55:00 GMT 2003


Daniel Jacobowitz <drow@mvista.com> writes:

> On Mon, Oct 20, 2003 at 09:55:38PM +0200, Ulrich Weigand wrote:
>> Josef Zlomek wrote:
>> 
>> >> This is more believable.  The problem is probably caused by the config.cache
>> >> shared by libiberty and libffi; if autoconf 2.57 is putting the wrong
>> >> thing there, we'll fall apart later in libffi.
>> >
>> >Yes, that will be the reason.
>> 
>> >> In any case, please post the configure and make commands you are using,
>> >> including any environment variables.
>> >
>> >../configure --enable-checking --enable-languages=c,c++,objc,f77
>> >make -j2 bootstrap 
>> 
>> Does it work with --enable-serial-configure ?
>> 
>> Without this flag, I've had all sorts of weird problems with parallel
>> bootstrap; apparently access to the shared config.cache is not properly
>> synchronized between configures running in parallel ...
>
> More likely, the particular order serial-configure forces happens to
> work and the one that is being chosen by make doesn't.

Might be - but what can be done to fix this?  We shouldn't forbid make
-j2 on some platforms...

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20031029/10b53d37/attachment.sig>


More information about the Gcc mailing list