From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WWVde-0000Am-9Q for mharc-grub-devel@gnu.org; Sat, 05 Apr 2014 14:48:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWVdY-0000AQ-1m for grub-devel@gnu.org; Sat, 05 Apr 2014 14:48:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWVdS-0002gD-FA for grub-devel@gnu.org; Sat, 05 Apr 2014 14:48:15 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:44650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWVdS-0002g2-5w for grub-devel@gnu.org; Sat, 05 Apr 2014 14:48:10 -0400 Received: by mail-la0-f42.google.com with SMTP id ec20so3486832lab.15 for ; Sat, 05 Apr 2014 11:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type; bh=k/qc3iloBNE2B1Vh7LvEcdMfK6oxhx3teYX9nig0coU=; b=lP52OayKx2vWuPnRb7f280DxrD5NaKZRpUDCYWy3lDo0/o/8jRYs0ioFY8FIbOlSAl lXC0mRrtvC9ZnpY5NoNXK2i5UwrEjMy80icyrJ5eHe9iif8gkTC9kqNyIvELhOH0VmoV HEH8ZtF41WSKSNUfRgCD0HJY0KcDXk5f8W+tSGb1voo0o8KmR2K37HMTnZyOf8EFricn sIbVrvowLaL+RCjTqVGTYMl/BjoJBRPcVCoH0yu+mb4KbbMVeYF+4uflgNqgcnyCGAx5 rI5DMG91TgOykJETHpgGuifbvRphqkuTeDjZbR5ZiG03nuLbUQqzg8PQaL+UgPnbPqvq ZTiA== X-Received: by 10.112.39.97 with SMTP id o1mr2379402lbk.38.1396723688139; Sat, 05 Apr 2014 11:48:08 -0700 (PDT) Received: from opensuse.site (ppp37-190-15-130.pppoe.spdop.ru. [37.190.15.130]) by mx.google.com with ESMTPSA id qf1sm8237834lbc.8.2014.04.05.11.48.06 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Apr 2014 11:48:06 -0700 (PDT) Date: Sat, 5 Apr 2014 22:48:05 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :) Message-ID: <20140405224805.3e1f086b@opensuse.site> In-Reply-To: <53404B84.4020509@gmail.com> 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> <20140403235446.2c69a649@opensuse.site> <533E5320.9070100@gmail.com> <20140404210837.6d9d2b1b@opensuse.site> <5340251A.2010309@gmail.com> <20140405204916.38894747@opensuse.site> <53404B84.4020509@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/sk9Fq=D143=fucG1QALlbsF"; 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:c03::22a 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: Sat, 05 Apr 2014 18:48:21 -0000 --Sig_/sk9Fq=D143=fucG1QALlbsF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Sat, 05 Apr 2014 20:29:24 +0200 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > On 05.04.2014 18:49, Andrey Borzenkov wrote: > > =D0=92 Sat, 05 Apr 2014 17:45:30 +0200 > > Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: > >=20 > >> A problem is that restgpr and [al]sh[lr]di3 weren't used by any > >> platform. > >=20 > > What do you mean? They are used, but resolved from -lgcc for all > > current platforms. Where it breaks is ppc64le where libgcc for BE does > > not normally exist. And without -lgcc we get > >=20 > > [ 152s] kern/powerpc/kernel_exec-dl.o: In function `grub_arch_dl_reloc= ate_symbols': > > [ 152s] /home/abuild/rpmbuild/BUILD/grub-2.02~beta2/build/grub-core/..= /../grub-core/kern/powerpc/dl.c:167: undefined reference to `_restgpr_21_x' > > [ 152s] disk/ieee1275/kernel_exec-ofdisk.o: In function `grub_ofdisk_c= lose': > > [ 152s] /home/abuild/rpmbuild/BUILD/grub-2.02~beta2/build/grub-core/..= /../grub-core/disk/ieee1275/ofdisk.c:448: undefined reference to `_restgpr_= 29_x' > > ... > >=20 > >=20 > Not on my system. I use GCC 4.7.2. What version do you get this with? GCC 4.8 > >> Some other gcc versions probably use them. I'll need to figu= re > >> out on which platforms. > >=20 > > Just set TARGET_LDFLAGS_STATIC_LIBGCC=3D and TARGET_LIBGCC=3D and try to > > compile. If you intend to replace libgcc by internal implementation, > > those flags are not needed anyway. > >=20 > >> restgpr is definitely ppc-only. > >> [al]sh[lr]di3 I think was for arm. > >>> > >>>> For ppc only ucmpdi2 was needed actually. > >>> > >>> > >>> > >>> _______________________________________________ > >>> Grub-devel mailing list > >>> Grub-devel@gnu.org > >>> https://lists.gnu.org/mailman/listinfo/grub-devel > >>> > >> > >> > >=20 > >=20 > >=20 > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel > >=20 >=20 >=20 --Sig_/sk9Fq=D143=fucG1QALlbsF Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlNAT+UACgkQR6LMutpd94xm/gCgiI8k0SO5hjBRsPDTTKNO+eSK gwcAoJfjxryoOA6KR4WKYyVVS8iewE+p =lQW7 -----END PGP SIGNATURE----- --Sig_/sk9Fq=D143=fucG1QALlbsF--