On Wed, Dec 7, 2011 at 12:40 AM, Da Rock
<freebsd-hack...@herveybayaustralia.com.au> 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?
>
> 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=/usr/local/bin/as.

Cheers

Tom
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to