From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z4Xyg-0008Fs-Op for mharc-grub-devel@gnu.org; Mon, 15 Jun 2015 13:15:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Xye-0008Fm-C8 for grub-devel@gnu.org; Mon, 15 Jun 2015 13:15:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4Xya-0005Vj-3q for grub-devel@gnu.org; Mon, 15 Jun 2015 13:15:16 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:36611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4XyZ-0005VP-Rh for grub-devel@gnu.org; Mon, 15 Jun 2015 13:15:12 -0400 Received: by lacny3 with SMTP id ny3so42398444lac.3 for ; Mon, 15 Jun 2015 10:15:10 -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=3HMgaCJDEc0rmiTl+IX3ntY/82EAEX8WRc7bIa7gMaA=; b=FzXVsklJ5Isu93LO2auWASXNLxsBCoAhO+5ZPh+W2UGj8Mz0nIV1xPaV0Xt6nVi+o7 I8DuAA8F6LcuBdGTcOM9+FyzvqDh/KLsb0an0iRR/Y0Ul8xsRFmaLzK97tC+nYbmOV/f J48lanWyqe6cridThR56INgk/kR1G+tPo36V9CYwF/RQIHUzvD939QKsHhxhLJ8L/G/c 5wnLbji6UObQ0l6SmkgE5Vob6BKcPY6lukwZ67qkBPbnp2z7ZFd1X2/XT0BfggViQPvb rdFq4TVp5fxirgTdxufxACxjcC5pFponq4jNq7xsIULkulxLzDxmJtoIfh1johi5UkHA Dl9w== X-Received: by 10.112.77.234 with SMTP id v10mr1152938lbw.119.1434388510483; Mon, 15 Jun 2015 10:15:10 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id t1sm2842493lbb.25.2015.06.15.10.15.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 10:15:09 -0700 (PDT) Date: Mon, 15 Jun 2015 20:15:08 +0300 From: Andrei Borzenkov To: Paulo Flabiano Smorigo Subject: Re: [RFC PATCH 0/3] grub powerpc64 little-endian enablement Message-ID: <20150615201508.65201eb9@opensuse.site> In-Reply-To: <1409255765-3209-1-git-send-email-pfsmorigo@linux.vnet.ibm.com> References: <1409255765-3209-1-git-send-email-pfsmorigo@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.28; 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::235 Cc: grub-devel@gnu.org, Paulo Flabiano Smorigo 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, 15 Jun 2015 17:15:17 -0000 =D0=92 Thu, 28 Aug 2014 16:56:02 -0300 Paulo Flabiano Smorigo =D0=BF=D0=B8=D1=88=D0= =B5=D1=82: > From: Paulo Flabiano Smorigo >=20 > Hi, >=20 > At the beginning of the year we provide a patchset that enabled GRUB for > little-endian PowerPC. Our approach at the time was to build GRUB itself = and > its tools in 64-bit little-endian. One of the reasons of build in 64-bit = is > to avoid 32-bit dependencies in the distro and build a system entirely 64= -bit. >=20 > This patchset was not welcomed at the time because it would bring a > high-maintainance-cost, without real gain since it could just be cross-co= mpiled. >=20 > After that, Brent Baude, Vladmir (phcoder) and I started to work in a sol= ution > that would cross-compile but without 32-bit dependencies. This patchset i= s the > result of this new approach. It's based on the work of Brent Baude, Vladi= mir > (phcoder), and Tomohiro. >=20 > It can be devided in two parts: >=20 > 1) Skip libgcc dependency just for ppc64el (patch 1 and 2); This is now default for all platforms > 2) Check elf endianess and byteswap if necessary (patch 3); > That's still pending. =20 > The result is GRUB itself in 32-bit BE and its tools in 64-bit LE. This s= olution > satisfies the needs of the distros. I tested it in three different distro= s, in > both endianess and it's fine. >=20 > If thoses patches were accepted we will have an official solution. Nowada= ys, > distros are taking diffrent approachs. Some of then are using the original > solutions and others are using cross-compiler. > Could you resend missing bits rebased to current head?