This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with parallel make


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]