Re: CPUTYPE=native handling

2011-11-07 Thread Dimitry Andric
On 2011-11-08 01:25, Alexander Best wrote: > i've seen dozens of issues, where people set CPUTYPE=native. although this > works in a lot of cases, it doesn't in others. why don't we simply add > something like > > . if ${CPUTYPE} == "native" > . error "bla" > . endif > > in share/mk/bsd.cpu.mk f

CPUTYPE=native handling

2011-11-07 Thread Alexander Best
hi there, i've seen dozens of issues, where people set CPUTYPE=native. although this works in a lot of cases, it doesn't in others. why don't we simply add something like . if ${CPUTYPE} == "native" . error "bla" . endif in share/mk/bsd.cpu.mk for now? or at least for the archs, where "native"

Re: state of clang(1)'s -Wshift-count-negative and -Wshift-overflow warnings

2011-11-07 Thread Alexander Best
On Thu Nov 3 11, Adrian Chadd wrote: > Hi, > > Please submit a PR and I'll fix the AR5210 code. I'll have to find an > AR5210 though to test it against though... filed under kern/162366 and assigned to you. ;) cheers. alex > > > Adrian > > On 3 November 2011 13:08, Dimitry Andric wrote: >