From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xiav4-0000Hq-1s for mharc-grub-devel@gnu.org; Sun, 26 Oct 2014 23:24:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xiauy-0000Fp-7i for grub-devel@gnu.org; Sun, 26 Oct 2014 23:24:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xiaut-00024y-Gh for grub-devel@gnu.org; Sun, 26 Oct 2014 23:24:28 -0400 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:53435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xiaut-00024m-8l for grub-devel@gnu.org; Sun, 26 Oct 2014 23:24:23 -0400 Received: by mail-la0-f45.google.com with SMTP id gm9so3617712lab.4 for ; Sun, 26 Oct 2014 20:24:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=4fPdcsOFpohuLjQakaqsmYIUcDS7XemH3lMGsj7v27U=; b=JIihPeZ2BFbi/gyUg1hj3pDt9JvZKPOxgSQAWukyPAYgEifOvnUmsIR/vqrt1hkRsu AS+H4UqQT4L+bAFlSDRRKShTCGj0/P13c8Q57nOr3iBAhVmKdnl3iZiLstvLEJDOjxJq Hz3h7zHQ8bSyd0c06175ihB8G3O5Tq7527J+eW/oy2+WTOcVcg/dq+aZ8SUP0Nent12X dG4EH7orwkXB2OqNXuZtZU8HAFocjrtKjT1X091qbyhb7kkDg9rxFjmwCoS/HgXm9/zu 3cn3c1hOcsm71uXMDiZSmFNm85+cUmBywPcWIby76qHyD4xQed1VOAyeZ8h2+GkjOJtB yMpg== X-Received: by 10.152.216.200 with SMTP id os8mr6425822lac.85.1414380261848; Sun, 26 Oct 2014 20:24:21 -0700 (PDT) Received: from opensuse.site (ppp91-76-139-38.pppoe.mtu-net.ru. [91.76.139.38]) by mx.google.com with ESMTPSA id ya10sm4486295lbb.6.2014.10.26.20.24.20 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Oct 2014 20:24:21 -0700 (PDT) Date: Mon, 27 Oct 2014 06:24:19 +0300 From: Andrei Borzenkov To: Chris Murphy Subject: Re: building grub2 on a Mac, possible bug Message-ID: <20141027062419.26221a73@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22d Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 03:24:33 -0000 =D0=92 Sun, 26 Oct 2014 21:00:18 -0600 Chris Murphy =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > This is on a macbookpro9,2, running Fedora 20, and I've git cloned from g= it://git.savannah.gnu.org/grub.git and I'm in master branch. >=20 > $ ./configure > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking target system type=E2=80=A6 x86_64-unknown-linux-gnu >=20 This is normal; I get the same on openSUSE and IIRC it had always been the case. > The unknown seems suspicious. And at the end I see "GRUB2 will be compile= d with following components: > Platform: i386-pc" which is also wrong.=20 >=20 Well ... short of checking for /sys/firmware/efi, how can we know we may need efi build? > If I use --with-platform=3Defi, then at the end I get "GRUB2 will be comp= iled with following components: > Platform: x86_64-efi" which is correct. >=20 > In the configure file I see this: > # Guess the platform if not specified. > if test "x$with_platform" =3D x; then > case "$target_cpu"-"$target_vendor" in > i386-apple) platform=3Defi ;; > i386-*) platform=3Dpc ;; > x86_64-apple) platform=3Defi ;; >=20 > I guess $target_vendor isn't getting set to apple and therefore platform = doesn't get set to efi. You are running Linux, not OS X here, so $target_vendore cannot be apple. It refers to OS vendor, not underlying hardware vendor. >=20 >=20 > Chris Murphy > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel