comp.lang.ada
 help / color / mirror / Atom feed
* error building gcc 3.2.1
@ 2003-01-30 19:09 Wes Groleau
  2003-01-30 20:03 ` Stephane Carrez
  0 siblings, 1 reply; 6+ messages in thread
From: Wes Groleau @ 2003-01-30 19:09 UTC (permalink / raw)


Solaris 2.8 (SPARC)  following the instructions
packed inside the GCC 3.2.1 distribution, "make bootstrap"
did this at the very end:

make[3]: Entering directory `/tmp/gcc-3.2.1/gcc/ada'
gcc -c -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional     -W -Wall -gnatpg -gnata -I- -I. -I. 
ada.ads
fatal error: system.ads is incorrectly formatted
missing line for parameter: Backend_Divide_Checks
fatal error: system.ads is incorrectly formatted
missing line for parameter: Backend_Overflow_Checks
fatal error: system.ads is incorrectly formatted
missing line for parameter: Fractional_Fixed_Ops
compilation abandoned
make[3]: *** [ada.o] Error 1
make[3]: Leaving directory `/tmp/gcc-3.2.1/gcc/ada'
make[2]: *** [gnat1] Error 2
make[2]: Leaving directory `/tmp/gcc-3.2.1/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/tmp/gcc-3.2.1/gcc'
make: *** [bootstrap] Error 2

GNAT 3.15 was installed without error before starting the above.
And tested by writing a hello world demo, running "gnatmake demo"
and verifying the demo would run.

On the chance that the next step "make gnatlib_and_tools" would
fix it, I tried that, but it got similar messages.

Any advice?




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

* Re: error building gcc 3.2.1
  2003-01-30 19:09 error building gcc 3.2.1 Wes Groleau
@ 2003-01-30 20:03 ` Stephane Carrez
  2003-01-30 20:57   ` Simon Wright
  0 siblings, 1 reply; 6+ messages in thread
From: Stephane Carrez @ 2003-01-30 20:03 UTC (permalink / raw)
  To: wesgroleau

Hi!

Wes Groleau wrote:

> Solaris 2.8 (SPARC)  following the instructions
> packed inside the GCC 3.2.1 distribution, "make bootstrap"
> did this at the very end:
> 
> make[3]: Entering directory `/tmp/gcc-3.2.1/gcc/ada'
> gcc -c -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -Wtraditional     -W -Wall -gnatpg -gnata -I- -I. 
> -I. ada.ads
> fatal error: system.ads is incorrectly formatted
> missing line for parameter: Backend_Divide_Checks
> fatal error: system.ads is incorrectly formatted
> missing line for parameter: Backend_Overflow_Checks
> fatal error: system.ads is incorrectly formatted
> missing line for parameter: Fractional_Fixed_Ops
> compilation abandoned
> make[3]: *** [ada.o] Error 1
> make[3]: Leaving directory `/tmp/gcc-3.2.1/gcc/ada'
> make[2]: *** [gnat1] Error 2
> make[2]: Leaving directory `/tmp/gcc-3.2.1/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/tmp/gcc-3.2.1/gcc'
> make: *** [bootstrap] Error 2
> 
> GNAT 3.15 was installed without error before starting the above.
> And tested by writing a hello world demo, running "gnatmake demo"
> and verifying the demo would run.
> 
> On the chance that the next step "make gnatlib_and_tools" would
> fix it, I tried that, but it got similar messages.
> 
> Any advice?
> 


I had this error too but on GNU/Linux and GNAT 3.15.


I switched back to GNAT 3.14p and I was able to build the whole stuff without
problems.  Ok, I was building gcc 3.2.2 pre-release but I guess this should be
the same with 3.2.1.

May be you can try 3.14p?

	Stephane

-----------------------------------------------------------------------
         Home                               Office
E-mail: stcarrez@nerim.fr                  Stephane.Carrez@solsoft.fr
WWW:    http://stcarrez.nerim.net          http://www.solsoft.com
         Free the Software!                 Visual Security Policy Management




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

* Re: error building gcc 3.2.1
  2003-01-30 20:03 ` Stephane Carrez
@ 2003-01-30 20:57   ` Simon Wright
  2003-01-30 23:53     ` Bobby D. Bryant
  0 siblings, 1 reply; 6+ messages in thread
From: Simon Wright @ 2003-01-30 20:57 UTC (permalink / raw)


Stephane Carrez <stcarrez@nerim.fr> writes:

> May be you can try 3.14p?

This is a Good Idea. I have never got 3.15 (a1 or p) to work, just go
for 3.14 (or GCC-3.*).



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

* Re: error building gcc 3.2.1
  2003-01-30 20:57   ` Simon Wright
@ 2003-01-30 23:53     ` Bobby D. Bryant
       [not found]       ` <20030131092131.26df7b36.noemail915@hannes-birnbacher.de>
  0 siblings, 1 reply; 6+ messages in thread
From: Bobby D. Bryant @ 2003-01-30 23:53 UTC (permalink / raw)


On Thu, 30 Jan 2003 20:57:41 +0000, Simon Wright wrote:

> Stephane Carrez <stcarrez@nerim.fr> writes:
> 
>> May be you can try 3.14p?
> 
> This is a Good Idea. I have never got 3.15 (a1 or p) to work, just go
> for 3.14 (or GCC-3.*).

FWIW, I built GCC 3.2.1 on Linux with GNAT 3.13p-7.  Unfortunately it has
been over a month, so I don't recall whether I had to fight anything.

-- 
Bobby Bryant
Austin, Texas




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

* Re: error building gcc 3.2.1
       [not found]       ` <20030131092131.26df7b36.noemail915@hannes-birnbacher.de>
@ 2003-01-31 11:09         ` sk
  2003-01-31 14:32           ` Fernando Arbeiza
  0 siblings, 1 reply; 6+ messages in thread
From: sk @ 2003-01-31 11:09 UTC (permalink / raw)
  To: usenet, comp.lang.ada mail to news gateway

Hi,

noemail915@hannes-birnbacher.de :
 > I built GCC 3.2 with GNAT 3.14p, following instructions from the BLFS
 > book (www.linuxfromscratch.org). I can post those if required.

Did you "--enable-languages" ada in chapter 5 (static build) or not
bother until chapter 6 ?

Just curious, currently working thru LFS-4.0 and wondering if the
Ada part of gcc will build without problem.

(LFSID : 6263)

-- 
--
-- Merge vertically for real address
--
------------------------------------
-- s n p @ t . o
--  k i e k c c m
------------------------------------




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

* Re: error building gcc 3.2.1
  2003-01-31 11:09         ` sk
@ 2003-01-31 14:32           ` Fernando Arbeiza
  0 siblings, 0 replies; 6+ messages in thread
From: Fernando Arbeiza @ 2003-01-31 14:32 UTC (permalink / raw)


Hi:

On Fri, 31 Jan 2003 05:09:51 -0600, sk <sk@noname.com> wrote:
> Did you "--enable-languages" ada in chapter 5 (static build) or not
> bother until chapter 6 ?
> 
> Just curious, currently working thru LFS-4.0 and wondering if the
> Ada part of gcc will build without problem.

I have just built it statically (using GNAT 3.14p) without a problem. I
have just mixed the instructions from the LFS book (from chapter 5,
version 4.0) and the ones from the BLFS book.

-- 
Fernando Arbeiza        <URL: mailto:arbeizaf@ono.com>
Crea tu propio Linux:   <URL: http://www.escomposlinux.org/lfs-es>



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

end of thread, other threads:[~2003-01-31 14:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-30 19:09 error building gcc 3.2.1 Wes Groleau
2003-01-30 20:03 ` Stephane Carrez
2003-01-30 20:57   ` Simon Wright
2003-01-30 23:53     ` Bobby D. Bryant
     [not found]       ` <20030131092131.26df7b36.noemail915@hannes-birnbacher.de>
2003-01-31 11:09         ` sk
2003-01-31 14:32           ` Fernando Arbeiza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox