[MacPorts] #64698: approach to fix Haskell (GHC) for PowerPC: some progress, ghc @7.6.3 builds for ppc but there is a bug to be fixed
MacPorts
noreply at macports.org
Sat Feb 26 18:35:33 UTC 2022
#64698: approach to fix Haskell (GHC) for PowerPC: some progress, ghc @7.6.3 builds
for ppc but there is a bug to be fixed
---------------------------------+------------------------------
Reporter: barracuda156 | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: powerpc, leopard
Port: ghc, ghc-bootstrap |
---------------------------------+------------------------------
Comment (by barracuda156):
This might be the cause of the problem with above builds.
Another example, failure of 7.4.2:
{{{
Configuring ghc-prim-0.2.0.0...
ghc-cabal: ghc-stage1: internal error: evacuate(static): strange closure
type 24576
(GHC version 7.0.1 for powerpc_apple_darwin)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
make[1]: *** [libraries/ghc-prim/dist-install/package-data.mk] Error 1
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_lang_ghc-bootstrap/ghc-bootstrap/work/ghc-7.4.2'
Command failed: cd "/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_lang_ghc-bootstrap/ghc-bootstrap/work/ghc-7.4.2"
&& /usr/bin/make -j4 -w all
Exit code: 2
Error: Failed to build ghc-bootstrap: command execution failed
Error: See /opt/local/var/macports/logs/_opt_PPCSnowLeopardPorts_lang_ghc-
bootstrap/ghc-bootstrap/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
}}}
Now compare output of `-v` and `--version`:
{{{
36-160% /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc-
bootstrap/ghc-bootstrap/work/ghc-7.4.2/inplace/bin/ghc-stage1 --version
The Glorious Glasgow Haskell Compilation System, version 7.4.2
}}}
{{{
36-160% /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc-
bootstrap/ghc-bootstrap/work/ghc-7.4.2/inplace/bin/ghc-stage1 -v
ghc-stage1: internal error: evacuate(static): strange closure type 24576
(GHC version 7.0.1 for powerpc_apple_darwin)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
zsh: abort -v
}}}
It seems that if `--version` is passed instead of `-v`, error may not
occur.
--
Ticket URL: <https://trac.macports.org/ticket/64698#comment:31>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list