Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Dec 2011 20:59:15 +1000
From:      Da Rock <freebsd-hackers@herveybayaustralia.com.au>
To:        freebsd-hackers@freebsd.org
Subject:   Re: 64bit build errors
Message-ID:  <4EDF4703.1050705@herveybayaustralia.com.au>
In-Reply-To: <CAFHbX1KT6AoPPWY6%2BbYbqyVy6CXTfZsMUwjLRfKBMdOSDoXw9A@mail.gmail.com>
References:  <4EDEB600.9000102@herveybayaustralia.com.au> <CAFHbX1KT6AoPPWY6%2BbYbqyVy6CXTfZsMUwjLRfKBMdOSDoXw9A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/07/11 20:36, Tom Evans wrote:
> 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 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.
>
>
Cool! Thanks for that.

I got a manual to read by the looks of it anyway, but can anyone give me 
the inside gos on the why it does what it does? (Or something like 
that.. :) )

Cheers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EDF4703.1050705>