From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 7 13:56:25 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFD341065675 for ; Wed, 7 Dec 2011 13:56:25 +0000 (UTC) (envelope-from freebsd-hackers@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8CDD88FC15 for ; Wed, 7 Dec 2011 13:56:25 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 8CA845C24 for ; Thu, 8 Dec 2011 00:08:46 +1000 (EST) Message-ID: <4EDF6FE7.7050809@herveybayaustralia.com.au> Date: Wed, 07 Dec 2011 23:53:43 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4EDEB600.9000102@herveybayaustralia.com.au> <4EDF4703.1050705@herveybayaustralia.com.au> <4EDF5253.5060201@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 64bit build errors X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 13:56:26 -0000 On 12/07/11 22:17, Tom Evans wrote: > On Wed, Dec 7, 2011 at 11:47 AM, Da Rock > 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