public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/19959] New: [4.0 Regression] Can't compile gnattools for the AVR target
@ 2005-02-15  0:38 berndtrog at yahoo dot com
  2005-02-15  0:40 ` [Bug ada/19959] " berndtrog at yahoo dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: berndtrog at yahoo dot com @ 2005-02-15  0:38 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-08-22  2:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-15  0:38 [Bug ada/19959] New: [4.0 Regression] Can't compile gnattools for the AVR target berndtrog at yahoo dot com
2005-02-15  0:40 ` [Bug ada/19959] " berndtrog at yahoo dot com
2005-02-16 21:31 ` berndtrog at yahoo dot com
2005-02-18  4:44 ` ericw at evcohs dot com
2005-02-18 23:26 ` [Bug ada/19959] [4.0 Regression] Can't compile gnattools for the cross targets berndtrog at yahoo dot com
2005-02-19 22:12 ` pinskia at gcc dot gnu dot org
2005-03-02 22:29 ` [Bug ada/19959] [4.0/4.1 " berndtrog at yahoo dot com
2005-03-05 19:59 ` pinskia at gcc dot gnu dot org
2005-03-30  8:56 ` charlet at gcc dot gnu dot org
2005-03-30  8:57 ` cvs-commit at gcc dot gnu dot org
2005-03-30  8:59 ` charlet at gcc dot gnu dot org
2005-04-30 14:29 ` berndtrog at yahoo dot com
2005-06-13  3:36 ` pinskia at gcc dot gnu dot org
2005-08-22  2:52 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).