Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2026 20:49:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   [Bug 295675] lang/ghc{,96}: port to powerpc64
Message-ID:  <bug-295675-16154-ZXuZHmtsI3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295675-16154@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295675-16154-ZXuZHmtsI3>