public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: ada/6160: configure sets up bootstrap to build ada with too-old
@ 2002-04-04 6:26 Florian Weimer
0 siblings, 0 replies; 7+ messages in thread
From: Florian Weimer @ 2002-04-04 6:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/6160; it has been noted by GNATS.
From: Florian Weimer <fw@deneb.enyo.de>
To: Brad Lucier <lucier@math.purdue.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
Date: Thu, 04 Apr 2002 16:19:43 +0200
Brad Lucier <lucier@math.purdue.edu> writes:
> The problem is that configure finds an installed gnatgcc and a gnatbind *that
> are too old to build the current ada compiler*, but it tries to use them
> anyway.
No, I don't think this is the case. Do you have "." in your path?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ada/6160: configure sets up bootstrap to build ada with too-old
@ 2002-04-04 6:36 Brad Lucier
0 siblings, 0 replies; 7+ messages in thread
From: Brad Lucier @ 2002-04-04 6:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/6160; it has been noted by GNATS.
From: Brad Lucier <lucier@math.purdue.edu>
To: fw@deneb.enyo.de (Florian Weimer)
Cc: lucier@math.purdue.edu (Brad Lucier), gcc-gnats@gcc.gnu.org
Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
Date: Thu, 4 Apr 2002 09:33:24 -0500 (EST)
>
> Brad Lucier <lucier@math.purdue.edu> writes:
>
> >> No, I don't think this is the case. Do you have "." in your path?
> >
> > No.
>
> Hmm. What's the output of "gnatbind -v /dev/null" and
> "gnatgcc --verbose -x ada /dev/null"?
>
dino01% gnatbind -v /dev/null
GNATBIND 5.00w (20010924) Copyright 1995-2001 Free Software Foundation, Inc.
Binding: null.ali
gnatbind: Cannot find: null.ali
dino01% gnatgcc --verbose -x ada /dev/null
Reading specs from /usr/lib/gcc-lib//i386-redhat-linux/2.8.1/specs
gcc version 2.8.1
/usr/lib/gcc-lib//i386-redhat-linux/2.8.1/gnat1 -quiet -dumpbase null.ada /dev/null -o /tmp/cc1tXseL.s
gnat1: Cannot find: null
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ada/6160: configure sets up bootstrap to build ada with too-old
@ 2002-04-04 6:36 Florian Weimer
0 siblings, 0 replies; 7+ messages in thread
From: Florian Weimer @ 2002-04-04 6:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/6160; it has been noted by GNATS.
From: Florian Weimer <fw@deneb.enyo.de>
To: Brad Lucier <lucier@math.purdue.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
Date: Thu, 04 Apr 2002 16:27:45 +0200
Brad Lucier <lucier@math.purdue.edu> writes:
>> No, I don't think this is the case. Do you have "." in your path?
>
> No.
Hmm. What's the output of "gnatbind -v /dev/null" and
"gnatgcc --verbose -x ada /dev/null"?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ada/6160: configure sets up bootstrap to build ada with too-old
@ 2002-04-04 6:26 Brad Lucier
0 siblings, 0 replies; 7+ messages in thread
From: Brad Lucier @ 2002-04-04 6:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/6160; it has been noted by GNATS.
From: Brad Lucier <lucier@math.purdue.edu>
To: fw@deneb.enyo.de (Florian Weimer)
Cc: lucier@math.purdue.edu (Brad Lucier), gcc-gnats@gcc.gnu.org
Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
Date: Thu, 4 Apr 2002 09:24:16 -0500 (EST)
>
> Brad Lucier <lucier@math.purdue.edu> writes:
>
>
> > The problem is that configure finds an installed gnatgcc and a gnatbind *that
> > are too old to build the current ada compiler*, but it tries to use them
> > anyway.
>
> No, I don't think this is the case. Do you have "." in your path?
No.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ada/6160: configure sets up bootstrap to build ada with too-old
@ 2002-04-04 6:06 Brad Lucier
0 siblings, 0 replies; 7+ messages in thread
From: Brad Lucier @ 2002-04-04 6:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/6160; it has been noted by GNATS.
From: Brad Lucier <lucier@math.purdue.edu>
To: fw@deneb.enyo.de (Florian Weimer)
Cc: lucier@math.purdue.edu (Brad Lucier), gcc-gnats@gcc.gnu.org
Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
Date: Thu, 4 Apr 2002 08:58:50 -0500 (EST)
>
> Brad Lucier <lucier@math.purdue.edu> writes:
>
> >> How have you invoked configure, i.e. with which path and with which
> >> arguments?
>
> > ../configure --prefix=/u/lucier/local/gcc-3.1
>
> This indicates that your build directory is inside the source
> directory tree. Such a configuration is not supported, as documented
> in the build instructions.
Well, it may not be supported, but that's not the problem in this case:
dino01% ../gcc-3.1/configure
dino01% make bootstrap > & build.log &
dino01% tail -40 build.log
...
gnatgcc -c -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -gnatpg -gnata -I- -I. -I../../../gcc-3.1/gcc/ada ../../../gcc-3.1/gcc/ada/gnat1drv.adb
gnatbind -C -I- -I. -I../../../gcc-3.1/gcc/ada -o b_gnat1.c -n gnat1drv.ali
fatal error: file gnat1drv.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
13.
|
make[3]: *** [b_gnat1.c] Error 4
The problem is that configure finds an installed gnatgcc and a gnatbind *that
are too old to build the current ada compiler*, but it tries to use them
anyway.
Brad
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ada/6160: configure sets up bootstrap to build ada with too-old
@ 2002-04-04 5:26 Florian Weimer
0 siblings, 0 replies; 7+ messages in thread
From: Florian Weimer @ 2002-04-04 5:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/6160; it has been noted by GNATS.
From: Florian Weimer <fw@deneb.enyo.de>
To: Brad Lucier <lucier@math.purdue.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
Date: Thu, 04 Apr 2002 15:24:58 +0200
Brad Lucier <lucier@math.purdue.edu> writes:
>> How have you invoked configure, i.e. with which path and with which
>> arguments?
> ../configure --prefix=/u/lucier/local/gcc-3.1
This indicates that your build directory is inside the source
directory tree. Such a configuration is not supported, as documented
in the build instructions.
A change has recently been committed to mainline which might fix this,
but on the 3.1 branch, you have to use another directory.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ada/6160: configure sets up bootstrap to build ada with too-old
@ 2002-04-04 5:26 Brad Lucier
0 siblings, 0 replies; 7+ messages in thread
From: Brad Lucier @ 2002-04-04 5:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/6160; it has been noted by GNATS.
From: Brad Lucier <lucier@math.purdue.edu>
To: fw@deneb.enyo.de (Florian Weimer)
Cc: lucier@math.purdue.edu, gcc-gnats@gcc.gnu.org
Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
Date: Thu, 4 Apr 2002 08:21:49 -0500 (EST)
>
> lucier@math.purdue.edu writes:
>
> >>Description:
> > after a generic configure, bootstrap fails with
> >
> > gnatgcc -c -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -gnatpg -gnata -I- -I. -I../../../gcc/ada ../../../gcc/ada/gnat1drv.adb
> > gnatbind -C -I- -I. -I../../../gcc/ada -o b_gnat1.c -n gnat1drv.ali
> > fatal error: file gnat1drv.ali is incorrectly formatted
> > make sure you are using consistent versions of gcc/gnatbind
> > 13.
>
> How have you invoked configure, i.e. with which path and with which
> arguments?
>
../configure --prefix=/u/lucier/local/gcc-3.1
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-04-04 14:36 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-04 6:26 ada/6160: configure sets up bootstrap to build ada with too-old Florian Weimer
-- strict thread matches above, loose matches on Subject: below --
2002-04-04 6:36 Brad Lucier
2002-04-04 6:36 Florian Weimer
2002-04-04 6:26 Brad Lucier
2002-04-04 6:06 Brad Lucier
2002-04-04 5:26 Florian Weimer
2002-04-04 5:26 Brad Lucier
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).