Date: Sun, 4 Nov 2012 23:00:53 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Olivier Smedts <olivier@gid0.org> Cc: Scot Hetzel <swhetzel@gmail.com>, "current@freebsd.org" <current@freebsd.org> Subject: Re: Do we have a CPUTYPE=native and/or generic stability problem? Message-ID: <20121104230053.00006cd6@unknown> In-Reply-To: <CABzXLYMfbRGVmupUXpb4QBwRqwtVeenuTnU0X7vwfwTrG8xk9A@mail.gmail.com> References: <20121103232433.00005eee@unknown> <CACdU%2Bf-CYTE3XffH3_Q9VbZubYe6LHVn0Gz9ULUmKDxVQ4uWyQ@mail.gmail.com> <CABzXLYMfbRGVmupUXpb4QBwRqwtVeenuTnU0X7vwfwTrG8xk9A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 Nov 2012 14:43:30 +0100 Olivier Smedts <olivier@gid0.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121104230053.00006cd6>