From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manolis Ragkousis Subject: [PATCH] gnu: base: Disable bogus code in Hurd's glibc. Date: Fri, 31 Jul 2015 19:17:33 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b3a85ca50b797051c2e2803 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLD07-0008Tj-PU for Guix-devel@gnu.org; Fri, 31 Jul 2015 12:17:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLD03-0001Ai-52 for Guix-devel@gnu.org; Fri, 31 Jul 2015 12:17:39 -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: Guix-devel --047d7b3a85ca50b797051c2e2803 Content-Type: text/plain; charset=UTF-8 This patch solves the issue I had with building perl natively on Hurd. It seems PAGE_COPY_THRESHOLD was causing a not properly tested PAGE_COPY_FWD_MAYBE to be used, which caused the error "miniperl: memmove.c:72: memmove: Assertion `len == 0' failed." OK to apply to wip-hurd? Manolis --047d7b3a85ca50b797051c2e2803 Content-Type: text/x-patch; charset=US-ASCII; name="0001-gnu-base-Disable-bogus-code-in-Hurd-s-glibc.patch" Content-Disposition: attachment; filename="0001-gnu-base-Disable-bogus-code-in-Hurd-s-glibc.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_icru0g670 RnJvbSBiNGVhOTZlMmI4YjVjNmU4ZGNmZmY5ZDQ2Y2NiOWY5NjNkMzM4YzdkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNYW5vbGlzIFJhZ2tvdXNpcyA8bWFub2xpczgzN0BnbWFpbC5j b20+CkRhdGU6IEZyaSwg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