[MacPorts] #25558: ghc: update to latest version

MacPorts noreply at macports.org
Sun Jul 8 15:19:37 PDT 2012


#25558: ghc: update to latest version
--------------------------------+-------------------------------------------
 Reporter:  jwiegley@…          |       Owner:  gwright@…           
     Type:  update              |      Status:  assigned            
 Priority:  Normal              |   Milestone:                      
Component:  ports               |     Version:                      
 Keywords:                      |        Port:  ghc ghc-devel       
--------------------------------+-------------------------------------------

Comment(by cal@…):

 Drilling further down, the command that gets executed and fails is

 {{{
 /usr/bin/llvm-gcc-4.2 -v -o utils/ghc-pwd/dist-boot/ghc-pwd -m64 -fno-
 stack-protector utils/ghc-pwd/dist-boot/Main.o -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4/directory-1.1.0.0 -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4/unix-2.4.2.0 -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4/old-time-1.0.0.6 -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4/old-locale-1.0.0.2 -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4/filepath-1.2.0.0 -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4/base-4.3.1.0 -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4/integer-gmp-0.2.0.3 -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4/ghc-prim-0.2.0.0 -L/opt/local/share/ghc-
 bootstrap/lib/ghc-7.0.4 -lHSrtsmain -lHSdirectory-1.1.0.0 -lHSunix-2.4.2.0
 -ldl -lHSold-time-1.0.0.6 -lHSold-locale-1.0.0.2 -lHSfilepath-1.2.0.0
 -lHSbase-4.3.1.0 -liconv -lHSinteger-gmp-0.2.0.3 -lHSghc-prim-0.2.0.0
 -lHSrts -lm -ldl -u _ghczmprim_GHCziTypes_Izh_static_info -u
 _ghczmprim_GHCziTypes_Czh_static_info -u
 _ghczmprim_GHCziTypes_Fzh_static_info -u
 _ghczmprim_GHCziTypes_Dzh_static_info -u _base_GHCziPtr_Ptr_static_info -u
 _base_GHCziWord_Wzh_static_info -u _base_GHCziInt_I8zh_static_info -u
 _base_GHCziInt_I16zh_static_info -u _base_GHCziInt_I32zh_static_info -u
 _base_GHCziInt_I64zh_static_info -u _base_GHCziWord_W8zh_static_info -u
 _base_GHCziWord_W16zh_static_info -u _base_GHCziWord_W32zh_static_info -u
 _base_GHCziWord_W64zh_static_info -u
 _base_GHCziStable_StablePtr_static_info -u
 _ghczmprim_GHCziTypes_Izh_con_info -u _ghczmprim_GHCziTypes_Czh_con_info
 -u _ghczmprim_GHCziTypes_Fzh_con_info -u
 _ghczmprim_GHCziTypes_Dzh_con_info -u _base_GHCziPtr_Ptr_con_info -u
 _base_GHCziPtr_FunPtr_con_info -u _base_GHCziStable_StablePtr_con_info -u
 _ghczmprim_GHCziBool_False_closure -u _ghczmprim_GHCziBool_True_closure -u
 _base_GHCziPack_unpackCString_closure -u
 _base_GHCziIOziException_stackOverflow_closure -u
 _base_GHCziIOziException_heapOverflow_closure -u
 _base_ControlziExceptionziBase_nonTermination_closure -u
 _base_GHCziIOziException_blockedIndefinitelyOnMVar_closure -u
 _base_GHCziIOziException_blockedIndefinitelyOnSTM_closure -u
 _base_ControlziExceptionziBase_nestedAtomically_closure -u
 _base_GHCziWeak_runFinalizzerBatch_closure -u
 _base_GHCziTopHandler_runIO_closure -u
 _base_GHCziTopHandler_runNonIO_closure -u
 _base_GHCziConcziIO_ensureIOManagerIsRunning_closure -u
 _base_GHCziConcziSync_runSparks_closure -u
 _base_GHCziConcziSignal_runHandlers_closure -Wl,-search_paths_first
 -lHSffi
 }}}

 I ran this from within ghc's `${worksrcpath}` with and without
 `LIBRARY_PATH` set to `/usr/lib:/opt/local/lib`. Apparently the order of
 paths in this variable doesn't matter, the linking always fails. Shouldn't
 that be working correctly? Is this a bug in the linker or am I doing
 something wrong here?

-- 
Ticket URL: <https://trac.macports.org/ticket/25558#comment:48>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list