From owner-freebsd-ports@FreeBSD.ORG Thu Aug 18 07:48:11 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1301816A41F for ; Thu, 18 Aug 2005 07:48:11 +0000 (GMT) (envelope-from hopet@ics.muni.cz) Received: from tirith.ics.muni.cz (tirith.ics.muni.cz [147.251.4.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B5543D46 for ; Thu, 18 Aug 2005 07:48:10 +0000 (GMT) (envelope-from hopet@ics.muni.cz) Received: from KLOBOUCEK (kloboucek.ics.muni.cz [147.251.3.38]) (user=hopet@META mech=LOGIN bits=0) by tirith.ics.muni.cz (8.13.2/8.13.2) with ESMTP id j7I7m8ks019809 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 18 Aug 2005 09:48:09 +0200 From: "Petr Holub" To: Date: Thu, 18 Aug 2005 09:48:09 +0200 Message-ID: <00de01c5a3c9$2d63db00$5317fb93@KLOBOUCEK> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Muni-Spam-TestIP: 147.251.3.38 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean Cc: ports@freebsd.org Subject: gnat-glade build error on 6.0-BETA2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 07:48:11 -0000 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. Best, Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 162 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub@cesnet.cz phone: +420-549493944 fax: +420-541212747 e-mail: hopet@ics.muni.cz