64bit build errors

2011-12-06 Thread Da Rock
I'm trying to build some newer versions of ffserver. But I keep getting asm build errors when I get to libavcodec/vp*. Error: `(%esi,%eax)' is not a valid 64 bit base/index expression If I set it to build static it fails at h264. "Error: `-1(%edi)' is not a valid 64 bit base/index expression"

Re: strange printf(9) format specifier ("Z") in dev/drm code

2011-12-06 Thread Alexander Best
On Tue Dec 6 11, David Schultz wrote: > On Sun, Dec 04, 2011, Alexander Best wrote: > > ... i couldn't find a reference to an upercase "Z" in the printf(9) man > > page. > > i talked to dinoex on #freebsd-clang (EFNet) and he said that the "Z" might > > come from linux'es libc5 and is the equaiva

Re: strange printf(9) format specifier ("Z") in dev/drm code

2011-12-06 Thread David Schultz
On Sun, Dec 04, 2011, Alexander Best wrote: > ... i couldn't find a reference to an upercase "Z" in the printf(9) man page. > i talked to dinoex on #freebsd-clang (EFNet) and he said that the "Z" might > come from linux'es libc5 and is the equaivalent to glibc's "z". > > can we adjust those lines,

Re: CPUTYPE and friends, from 'make.conf' benchmark

2011-12-06 Thread Maxim Khitrov
On Tue, Dec 6, 2011 at 1:34 PM, Eitan Adler wrote: > 2011/12/6  : >> # /bin/sh -c "gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 | >> grep mtune | sed -e 's/.*mtune=//'" >> Test done once. > >> What do you think about this? > > As usual, it very well *may* be true, but please use minis

Re: CPUTYPE and friends, from 'make.conf' benchmark

2011-12-06 Thread Eitan Adler
2011/12/6 : > # /bin/sh -c "gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 | grep > mtune | sed -e 's/.*mtune=//'" > Test done once. > What do you think about this? As usual, it very well *may* be true, but please use ministat(1) to confirm. This requires more than one test. I'm not t

Re: CPUTYPE and friends, from 'make.conf' benchmark

2011-12-06 Thread Chris Rees
On 6 Dec 2011 17:04, wrote: > > # /bin/sh -c "gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 | grep mtune | sed -e 's/.*mtune=//'" > generic > > For target machine, it returned 'generic' > > Now only with CPUTYPE in 'make.conf': > -- > CPUTYPE?=core2 > -- > > > Also, you should set these

Re: CPUTYPE and friends, from 'make.conf' benchmark

2011-12-06 Thread rank1seeker
# /bin/sh -c "gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 | grep mtune | sed -e 's/.*mtune=//'" generic For target machine, it returned 'generic' Now only with CPUTYPE in 'make.conf': -- CPUTYPE?=core2 -- > Also, you should set these in src.conf. Sticking them in make.conf is > go

Re: boot0.S empty #ifdef

2011-12-06 Thread Gary Jennejohn
On Mon, 5 Dec 2011 12:54:15 -0800 some body wrote: > I sent this to freebsd-drives too but I think that might not be the right > list for it so here it is: I am starting to learn how the kernel works and > have started by going through the boot loader and I've noticed that between > lines 21-32 i