From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KJVfF-0008Dn-4D for mharc-grub-devel@gnu.org; Thu, 17 Jul 2008 11:45:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJVfD-0008De-Hz for grub-devel@gnu.org; Thu, 17 Jul 2008 11:45:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJVfD-0008DR-0d for grub-devel@gnu.org; Thu, 17 Jul 2008 11:45:03 -0400 Received: from [199.232.76.173] (port=59134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJVfC-0008DO-UV for grub-devel@gnu.org; Thu, 17 Jul 2008 11:45:02 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:62465) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJVfC-0006dI-E5 for grub-devel@gnu.org; Thu, 17 Jul 2008 11:45:02 -0400 Received: by ug-out-1314.google.com with SMTP id l31so746934ugc.48 for ; Thu, 17 Jul 2008 08:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=imu31+V4BcQRM/xPrxNMz0EFCJQK4qVZXglcw1U2TlI=; b=RcUnOn4Sk6roaVS82LIkQXh8JSkQ07pIttSzkbjyoK1TOuAbcElphOIuhpnUt1SwTA f1OPxnw+Sd0kk1AGtSjWw2auFlq/eEeIT0y5joIOWOy12FyOcFuGtiVMzMIe2TpnSoqE tr5Kgm7Ef9gEvtM8tRc6SyGgeHREZIOC0w/QM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=EUG7iWaOyU62okAwh1x9JwWHJxHJa7Zcta2GIY/XVCuPXcDKmcMAViYYH4nk8LyY/9 EiakAaQlFmHBfhZftQKxochaJNN5XsAF1xa43lLb9ESzWvjBwWQD41G8ZKFXF1I9OJ38 4skFSJa1s8ScHpEujxtMhfhk/ptupsITyD5C8= Received: by 10.66.239.16 with SMTP id m16mr4020342ugh.9.1216309498659; Thu, 17 Jul 2008 08:44:58 -0700 (PDT) Received: from ?192.168.1.100? ( [213.37.137.93]) by mx.google.com with ESMTPS id m1sm3561030ugc.9.2008.07.17.08.44.56 (version=SSLv3 cipher=RC4-MD5); Thu, 17 Jul 2008 08:44:57 -0700 (PDT) From: Javier =?ISO-8859-1?Q?Mart=EDn?= To: The development of GRUB 2 In-Reply-To: References: <486FFD84.5000607@isaac.cedarswampstudios.org> <487392C9.40208@isaac.cedarswampstudios.org> <20080712144131.GE25455@thorin> <1216306949.21767.20.camel@localhost> <1216308135.16120.5.camel@dv> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hnkZSoMkTVvZJrQWK8na" Date: Thu, 17 Jul 2008 17:45:17 +0200 Message-Id: <1216309517.21767.26.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] New x86_64 EFI patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 15:45:03 -0000 --=-hnkZSoMkTVvZJrQWK8na Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable El jue, 17-07-2008 a las 23:26 +0800, Bean escribi=C3=B3: > On Thu, Jul 17, 2008 at 11:22 PM, Pavel Roskin wrote: > > On Thu, 2008-07-17 at 17:02 +0200, Javier Mart=C3=ADn wrote: > >> El jue, 17-07-2008 a las 17:50 +0800, Bean escribi=C3=B3: > >> > Committed. > >> > > >> Seemingly, the fact that there is now separate recognition for "x86_64= " > >> machine types has borked the current build system in amd64 PCs: > >> > >> $ make > >> ./config.status --recheck > >> running CONFIG_SHELL=3D/bin/bash /bin/bash ../src/configure > >> --prefix=3D/home/javier/Proyectos/grub/build/out/ --no-create > >> --no-recursion > >> checking build system type... x86_64-unknown-linux-gnu > >> checking host system type... x86_64-unknown-linux-gnu > >> checking target system type... x86_64-unknown-linux-gnu > >> configure: error: unsupported machine type > >> make: *** [config.status] Error 1 > > > > I've just noticed that. I think x86_64 should default to "i386-pc" > > platform. I'll have a look how to do it nicely. >=20 > I have the following in configure.ac: >=20 > if test "x$platform" =3D "xefi" ; then > case "$target_cpu" in > i386) ;; > x86_64) target_m64=3D1 ;; > *) AC_MSG_ERROR([unsupported CPU type for EFI]) ;; > esac > else > case "$target_cpu" in > i386) ;; > x86_64) target_cpu=3Di386 target_m32=3D1 ;; > powerpc) ;; > powerpc64) target_cpu=3Dpowerpc target_m32=3D1;; > sparc64) ;; > *) AC_MSG_ERROR([unsupported CPU type]) ;; > esac > fi >=20 > If platform is not efi, x86_64 will become i386, perhaps there is > something I miss ? >=20 It does not reach that point, the "unsupported machine type" message is thrown by this earlier check (line 59) # 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 ;; powerpc-*) platform=3Dieee1275 ;; sparc64-*) platform=3Dieee1275 ;; *) AC_MSG_ERROR([unsupported machine type]) ;; esac else platform=3D"$with_platform" fi --=-hnkZSoMkTVvZJrQWK8na Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQIVAwUASH9pDaSl+Fbdeo72AQJRpw//Rz7FWVN8df7AtULUBKCNTn/8QQGOJmSb SBcGIQMidGzqp/6Yh0Mpx+1XTaNxMSSlwpAqHAn0+4N9HZ7mx3sg/Al7sQf6UHiz jKYucuTT7nMFopcValQ41xh3zBQYLW7xqeYCLFwgVZrZtkJasRHLmEYvOR7uySIt dudAjevB1dPATasOse43IzcvVUmdWmUbotDyhApwnubovujfJ87DOU+wwP2FMdbb CQ0/Tyzh5PdNJsvpDttmSFVr+naZEMaaQGxkPGJL5zLmlIQaXyIsadbgQeXC3K5z TbKFKO8kiMxOpjAap2DGsB475PATVU84zAgQ2YZBRGG1H1DNTCREGpfbhcI4hhVt DumryLJWItPVf1MErnTTHYyPUQm/g/at7rLgMIX2uR/MxHgnyzBF87+pi8y9lRY2 in5wHwaJTKDYiqoPhHdSqZZoXDPga+EJYtxtmKPooOD8xVWXxU/LsGjGjcMRJr+s F06Ya9t2Fb4cXpgIZrCc2UDl2rUG9H90gZ84CoQohZ/bi4OASU4ixTXDeWQapysU pcvNlh62z4xGD0l2NE2DThHKkmTBDPweJAQnPCcMI50bgK7HhoyEqdSzz4y7HF4B 1+PBvpkK5DTbTgX4OJcDZfkEIdOQxSbVKwVozc1ZU6SV++v0aZl/ckr5NvOX1eaK T4f8LwIxXBQ= =hOn7 -----END PGP SIGNATURE----- --=-hnkZSoMkTVvZJrQWK8na--