This is the mail archive of the gcc-bugs@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]

ada/5890: parallel build for ada broken



>Number:         5890
>Category:       ada
>Synopsis:       Parallel build broken with ADA
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 08 12:16:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Jaeger
>Release:        3.2 20020305 (experimental)
>Organization:
>Environment:
System: Linux arthur 2.4.18-64GB-SMP #1 SMP Tue Feb 26 20:35:34 UTC 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /cvs/gcc/configure --prefix=/opt/gcc/3.1-devel --enable-shared --enable-threads=posix --enable-clocale=gnu --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
>Description:
	running on a dual athlon make -j2 bootstrap leads to:
gcc -c -O2 -g    -gnata -I- -I. -I/cvs/gcc/gcc/ada sdefault.adb
gnatbind -C -I- -I. -I/cvs/gcc/gcc/ada -o b_gnatb.c gnatbind.ali
error: "interfac.ads" must be recompiled ("system.ads" has been modified)
make[3]: *** [b_gnatb.c] Error 5

But system.ads and interfac.ads are ok:
-rw-r--r--    1 aj       users        7584 Oct  2 14:35 /cvs/gcc/gcc/ada/system.ads
-rw-r--r--    1 aj       users        5153 Oct  2 16:15 /cvs/gcc/gcc/ada/interfac.ads

Starting with a clean dir, I can repeat this - and using
make bootstrap (without -j2) everything is fine.

Running gnatbind manually shows another problem:
$ gnatbind -v -C -I- -I. -I/cvs/gcc/gcc/ada -o  _gnatb.c gnatbind.ali

GNATBIND 5.00w (20010924) Copyright 1995-2001 Free Software Foundation, Inc.

Binding: gnatbind.ali
error: "interfac.ads" must be recompiled ("system.ads" has been modified)
error: file "interfac.ads" has time stamp 20011002123548
error: file "system.ads" has time stamp 20011004175042

3 errors

The time stamp is wrong. 

>How-To-Repeat:
	Build current GCC sources on an MP system with parallel make.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


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