From owner-freebsd-current@FreeBSD.ORG Sun Nov 4 22:01:03 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9057CD0 for ; Sun, 4 Nov 2012 22:01:03 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA368FC1A for ; Sun, 4 Nov 2012 22:01:03 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD4596B.dip.t-dialin.net [93.212.89.107]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 9D37E844096; Sun, 4 Nov 2012 23:00:53 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id 1F82D2190; Sun, 4 Nov 2012 23:00:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1352066451; bh=0G0pqjMesrg1gf/Z35wgRpNctOHXWukgGmlA8++I9ko=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=FYNxj6ZyMkQoSjCfkiYvSkNtZWum5OGxtYXc41clcvtrpJ8K4pdZoLo3JJSJNT4J1 gUI5nMsLx31fWZ9YuZ+Z8hPLaAuHv3YzYlWc7qyEAhW6G/xF8qa5wqZpj2rBbZgMKP 3nBhuT7rzqhXF8YOG7Jfn5DDBpATPut95HIhRUCnDKpjpPQ7w9HCnXb+QzTLZ2FluH pdCUDUcgKUK7KG8RZCc6IzjeVZkxX7YpTqquk3s1g6QXM6fG4QialBeePD/fWSCHSK 3TgvW9QTq5eFMWvsTgAULDI6A8CgJaPOllkV0IBJLRJDI8VXcALmFEq5LnoPCz6AoQ +8dNKL6BiQ7OQ== Date: Sun, 4 Nov 2012 23:00:53 +0100 From: Alexander Leidinger To: Olivier Smedts Subject: Re: Do we have a CPUTYPE=native and/or generic stability problem? Message-ID: <20121104230053.00006cd6@unknown> In-Reply-To: References: <20121103232433.00005eee@unknown> X-Mailer: Claws Mail 3.8.0cvs30 (GTK+ 2.24.10; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 9D37E844096.A00DA X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.646, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.75, DKIM_SIGNED 0.10, T_DKIM_INVALID 0.01, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1352671255.45265@bwHW1j4rKCzlHq+yjnJ9dg X-EBL-Spam-Status: No Cc: Scot Hetzel , "current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 22:01:04 -0000 On Sun, 4 Nov 2012 14:43:30 +0100 Olivier Smedts wrote: > Le dimanche 4 novembre 2012, Scot Hetzel a =E9crit : > > > > When you set CPUTYPE?=3Dnative, bsd.cpu.mk doesn't set MACHINE_CPU to > > the correct values for your CPUTYPE. > > >=20 > This comes regularly in the lists. This basically means we need to do something about it. > Try setting the correct CPUTYPE for your CPU, and if you want to use > "native" somewhere, add "-march=3Dnative" to your CFLAGS. There's > another option to use so that *.mk don't add another "-march" with > your CPUTYPE automatically. We either should bail out if someone uses native as CPUTYPE, or we should make it just work. Personally I don't have a preference for one or the other, important is that the user gets a behavior he can count on. Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137