From owner-cvs-ports@FreeBSD.ORG Mon May 19 04:09:47 2003 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E7A537B401; Mon, 19 May 2003 04:09:47 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D16343F93; Mon, 19 May 2003 04:09:43 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h4JB9YEd021336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 May 2003 14:09:34 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h4JB9Rg7021175; Mon, 19 May 2003 14:09:27 +0300 (EEST) (envelope-from ru) Date: Mon, 19 May 2003 14:09:27 +0300 From: Ruslan Ermilov To: Kris Kennaway Message-ID: <20030519110927.GC17366@sunbay.com> References: <200305190828.h4J8S8l0069634@repoman.freebsd.org> <20030519094115.GC1035@sunbay.com> <20030519115435.C2937@uriah.heep.sax.de> <20030519104604.GB17366@sunbay.com> <20030519105529.GD4451@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kfjH4zxOES6UT95V" Content-Disposition: inline In-Reply-To: <20030519105529.GD4451@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i cc: Joerg Wunsch cc: cvs-ports@FreeBSD.org cc: Kris Kennaway cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/devel/avr-libc Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 11:09:47 -0000 --kfjH4zxOES6UT95V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 19, 2003 at 03:55:29AM -0700, Kris Kennaway wrote: > On Mon, May 19, 2003 at 01:46:04PM +0300, Ruslan Ermilov wrote: > > On Mon, May 19, 2003 at 11:54:35AM +0200, Joerg Wunsch wrote: > > > As Ruslan Ermilov wrote: > > >=20 > > > > Just as a quick note, the cross-compilation issues (for normal world > > > > builds) from bsd.cpu.mk are handled by setting NO_CPU_CFLAGS. > > >=20 > > > That's exactly what i've got in the Makefile (long since, and FreeBSD > > > 5.x is the only Unix that requires a hack like this to get a > > > cross-compilation working). Yet, it has been broken again. People > > > seem to care more about creeping featurism these days than about a > > > good and stable development environment. Sigh. > > >=20 > > Hm, so what's broken then? If NO_CPU_CFLAGS is set, the effect > > of bsd.cpu.mk is null, if I'm reading the code correctly. Can > > you please show me the actual error, as I can't find it anywhere > > on bento. >=20 > The error appears to be that bsd.cpu.mk adds -mcpu=3Dpentiumpro even if > NO_CPU_CFLAGS is specified (see r1.13). Joerg's cross-compiler port > is failing because the cross-gcc is being executed with the invalid > -mcpu option. >=20 Hm, are you sure? # make __MAKE_CONF=3D/dev/null -m /CURRENT/usr/src/share/mk -V CFLAGS -O -pipe -mcpu=3Dpentiumpro # make __MAKE_CONF=3D/dev/null -m /CURRENT/usr/src/share/mk -V CFLAGS -DNO_= CPU_CFLAGS -O -pipe I get this same with CPUTYPE in /etc/make.conf: # make -m /CURRENT/usr/src/share/mk -V CFLAGS -O -pipe -march=3Dpentiumpro # make -m /CURRENT/usr/src/share/mk -V CFLAGS -DNO_CPU_CFLAGS -O -pipe Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --kfjH4zxOES6UT95V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+yLtnUkv4P6juNwoRAiVLAKCIHxyOO1rSSwN3RI8mdTxpULlsagCgjG4o 6k8vUR9lz5NJgMu5iwipfl8= =7hwz -----END PGP SIGNATURE----- --kfjH4zxOES6UT95V--