[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
Fri Jan 3 11:01:25 UTC 2025


#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:  essandess
      Type:  enhancement       |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.7.1
Resolution:                    |   Keywords:  powerpc, leopard, snowleopard
      Port:  ghc, ghc-         |
  bootstrap                    |
-------------------------------+-------------------------------------------

Comment (by barracuda156):

 Looks like this commit has broken 7.10.3:
 https://github.com/ghc/ghc/commit/7ea4e243b8a204cc2fff813249851e5242b40daf

 This is what fails:
 {{{
 Sergey-Fedorovs-Mac:ghc-7.10.3 svacchanda\$ sudo
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/inplace/bin
 /ghc-stage1 -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O    -this-
 package-key base_HQfYBxpPvuw8OunzQu6JGM -hide-all-packages -i
 -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base
 /dist-install/build/autogen -Ilibraries/base/dist-install/build
 -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include
 -I/opt/local/include  -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
 -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package-key
 rts -package-key ghcpr_8TmvWUcS1U1IKHT0levwg3 -package-key
 integ_2aU3IZNMF9a7mQ0OzsZ0dS -this-package-key base -XHaskell2010 -O2
 -no-user-package-db -rtsopts      -odir libraries/base/dist-install/build
 -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-
 install/build -split-objs -dynamic-too -c libraries/base/./GHC/List.hs -o
 libraries/base/dist-install/build/GHC/List.o -dyno libraries/base/dist-
 install/build/GHC/List.dyn_o
 ghc-stage1: internal error: evacuate(static): strange closure type 18
     (GHC version 7.6.3 for powerpc_apple_darwin)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Abort trap
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64698#comment:36>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list