Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Dec 2011 23:53:43 +1000
From:      Da Rock <freebsd-hackers@herveybayaustralia.com.au>
To:        freebsd-hackers@freebsd.org
Subject:   Re: 64bit build errors
Message-ID:  <4EDF6FE7.7050809@herveybayaustralia.com.au>
In-Reply-To: <CAFHbX1%2BRmnzA-0W2KxAC8L=n3EEtnXp7ytsgt2ZMENMmG7gvEw@mail.gmail.com>
References:  <4EDEB600.9000102@herveybayaustralia.com.au> <CAFHbX1KT6AoPPWY6%2BbYbqyVy6CXTfZsMUwjLRfKBMdOSDoXw9A@mail.gmail.com> <4EDF4703.1050705@herveybayaustralia.com.au> <CAFHbX1JuZPgsKCwVO5eRPm6jPk29tSANbGj82gz2eVDP1=abcQ@mail.gmail.com> <4EDF5253.5060201@herveybayaustralia.com.au> <CAFHbX1%2BRmnzA-0W2KxAC8L=n3EEtnXp7ytsgt2ZMENMmG7gvEw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/07/11 22:17, Tom Evans wrote:
> On Wed, Dec 7, 2011 at 11:47 AM, Da Rock
> <freebsd-hackers@herveybayaustralia.com.au>  wrote:
>> I really hate sounding like an idiot, but if I don't ask I'll never know:
>> The assembler in base is not up-to-date with the latest instruction sets for
>> the cpu, and is causing an error because its telling the cpu to do something
>> it doesn't understand and is going WTF! So the port binutils provides the
>> latest instruction sets for the latest cpus. And ffmpeg and friends use the
>> latest cpu abilities to run as fast as they do? Right or way off? Otherwise
>> I'd have problems building anything, wouldn't I?
> The way I understand it is that they use compiler/assembler features
> that did not exist in the version of binutils that is in base.
>
> That might be related to CPU features - I know you need binutils from
> ports to use SSE3 features, for example - but whether that is what
> happens here, or whether it is due to ffmpeg using newer features
> would have to be answered by someone who understands what is going on!
>
>
Ok, that did just answer it. For starters SSE3 is used in 
ffmpeg/mplayer, but there would be more (3DNOW, etc). So that explains 
it... interesting study. I'll have a closer look at the docs on binutils 
to find out more.

Cheers



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