From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VhKmp-0006Ir-2t for mharc-grub-devel@gnu.org; Fri, 15 Nov 2013 09:54:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhKme-0006Ib-QO for grub-devel@gnu.org; Fri, 15 Nov 2013 09:54:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhKmW-0005Np-D7 for grub-devel@gnu.org; Fri, 15 Nov 2013 09:54:08 -0500 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:33251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhKmW-0005My-5V for grub-devel@gnu.org; Fri, 15 Nov 2013 09:54:00 -0500 Received: by mail-lb0-f172.google.com with SMTP id c11so2828948lbj.3 for ; Fri, 15 Nov 2013 06:53:58 -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=PG226bj5g8HeENcmg2lJNL2Qacyt+aYmLooLEPKFrLQ=; b=UGg4bImreGHcWq6QiOe5F8U+nLMfsmbpZxWo/pRXbuqX+2NOBIuh9/ouFDi0ufAKkS u5/Y5ZWP6MRQ4HtRZGUz5THkHHJnVxGQTkmvswSYXQcLjLllg2YTO+OgwNRjn1oH9GVj gXB1B9P52jnlb7506QgvlBoYNxxvhtLrShHgL5RPijTC3mMsDHxwAKdNO7tB01AhjO0U ave8xsj8cgAda8PeHdb6Ya+c1ea2fXb2oC+z417/rXPFuPadn1GH4NwPCagHcW+guqzF XyBDU/2uvxo4qmnzWdjj5UULGSzN2aS9r22GTuGQGcpZDZB/7G6nRP+JqFX2QGSZZYKe tO8w== X-Received: by 10.152.228.130 with SMTP id si2mr1668379lac.32.1384527238831; Fri, 15 Nov 2013 06:53:58 -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 mq10sm1145811lbb.12.2013.11.15.06.53.57 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 15 Nov 2013 06:53:58 -0800 (PST) Date: Fri, 15 Nov 2013 18:53:57 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: PPC build failure with undefined symbols __ashldi3, _restgpr_14_x, ... Message-ID: <20131115185357.251aa71f@opensuse.site> In-Reply-To: <528632AF.8090303@gmail.com> References: <20131115091954.2b642e0b@opensuse.site> <5285FEE1.3030601@gmail.com> <20131115162200.2c18d0d0@opensuse.site> <52861483.70807@gmail.com> <20131115174346.3360ac1e@opensuse.site> <52862963.2060409@gmail.com> <20131115183539.1f4ddc75@opensuse.site> <528632AF.8090303@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_/GD9q3JZHjJDmzRli5rAhilx"; 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::22c 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 14:54:17 -0000 --Sig_/GD9q3JZHjJDmzRli5rAhilx Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Fri, 15 Nov 2013 15:41:51 +0100 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > >=20 > > Actually removing explicit TARGET_LDFLAGS=3D-static in grub2.spec fixed > > it. I now wonder why it was added in the first place. > >=20 > -static shouldn't create problems. Adding -nostdlib like I proposed > should solve the problem. -static does cause problem at least with current packaging here. I prefer to remove flags that apparently are not needed than add yet another build requires which at the end will have the same result (more BR - longer build time, increased load). Thank you for helping to find root cause for the issue! --Sig_/GD9q3JZHjJDmzRli5rAhilx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlKGNYUACgkQR6LMutpd94xSHgCePO53bMEL1n3M5q4ZEvnTobZH 9mYAn0Zn4SF+17nlOHn9J7AbEfS3I80j =mA7R -----END PGP SIGNATURE----- --Sig_/GD9q3JZHjJDmzRli5rAhilx--