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]

Ada bootstrap broken?


I'm getting the following while trying to bootstrap a clean trunk at rev 192986:

cd ada/bldtools/einfo; gnatmake -q xeinfo ; ./xeinfo einfo.h )
In file included from gcc/clean/trunk/gcc/ada/seh_init.c:48:0:
gcc/clean/trunk/gcc/system.h:499:34: error: declaration of C function
'const char* strsignal(int)' conflicts
/usr/include/string.h:566:14: error: previous declaration 'char* strsignal(int)'
 here
In file included from gcc/clean/trunk/gcc/system.h:639:0,
                 from gcc/clean/trunk/gcc/ada/initialize.c:55:
gcc/clean/trunk/gcc/../include/libiberty.h:110:36: error: new
declaration 'char* basename(const char*)'
/usr/include/string.h:603:28: error: ambiguates old declaration 'const
char* basename(const char*)'
In file included from
/usr/local/google/home/dnovillo/gcc/clean/trunk/gcc/system.h:639:0,
                 from
/usr/local/google/home/dnovillo/gcc/clean/trunk/gcc/ada/env.c:76:
/usr/local/google/home/dnovillo/gcc/clean/trunk/gcc/../include/libiberty.h:110:36:
error: new declaration 'char* basename(const char*)'
/usr/include/string.h:603:28: error: ambiguates old declaration 'const
char* basename(const char*)'
In file included from gcc/clean/trunk/gcc/system.h:639:0,
                 from gcc/clean/trunk/gcc/ada/seh_init.c:48:
gcc/clean/trunk/gcc/../include/libiberty.h:110:36: error: new
declaration 'char* basename(const char*)'
/usr/include/string.h:603:28: error: ambiguates old declaration 'const
char* basename(const char*)'


On IRC, Richi says that this is a parallel make issue. Re-starting
make works around the issue.

For now, I'm forced to disable Ada bootstraps.  Could someone in ada
land take a look at this?


Thanks.  Diego.


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