Date: Wed, 07 Dec 2011 14:52:44 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Da Rock <freebsd-hackers@herveybayaustralia.com.au> Cc: hackers@freebsd.org Subject: Re: 64bit build errors Message-ID: <4EDF6FAC.8000002@FreeBSD.org> In-Reply-To: <4EDEB600.9000102@herveybayaustralia.com.au> References: <4EDEB600.9000102@herveybayaustralia.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-12-07 01:40, Da Rock wrote: > 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" > > Googling hasn't proved helpful in finding an answer. I've tried setting > some configure options: arch=amd64/x86_64, disabling cmov/fast_cmov, > ebx, etc. > > Any ideas how to fix this? At first glance, I'd say you are compiling it with a 32-bit compiler or assembler. In any case, I downloaded the latest version (0.8.7) from ffmpeg.org, and it compiles just fine with base gcc. What are the exact commands you are running?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EDF6FAC.8000002>