ghc threaded1 test-cases under Solaris

Christian Maeder maeder at
Fri Nov 10 10:56:00 EST 2006

Christian Maeder schrieb:
> Hi,
> when running the test-suite I get plenty of the link errors (below).
> In order to resolve the missing symbols in Printer.thr_debug_o I was
> able to add
> -optl-L/usr/local/lib -optl-lbfd -optl-liberty
> to the ghc-6.6 command line.

These linker option are only necessary for "-threaded" with "-debug" and
can be added to the 'threaded1' field of config.way_flags in

On our Sparc machines these flags - if used globally - don't work with

Loading object (dynamic) bfd ... failed.
Dynamic linker error message was: ghc-6.6: fatal: relocation error: file
/usr/local/lib/ symbol _sch_istable: referenced symbol not found

On our AMDs with Solaris 10 also "-lintl" (i.e. '-optl-lintl') must be
added and "--interactive" makes no problems.

Cheers Christian

should be easily fixed now by suitably changing SMP.h

More information about the Glasgow-haskell-users mailing list