From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 7 14:45:15 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 66FAC106564A; Wed, 7 Dec 2011 14:45:15 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 171ED8FC0A; Wed, 7 Dec 2011 14:45:14 +0000 (UTC) Received: by iafi7 with SMTP id i7so1725375iaf.13 for ; Wed, 07 Dec 2011 06:45:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=TG0idJ+4achadFpyKYOEfc9tg9mxPLJfWYxFx7GRlKA=; b=Sw75PMoZ7BCbz+UjGQ2U+9HTeKGkDE+wWPUUui3AWlGXqR8HgDvJGZjbZT/ZwOpl8K lJsyr7lPYGEnGqCRl/niED/Wsfc88VKAeWyMJ3fumAuKC01eMmZsistiHZw/Dghbb4EL 7gtB0hUC3qRHTSLYpTDOjYNJ6J0EPnkNSM6H4= Received: by 10.42.163.8 with SMTP id a8mr18840541icy.57.1323269114516; Wed, 07 Dec 2011 06:45:14 -0800 (PST) Received: from [192.168.20.56] (c-24-6-49-154.hsd1.ca.comcast.net. [24.6.49.154]) by mx.google.com with ESMTPS id el2sm7478442ibb.10.2011.12.07.06.45.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Dec 2011 06:45:12 -0800 (PST) References: <4EDEB600.9000102@herveybayaustralia.com.au> <4EDF6FAC.8000002@FreeBSD.org> In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <16CC8DAA-66B0-47D8-9022-5DFFDA9A0198@gmail.com> X-Mailer: iPhone Mail (9A405) From: Garrett Cooper Date: Wed, 7 Dec 2011 06:45:08 -0800 To: Tom Evans Cc: Da Rock , "hackers@freebsd.org" , Dimitry Andric 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 14:45:15 -0000 On Dec 7, 2011, at 6:22 AM, Tom Evans wrote: > On Wed, Dec 7, 2011 at 1:52 PM, Dimitry Andric wrote: >> On 2011-12-07 01:40, Da Rock wrote: >>>=20 >>> I'm trying to build some newer versions of ffserver. But I keep getting >>> asm build errors when I get to libavcodec/vp*. >>>=20 >>> Error: `(%esi,%eax)' is not a valid 64 bit base/index expression >>>=20 >>> If I set it to build static it fails at h264. >>>=20 >>> "Error: `-1(%edi)' is not a valid 64 bit base/index expression" >>>=20 >>> Googling hasn't proved helpful in finding an answer. I've tried setting >>> some configure options: arch=3Damd64/x86_64, disabling cmov/fast_cmov, >>> ebx, etc. >>>=20 >>> Any ideas how to fix this? >>=20 >>=20 >> At first glance, I'd say you are compiling it with a 32-bit compiler or >> assembler. >>=20 >> In any case, I downloaded the latest version (0.8.7) from ffmpeg.org, >> and it compiles just fine with base gcc. What are the exact commands >> you are running? >=20 > I imagine you are running CURRENT or 9.0, which has a newer binutils > than 8-STABLE, which is what causes/exposes this issue. The question is: what is the OP running? I don't think that's been identifie= d yet.. Thanks! -Garrett=