From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manolis Ragkousis Subject: [PATCH] gnu: base: Build glibc-hurd for i586-pc-gnu instead of i686-pc-gnu. Date: Mon, 29 Jun 2015 19:43:53 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a1134dbc6872b600519aacbb4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cA1-0003YF-AP for Guix-devel@gnu.org; Mon, 29 Jun 2015 12:43:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9cA0-0001FM-1h for Guix-devel@gnu.org; Mon, 29 Jun 2015 12:43:57 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Guix-devel --001a1134dbc6872b600519aacbb4 Content-Type: text/plain; charset=UTF-8 With this patch we can produce working static binaries for a Hurd system. We had to change it to use i586, because the default i686 variant introduces bugs. And when building for i586, we had the no_hidden issue so I had to apply the patch for that. Next is the patch for make-bootstrap.scm Manolis --001a1134dbc6872b600519aacbb4 Content-Type: text/x-patch; charset=US-ASCII; name="0001-gnu-base-Build-glibc-hurd-for-i586-pc-gnu-instead-of.patch" Content-Disposition: attachment; filename="0001-gnu-base-Build-glibc-hurd-for-i586-pc-gnu-instead-of.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ibi4nvje0 RnJvbSAzMDEzN2RkMzY3ZWI2N2IzNDk0MTFkNjEyNDlhZjk3ZmFkZTQwZjJmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNYW5vbGlzIFJhZ2tvdXNpcyA8bWFub2xpczgzN0Bnb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odXJkKQogICAg ICAgIChuYW1lIChzdHJpbmctYXBwZW5kICJnbGliYy1odXJkLWNyb3NzLSIgdGFyZ2V0KSkKICAg ICAgICAoYXJndW1lbnRzCmRpZmYgLS1naXQgYS9nbnUvcGFja2FnZXMvaHVyZC5zY20gYi9nbnUv cGFja2FnZXMvaHVyZC5zY20KaW5kZXggNDNlOGIxZC4uMjRjYWMyNSAxMDA2NDQKLS0tIGEvZ251 L3BhY2thZ2VzL2h1cmQuc2NtCisrKyBiL2dudS9wYWNrYWdlcy9odXJkLnNjbQpAQCAtNTgsNyAr NTgsNyBAQAogICAgICAgOzsgbGVhc3QgaW5zdGFsbCBpdHMgaGVhZGVycyB3aGVuIG5vdCBjcm9z cy1jb21waWxpbmcuCiAgICAgICAsQChpZiAoJWN1cnJlbnQtdGFyZ2V0LXN5c3RlbSkKICAgICAg ICAgICAnKCkKLSAgICAgICAgICAnKCM6Y29uZmlndXJlLWZsYWdzICcoIi0tYnVpbGQ9aTY4Ni1w Yy1nbnUiKSkpCisgICAgICAgICAgJygjOmNvbmZpZ3VyZS1mbGFncyAnKCItLWJ1aWxkPWk1ODYt cGMtZ251IikpKQogICAgICAgIzp0ZXN0cz8gI2YpKQogICAgIChob21lLXBhZ2UgImh0dHBzOi8v d3d3LmdudS5vcmcvc29mdHdhcmUvaHVyZC9taWNyb2tlcm5lbC9tYWNoL2dudW1hY2guaHRtbCIp CiAgICAgKHN5bm9wc2lzICJHTlUgTWFjaCBrZXJuZWwgaGVhZGVycyIpCkBAIC0xMjYsNyArMTI2 LDcgQEAgY29tbXVuaWNhdGlvbi4iKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgdGhh dC4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICxAKGlmICglY3VycmVudC10YXJnZXQtc3lz dGVtKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJygpCi0gICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAnKCItLWhvc3Q9aTY4Ni1wYy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