From: Tero Koskinen <tero.koskinen@iki.fi>
Subject: Re: Crash problem with GNAT in Fedora 18
Date: Tue, 20 Aug 2013 08:10:53 +0300
Date: 2013-08-20T08:10:53+03:00 [thread overview]
Message-ID: <kuutou$8oi$1@loke.gir.dk> (raw)
In-Reply-To: <20130814151355.669a5e5d@hactar.xn--rombobjrn-67a.se>
14.8.2013 16:13, Björn Persson kirjoitti:
> Tero Koskinen wrote:
>> However, next problem seems to be that anything linked with Ahven
>> crashes if Ahven is compiled with base gcc/gnat on Fedora 18.
>> GNAT GPL 2012 works, so it is base gcc/gnat problem on Fedora.
>> (And I made sure that I have static libgnat installed, so the crash
>> isn't directly related to it.)
>
> That sounds like it might be the initialization bug in GPRbuild 2011:
> https://bugzilla.redhat.com/show_bug.cgi?id=853866
>
> If so, you might want to upgrade to Fedora 19 which has GPRbuild 2012.
I installed Fedora 19/x86_64 inside virtual machine and tested there,
but got following error:
build_ahven.gpr:3:17: no languages defined for this project
build_ahven.gpr:10:30: warning: libraries are not supported on this platform
comfignat.gpr:29:18: no languages defined for this project
gprbuild: "build_ahven.gpr" processing failed
Full log:
[tkoskine@localhost work]$ hg clone
https://bitbucket.org/tkoskine/ahven-comfignat
destination directory: ahven-comfignat
requesting all changes
adding changesets
adding manifests
adding file changes
added 707 changesets with 1460 changes to 182 files
updating to branch default
126 files updated, 0 files merged, 0 files removed, 0 files unresolved
[tkoskine@localhost work]$ cd ahven-comfignat/
[tkoskine@localhost ahven-comfignat]$ ls
adabrowse.conf doc gnat Makefile README.rst src
contrib examples janusada Makefile.legacy ROADMAP test
css extra LICENSE NEWS rules tools
[tkoskine@localhost ahven-comfignat]$ make
cd gnat && make
make[1]: Siirrytään hakemistoon "/home/tkoskine/work/ahven-comfignat/gnat"
"gnatprep" comfignat.gpr.gp
/home/tkoskine/work/ahven-comfignat/gnat/comfignat.gpr
-DInvoked_By_Makefile
'-DBuilddir="/home/tkoskine/work/ahven-comfignat/gnat"'
'-DObjdir="/home/tkoskine/work/ahven-comfignat/gnat/obj"'
'-DStagedir="/home/tkoskine/work/ahven-comfignat/gnat/stage"'
'-DDatadir="/usr/local/share"' '-DSysconfdir="/usr/local/etc"'
'-DStatedir="/usr/local/var/lib"' '-DCachedir="/usr/local/var/cache"'
'-DLogdir="/usr/local/var/log"' '-DGPRdir="/usr/local/share/gpr"'
'-DLocaledir="/usr/local/share/locale"'
'-DMandir="/usr/local/share/man"' '-DInfodir="/usr/local/share/info"'
'-DMiscdocdir="/usr/local/share/doc"' '-DRuntimedir="/run"'
'-DLockdir="/run/lock"' '-DBindir="/usr/local/bin"'
'-DLibexecdir="/usr/local/libexec"' '-DIncludedir="/usr/local/include"'
'-DLibdir="/usr/local/lib"'
'-DStage_Bindir="/home/tkoskine/work/ahven-comfignat/gnat/stage/usr/local/bin"'
'-DStage_Libexecdir="/home/tkoskine/work/ahven-comfignat/gnat/stage/usr/local/libexec"'
'-DStage_Includedir="/home/tkoskine/work/ahven-comfignat/gnat/stage/usr/local/include"'
'-DStage_Libdir="/home/tkoskine/work/ahven-comfignat/gnat/stage/usr/local/lib"'
"gprbuild" -P build_ahven.gpr
-aP/home/tkoskine/work/ahven-comfignat/gnat
-aP/home/tkoskine/work/ahven-comfignat/gnat -p -cargs:Ada -cargs:C
-cargs:C++ -cargs:Fortran -bargs -largs
object directory "/home/tkoskine/work/ahven-comfignat/gnat/obj/" created
library directory
"/home/tkoskine/work/ahven-comfignat/gnat/stage/usr/local/lib" created
for project build_ahven
build_ahven.gpr:3:17: no languages defined for this project
build_ahven.gpr:10:30: warning: libraries are not supported on this platform
comfignat.gpr:29:18: no languages defined for this project
gprbuild: "build_ahven.gpr" processing failed
make[1]: *** [build_ahven.gpr.phony_target] Virhe 4
make[1]: Poistutaan hakemistosta "/home/tkoskine/work/ahven-comfignat/gnat"
make: *** [default] Virhe 2
[tkoskine@localhost ahven-comfignat]$ cat /etc/fedora-release
Fedora release 19 (Schrödinger’s Cat)
[tkoskine@localhost ahven-comfignat]$ rpm -qa|grep gprbuild
gprbuild-2012-4.fc19.x86_64
[tkoskine@localhost ahven-comfignat]$ uname -a
Linux localhost.localdomain 3.10.7-200.fc19.x86_64 #1 SMP Thu Aug 15
23:19:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[tkoskine@localhost ahven-comfignat]$
> As a quick test to see if the bug is in GPRbuild you can set
> GNAT_BUILDER=gnatmake on the Make command line.
Thanks, this work-around helped on Fedora 18 and 19.
> Björn Persson
>
Yours,
Tero
next prev parent reply other threads:[~2013-08-20 5:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-07 17:32 Introducing Comfignat Björn Persson
2013-08-07 18:01 ` Simon Wright
2013-08-07 19:00 ` Björn Persson
2013-08-10 14:52 ` Tero Koskinen
2013-08-12 9:03 ` Björn Persson
2013-08-13 14:24 ` Tero Koskinen
2013-08-14 13:13 ` Crash problem with GNAT in Fedora 18 (was: Introducing Comfignat) Björn Persson
2013-08-20 5:10 ` Tero Koskinen [this message]
2013-08-20 7:26 ` Crash problem with GNAT in Fedora 18 Simon Wright
2013-08-24 8:34 ` Björn Persson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox