gnat-glade build error on 6.0-BETA2

Kris Kennaway kris at obsecurity.org
Thu Aug 18 13:42:10 GMT 2005


On Thu, Aug 18, 2005 at 09:48:09AM +0200, Petr Holub wrote:
> Hi,
> 
> I've encountered the following error while building gnat-glade on
> 6.0-BETA2:
> 
> 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 -gnatwu -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
> 
> Stop in /usr/ports/lang/gnat-glade.
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050818/17645a48/attachment.bin


More information about the freebsd-ports mailing list