[MacPorts] #64698: approach to fix Haskell (GHC) for PowerPC: some progress, ghc @7.6.3 builds for ppc
MacPorts
noreply at macports.org
Mon Feb 21 05:37:54 UTC 2022
#64698: approach to fix Haskell (GHC) for PowerPC: some progress, ghc @7.6.3 builds
for ppc
---------------------------------+------------------------------
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):
Almost the same failure with 7.8.1:
{{{
>> inplace/bin/ghc-stage1
cat ghc/ghc.wrapper >> inplace/bin
/ghc-stage1
chmod +x inplace/bin
/ghc-stage1
"inplace/bin/ghc-cabal" check libraries/ghc-prim
"inplace/bin/ghc-cabal" configure libraries/ghc-prim dist-install ""
--with-
ghc="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.8.1/inplace/bin
/ghc-stage1" --with-ghc-
pkg="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.8.1/inplace/bin
/ghc-pkg" --flag=include-ghc-prim --disable-library-for-ghci --enable-
library-vanilla --enable-library-profiling --enable-shared --configure-
option=CFLAGS=" -m32 -mmacosx-version-min=10.5 -fno-stack-protector "
--configure-option=LDFLAGS=" -m32 -mmacosx-version-min=10.5 "
--configure-option=CPPFLAGS=" -m32 " --configure-option=--with-iconv-
includes="/opt/local/include" --configure-option=--with-iconv-
libraries="/opt/local/lib" --configure-option=--with-gmp-
includes="/opt/local/include" --configure-option=--with-gmp-
libraries="/opt/local/lib" --with-gcc="/opt/local/bin/gcc-mp-7" --with-
ld="/opt/local/bin/ld" --configure-option=--with-cc="/opt/local/bin/gcc-
mp-7" --with-ar="/opt/local/bin/ar" --with-ranlib="/opt/local/bin/ranlib"
Configuring ghc-prim-0.3.1.0...
ghc-cabal: ghc-stage1: internal error: evacuate(static): strange closure
type
18672
(GHC version 7.6.2 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/ghc/work/ghc-7.8.1'
Command failed: cd
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.8.1"
&& /usr/bin/make -j4 -w all VERBOSE=1
Exit code: 2
}}}
Any idea why might this happen, "ghc-stage1: internal error:
evacuate(static): strange closure type"?
--
Ticket URL: <https://trac.macports.org/ticket/64698#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list