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,ee177605ddb5cba3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!news.astraweb.com!newsrouter-eu.astraweb.com!hwmnpeer01.ams!hwmedia!news-out.ntli.net!newsrout1-gui.ntli.net!ntli.net!news.highwinds-media.com!newspeer1-win.ntli.net!newsfe5-gui.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Re: [gnuada] gcc 4.1.0 available User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-ID: Newsgroups: comp.lang.ada References: <1253120.DI8C0e8O9o@linux1.krischik.com> <47622979.Q8IlieK1cI@linux1.krischik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 19 Mar 2006 20:24:22 GMT NNTP-Posting-Host: 82.10.238.153 X-Trace: newsfe5-gui.ntli.net 1142799862 82.10.238.153 (Sun, 19 Mar 2006 20:24:22 GMT) NNTP-Posting-Date: Sun, 19 Mar 2006 20:24:22 GMT Organization: NTL Xref: g2news1.google.com comp.lang.ada:3465 Date: 2006-03-19T20:24:22+00:00 List-Id: On Sun, 19 Mar 2006 10:59:40 +0100, Martin Krischik wrote: > Dr. Adrian Wrigley wrote: > >> On Sun, 12 Mar 2006 17:34:51 +0100, Martin Krischik wrote: >> >>> Hello, >>> >>> The GNU Ada Project [1] is pleased to announce a new GNAT release based >>> on GCC 4.1.0. The Release is currently available for "SuSE 10.0 x86_64" >>> and "Solaris 10 UltraSparc" - others are to follow. >>> >>> The SuSE release consist of all GCC core languages (Ada, C, C++, Fortran, >>> Java, Obj-C, Obj-C++) and all currently supported libraries and tools >>> (asis, booch, gdb, gtkada, xmlada). >> >> Is this likely to work with SuSE 10.1 (Beta 8), and the 10.1 release >> expected in mid April? I don't know enough about the changes between >> these releases to be sure. > > I got an update abo for SuSE - so if SuSE 10.1 comes out a new gnat will > come out as well. > > Besides: GNAT/GPL does not compile "out of the box" on SuSE 10.0 - you need > to bootstrap with a GNAT/GPL version compiled on SuSE 9.3. Which shows that > a gnat installation tend to work on the next version as well. > >> I'd like to try out SuSE, and if it gives what I need, install 10.1 >> when it comes out on a "production" machine. > > Try www.opensuse.com and download a SuSE 10.0 then. SuSE 10.0 even got > network install. Actually, I've just tried the SuSE 10.1 Beta 8, to see how I get on with it. The OS gave me some trouble at first. It fails to (NFS) install with "just" 256MB of RAM. It took a long time to figure out what ftructure it needed for NFS installation (it worked when I had each CD as a separate NFS export, and gave it the path to the first CD. Fedora installed from a simple directory of .iso files!). Xorg installed with an invisible pointer(!), but that was cured with the SWCursor option. It spontaneously rebooted while I wasn't watching, before the installation was complete. It only mounts NFS over UDP because TCP isn't available (how do I fix this?). And I haven't figured out how to accept incoming connections to the X server (even xhost + doesn't work)(hints please!). The default of deleting all data on all drives seems a bit unfriendly, but I spotted that before pressing "OK". And I haven't yet figured out where to get my favorite packages, such as mp3/media players or rxvt. I think the proprietary and relatively new chipset on the Gigabyte GA K8N51GMF S754 motherboard has complicated things, because a lot of Linux distributions have only just started supporting it, limiting one to "bleeding edge" versions. As regards GNAT, your packages installed OK, once I had realized I needed the gnat-conf package first. (I didn't find all the instructions until after things had failed). I "--force"ed gdb after it complained about conflict with /opt/gnat/gcc/lib/libiberty.a. Aside from these two "gotchas", I am very pleased with the simplicity and completeness of the installation. (Show_GNAT doesn't mention GLADE yet). Thanks for the work, Martin! I think I could probably learns a few tips from the scripts you've put together. I'll try to get Florist installed soon too. When it comes to the Ada, it has been a little bit disappointing though. First I got copious "warning: frame size too large for reliable stack checking" messages when using "-fstack-check", and other (new) minor warnings. Some previously clean code even complained about types being frozen before declaration. Some options have become obsolete, causing build scripts to fail ("deferred_termination" in GLADE, for example). Running 'gate' to convert the GUI, developed in Glade into Ada failed: raised STORAGE_ERROR : stack overflow (or erroneous memory access) Couldn't generate Ada code. Exiting. I shall do some experiments to try to find out what is wrong. I think the version of Glade I had previosly used was too old, but it is still an unfriendly result. Perhaps the biggest problem I face, is linking in 32-bit libraries. This come from third parties, and I have no source code to recompile for the 64-bit architecture. One solution, is to run the 32-bit libraries with 32-bit Ada in separate 32-bit Annex E partitions. The 64-bit code can still be used for the bulk of the software, and the partitioning is already structured to allow this. But if adds hassle to the build and configuration management and tool chain requirements :( Has anyone experience of running dual architectures under GLADE on a single machine? Is this the simplest way of running a 64-bit program with 32-bit libraries? Presumably I need to install 32-bit GNAT and GLADE, and run them under a chroot with "linux32"? Then I need to get Gnatdist to make code to invoke the 32-bit components in a 32-bit environment too? How closely matched do the compilers have to be? Will any version of GNAT/Glade compile partitions to work with any other? Do I need the full architecture-independent GLADE filters? Or are the architectures sufficiently similar to work without the extra layer of conversion? The SuSE installation gives me the opportunity to try out these new GNAT builds, and I should be able to get a test system running with that. For the production system, I think I'll try Debian again. Fedora and particularly SuSE have been rather frustrating in several ways. But I am still quite a way off putting a 64-bit system into production on this project... -- Adrian