#1150: Build Error on ia64
--------------------------+-------------------------------------------------
Reporter: sim | Owner:
Type: bug | Status: new
Priority: normal | Milestone: _|_
Component: Build System | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: ia64
Os: Linux |
--------------------------+-------------------------------------------------
Comment (by heatsink):
I got ghc 6.6 to build with gcc 3.2 and a hacked-together version of ghc
6.4.2 as the bootstrap compiler. The attached patch to the mangler gets
rid of all prologue junk/epilogue junk warnings. The compiler does not
produce working binaries, so don't trust what I've done yet.
Changes:
* The mangler no longer assumes the epilogue is the last code in the
function. GCC 3.2 sometimes puts rarely-executed code after the epilogue.
The mangler shouldn't be messing with non-epilogue code.
* Removal of nop instructions, more bundling directives, `proc`, `body`,
`endp` directives.
* Removal of FP spill code. This isn't quite good because it will
clobber floating-point registers in the caller, but it works for most
purposes because FP registers aren't used much. (That was also done in my
6.4.2 build.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1150>
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