From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 18 00:43:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E34C106566C for ; Mon, 18 Jun 2012 00:43:55 +0000 (UTC) (envelope-from mwm@mired.org) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 41FE18FC08 for ; Mon, 18 Jun 2012 00:43:55 +0000 (UTC) Received: by qcsg15 with SMTP id g15so3143431qcs.13 for ; Sun, 17 Jun 2012 17:43:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:user-agent:in-reply-to:mime-version:content-type :content-transfer-encoding:subject:from:date:to:message-id :x-gm-message-state; bh=6PxFtLdIXQJ1DXlu5KffdCHz0pqS7bY7GFq2p24ryV0=; b=MOez9g4ZWCiS7BvmKFUXxiHAKaUiHTw2ZLEqzJ3L92yzS0NtOpqlVoShUAy8rJ5lxR ibA9aPmVyDphdAb3i/vuwDOhaADHfNiUT4JoIrLwNOsqlwmSkM00DJ/ATOksbFpZQmZ7 P2Vni7rThAS9k2B5nOi8I3XEl+5IoPL0FDlzkyRq/0Ud6EhgBoEQkywBo4jtwACHdAad hXPboI+PuhxMieb0IW3m1JI7tsvmiR9PBSBuoqG82uFLmxo4qjgCQNJF+wvMPg33jS9B Sjl2F20CbO/ZokJq40z9JzZH48iS/n9LDFuw80jraRNDBa0OxHQ7JCjl8eyaSOtWGYqd 900g== Received: by 10.224.187.207 with SMTP id cx15mr3989706qab.47.1339980234675; Sun, 17 Jun 2012 17:43:54 -0700 (PDT) Received: from [192.168.195.145] (74-140-201-117.dhcp.insightbb.com. [74.140.201.117]) by mx.google.com with ESMTPS id dq7sm38024797qab.0.2012.06.17.17.43.52 (version=SSLv3 cipher=OTHER); Sun, 17 Jun 2012 17:43:53 -0700 (PDT) References: <4FDBBACF.9040809@shadowsun.net> <4FDE5E19.5050705@shadowsun.net> User-Agent: K-9 Mail for Android In-Reply-To: <4FDE5E19.5050705@shadowsun.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Mike Meyer Date: Sun, 17 Jun 2012 20:43:16 -0400 To: Eric McCorkle ,freebsd-hackers@freebsd.org Message-ID: <2d9e0a80-658b-438f-90f0-1f510fb1cdd8@email.android.com> X-Gm-Message-State: ALoCoQmgfpg8zUHe9/ZJXEkqNA2VAzR6PSfKXIqq65jNNJMcGF5nlqoQHGUJ/81hugthcmdELu56 Cc: Subject: Re: EFI development tools 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: Mon, 18 Jun 2012 00:43:55 -0000 Eric McCorkle wrote: >The -m32 flag seems to be the culprit; removing it fixes the problem. > >This is why I was having problems, as the offsets in EFI_SYSTEM_TABLE >were wrong. > >In any case, this is a pretty serious error, and someone should try to >reproduce it and take a look at it. This is a known issue, and had been around for a long time. You can't reliably build 32 bit binaries (what the -m32 flag specifies) on a 64 bit system. The header files (and possibly other things) are wrong. Doesn't look like anyone has opened a PR for it. -- Sent from my Android tablet. Please excuse my swyping.