Date: Sun, 4 Nov 2012 14:43:30 +0100 From: Olivier Smedts <olivier@gid0.org> To: Scot Hetzel <swhetzel@gmail.com> Cc: Alexander Leidinger <Alexander@leidinger.net>, "current@freebsd.org" <current@freebsd.org> Subject: Re: Do we have a CPUTYPE=native and/or generic stability problem? Message-ID: <CABzXLYMfbRGVmupUXpb4QBwRqwtVeenuTnU0X7vwfwTrG8xk9A@mail.gmail.com> In-Reply-To: <CACdU%2Bf-CYTE3XffH3_Q9VbZubYe6LHVn0Gz9ULUmKDxVQ4uWyQ@mail.gmail.com> References: <20121103232433.00005eee@unknown> <CACdU%2Bf-CYTE3XffH3_Q9VbZubYe6LHVn0Gz9ULUmKDxVQ4uWyQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Le dimanche 4 novembre 2012, Scot Hetzel a écrit :
>
> When you set CPUTYPE?=native, bsd.cpu.mk doesn't set MACHINE_CPU to
> the correct values for your CPUTYPE.
>
This comes regularly in the lists.
Try setting the correct CPUTYPE for your CPU, and if you want to use
"native" somewhere, add "-march=native" to your CFLAGS. There's another
option to use so that *.mk don't add another "-march" with your CPUTYPE
automatically.
--
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail: olivier@gid0.org - against HTML email & vCards X
www: http://www.gid0.org - against proprietary attachments / \
"Il y a seulement 10 sortes de gens dans le monde :
ceux qui comprennent le binaire,
et ceux qui ne le comprennent pas."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABzXLYMfbRGVmupUXpb4QBwRqwtVeenuTnU0X7vwfwTrG8xk9A>
