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; 15+ 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] 15+ messages in thread
* [Bug ada/19959] [4.0 Regression] Can't compile gnattools for the AVR target
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 ` berndtrog at yahoo dot com
2005-02-16 21:31 ` berndtrog at yahoo dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: berndtrog at yahoo dot com @ 2005-02-15 0:40 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.0.0
Known to work| |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0 Regression] Can't compile gnattools for the AVR target
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
` (10 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: berndtrog at yahoo dot com @ 2005-02-16 21:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From berndtrog at yahoo dot com 2005-02-16 18:27 -------
Nathanael,
do you know why the rts gets compiled here? (the avr target does not have a rts)
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |neroden at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0 Regression] Can't compile gnattools for the AVR target
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
` (9 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: ericw at evcohs dot com @ 2005-02-18 4:44 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ericw at evcohs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0 Regression] Can't compile gnattools for the cross targets
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
` (2 preceding siblings ...)
2005-02-18 4:44 ` ericw at evcohs dot com
@ 2005-02-18 23:26 ` berndtrog at yahoo dot com
2005-02-19 22:12 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: berndtrog at yahoo dot com @ 2005-02-18 23:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From berndtrog at yahoo dot com 2005-02-18 20:22 -------
Fails for --target=i386-elf too.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|avr |
Summary|[4.0 Regression] Can't |[4.0 Regression] Can't
|compile gnattools for the |compile gnattools for the
|AVR target |cross targets
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0 Regression] Can't compile gnattools for the cross targets
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
` (3 preceding siblings ...)
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
` (7 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-19 22:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-19 16:02 -------
(In reply to comment #2)
> Fails for --target=i386-elf too.
but that is more likely PR 6852.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
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
` (4 preceding siblings ...)
2005-02-19 22:12 ` pinskia at gcc dot gnu dot org
@ 2005-03-02 22:29 ` berndtrog at yahoo dot com
2005-03-05 19:59 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: berndtrog at yahoo dot com @ 2005-03-02 22:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From berndtrog at yahoo dot com 2005-03-02 22:29 -------
Update:
with this patch to $TARGET/libada/Makefile
RTS_DIR:=$(strip $(subst \,/,$(shell gnatls -v | grep adalib )))
-gnattools-cross: gnatlib
+gnattools-cross:
$(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) $(ADA_FLAGS_TO_PASS) \
and
cd $TARGET/libada
make gnattools-cross
I get the cross gnattools compiled (without newlib).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
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
` (5 preceding siblings ...)
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
` (5 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-05 19:59 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
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
` (6 preceding siblings ...)
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
` (4 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-03-30 8:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2005-03-30 08:56 -------
Confirmed, due to incorrect dependency in gnattools/Makefile.in
Fixing...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-03-30 08:56:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
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
` (7 preceding siblings ...)
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
` (3 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-30 8:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-30 08:57 -------
Subject: Bug 19959
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: charlet@gcc.gnu.org 2005-03-30 08:56:57
Modified files:
gnattools : Makefile.in
Log message:
PR ada/19959
* Makefile.in (gnattools-cross): Remove incorrect dependency on gnatlib
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gnattools/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
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
` (8 preceding siblings ...)
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
` (2 subsequent siblings)
12 siblings, 0 replies; 15+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-03-30 8:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2005-03-30 08:59 -------
Should be fixed now.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
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
` (9 preceding siblings ...)
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
12 siblings, 0 replies; 15+ messages in thread
From: berndtrog at yahoo dot com @ 2005-04-30 14:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From berndtrog at yahoo dot com 2005-04-30 14:29 -------
Arnaud Charlet wrote:
>Should be fixed now.
Can you please describe how you tested the patch?
I still get the errors in 4_0-branch and head!
Why does the '--disable-libada' switch disable gnattools-cross?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Known to fail|4.0.0 |4.0.0 4.1.0
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
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
` (10 preceding siblings ...)
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
12 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-13 3:36 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
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
` (11 preceding siblings ...)
2005-06-13 3:36 ` pinskia at gcc dot gnu dot org
@ 2005-08-22 2:52 ` mmitchel at gcc dot gnu dot org
12 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-08-22 2:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-22 02:40 -------
Ada is not release-critical.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/19959] [4.0/4.1 Regression] Can't compile gnattools for the cross targets
[not found] <bug-19959-283@http.gcc.gnu.org/bugzilla/>
@ 2005-10-30 22:13 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 22:13 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P5
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19959
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-10-30 22:13 UTC | newest]
Thread overview: 15+ 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
[not found] <bug-19959-283@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:13 ` pinskia 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).