>> I'm trying to build ghc-5.04.3 from source on a sparc-solaris-2.6
>> machine, using 5.02.3. It throws up the following build error.
>> Any ideas what might be going wrong?
>> /tmp/ghc11170.hc: In function `SystemziTime_zdLrpHVeta_entry':
>> /tmp/ghc11170.hc:10508: called object is not a function
If it helps, here is the relevant section of the .hc file. Line 10508 is marked
with a comment.
----System/Time.hc----
INFO_TABLE(SystemziTime_zdLrpHVeta_info,SystemziTime_zdLrpHVeta_entry,0,2,THUNK_STATIC,,EF_,0,0);
FN_(SystemziTime_zdLrpHVeta_entry) {
StgAddr _B2_;
FB_
HP_STK_CHK_NP(4,3,1,);
SET_HDR_(Hp-2,(P_)&stg_CAF_BLACKHOLE_info,0,0);
UPD_CAF(R1.p,Hp-2);
PUSH_UPD_FRAME(Hp-2,0);
Sp[-4]=(W_)((P_)&srBl_info);
Sp=Sp-4;
{
StgAddr _ccall_result;
CALLER_SAVE_SYSTEM
_ccall_result = (timezone()); /* line 10508 */
CALLER_RESTORE_SYSTEM
_B2_=_ccall_result;
}
R1.a=_B2_;
JMP_(ENTRY_CODE((P_)(*Sp)));
FE_
}
----
My guess is that timezone() is not a function on Solaris 2.6. Indeed,
grepping through /usr/include shows that <time.h> defines
extern long timezone;
Regards,
Malcolm
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs