Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 03:55:29 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/avr-libc Makefile
Message-ID:  <20030519105529.GD4451@rot13.obsecurity.org>
In-Reply-To: <20030519104604.GB17366@sunbay.com>
References:  <200305190828.h4J8S8l0069634@repoman.freebsd.org> <20030519094115.GC1035@sunbay.com> <20030519115435.C2937@uriah.heep.sax.de> <20030519104604.GB17366@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ylS2wUBXLOxYXZFQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

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.

Kris

--ylS2wUBXLOxYXZFQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+yLghWry0BWjoQKURAiQEAJ4n7IUmNM4VYHACpaBSlnw9zGerSgCgw8yy
7faMXFrjav4ibVm1y7v3+1w=
=VPkw
-----END PGP SIGNATURE-----

--ylS2wUBXLOxYXZFQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030519105529.GD4451>