Do we have a CPUTYPE=native and/or generic stability problem?

Olivier Smedts olivier at gid0.org
Sun Nov 4 13:43:32 UTC 2012


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 at 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."


More information about the freebsd-current mailing list