From owner-freebsd-stable@FreeBSD.ORG Sun Dec 16 18:01:31 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BD2316A418 for ; Sun, 16 Dec 2007 18:01:31 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id B63CC13C455 for ; Sun, 16 Dec 2007 18:01:30 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so224358fgg.35 for ; Sun, 16 Dec 2007 10:01:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=nigJsW4RSxvHOWJVogXa7QEvmHsJczxuULvLMv1PIZk=; b=wpH4N9qAOpaiDQEqo32JZOoz3r2M8svGdVoWahIzRjhqQNrBrOk70Ep43AuF1sWT7cfcCf1/UDdOE3DaXluETHX8ormKikVDn8qtLXT+5QaZiGwjyb/Zp/Lkr9iA8jaW6QM7JEMB2VqR0YYeYOoEnyncQxkmUn2zvrvGwghkcTI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=u+NNdL4FpWKehDzsL9v695SY6kB0AW7bNAgCAHIhu6zEHY1NQgAmqVkw/DDhhEISQD9pQhSAyxCMeMrYPamvYYM7ig7dTiLef/EBOJX8VY4VlAnJdPBxYnuBWK2fUPAW6kwAe4XAzcBN8iVeZFpW+smxvyRazqxCC042/L9LMLc= Received: by 10.86.4.2 with SMTP id 2mr5511185fgd.41.1197828089448; Sun, 16 Dec 2007 10:01:29 -0800 (PST) Received: by 10.86.3.20 with HTTP; Sun, 16 Dec 2007 10:01:29 -0800 (PST) Message-ID: <790a9fff0712161001m3f152373jc7e03e0dd9b8e914@mail.gmail.com> Date: Sun, 16 Dec 2007 12:01:29 -0600 From: "Scot Hetzel" To: "Pete French" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0712160847m4c25cf31t756f0a7988e2e1f8@mail.gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: Is it safe to use CPUTYPE?=native on 7.0 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 18:01:31 -0000 On 12/16/07, Pete French wrote: > > While setting CPUTYPE=native in /etc/make.conf may work, it fails to > > set MACHINE_CPU to the correct values for your processor type. > > > > The problem is that bsd.cpu.mk doesn't know how to handle CPU type 'native'. > > Ah, O.K. - thats the kind of thing I was worried about... > > > There is a simple fix for this problem by applying the attached patch > > which uses: > > Great, thanks. Out of curiosity, how come this patch isn't in 7.0 ? > PR 112997 was submitted to resolve this problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=112997 it just didn't have enough attention to get someone interested in committing it. Scot