From owner-freebsd-ports@FreeBSD.ORG Thu Aug 18 07:46:15 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 C107716A41F for ; Thu, 18 Aug 2005 07:46:15 +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 2B91243D48 for ; Thu, 18 Aug 2005 07:46:14 +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 j7I7kDlG016893 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 18 Aug 2005 09:46:14 +0200 From: "Petr Holub" To: Date: Thu, 18 Aug 2005 09:46:14 +0200 Message-ID: <00dd01c5a3c8$e8a596c0$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: xmlada 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:46:15 -0000 Hi, I've encountered the following error while building xmlada on 6.0-BETA2: ===> Configuring for xmlada-0.7.1_2 creating cache ./config.cache checking for ranlib... ranlib checking for gcc... cc checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe ) works... y es checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe ) is a cross -compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for dvips... dvips checking for makeinfo... makeinfo checking for texi2html... texi2html checking for tex... tex updating cache ./config.cache creating ./config.status creating Makefile creating Makefile.module creating docs/Makefile creating xmlada-config ===> Building for xmlada-0.7.1_2 gmake -e -C unicode all_obj gmake[1]: Entering directory `/usr/ports/textproc/xmlada/work/xmlada-0.7.1/unico de' adagcc -c -I./ -gnatwua -gnaty -I.. -I../.. -g -gnata -O2 -fno-strict-aliasing - pipe -I- ../unicode-ccs-iso_8859_1.adb gnat1: Invalid option `-fno-strict-aliasing' gnatmake: "../unicode-ccs-iso_8859_1.adb" compilation error gmake[1]: *** [unicode-ccs-iso_8859_1.o] Error 4 gmake[1]: Leaving directory `/usr/ports/textproc/xmlada/work/xmlada-0.7.1/unicod e' gmake: *** [unicode] Error 2 *** Error code 2 Stop in /usr/ports/textproc/xmlada. A few additional tests compiling software written in Ada show that compilation works unless -fno-strict-aliasing is used. 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