From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cMieAHVTbGCf2QAAgWs5BA (envelope-from ) for ; Tue, 06 Apr 2021 14:26:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6HjhNXRTbGBzCwAAB5/wlQ (envelope-from ) for ; Tue, 06 Apr 2021 12:26:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A0F7124B07 for ; Tue, 6 Apr 2021 14:26:28 +0200 (CEST) Received: from localhost ([::1]:56024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTkmp-0004Aq-Oz for larch@yhetil.org; Tue, 06 Apr 2021 08:26:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTkmS-0003n7-L5 for guix-patches@gnu.org; Tue, 06 Apr 2021 08:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56132) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTkmQ-0005Jx-Dw for guix-patches@gnu.org; Tue, 06 Apr 2021 08:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTkmQ-0003e6-AB for guix-patches@gnu.org; Tue, 06 Apr 2021 08:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47615] [PATCH 0/9] Add 32-bit powerpc support Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Apr 2021 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47615 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47615@debbugs.gnu.org, guix-devel@gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org, guix-devel@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161771193513968 (code B ref -1); Tue, 06 Apr 2021 12:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Apr 2021 12:25:35 +0000 Received: from localhost ([127.0.0.1]:39445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTklz-0003dE-3P for submit@debbugs.gnu.org; Tue, 06 Apr 2021 08:25:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:56374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTklx-0003d6-Kl for submit@debbugs.gnu.org; Tue, 06 Apr 2021 08:25:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTklv-0003bc-B4; Tue, 06 Apr 2021 08:25:31 -0400 Received: from flashner.co.il ([178.62.234.194]:42268) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTklp-0004bJ-A8; Tue, 06 Apr 2021 08:25:31 -0400 Received: from localhost (unknown [31.210.177.71]) by flashner.co.il (Postfix) with ESMTPSA id B8434402D4; Tue, 6 Apr 2021 12:24:51 +0000 (UTC) From: Efraim Flashner Date: Tue, 6 Apr 2021 15:24:12 +0300 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617711988; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=32qADhjbENYNGHymuMAsinYW+ee7qencHbPzWziZu0s=; b=ZQFYU2kn2d98//aXpQ+t2rEmUJXEeEEFWG3lMD3Lbqrtke4yWHjRa2O5Wu77Hqk60tjJgV 2qdtZV8CC5hSvwyckuDaOLJ/G9viHUgJZB8PF+f6lRpYqDrYcAN2eot5W0vGo7v0Eprjfh nvqnQsC+TUGuwPYIN3hFudDzilcvNphYtOy2UjCYvBl4NVdbaNiP8Lb5JtYCFgWzo5QnAy 61SEDbEH4u6kXK2JK7K7dFS1GhNZH+RDMkllhwSb698osi22DgJ5SpJ4fFsTaA/cRyLXZB UqpPBHTy/S+tBJLTqIQUYElG23aMiZ6uVHZMK31mYDeIhgl2yM9sxdBCmzo3Iw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617711988; a=rsa-sha256; cv=none; b=kaZNLLZA9LSuSTc1gptbhcsjTn8Q3JMrerWD3Ip0RBHXozGXm/xvRAP8hnTXLjqNPqHrDy 1nyzlRa1Dny9m2yCW1zb19WdiG+fJaUu7oJkP35QGsgmsEEGe4nzTI5qsjWyqELs7NmfV8 MEvy2yCDqlQCC9jQdEkAR3y0L96vnqluykKUAGKHMFyjMPoganrJEWMkTtW6QPDuMVbNrF ghGC01hScDB2fhQYP1cNRyVihzMC8BjAcQBWlPmgxb6yhZEM40CTrJy7kSzN6cdwC21apQ 5b6MVoBCA6m5+4PKQcN4N4eC053E3vIJbIKhjtHypDgrZ82HLNNCRCFc1wJeZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 4.06 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A0F7124B07 X-Spam-Score: 4.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8TmAcgRzy9Oa https://git.savannah.gnu.org/cgit/guix.git/log/?h=wip-ppc The wip-ppc branch on Savannah is currently in a good state. With the recent rapid churn on core-updates I haven't been very quick about rebasing on core-updates but I can confirm that building out to mesa works. Building is slow, it took 6 days to build from guile-final to mesa without stopping. The patches start with adding the bootstrap binaries for powerpc. The next patch fixes guile-3.0.2+ on powerpc (and probably other 32-bit big-endian systems) and is the result of almost 3 weeks of bisecting. Next is a patch for binutils to disable one of the tests. The test is new to core-updates, and fails on powerpc-linux but not the other architectures we support. The mesa patch works, but I have to see about enabling the tests. I have also tested updating mesa and enabling the llvm backend on aarch64 and the tests no longer fail there, so I'll do another couple (3 hour) mesa builds to see if the comment needs adjusting or if the tests can be enabled on powerpc-linux. mac-fdisk I didn't have a solid reason to put in the wip-ppc branch but there it is. I need to change CC=gcc to use cc-for-target. The patch for american-fuzzy-lop I snuck into master the qemu-command in gnu/build/vm shouldn't overlap with ppc64le. the last two patches, disabling the tests for mercurial and nss, can probably be dropped. The comments are accurate though, and we have done similar in the past on mips64le and armhf. Efraim Flashner (9): gnu: bootstrap: Add support for powerpc-linux. gnu: guile-3.0: Fix building on powerpc-linux. gnu: binutils: Adjust test suite on powerpc-linux. gnu: mesa: Add support for powerpc-linux. gnu: Add mac-fdisk. gnu: american-fuzzy-lop: Add support for powerpc-linux. build: qemu-command: Add support for powerpc. gnu: mercurial: Skip tests on powerpc-linux. gnu: nss: Skip tests on powerpc-linux. gnu/build/vm.scm | 1 + gnu/local.mk | 2 + gnu/packages/base.scm | 11 +- gnu/packages/bootstrap.scm | 37 +- gnu/packages/commencement.scm | 21 +- gnu/packages/debug.scm | 2 + gnu/packages/disk.scm | 44 + gnu/packages/gl.scm | 18 +- gnu/packages/guile.scm | 21 +- gnu/packages/nss.scm | 7 +- .../patches/mac-fdisk-gentoo-patchset.patch | 866 +++++++ gnu/packages/patches/mac-fdisk-p18.patch | 2070 +++++++++++++++++ gnu/packages/version-control.scm | 6 +- guix/packages.scm | 4 +- m4/guix.m4 | 4 +- 15 files changed, 3096 insertions(+), 18 deletions(-) create mode 100644 gnu/packages/patches/mac-fdisk-gentoo-patchset.patch create mode 100644 gnu/packages/patches/mac-fdisk-p18.patch base-commit: f08b070019a3c1697bb0b4a783dcd4f31243715a -- 2.31.1