[Bug 295675] lang/ghc{,96}: port to powerpc64

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 May 2026 20:49:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295675

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=51c541c1e65f3b9dc225babd7ba0ef66e812a673

commit 51c541c1e65f3b9dc225babd7ba0ef66e812a673
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-05-29 20:46:28 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-05-29 20:48:54 +0000

    lang/ghc{,96}: port to powerpc64

    1. In the Makefile, switch ARCH == powerpc64le to ARCH:Mpowerpc64*,
    2. Add some additional ARCH == powerpc64 for switching to ELFv2, since 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(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.