Date: Wed, 7 Dec 2011 06:45:08 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: Tom Evans <tevans.uk@googlemail.com> Cc: Da Rock <freebsd-hackers@herveybayaustralia.com.au>, "hackers@freebsd.org" <hackers@freebsd.org>, Dimitry Andric <dim@freebsd.org> Subject: Re: 64bit build errors Message-ID: <16CC8DAA-66B0-47D8-9022-5DFFDA9A0198@gmail.com> In-Reply-To: <CAFHbX1%2BM5NmdihbeO1ar4PFU3EMN6sY4k5Vic7e_=GdcJ35yzg@mail.gmail.com> References: <4EDEB600.9000102@herveybayaustralia.com.au> <4EDF6FAC.8000002@FreeBSD.org> <CAFHbX1%2BM5NmdihbeO1ar4PFU3EMN6sY4k5Vic7e_=GdcJ35yzg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 7, 2011, at 6:22 AM, Tom Evans <tevans.uk@googlemail.com> wrote: > On Wed, Dec 7, 2011 at 1:52 PM, Dimitry Andric <dim@freebsd.org> wrote: >> On 2011-12-07 01:40, Da Rock wrote: >>>=20 >>> I'm trying to build some newer versions of ffserver. But I keep getting >>> asm build errors when I get to libavcodec/vp*. >>>=20 >>> Error: `(%esi,%eax)' is not a valid 64 bit base/index expression >>>=20 >>> If I set it to build static it fails at h264. >>>=20 >>> "Error: `-1(%edi)' is not a valid 64 bit base/index expression" >>>=20 >>> Googling hasn't proved helpful in finding an answer. I've tried setting >>> some configure options: arch=3Damd64/x86_64, disabling cmov/fast_cmov, >>> ebx, etc. >>>=20 >>> Any ideas how to fix this? >>=20 >>=20 >> At first glance, I'd say you are compiling it with a 32-bit compiler or >> assembler. >>=20 >> 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? >=20 > I imagine you are running CURRENT or 9.0, which has a newer binutils > than 8-STABLE, which is what causes/exposes this issue. The question is: what is the OP running? I don't think that's been identifie= d yet.. Thanks! -Garrett=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16CC8DAA-66B0-47D8-9022-5DFFDA9A0198>