From: Alan W. I. <Ala...@gm...> - 2018-07-16 17:10:36
|
On 2018-06-09 13:30-0700 Alan W. Irwin wrote: > On 2018-04-15 11:15-0700 Alan W. Irwin wrote: > >> Hi Jerry: > [...] >> So once this Ada build issue appeared again for me yesterday after all >> those previous successful hardware checks, I did a google search for >> the terms (without the quotes) "gnatmake intermittent build error" and >> found >> <https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=65451> >> which was a bug report in 2015 about intermittent Ada build issues >> which was immediately fixed back then. However, my gnat version (= >> 4.9.2) is from 2014 so I don't have that bugfix and I am pretty sure >> at this stage that bug 65451 is the issue that is causing the >> intermittent Ada build issues for me. Therefore, I plan to use the >> -DENABLE_ada=OFF option for my further testing until I can get access >> to a later version of the Ada build tools myself, and I suggest others >> who currently don't have access to Ada build tools with bug 65451 >> fixed should do the same. > > Just to follow up for Debian Buster with gnat-7 (as opposed to gnat-4 that I > was using for Debian Jessie) the first test of Ada has been a complete > success. > See commit 994723471 for the details of the tests I ran. Hi Jerry: I just ran into this issue for the first time for my new hardware and latest Ada/gnat (version 7.3.0) from Debian Buster (sigh). I was doing a parallel build (with -j10 for my new system with 8 real cores), when the following error was encountered: ./plplot_standard.o: file not recognized: File truncated collect2: error: ld returned 1 exit status gnatlink-7: error when calling /usr/bin/gcc-7 gnatmake: *** link failed. examples/ada/CMakeFiles/xstandard30a.dir/build.make:77: recipe for target 'examples/ada/xstandard30a' failed make[3]: *** [examples/ada/xstandard30a] Error 4 A google search found <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857831> which appears to be a similar (or the same bug) for 7.1. At the time, the Debian packagers thought they had a fix, but it seems from my experience either that was not true or else the fix has not been propagated to 7.3. I have just now privately reported the situation to Matthias Klose (the author of the bug 857831 report, and they guy who decided that bug was fixed), and we will see what he says. But to work around this problem until it is fixed for Debian Buster, I plan to use -DENABLE_ada=OFF for my testing. Alan __________________________ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |