Prev: Fedora, Debian and other GNU/Linux distributions (was: gnatmake problem)
Next: Web browser in Ada
From: Dmitry A. Kazakov on 22 Apr 2010 06:47 Did anybody experienced weird problems with linux gnatmake (gcc-gnat version 4.4.3-4). The problem manifests itself when dealing with a cifs volume (mounted share). gnatmake sees no files there. When I type $ gnatmake x.adb I get: gnatmake: "x.adb" not found $ gcc -c x.adb works. The gnatmake from GNAT GPL 2009 sees files as well. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de
From: Georg Bauhaus on 22 Apr 2010 07:23 On 22.04.10 12:47, Dmitry A. Kazakov wrote: > Did anybody experienced weird problems with linux gnatmake (gcc-gnat > version 4.4.3-4). The problem manifests itself when dealing with a cifs > volume (mounted share). gnatmake sees no files there. When I type > > $ gnatmake x.adb > > I get: > > gnatmake: "x.adb" not found > > $ gcc -c x.adb > > works. The gnatmake from GNAT GPL 2009 sees files as well. > Running on Debian, $ gnatmake kannweg.adb gcc-4.3 -c kannweg.adb kannweg.adb:1:01: compilation unit expected gnatmake: "kannweg.adb" compilation error $ mount |grep cifs //sambal/datente on /mnt type cifs (rw,mand) $ pwd /mnt/home/bauhaus/News $ lsb_release --all LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch Distributor ID: Debian Description: Debian GNU/Linux 5.0.4 (lenny) Release: 5.0.4 Codename: lenny $ gnatmake -gnatc -v kannweg.adb GNATMAKE 4.3.2 Copyright (C) 1995-2007, Free Software Foundation, Inc. "kannweg.ali" being checked ... -> "kannweg.ali" missing. gcc-4.3 -c -gnatc kannweg.adb kannweg.adb:1:01: compilation unit expected End of compilation
From: Dmitry A. Kazakov on 22 Apr 2010 07:34 On Thu, 22 Apr 2010 13:23:15 +0200, Georg Bauhaus wrote: > On 22.04.10 12:47, Dmitry A. Kazakov wrote: >> Did anybody experienced weird problems with linux gnatmake (gcc-gnat >> version 4.4.3-4). The problem manifests itself when dealing with a cifs >> volume (mounted share). gnatmake sees no files there. When I type >> >> $ gnatmake x.adb >> >> I get: >> >> gnatmake: "x.adb" not found >> >> $ gcc -c x.adb >> >> works. The gnatmake from GNAT GPL 2009 sees files as well. > > Running on Debian, > > $ gnatmake kannweg.adb > gcc-4.3 -c kannweg.adb > kannweg.adb:1:01: compilation unit expected > gnatmake: "kannweg.adb" compilation error > > $ mount |grep cifs > //sambal/datente on /mnt type cifs (rw,mand) > > $ pwd > /mnt/home/bauhaus/News > > $ lsb_release --all > LSB Version: > core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch > Distributor ID: Debian > Description: Debian GNU/Linux 5.0.4 (lenny) > Release: 5.0.4 > Codename: lenny > > $ gnatmake -gnatc -v kannweg.adb > > GNATMAKE 4.3.2 > Copyright (C) 1995-2007, Free Software Foundation, Inc. > "kannweg.ali" being checked ... > -> "kannweg.ali" missing. > gcc-4.3 -c -gnatc kannweg.adb > kannweg.adb:1:01: compilation unit expected > End of compilation But you have gcc/gnat 4.3.x, that worked to me too. GNAT GPL 2009 is 4.3.x. The bug seem to be introduced with gcc 4.4.x. I discovered it when I upgraded Fedora to core 12. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de
From: Dmitry A. Kazakov on 1 May 2010 14:55 On Fri, 23 Apr 2010 03:30:31 -0700 (PDT), Ludovic Brenta wrote: > Since you do not provide any sources, I cannot even try to reproduce > your problem on Debian. I also do not see any bug report in upstream's > bugzilla database. Maybe you reported the problem to Fedora? OK, I have installed Debian and reproduced the problem: Compiler: --------- Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.2 (Debian 4.3.2-1.1) Platform: --------- Debian 5, x86 Reproduction: ------------- > gcc-4.3 -c -gnat05 gtk-fuzzy_feature-selection.adb Effect: ------- +===========================GNAT BUG DETECTED==============================+ | 4.3.2 (i486-pc-linux-gnu) Assert_Failure sinfo.adb:2484 | | Error detected at gtk-generic_fuzzy_linguistic_set_measure_tree_view.ads:84:4| | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc-4.3 or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ I cannot submit it to bugzilla because I don't know how to post source files. I tried to place them into the comment, but it was rejected by the bugzilla. GNAT Pro 6.3.1. compiles it successfully. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de
From: Ludovic Brenta on 1 May 2010 16:11 Dmitry A. Kazakov writes on comp.lang.ada: > OK, I have installed Debian and reproduced the problem: Out of curiosity, did you find the installation difficult or easy? [...] > gcc version 4.3.2 (Debian 4.3.2-1.1) > > Platform: > --------- > Debian 5, x86 What is x86? i386 and amd64 are quite different, so the generic "x86" is not helpful. [...] > I cannot submit it to bugzilla because I don't know how to post source > files. I tried to place them into the comment, but it was rejected by > the bugzilla. > > GNAT Pro 6.3.1. compiles it successfully. You can report the problem to the Debian bug tracking system; instructions at http://bugs.debian.org. You can attach source files in your email but it would help if you could isolate the trigger for the bug in a small test case (as opposed to thousands of lines for the complete closure of the file you were trying to compile). -- Ludovic Brenta.
|
Next
|
Last
Pages: 1 2 Prev: Fedora, Debian and other GNU/Linux distributions (was: gnatmake problem) Next: Web browser in Ada |