This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/19959] New: [4.0 Regression] Can't compile gnattools for the AVR target
- From: "berndtrog at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2005 20:22:09 -0000
- Subject: [Bug ada/19959] New: [4.0 Regression] Can't compile gnattools for the AVR target
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
with gcc-3.4.3 its possible to compile the gnat crosstools
with a simple 'make cross-gnattools'.
This no longer works for 4.0.0. (20050213)
I've tried this:
$ ../configure --target=avr --enable-languages=ada,c
[..]
$ make
[..]
it stops here:
make[3]: Entering directory `/src/gcc/obj/gcc/ada/rts'
../../xgcc -B../../ -c -DCROSS_COMPILE -DIN_GCC `echo -g -O2 -DDF=SF
-Dinhibit_libc -mcall-prologues -fexceptions -DIN_RTS |sed -e
's/-pedantic//g' -e 's/-Wtraditional//g'` -I. -I.. -I../..
-I/src/gcc/gcc/ada
-I/src/gcc/gcc/ada/../config
-I/src/gcc/gcc/ada/../../include
-I/src/gcc/gcc/ada/.. -I./../.. adaint.c -o adaint.o
adaint.c:61:22: error: sys/stat.h: No such file or directory
adaint.c:62:19: error: fcntl.h: No such file or directory
adaint.c:63:18: error: time.h: No such file or directory
adaint.c:82:19: error: utime.h: No such file or directory
adaint.c:91:22: error: sys/wait.h: No such file or directory
In file included from adaint.c:154:
[..]
adaint.c:2040: warning: initialization makes pointer from integer without a
castadaint.c:2057: warning: incompatible implicit declaration of built-in
function 'strcpy'
adaint.c: In function '__gnat_copy_attribs':
adaint.c:2555: error: storage size of 'fbuf' isn't known
adaint.c:2556: error: storage size of 'tbuf' isn't known
make[3]: *** [adaint.o] Error 1
make[3]: Leaving directory `/src/gcc/obj/gcc/ada/rts'
make[2]: *** [gnatlib] Error 2
make[2]: Leaving directory `/src/gcc/obj/gcc/ada'
make[1]: *** [gnatlib-plain] Error 2
make[1]: Leaving directory `/src/gcc/obj/avr/libada'
make: *** [all-target-libada] Error 2
gcc version 4.0.0 20050213
--
Summary: [4.0 Regression] Can't compile gnattools for the AVR
target
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: berndtrog at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: avr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959