Well, not entirely dead, but stage2 doesn't link anymore. This is due to Audrey's mangler patches:

Thu Jul 12 07:04:49 EST 2007  [EMAIL PROTECTED]
* In mangler, lift the multiline-match pragma to toplevel and document it better.

Thu Jul 12 04:24:30 EST 2007  [EMAIL PROTECTED]
* * Evil Mangler broke under Perl 5.9+ because $* is gone; this fixes it.

Perl 4's special variable $* controls multi-line matching; it's been deprecated from Perl 5's inception, and is finally removed in Perl
    versions 5.9 (soon to be 5.10).

Since GHC depends on Perl 5.6+ anyway, this patch introduces an equivalent effect to $* without using that special variable, by hooking into Perl's regex parsing process to add the /m flag.

Thu Jul 12 02:58:51 EST 2007  [EMAIL PROTECTED]
  * * Future-proof autoconf's Perl version test.

    GHC only works with Perl versions 5.6 and later; however
    the current test greps in a rather non-future-proof way
    (explicitly against 5.6 and 5.8).

    We instead exploit the "v-string" change in 5.6, which
    displays the version string as "v5.x.y", rather than
    the earlier format "version 5.xxx_yyy".  Hence grepping
    against "v5" will make it future proof for a while.
    (At least until Perl 6 is installed as the system perl.)

I am not sure which of those is the culprit, but the problem surely disappears when removing all three patches. I tried this on x86/MacOS, but it seems like a general problem. The link error messages are appended.

Manuel

-=-

../compiler/stage1/ghc-inplace --make stage2/ghc-inplace.hs -o stage2/ghc-inplace
Linking stage2/ghc-inplace ...
/usr/bin/ld: Undefined symbols:
_stg_gc_unbx_r1
_stg_gc_d1
_stg_gc_f1
_stg_gc_l1
_stg_gc_unpt_r1
_stg_ARR_WORDS_entry
_stg_ATOMIC_INVARIANT_entry
_stg_BCO_entry
_stg_BLACKHOLE_entry
_stg_CAF_BLACKHOLE_entry
_stg_DEAD_WEAK_entry
_stg_EMPTY_MVAR_entry
_stg_END_EXCEPTION_LIST_entry
_stg_END_INVARIANT_CHECK_QUEUE_entry
_stg_END_STM_CHUNK_LIST_entry
_stg_END_STM_WATCH_QUEUE_entry
_stg_END_TSO_QUEUE_entry
_stg_EVACUATED_entry
_stg_EXCEPTION_CONS_entry
_stg_FULL_MVAR_entry
_stg_IND_OLDGEN_PERM_entry
_stg_IND_OLDGEN_entry
_stg_IND_PERM_entry
_stg_IND_STATIC_entry
_stg_IND_direct_entry
_stg_IND_entry
_stg_INVARIANT_CHECK_QUEUE_entry
_stg_MUT_ARR_PTRS_CLEAN_entry
_stg_MUT_ARR_PTRS_DIRTY_entry
_stg_MUT_ARR_PTRS_FROZEN0_entry
_stg_MUT_ARR_PTRS_FROZEN_entry
_stg_MUT_VAR_CLEAN_entry
_stg_MUT_VAR_DIRTY_entry
_stg_NO_FINALIZER_entry
_stg_NO_TREC_entry
_stg_STABLE_NAME_entry
_stg_TREC_CHUNK_entry
_stg_TREC_HEADER_entry
_stg_TSO_entry
_stg_TVAR_WATCH_QUEUE_entry
_stg_TVAR_entry
_stg_WEAK_entry
_stg_WHITEHOLE_entry
_stg_apply_interp_entry
_stg_ctoi_D1_entry
_stg_ctoi_F1_entry
_stg_ctoi_L1_entry
_stg_ctoi_R1n_entry
_stg_ctoi_R1p_entry
_stg_ctoi_R1unpt_entry
_stg_ctoi_V_entry
_stg_dummy_ret_entry
_stg_PAP_apply
_stg_ap_d_entry
_stg_ap_f_entry
_stg_ap_l_entry
_stg_ap_n_entry
_stg_ap_p_entry
_stg_ap_pp_entry
_stg_ap_ppp_entry
_stg_ap_pppp_entry
_stg_ap_ppppp_entry
_stg_ap_pppppp_entry
_stg_ap_pppv_entry
_stg_ap_ppv_entry
_stg_ap_pv_entry
_stg_ap_v_entry
_stg_IND_direct_info
_stg_marked_upd_frame_entry
_stg_upd_frame_entry
_stg_END_TSO_QUEUE_closure
_stg_blockAsyncExceptionszh_ret_entry
_stg_catch_entry
_stg_catch_frame_entry
_stg_gc_gen
_stg_raise_entry
_stg_raise_ret_entry
_stg_unblockAsyncExceptionszh_ret_entry
_stg_block_putmvar_entry
_stg_block_takemvar_entry
_stg_block_throwto_entry
_stg_enter_entry
_stg_gc_d1_entry
_stg_gc_f1_entry
_stg_gc_fun_entry
_stg_gc_gen_entry
_stg_gc_l1_entry
_stg_gc_unbx_r1_entry
_stg_gc_unpt_r1_entry
_stg_gc_void_entry
_stg_ut_1_0_unreg_entry
_stg_AP_STACK_info
_stg_NO_FINALIZER_closure
_stg_atomically_frame_entry
_stg_atomically_waiting_frame_entry
_stg_catch_retry_frame_entry
_stg_catch_stm_frame_entry
_stg_AP_STACK_entry
_stg_AP_entry
_stg_PAP_entry
_stg_ap_1_upd_entry
_stg_ap_2_upd_entry
_stg_ap_3_upd_entry
_stg_ap_4_upd_entry
_stg_ap_5_upd_entry
_stg_ap_6_upd_entry
_stg_ap_7_upd_entry
_stg_sel_0_noupd_entry
_stg_sel_0_upd_entry
_stg_sel_10_noupd_entry
_stg_sel_10_upd_entry
_stg_sel_11_noupd_entry
_stg_sel_11_upd_entry
_stg_sel_12_noupd_entry
_stg_sel_12_upd_entry
_stg_sel_13_noupd_entry
_stg_sel_13_upd_entry
_stg_sel_14_noupd_entry
_stg_sel_14_upd_entry
_stg_sel_15_noupd_entry
_stg_sel_15_upd_entry
_stg_sel_1_noupd_entry
_stg_sel_1_upd_entry
_stg_sel_2_noupd_entry
_stg_sel_2_upd_entry
_stg_sel_3_noupd_entry
_stg_sel_3_upd_entry
_stg_sel_4_noupd_entry
_stg_sel_4_upd_entry
_stg_sel_5_noupd_entry
_stg_sel_5_upd_entry
_stg_sel_6_noupd_entry
_stg_sel_6_upd_entry
_stg_sel_7_noupd_entry
_stg_sel_7_upd_entry
_stg_sel_8_noupd_entry
_stg_sel_8_upd_entry
_stg_sel_9_noupd_entry
_stg_sel_9_upd_entry
_stg_sel_ret_0_noupd_entry
_stg_sel_ret_0_upd_entry
_stg_sel_ret_10_noupd_entry
_stg_sel_ret_10_upd_entry
_stg_sel_ret_11_noupd_entry
_stg_sel_ret_11_upd_entry
_stg_sel_ret_12_noupd_entry
_stg_sel_ret_12_upd_entry
_stg_sel_ret_13_noupd_entry
_stg_sel_ret_13_upd_entry
_stg_sel_ret_14_noupd_entry
_stg_sel_ret_14_upd_entry
_stg_sel_ret_15_noupd_entry
_stg_sel_ret_15_upd_entry
_stg_sel_ret_1_noupd_entry
_stg_sel_ret_1_upd_entry
_stg_sel_ret_2_noupd_entry
_stg_sel_ret_2_upd_entry
_stg_sel_ret_3_noupd_entry
_stg_sel_ret_3_upd_entry
_stg_sel_ret_4_noupd_entry
_stg_sel_ret_4_upd_entry
_stg_sel_ret_5_noupd_entry
_stg_sel_ret_5_upd_entry
_stg_sel_ret_6_noupd_entry
_stg_sel_ret_6_upd_entry
_stg_sel_ret_7_noupd_entry
_stg_sel_ret_7_upd_entry
_stg_sel_ret_8_noupd_entry
_stg_sel_ret_8_upd_entry
_stg_sel_ret_9_noupd_entry
_stg_sel_ret_9_upd_entry
_stg_dummy_ret_closure
_stg_forceIO_entry
_stg_noforceIO_entry
_stg_stop_thread_entry
_stg_IND_OLDGEN_PERM_info
collect2: ld returned 1 exit status
make: *** [stage2/ghc-inplace] Error 1

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to