From owner-freebsd-ports@FreeBSD.ORG Thu Aug 18 15:25: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 BD98916A41F for ; Thu, 18 Aug 2005 15:25:11 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D442E43D55 for ; Thu, 18 Aug 2005 15:25:10 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j7IFPAvf023917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Aug 2005 11:25:10 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j7IFPA6P019632; Thu, 18 Aug 2005 11:25:10 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B2A2A52028; Thu, 18 Aug 2005 11:25:09 -0400 (EDT) Date: Thu, 18 Aug 2005 11:25:09 -0400 From: Kris Kennaway To: Petr Holub Message-ID: <20050818152509.GA7515@xor.obsecurity.org> References: <20050818134206.GB9585@xor.obsecurity.org> <200508181512.j7IFCMZ08279@dior.ics.muni.cz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <200508181512.j7IFCMZ08279@dior.ics.muni.cz> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org, sam@inf.enst.fr, Kris Kennaway Subject: Re: 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 15:25:11 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 18, 2005 at 05:12:22PM +0200, Petr Holub wrote: > > > 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. > >=20 > > 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 >=20 > I wonder where the -fno-strict-aliasing comes from? I've found it in the > /usr/share/mk/sys.mk - is there any way how to disable inclusion of sys.m= k? >=20 > Of course, I can always do > CFLAGS=3D > in the Makefile for these ports (and I've verified it works) but this also > overrides all the options a user may wisch to set... It's bogus to use CFLAGS (C compiler flags) to control an ADA compiler. Users may legitimately specify any number of other C compiler flags in this variable which will be rejected by the ADA compiler. Use another variable instead (e.g. ADAFLAGS). Kris --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDBKhVWry0BWjoQKURAu2DAJwMrI+xE2K0L2/M+A1eok029BspEACgw9Lt piKtQgq1Kz5hy5UouEk0bKY= =2Imy -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--