From nobody Fri May 29 20:49:55 2026 X-Original-To: haskell@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gRwTc02vYz6g4y4 for ; Fri, 29 May 2026 20:49:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gRwTb42Jnz43p3 for ; Fri, 29 May 2026 20:49:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780087795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CxNAnrXfQWWY3HNve6gHwWfsJOy3xsw3mq1DSXmzIJY=; b=b7dwW9KHnHKPnQWytYZgTWVdiawLe69ZIRi/AOcdmG77U0drGfHbpigbeyKcEou+YKVyYU 8WOam3mESE7AwXsJ2C8tCogMNHQ3M4ahgVHawwXAXLbT5I1j6qOO/3DxNgTELamldo7RBf m0rPT9sWTS0/zlnoB5o5BY5povm/9Ctz1SUQ8ov38Uvp09JQpGGyfJMWgYPnkmt0FG458X 1cyOLfW22AxVspOmKjyS15fdq5tP32JtmPGibeN0JPp1R6Li82ypvrv+7mBe0zq4YEEGoX hf174QYEUp9bYBkAlNR6bsB1a1aM42Jiipw5Y7QFol/ZRhHnsXa5cfJgMoGqNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780087795; a=rsa-sha256; cv=none; b=mQKIW7kJgIkd8Zv4yba+mnjVQ4UEX+J30JcvkbpIODbSnT5gDrGK2dOoUsJBaVMrTi3MgH syq9UQBD1Lfok6h2iJYUt4Pm1/RhwStdWEWxT6Ju6HfImPYV5qEnyyv/xSFnYaWzFFKKjb nDzKXN98GCq6MChSPAJhWnxGwzuv1wxzUZ69sowqIfcki2U7OG9y+h1QAkzgec2qfrmm5V NVfX4Xz4IhKG5aLWAZmPakZZe10UIBkI87vZPkG5Q3xdAaDv3zYOBmORwxmv6tETdXWc24 n2glENcsxb1lK9El9s3YanIK8FKrzsapNuh098sDcAoKp/BH8lPr9G2L5B7/aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780087795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CxNAnrXfQWWY3HNve6gHwWfsJOy3xsw3mq1DSXmzIJY=; b=SxUwl91vFR/GvZzV2iwE7RojwJruT4ymMan0o0yY4kFw+6L37HXBIE3vbEl39RDx+pTjsF 4gn9fXGEE410NTvdI2hXPOYrHhgQMZgXXxk90n8T9WNfbxusIImbxCEyZx6GgO7wf3Rx8Q S+XPo+PfzhdD/WxhQSMQnK6MopZWcq6wqVMGywKcGpTCGoDRVgfEx0f3iu//Ca6j77uHf9 gxrEKNIdouIiVeS3NhgjJ7TsS6ki2TbP+LN00CqO53Bb/bgcEeytuHvu/Jmmd7WC2DR+Gl 2rCHmrYJZesDYUk8MoT3ZYWxxI4KX32jLdJADvF5zz04MTiP2zXkJWdNb8O9+g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4gRwTb3cB7zpZj for ; Fri, 29 May 2026 20:49:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 64TKntmJ046372 for ; Fri, 29 May 2026 20:49:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 64TKntRw046371 for haskell@FreeBSD.org; Fri, 29 May 2026 20:49:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 295675] lang/ghc{,96}: port to powerpc64 Date: Fri, 29 May 2026 20:49:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295675 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D51c541c1e65f3b9dc225babd7ba0ef6= 6e812a673 commit 51c541c1e65f3b9dc225babd7ba0ef66e812a673 Author: Piotr Kubaj AuthorDate: 2026-05-29 20:46:28 +0000 Commit: Piotr Kubaj CommitDate: 2026-05-29 20:48:54 +0000 lang/ghc{,96}: port to powerpc64 1. In the Makefile, switch ARCH =3D=3D powerpc64le to ARCH:Mpowerpc64*, 2. Add some additional ARCH =3D=3D powerpc64 for switching to ELFv2, si= nce GHC assumes powerpc64 is ELFv1. 3. Add additional patch to disable ELFv1 code in StgCRun.c. Bootstrap is built against 14.3-RELEASE. PR: 295675 Approved by: arrowd@ lang/ghc/Makefile | 20 ++++++++++++++++---- lang/ghc/distinfo | 2 ++ lang/ghc/files/patch-rts_StgCRun.c (new) | 11 +++++++++++ lang/ghc/files/patch-rts_StgCRunAsm.S | 5 +++-- lang/ghc96/files/patch-rts_StgCRun.c (new) | 11 +++++++++++ lang/ghc96/files/patch-rts_StgCRunAsm.S | 5 +++-- 6 files changed, 46 insertions(+), 8 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=