Skip to content

Still fails to build with GCC 3.2 on Mandrake

Following the instructions listed in other bug reports,
I bootstrapped GHC 5.04.1 on a machine with an older
GCC, then installed that on the target machine
(Mandrake 9.0, GCC 3.2).

But the mangler is still busted: compiling anything
with -O gives errors like:

| Prologue junk?: .globl __stginit_PrimPacked
| 	.type	__stginit_PrimPacked,@function
| __stginit_PrimPacked:
| 	pushl	%ebp
| 	movl	%esp, %ebp


Compiling with '-O -fasm' works, but GHC 5.04.1 still
can't recompile itself since parts of it require '-O
-fvia-C'.

I also tried downloading the current version of
ghc-asm.lprl from the CVS repository and using that;
still get the same errors.
Trac metadata
Trac field Value
Version 5.04.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Driver
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited by jenglish
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information