From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fa4492559026112a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail NNTP-Posting-Date: Sat, 25 Mar 2006 18:13:52 -0600 From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GNAT on Debian or Gentoo? References: <1142950303.745049.94380@e56g2000cwe.googlegroups.com> <92q6f3-1js.ln1@newserver.thecreems.com> <1143000734.620706.219850@g10g2000cwb.googlegroups.com> <4421139A.7040106@obry.net> <1143020992.276789.108080@i39g2000cwa.googlegroups.com> <1143303929.882411.3160@v46g2000cwv.googlegroups.com> <1143304998.736388.191450@i39g2000cwa.googlegroups.com> Date: Sun, 26 Mar 2006 01:09:48 +0100 Message-ID: <87acbe12yb.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:gVhBFG4cQQposOkGhkvZNtpoXBg= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 62.235.55.44 X-Trace: sv3-DIjEbxDRklLkTsqgBwYWy+98xmsBesPMOOnXYSlwrGXLHa47zPm8mAYuq06Mxe9UUzq+wq3fM7G6qX0!COAV0BF1FkfF923jJH5F/cVJp4lK8lL1joB2D4Q8uXV0GOZYBorCP0FZNeR4JiYIC8apu1v0 X-Complaints-To: abuse@scarlet.be X-DMCA-Complaints-To: abuse@scarlet.biz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:3614 Date: 2006-03-26T01:09:48+01:00 List-Id: Adrian Hoe writes: > I got the following GNAT bug compiling my applications: > > gcc -c -I/usr/lib/ada/floristlib -I../charles/src > -I/usr/local/include/gtkada dlg_about_pkg-callbacks.adb > +===========================GNAT BUG DETECTED==============================+ > | 3.3.3 (SuSE Linux) (i586-suse-linux-gnu) Assert_Failure nlists.adb:836 | > | Error detected at /usr/lib/gcc-lib/i586-suse-linux/3.3.3/adainclude/s-finimp.ads:37:1| > | > > I could not trace the origin of the bug. Downgrading gnat is not > possible. I hope 3.4 or 4.x can solve my problem. I get 3.4 and 4.x, > the only option is to upgrade to SuSE 10. That's one of the critical > reason I want to move away from SuSE. The Ada front-end in GCC 3.3 is pretty much the same as in 3.2 and 3.1, and is buggy because of the move from the GCC 2.8 backend to the GCC 3.x backend. GCC 3.4 should be okay. GCC 4.0 has the same problem again, due to the new Tree-SSA backend. GCC 4.1 should be okay. > If Debian can allow me to install unstable or testing release of > gnat, I will definitely consider Debian to be our main > development/test platform. Your decision boils down to this: do you want to (a) develop/test your programs on a stable platform, or (b) develop/test GNAT on an unstable platform (unstable because GNAT is part of the platform)? If you answer (a), then Debian 3.1 "Sarge" (stable) is for you. Debian is the only distribution that provides a stable platform for Ada development and deployment. My goal as a Debian maintainer is to address the needs of people who answer (a). If you answer (b), then there are several ways in which you can contribute to GNAT development. The most obvious one is to check out the latest sources of GCC from the Subversion repository at gcc.gnu.org, and compile them for yourself. You can do this on any distribution, so you can keep SuSE. Or, you can install the package gnat-4.1 on top of Debian "Sid" (unstable). Then you will be able to contribute to the very interesting transition to gnat-4.1 as the default Ada compiler for Debian. The ground work I'm currently doing involves patching GCC's configure and build scripts, as well as the Ada front-end. If that sounds interesting to you, then please join in! > Also, is it possible to install more than 1 release of gcc/gnat and > switch among the release? Possible, yes. Easy, no. As a consequence of my goal of providing a stable Ada platform, I have decided to support only one version of GNAT at a time, but to support it well. The packages gnat, gnat-3.3, gnat-3.4, gnat-4.0 and gnat-4.1 conflict with each other. If you want to install several of them in parallel, you need to use either full-blown chroots, or install with "dpkg --root" and use $PATH and "gcc -B". I personally have a chroot where I work on gnat-4.1, while my main installation has gnat installed. Here is a little summary of which versions of gnat are available in which versions of Debian: Sarge (stable): gnat, gnat-3.3, gnat-3.4 Etch (testing): gnat, gnat-4.0 Sid (unstable): gnat, gnat-4.0 experimental: gnat-4.1 "experimental" is not a full version of Debian; it is a small number of packages that you must install on top of Sid. The only supported version is gnat. All the others are for experimentation only. -- Ludovic Brenta.