[ ghc-Bugs-642810 ] Still fails to build with GCC 3.2 on Mandrake
noreply at sourceforge.net
noreply at sourceforge.net
Tue Nov 26 13:24:25 EST 2002
Bugs item #642810, was opened at 2002-11-23 10:51
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=642810&group_id=8032
Category: Driver
Group: 5.04.1
Status: Closed
Resolution: None
Priority: 5
Submitted By: Joe English (jenglish)
Assigned to: Nobody/Anonymous (nobody)
Summary: Still fails to build with GCC 3.2 on Mandrake
Initial Comment:
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, at 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.
----------------------------------------------------------------------
>Comment By: Joe English (jenglish)
Date: 2002-11-26 10:24
Message:
Logged In: YES
user_id=68433
Nope, that's not it either. Using ghc -O -v -pgmc "gcc-3.2
-march=i386 -mcpu=i386" gives the same result.
Back to the drawing board...
----------------------------------------------------------------------
Comment By: Joe English (jenglish)
Date: 2002-11-26 08:00
Message:
Logged In: YES
user_id=68433
Aha: Mandrake's GCC is configured to compile for i586,
while Redhat's is configured for i386.
I'll bet this is the source of the problem. Will
investigate further...
----------------------------------------------------------------------
Comment By: Simon Marlow (simonmar)
Date: 2002-11-26 02:48
Message:
Logged In: YES
user_id=48280
Mandrake shipped a broken GCC, it seems.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=642810&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list