From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WVnXs-00081Z-O0 for mharc-grub-devel@gnu.org; Thu, 03 Apr 2014 15:43:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVnXk-0007zj-Uj for grub-devel@gnu.org; Thu, 03 Apr 2014 15:43:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVnXf-0007QO-89 for grub-devel@gnu.org; Thu, 03 Apr 2014 15:43:20 -0400 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:60350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVnXf-0007Q5-0s for grub-devel@gnu.org; Thu, 03 Apr 2014 15:43:15 -0400 Received: by mail-we0-f172.google.com with SMTP id t61so2411286wes.17 for ; Thu, 03 Apr 2014 12:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=vLWOA1v9K840SF4+D8dzyNLy0GaNH6oX3oV+m7v7Lo4=; b=D98BfThfXDlRmriwBDbtRgN2a/AtUjF8CboqnVWfRUFgrQ1CCRvaZ2y5TZCR8TiLv2 V2Quh4z92gXNK2VIzeKz+gUl2wpAWOFsgLOX70FbKgBb3aL4yGxXyA6kx4w+vt+dVN6P g6TRaUjpSUc/50sBHC3+UN54pbWp0uW0Vg3emIbEwOGiYrPR0T8mVWwepprBQPahjo83 sfYpOLNaZ5NWQKY9Cwsmssd/JU80vERZquxOFGECyEfVFrSXLJBrM0HjF4KAgCZtlF+8 xR/827Tvq0no8b7I/sl2WW35bGOGgErKJ7Z8BSS05m40AAoRD0arz2Com3fWpEeaa4Z6 RbDw== X-Received: by 10.194.84.144 with SMTP id z16mr13500761wjy.23.1396554193294; Thu, 03 Apr 2014 12:43:13 -0700 (PDT) Received: from [192.168.42.123] (37-236.197-178.cust.bluewin.ch. [178.197.236.37]) by mx.google.com with ESMTPSA id e42sm14182220eev.32.2014.04.03.12.43.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Apr 2014 12:43:12 -0700 (PDT) Message-ID: <533DB9BE.6020908@gmail.com> Date: Thu, 03 Apr 2014 21:42:54 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.3.0 MIME-Version: 1.0 To: Ram Pai , Andrey Borzenkov Subject: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :) References: <1393439482-20341-1-git-send-email-linuxram@us.ibm.com> <1393439482-20341-22-git-send-email-linuxram@us.ibm.com> <20140401214945.209b4894@opensuse.site> <533B1FF2.9040503@gmail.com> <20140403173336.GA16534@ram.oc3035372033.ibm.com> <20140403215356.1b953172@opensuse.site> <20140403183705.GK29218@ram.oc3035372033.ibm.com> <20140403230329.06d61900@opensuse.site> <20140403192657.GM29218@ram.oc3035372033.ibm.com> In-Reply-To: <20140403192657.GM29218@ram.oc3035372033.ibm.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NmCf6S7BDlf607t7nPKvuA2mfeJEHVU0f" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22c Cc: The development of GNU GRUB , pfsmorigo@br.ibm.com 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: Thu, 03 Apr 2014 19:43:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NmCf6S7BDlf607t7nPKvuA2mfeJEHVU0f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03.04.2014 21:26, Ram Pai wrote: >> > BOOTCFLAGS :=3D -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs = \ >> > -fno-strict-aliasing -Os -msoft-float -pipe \ >> > -fomit-frame-pointer -fno-builtin -fPIC -nostdinc \= >> > -isystem $(shell $(CROSS32CC) -print-file-name=3Din= clude) \ >> > -mbig-endian >=20 > But that is different though. How so? It's exactly the same thing: compilation of standalone BE using LE compiler. Andrey found a very good argument. And if distro can't compile Linux, it's surely broken. Also powerpc64le is relatively new platform as far as distrros are concerned. I think if big distros show good example, other minor will follow, resulting in more comfortable environment rather than locking ourselves into uncomfortable environments. > Yes it is possible to cross compile for > any target on any arch. But the key is that the environment needs to b= e > setup to do so. =20 >=20 > We are talking about generating crosscompiled grub boot loader by an > uninitiated/not-so-expert adminstrator. It probably amounts to adding -mbig-endian to TARGET_* and using right --target. Both of which can be automated in configure.ac rather than maintaining yet another port. > If the distribution makes it > easy for that administrator to be able to cross-compile, than life is > easy. But that is not generally the case though. The administrator has= > to scramble around to find the right cross-compilation setup installed > on her system to achieve the end result. --NmCf6S7BDlf607t7nPKvuA2mfeJEHVU0f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlM9ucUACgkQmBXlbbo5nOtfBwD/cRcDU08C+n4hiSOdbRSTPbYa 7VJspOmsWE8EmZ7xGS0A/jpcDqIF7KE7pMyOoWobe0P12EJrG19vH109R1EkY/S6 =PnhW -----END PGP SIGNATURE----- --NmCf6S7BDlf607t7nPKvuA2mfeJEHVU0f--