[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 21:45:38 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):
Reached here:
{{{
"inplace/bin/ghc-stage1" -o utils/dll-split/dist-install/build/tmp/dll-
split -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -H32m -O
-hide-all-packages -i -iutils/dll-split/. -iutils/dll-split/dist-
install/build -iutils/dll-split/dist-install/build/autogen -Iutils/dll-
split/dist-install/build -Iutils/dll-split/dist-install/build/autogen
-optP-include -optPutils/dll-split/dist-
install/build/autogen/cabal_macros.h -package-key
base_HQfYBxpPvuw8OunzQu6JGM -package-key conta_2C3ZI8RgPO2LBMidXKTvIU
-package-key filep_Ey7a1in9roBAE8bUFJ5R9m -XHaskell2010 -no-user-package-
db -rtsopts -odir utils/dll-split/dist-install/build -hidir utils
/dll-split/dist-install/build -stubdir utils/dll-split/dist-install/build
-optl-L'/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/libraries/filepath
/dist-install/build'
-optl-L'/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/libraries/containers
/dist-install/build'
-optl-L'/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/libraries/deepseq
/dist-install/build'
-optl-L'/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/libraries/array
/dist-install/build'
-optl-L'/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/libraries/base
/dist-install/build' -optl-L'/opt/local/lib'
-optl-L'/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/libraries
/integer-gmp2/dist-install/build' -optl-L'/opt/local/lib'
-optl-L'/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/libraries
/ghc-prim/dist-install/build'
-optl-L'/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ghc/ghc/work/ghc-7.10.3/rts/dist/build'
-optl-L'/opt/local/lib' -optl-liconv -optl-lgmp -optl-lm -optl-ldl -optl-
lffi -fPIC -dynamic -H32m -O -hide-all-packages -i -iutils/dll-split/.
-iutils/dll-split/dist-install/build -iutils/dll-split/dist-
install/build/autogen -Iutils/dll-split/dist-install/build -Iutils/dll-
split/dist-install/build/autogen -optP-include -optPutils/dll-split
/dist-install/build/autogen/cabal_macros.h -package-key
base_HQfYBxpPvuw8OunzQu6JGM -package-key conta_2C3ZI8RgPO2LBMidXKTvIU
-package-key filep_Ey7a1in9roBAE8bUFJ5R9m -XHaskell2010 -no-user-package-
db -rtsopts -fno-use-rpaths utils/dll-split/dist-
install/build/Main.dyn_o
Undefined symbols:
"_ZCMain_main_closure", referenced from:
_ZCMain_main_closure$non_lazy_ptr in ghc_2.o
(maybe you meant: _ZCMain_main_closure$non_lazy_ptr)
"newCAF", referenced from:
r6q5_info in Main.dyn_o
r6q7_info in Main.dyn_o
r6qo_info in Main.dyn_o
r6qp_info in Main.dyn_o
r6qq_info in Main.dyn_o
r6qr_info in Main.dyn_o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[1]: *** [utils/dll-split/dist-install/build/tmp/dll-split] Error 1
}}}
Dunno how to fix this.
--
Ticket URL: <https://trac.macports.org/ticket/64698#comment:38>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list