Fuad Abdallah writes:
> Hi,
> 
> building ghc-2.08 under irix 6.2 using ghc-2.07 fails. Linking hsc stops
> with the following errors:
> 
> 1)
> ld: ERROR 33: Unresolved text symbol "IO_Z36gQ_fast3" -- 1st referenced by
> utils/Outputable.o.
> ld: ERROR 33: Unresolved text symbol "IO_Z36gW_fast3" -- 1st referenced by
> utils/Outputable.o.
> ld: ERROR 33: Unresolved text symbol "IOHandle_Z36g28_fast2" -- 1st
> referenced by utils/StringBuffer.o.
> 

Hi,

for whatever reason, the prelude interface files for 2.07 aren't
entirely in sync with the library archive. Could you check to see if
you've got $gQ, $gW in IO.hi and whether libHS.a contains references
to the above symbols, i.e., could you reply to g-h-b with the output
of the following:

 foo$ egrep '^[0-9]+ \$g(Q|W)' ghc/lib/required/IO.hi
 foo$ egrep 'IO.\$g(Q|W)' ghc/lib/*/*.hi
 foo$ nm -o libHS.a | egrep 'IO_Z36g(W|Q)_fast3'


> 2)
> Sigbjorn did send me a patch for the mips port in COptWraps.lh, but it
> does not seem to be included in the 208 sources:
> 
> #define SET_RETADDR(loc)  { register StgFunPtrFunPtr ra __asm__ ("$31");
> loc = ra; }
> 

Yes, last minute addition that didn't quite make it. Next version
should have it.

--Sigbjorn

Reply via email to