Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 09:42:07 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Petr Holub <hopet@ics.muni.cz>
Cc:        ports@freebsd.org, sam@inf.enst.fr
Subject:   Re: gnat-glade build error on 6.0-BETA2
Message-ID:  <20050818134206.GB9585@xor.obsecurity.org>
In-Reply-To: <00de01c5a3c9$2d63db00$5317fb93@KLOBOUCEK>
References:  <00de01c5a3c9$2d63db00$5317fb93@KLOBOUCEK>

next in thread | previous in thread | raw e-mail | index | archive | help

--oLBj+sq0vYjzfsbl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 18, 2005 at 09:48:09AM +0200, Petr Holub wrote:
> Hi,
>=20
> I've encountered the following error while building gnat-glade on
> 6.0-BETA2:
>=20
> gnatlink -o b_gaprco b_gaprco.ali
> /usr/local/lib/gcc-lib/i386-unknown-freebsd6.0/2.8.1/adalib//libgnat.so: =
warning
> : warning: mktemp() possibly used unsafely; consider using mkstemp()
> adagcc -c -O2 -fno-strict-aliasing -pipe  -I. -I. -gnatg -O2 -gnatpn -gna=
twu -gn
> atwe s-gptcse.adb
> gnat1: Invalid option `-fno-strict-aliasing'
> gmake[1]: *** [s-gptcse.o] Error 1
> gmake[1]: Leaving directory `/usr/ports/lang/gnat-glade/work/glade-3.15p-=
src/Gar
> lic'
> gmake: *** [all-recursive] Error 1
> *** Error code 2
>=20
> Stop in /usr/ports/lang/gnat-glade.
>=20
> A few additional tests compiling software written in Ada show that
> compilation works unless -fno-strict-aliasing is used. See also my
> previous post on xmlada.

Yes, both ports need to be fixed to not use CFLAGS with their build,
which may contain gcc options that are not accepted by adagcc

Kris

--oLBj+sq0vYjzfsbl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDBJAuWry0BWjoQKURAmkAAJ99cyeVQKAu29363TL8XAecSkmFAgCfVsf1
aoWCLYInrQ1cfU3aeoe3GEU=
=QmCW
-----END PGP SIGNATURE-----

--oLBj+sq0vYjzfsbl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050818134206.GB9585>