Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2011 10:36:37 +0000
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Da Rock <freebsd-hackers@herveybayaustralia.com.au>
Cc:        hackers@freebsd.org
Subject:   Re: 64bit build errors
Message-ID:  <CAFHbX1KT6AoPPWY6%2BbYbqyVy6CXTfZsMUwjLRfKBMdOSDoXw9A@mail.gmail.com>
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 Wed, Dec 7, 2011 at 12:40 AM, Da Rock
<freebsd-hackers@herveybayaustralia.com.au> wrote:
> I'm trying to build some newer versions of ffserver. But I keep getting a=
sm
> 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)' =C2=A0is not a valid 64 bit base/index expression"
>
> Googling hasn't proved helpful in finding an answer. I've tried setting s=
ome
> configure options: arch=3Damd64/x86_64, disabling cmov/fast_cmov, ebx, et=
c.
>
> Any ideas how to fix this?
>
> Cheers

Yes, you need to use newer binutils from ports. It also helps with
ffmpeg/mplayer to use a newer gcc from ports as well (I use gcc46),
but the main thing is installing binutils and configuring with
--as=3D/usr/local/bin/as.

Cheers

Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHbX1KT6AoPPWY6%2BbYbqyVy6CXTfZsMUwjLRfKBMdOSDoXw9A>