#3817: mangler fails with gcc-4.3.x and gcc-4.1.2 on sparc; suggest disabling
-fvia-C
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: low | Milestone: 6.12.2
Component: Driver | Version: 6.12.1
Keywords: | Difficulty: Easy (less than 1 hour)
Os: Unknown/Multiple | Testcase:
Architecture: sparc | Failure: Runtime crash
---------------------------------+------------------------------------------
Comment(by benl):
The mangler also fails with GCC 4.1.2 on {{{integer-gmp/cbits/gmp-
wrappers.cmm}}}, probably because it's hand written cmm code and not
produced by GHC proper.
At this point in time, we have a working GHC 6.10.1 binary distro, with a
broken {{{-fasm}}} and the head with a broken {{{-fvia-c}}}. Bootstrapping
the head with 6.10.1 requires the following carefully staged build
options:
{{{
SRC_HC_OPTS = -O0 -fvia-c -H64m
GhcStage1HcOpts = -O
GhcStage2HcOpts = -O0 -fasm
GhcHcOpts = -Rghc-timing
GhcLibHcOpts = -O0 -fasm -XGenerics
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3817#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs