[GHC] #709: "Fixup too large" error with -fasm on PowerPC
GHC
cvs-ghc at haskell.org
Tue Dec 4 10:03:31 CET 2012
#709: "Fixup too large" error with -fasm on PowerPC
----------------------------------+-----------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: patch
Priority: low | Milestone: 6.8.1
Component: Compiler (NCG) | Version: 7.7
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: powerpc
Failure: Building GHC failed | Difficulty: Moderate (less than a day)
Testcase: | Blockedby:
Blocking: | Related:
----------------------------------+-----------------------------------------
Comment(by simonmar):
Hmm, this is an unpleasant bit of code :-) hardcoded constants and
guesses everywhere.
Could we not use something better than a hardcoded "5" for the info table
size? We know the size of the info table for a continuation:
`sizeof(StgRetInfoTable)`, and add to that the maximum offset due to
alignment.
You could also do better than `length blocks`: the actual number of info
tables is available.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/709#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list