From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VhIPi-0001AG-Ch for mharc-grub-devel@gnu.org; Fri, 15 Nov 2013 07:22:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhIPb-00019g-Ld for grub-devel@gnu.org; Fri, 15 Nov 2013 07:22:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhIPW-00083c-Fr for grub-devel@gnu.org; Fri, 15 Nov 2013 07:22:11 -0500 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:63990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhIPW-00083J-7L for grub-devel@gnu.org; Fri, 15 Nov 2013 07:22:06 -0500 Received: by mail-la0-f53.google.com with SMTP id ea20so2652744lab.40 for ; Fri, 15 Nov 2013 04:22:05 -0800 (PST) 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=waYFxFGidpPR+57EdiiDvKqslHFpvcvbkNcBSPy82TA=; b=hfxnG58FmJjvl+an+ddZ++TxrUu8+CAOiUKCvcXpAupJdU50+wyIzqm/LMFBgPGYzn j/a5XVNLpPXQjq1TKzqCZkPNlTDsPOTak1QryJ2pqWk3TrRehbDFs+/ZJ1sYzRJOVsKW s9xL7btkMBKUXHZEingN0Xy3mmaOhL4CzpZeC96TGT+jjyESCFcN9xCTwHhwfik6ybT/ 7yVyeRqrbL7s5z7NosGNEf1ddIorlPafiAtEaOmqv/V4o13XQqWVOGgpAQi7dzt4r70P lRmwZ48UkhbrTwZz6ZoPuE0EjE/3ZhirrlToTxeoHQCynwManfepaJsW+KXICVRvnxep PRKg== X-Received: by 10.112.72.233 with SMTP id g9mr3974513lbv.2.1384518125138; Fri, 15 Nov 2013 04:22:05 -0800 (PST) Received: from opensuse.site (ppp91-76-174-89.pppoe.mtu-net.ru. [91.76.174.89]) by mx.google.com with ESMTPSA id yt9sm1098174lbb.9.2013.11.15.04.22.04 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 15 Nov 2013 04:22:04 -0800 (PST) Date: Fri, 15 Nov 2013 16:22:00 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: PPC build failure with undefined symbols __ashldi3, _restgpr_14_x, ... Message-ID: <20131115162200.2c18d0d0@opensuse.site> In-Reply-To: <5285FEE1.3030601@gmail.com> References: <20131115091954.2b642e0b@opensuse.site> <5285FEE1.3030601@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/c8Q2CPIBXpbG6xDpFk2YEaZ"; 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::235 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: Fri, 15 Nov 2013 12:22:16 -0000 --Sig_/c8Q2CPIBXpbG6xDpFk2YEaZ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Fri, 15 Nov 2013 12:00:49 +0100 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > On 15.11.2013 06:19, Andrey Borzenkov wrote: > > Sources at 6fcec439545c817fbc8e2f51c667a70037a34a76 > >=20 > > Building RPM for PPC (32 or 64 bits) I get > >=20 > > [ 187s] cat syminfo.lst | sort | gawk -f ../../grub-core/genmoddep.awk= > moddep.lst || (rm -f moddep.lst; exit 1) > > [ 187s] __ashldi3 in affs is not defined > > [ 187s] _restgpr_14_x in affs is not defined > > [ 187s] _restgpr_20_x in affs is not defined > > [ 187s] _restgpr_25_x in affs is not defined > > [ 187s] _restgpr_27_x in affs is not defined > > [ 187s] _restgpr_28_x in affs is not defined > > [ 187s] _restgpr_30_x in affs is not defined > > ... > >=20 > > for a long list of them. > >=20 > > Full build logs are available as > > https://build.opensuse.org/build/home:arvidjaar:grub2-next/openSUSE_Fac= tory_PowerPC/ppc/grub2/_log > > https://build.opensuse.org/build/home:arvidjaar:grub2-next/openSUSE_Fac= tory_PowerPC/ppc64/grub2/_log > >=20 > > I do not myself have access to any PPC system nor any experience with > > them. > >=20 > You don't have multilib installed. Could you elaborate? This is native build on PPC system. It has both 64 and 32 bit of gcc and libgcc installed: [ 12s] libgcc_s1-32bit-4.8.1_20130909-5.1 ############################= ############ [ 10s] libgcc_s1-4.8.1_20130909-5.1 ############################= ############ [ 17s] gcc48-4.8.1_20130909-5.1 ############################= ############ [ 17s] gcc48-32bit-4.8.1_20130909-5.1 ############################= ############ This did build successfully until some recent changes (grub2 *is* part of openSUSE for PPC). I compared logs for x86 and ppc and both say [ 119s] checking for __bswapsi2... no [ 119s] checking for __bswapdi2... no [ 119s] checking for __ashldi3... no [ 120s] checking for __ashrdi3... no [ 120s] checking for __lshrdi3... no [ 120s] checking for __ucmpdi2... no [ 120s] checking for _restgpr_14_x... no unfortunately I'm stuck here. For all I can tell it should either fail or succeed in both cases. > > x86 builds OK. > >=20 > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel > >=20 >=20 >=20 --Sig_/c8Q2CPIBXpbG6xDpFk2YEaZ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlKGEesACgkQR6LMutpd94yqSACfTLv3yE1o+QFXGw7rbJYGrezN o0oAn1QkopnJN0e+IgpY0jHMoVLktvfN =B0AB -----END PGP SIGNATURE----- --Sig_/c8Q2CPIBXpbG6xDpFk2YEaZ--