From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZFosB-0006Sk-Va for mharc-grub-devel@gnu.org; Thu, 16 Jul 2015 15:31:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFos9-0006SI-F6 for grub-devel@gnu.org; Thu, 16 Jul 2015 15:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFos0-0003St-He for grub-devel@gnu.org; Thu, 16 Jul 2015 15:31:09 -0400 Received: from mail-lb0-x22e.google.com ([2a00:1450:4010:c04::22e]:33402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFos0-0003SM-93 for grub-devel@gnu.org; Thu, 16 Jul 2015 15:31:00 -0400 Received: by lbbyj8 with SMTP id yj8so49683510lbb.0 for ; Thu, 16 Jul 2015 12:30:59 -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; bh=E5qG+0W3u9aS2wn+t9cTk7sUNYyk5ZMa1z0yz820vCo=; b=xqHQ5EIntJTU0e31E8j9Azw+wOhXNpjb9EJoifLuJpbIWa+qwFcknm+tqg/59ttfdI F9rE8fWeN+T+Wbv8cVJ23KxFUKnmSnAmdXYMXwVKSpivY42LpyN/DMfB5AdfShZfY9Gp TSMOYopyVWhAWNEBG2jfLBkY9+Inn3kdwsQEn5UtfEUEgrYlfyUhqTdcCtYJ0mvpMYFh h0qbjoKSHHQRYGAyY89+vldDCBQWib7viE4StP+fLvq5FUrXuV3r5aaNdW020q+OvR3I /KBcr4+Rka8nf5z+MqE96KYRr/k5dWMzMKmFrVuts2127ctsK8wbt32G34dFHj3Nj1WQ PF2w== X-Received: by 10.112.40.51 with SMTP id u19mr1234708lbk.44.1437075059014; Thu, 16 Jul 2015 12:30:59 -0700 (PDT) Received: from opensuse.site (ppp91-77-243-215.pppoe.mtu-net.ru. [91.77.243.215]) by smtp.gmail.com with ESMTPSA id w9sm2253506laj.21.2015.07.16.12.30.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 12:30:58 -0700 (PDT) Date: Thu, 16 Jul 2015 22:30:57 +0300 From: Andrei Borzenkov To: Vladimir =?UTF-8?B?J8+GLWNvZGVyL3BoY29kZXIn?= Serbinenko Subject: Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags Message-ID: <20150716223057.5f63057d@opensuse.site> In-Reply-To: <55A80063.2000902@gmail.com> References: <1435669013-3741-1-git-send-email-pfsmorigo@linux.vnet.ibm.com> <1435669013-3741-2-git-send-email-pfsmorigo@linux.vnet.ibm.com> <5592DA7A.8050107@linux.vnet.ibm.com> <20150630212856.12c56676@opensuse.site> <20150704094659.6aa48bf5@opensuse.site> <20150705203839.124984af@opensuse.site> <55A69B8F.4020105@gmail.com> <20150716215515.6a034cbd@opensuse.site> <55A80063.2000902@gmail.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.28; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/+u04GX4Y/w.0OMsL6AOP2Fi"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22e Cc: The development of GRUB 2 , 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: Thu, 16 Jul 2015 19:31:10 -0000 --Sig_/+u04GX4Y/w.0OMsL6AOP2Fi Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Thu, 16 Jul 2015 21:05:07 +0200 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > On 16.07.2015 20:55, Andrei Borzenkov wrote: > > =D0=92 Wed, 15 Jul 2015 19:42:39 +0200 > > Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: > >=20 > >> > >>> It is possible to compile using "--target=3Dpowerpc -Wl,-EB" - this w= orks > >>> on all three ppc, ppc64 and ppc64le, but this means hardcoding GNU ld > >>> dependency. > >>> > >> Thanks for this info. > >> See attached patch > >=20 > > Test has to come before asm tests (so that we are sure to compile > > for the right target). > >=20 > > But real problem is that -Wl,-EB has to be added to TARGET_LDFLAGS only > >=20 > Yes, discovered it already and updated the patch Yes, this version builds OK both in native PPC environment as well as cross-compiling. --Sig_/+u04GX4Y/w.0OMsL6AOP2Fi Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlWoBnEACgkQR6LMutpd94zn5ACeNQTGCpz+E8muILceMaDjYzMu X3MAoMBu4VyfbxHUpUW1kPE9tHTPkid8 =Gt8f -----END PGP SIGNATURE----- --Sig_/+u04GX4Y/w.0OMsL6AOP2Fi--