Sven Panne writes:
> The normal/profiling/concurrent versions of 2.08 compiled far too
> smoothly, so I was looking for new installation challenges. ;-)
> Alas, compiling with mg and mp added to GhcLibWays didn't work:
>
> * During the compilation of the _mg-versions of the libs the
> assembler mangler complains about 5500 times. It's totally
> unclear to me what it means: bug/warning/error? Example:
>
gcc generates code which jumps via %ecx for some reason when compiling
gransim code, something that isn't caught by the mangler. Patch appended.
>
> * The parallel version of the libs can't be compiled because
> ghc/lib/glaExts/Foreign.lhs contains lots of
> #ifndef__PARALLEL_HASKELL__ lines. Therefore, some exports
> are missing later (e.g. for PackedString).
>
To get the show on the road again here, you'll have to strategically
add #ifndef__PARALLEL_HASKELL__ to avoid referencing stuff that isn't
supported under Parallel Haskell. Sorry, haven't got a patch for this.
--Sigbjorn
*** ghc/driver/ghc-asm.lprl.~1~ Wed Aug 27 15:53:33 1997
--- ghc/driver/ghc-asm.lprl Tue Oct 14 19:40:21 1997
***************
*** 976,981 ****
--- 976,982 ----
$c =~
s/^\s+ldil.*\n\s+ldo.*\n\s+bv.*\n(.*\n)?\s+\.EXIT/$1\t.EXIT/;
} elsif ( $TargetPlatform =~ /^i386-/ ) {
$c =~ s/^\tmovl \$${T_US}${symb}_fast\d+,\%edx\n\tjmp
\*\%edx\n//;
+ $c =~ s/^\tmovl \$${T_US}${symb}_fast\d+,\%ecx\n\tjmp
+\*\%ecx\n//;
$c =~ s/^\tmovl \$${T_US}${symb}_fast\d+,\%eax\n\tjmp
\*\%eax\n//;
} elsif ( $TargetPlatform =~ /^mips-/ ) {
$c =~ s/^\tjmp \$31,\(\$27\),0\n\t\.align 4\n\t\.end/\t.align
4\n\t.end/;