From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 7 10:36:38 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0C441065677 for ; Wed, 7 Dec 2011 10:36:38 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A2A058FC13 for ; Wed, 7 Dec 2011 10:36:38 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so523248vbb.13 for ; Wed, 07 Dec 2011 02:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=/ErVyoR/Y1bZXG8uL+oQpi9tG8F+M6xSR31bfTzl2MY=; b=MOgU5O8qlqc8FZl2b4L9eHxipEAbePeOTuSVzYdhwaEvPP/P7HD7w1Eyf+m6lets/x u0gNHgJBDyT1XL7pinFqtfJKqqB6hL18eLLkzRnDQzpQVAbcftVQUKQrkGacTH3uNQ5y K27GvcvJ3MNjCbypdeLW1gX0LH1PxpSFiei0k= MIME-Version: 1.0 Received: by 10.52.186.225 with SMTP id fn1mr10263831vdc.32.1323254197719; Wed, 07 Dec 2011 02:36:37 -0800 (PST) Received: by 10.52.172.240 with HTTP; Wed, 7 Dec 2011 02:36:37 -0800 (PST) In-Reply-To: <4EDEB600.9000102@herveybayaustralia.com.au> References: <4EDEB600.9000102@herveybayaustralia.com.au> Date: Wed, 7 Dec 2011 10:36:37 +0000 Message-ID: From: Tom Evans To: Da Rock Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: hackers@freebsd.org 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 10:36:39 -0000 On Wed, Dec 7, 2011 at 12:40 AM, Da Rock 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