Re: MACHINE_CPU detection b0rked?
On Thu, 31 Oct 2013 09:53:42 +0700 Alexey Dokuchaev wrote: Hi, Judging from /usr/share/mk/bsd.cpu.mk, it knows about both core and core2 and should be able to give me the list of features these CPUs support. However, I'm puzzled: $ make -V MACHINE_CPU CPUTYPE=core2 ssse3 sse3 sse2 sse i686 mmx i586 i486 $ fmake -V MACHINE_CPU CPUTYPE=core2 ssse3 sse3 sse2 sse i686 mmx i586 i486 $ make -V MACHINE_CPU CPUTYPE=core i486 $ fmake -V MACHINE_CPU CPUTYPE=core i486 i486 $ uname -Um i386 110 WTF? :) bsd.cpu.mk redefines CPUTYPE sometimes and that doesn't work if you pass it as a command line argument. You can only set this variable in make.conf. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: MACHINE_CPU detection b0rked?
On Thu, Oct 31, 2013 at 11:35:34AM +0100, Tijl Coosemans wrote: bsd.cpu.mk redefines CPUTYPE sometimes and that doesn't work if you pass it as a command line argument. You can only set this variable in make.conf. Indeed, thanks; setting in make.conf works, however the fact that redefined variables cannot be bootstrapped from command line looks like a bug to me. ./danfe ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
MACHINE_CPU detection b0rked?
Hi, Judging from /usr/share/mk/bsd.cpu.mk, it knows about both core and core2 and should be able to give me the list of features these CPUs support. However, I'm puzzled: $ make -V MACHINE_CPU CPUTYPE=core2 ssse3 sse3 sse2 sse i686 mmx i586 i486 $ fmake -V MACHINE_CPU CPUTYPE=core2 ssse3 sse3 sse2 sse i686 mmx i586 i486 $ make -V MACHINE_CPU CPUTYPE=core i486 $ fmake -V MACHINE_CPU CPUTYPE=core i486 i486 $ uname -Um i386 110 WTF? :) ./danfe ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org