Hi Fuad!

> i tried to build parallel executables with ghc-2.07/irix6.2 but the
> linker always failed with the following errors:

> ld: ERROR 33: Unresolved text symbol "ForeignObj_CLOSURE_DATA" -- 1st
> referenced by /usr/local/lib/ghc-2.07/libHS_mp.a(IOHandle__173.mp_o).
> ld: ERROR 33: Unresolved text symbol "eqForeignObj" -- 1st referenced by
> /usr/local/lib/ghc-2.07/libHS_mp.a(Foreign__58.mp_o)

> I would be pleased if someone could tell me what went wrong here.

Seems to be a problem of CPP varaible names in lib/ghc/IOHandle.lhs.
Try recompiling it with 
 make EXTRA_HC_OPTS="-optP-DPAR -v" ghc/IOHandle.mp_o
and check that the hscpp pass really forwards the -DPAR option.
You may have to repeat that for lib/glaExts/Foreign.lhs but the other files
should be ok --- just make the libHS_mp.a again.

HtH!
-- 
  Hans Wolfgang

==============================
"I do not smirk -- but if I did, this would be a good opportunity"      
        -- Worf, "The Darkness and the Light"

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d+ s:-- a- C+++ US++>+++ P+++ L++>++++ E+++ W++(--) N+ o? K? w--- O@ M-
V- PS+ PE? Y+ PGP+>++ t+++>++++ 5++ X+ R@ tv-(+) b+ DI? D+ G++>+++ e+++ h* y?
------END GEEK CODE BLOCK------

Reply via email to