From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VhIaR-0004T9-9J for mharc-grub-devel@gnu.org; Fri, 15 Nov 2013 07:33:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhIaJ-0004S4-I3 for grub-devel@gnu.org; Fri, 15 Nov 2013 07:33:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhIaE-00031o-PW for grub-devel@gnu.org; Fri, 15 Nov 2013 07:33:15 -0500 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:38820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhIaE-00031h-EB for grub-devel@gnu.org; Fri, 15 Nov 2013 07:33:10 -0500 Received: by mail-ea0-f182.google.com with SMTP id o10so1189567eaj.13 for ; Fri, 15 Nov 2013 04:33:09 -0800 (PST) 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:subject:references :in-reply-to:content-type; bh=dgui//xFIsqy0C5XZGPgKrL3oYd0UIz34I13R4gN4B4=; b=VZeTVwoDfecozj97i6hdZ7iJaOB8DZtSv7rEp5r8QfwOPSckaVVbw/+L7cCejxBpus y+qPPj/jlmRMhNaeqO+cgR+Dm4WmTqZIyS0J0MuCRoFuk9hP7wGnZtdAs3auqfOn+j9c NWWwVEvVl+gFVVTYWYGBeL+GOyp3a/8uV5RCs8ZtpZoLHiADVfdSI5t/iISHAYBq1zQQ e1/mo9y1f0xKnjCf5yO12rBG/IDYlYK+RSYwE7NcreZ5DXZtf74OeNO616f9vNW9ormi lS4GQmZlZs/TPfhqoSH6QLec8fpWTvudrj+SdW6dR12TBtJfaTKrCl1gUHrk8q12PWhB R6+Q== X-Received: by 10.14.87.3 with SMTP id x3mr1770225eee.76.1384518789527; Fri, 15 Nov 2013 04:33:09 -0800 (PST) Received: from [192.168.1.16] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id z2sm6009210eee.7.2013.11.15.04.33.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Nov 2013 04:33:08 -0800 (PST) Message-ID: <52861483.70807@gmail.com> Date: Fri, 15 Nov 2013 13:33:07 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: PPC build failure with undefined symbols __ashldi3, _restgpr_14_x, ... References: <20131115091954.2b642e0b@opensuse.site> <5285FEE1.3030601@gmail.com> <20131115162200.2c18d0d0@opensuse.site> In-Reply-To: <20131115162200.2c18d0d0@opensuse.site> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2XNVUJHUGRISODQRVSRJG" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::236 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:33:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2XNVUJHUGRISODQRVSRJG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 15.11.2013 13:22, Andrey Borzenkov wrote: > =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: >=20 >> On 15.11.2013 06:19, Andrey Borzenkov wrote: >>> Sources at 6fcec439545c817fbc8e2f51c667a70037a34a76 >>> >>> Building RPM for PPC (32 or 64 bits) I get >>> >>> [ 187s] cat syminfo.lst | sort | gawk -f ../../grub-core/genmoddep.a= wk > 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 >>> ... >>> >>> for a long list of them. >>> >>> Full build logs are available as >>> https://build.opensuse.org/build/home:arvidjaar:grub2-next/openSUSE_F= actory_PowerPC/ppc/grub2/_log >>> https://build.opensuse.org/build/home:arvidjaar:grub2-next/openSUSE_F= actory_PowerPC/ppc64/grub2/_log >>> >>> I do not myself have access to any PPC system nor any experience with= >>> them. >>> >> You don't have multilib installed. >=20 > Could you elaborate? This is native build on PPC system. It has both 64= > and 32 bit of gcc and libgcc installed: >=20 > [ 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 ########################= ################ >=20 > 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 >=20 > [ 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 >=20 > unfortunately I'm stuck here. For all I can tell it should either fail > or succeed in both cases. >=20 It should say all "no" on x86 and almost all "yes" on ppc. This output indicates that link with libgcc failed. You can look how exactly the test failed in config.log. Can you send me config.log ? >>> x86 builds OK. >>> >>> _______________________________________________ >>> 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 ------enig2XNVUJHUGRISODQRVSRJG 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.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKGFIMACgkQmBXlbbo5nOtJYAD/QkXfTOmOGFHbZkfRHlIPJY0P vKC2y9wXVmTyEuRQ7+EA/3dcYx1yGv6H6bXKsWXIhc6zNipFbmktu5t9tWyKuXxp =7tjz -----END PGP SIGNATURE----- ------enig2XNVUJHUGRISODQRVSRJG--