Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] GCC 4.3.0

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] GCC 4.3.0
  • Date: Tue, 1 Apr 2008 21:03:46 -0700

On Tuesday, April 01 2008 20:39:35 Eric Sandall wrote:
> I have all of GCC 4.3.0 except ada ready to push to test. Once I get ada
> 4.3.0 compiling you will all enjoy the benefits of recompiling for a new
> GCC release. :)
>
> Currently ada is failing with:
> checking for correct version of gmp.h... yes
> checking for correct version of mpfr.h... yes
> configure: error: GNAT is required to build ada
>
> This is using the currently setup gnat-4.1.1-i386-pc-linux-gnu.tar.bz2. I
> have a /var/cache/sorcery/ada-4.2.3-i686-pc-linux-gnu.tar.bz2, which is the
> prior ada 4.2.3 built for i686 (I modified BUILD and PRE_BUILD to setup
> this similar to how the gnat-4.1.1-i386-pc-linux-gnu.tar.bz2 was setup),
> but that doesn't seem to work either. I noticed the following in
> config.log: configure:4188: checking for gnatbind
> configure:4204:
> found /usr/src/gcc-4.3.0/ada-4.2.3-i686-pc-linux-gnu/usr/bin/gnatbind
> configure:4215: result: gnatbind
> configure:4268: checking for gnatmake
> configure:4284:
> found /usr/src/gcc-4.3.0/ada-4.2.3-i686-pc-linux-gnu/usr/bin/gnatmake
> configure:4295: result: gnatmake
> configure:4307: checking whether compiler driver understands Ada
> configure:4330: result: no
>
> All of the gnat commands
> in /usr/src/gcc-4.3.0/ada-4.2.3-i686-pc-linux-gnu/usr/bin/ seem to run
> without segfaulting or other errors.
>
> Any ideas?
>
> -sandalle

According to http://gcc.gnu.org/install/build.html, all I "need" to build Ada
is a working GNAT compiler (they do not define "working" and state that the
compiler does not check this for us). The only hint they give is, "You can
check that your build environment is clean by verifying that `gnatls -v'
lists only one explicit path in each section." Well, here we go:
# gnatls -v

GNATLS 4.2.3
Copyright 1997-2006, Free Software Foundation, Inc.

Source Search Path:
<Current_Directory>

/usr/src/gcc-4.3.0/ada-4.2.3-i686-pc-linux-gnu/usr/lib/gcc/i686-pc-linux-gnu/4.2.3/adainclude/


Object Search Path:
<Current_Directory>

/usr/src/gcc-4.3.0/ada-4.2.3-i686-pc-linux-gnu/usr/lib/gcc/i686-pc-linux-gnu/4.2.3/adalib/


Project Search Path:
<Current_Directory>
/usr/src/gcc-4.3.0/ada-4.2.3-i686-pc-linux-gnu/usr/lib/gnat/

So the GNAT binaries seem to run and the environment is setup as well as I
can
tell (same issue if I use the prior working gnat 4.1.1). Note that I get the
same error on x86_64 even though the GNAT binaries don't work at all:
# gnatls -v
-su: /usr/src/gcc-4.3.0/gnat-4.1.1-i386-pc-linux-gnu/bin/gnatls: No such file
or directory

So perhaps something else needs setting up for 4.3.0? Oh, and the Ada
developers have no problem with Ada, unlike almost all other languages (e.g.
Mono C#, C++, Fortran, GCJ, ObjC), requiring a non-C compiler for
bootstrapping[0]. They also mention that they, "...maintain compatibility
with relatively ancient versions of GNAT for bootstrapping purposes." May I
call bullshit on this?

Anyone mind if I drop this POS and dead language with inane developers? :)

-sandalle

[0] http://gcc.gnu.org/ml/gcc/2007-11/msg00097.html

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page