#1845: unconditional relative branch out of range (GHC version 6.8.1-6.10.4 for
powerpc_apple_darwin)
-------------------------+--------------------------------------------------
Reporter: guest | Owner: thorkilnaur
Type: bug | Status: patch
Priority: normal | Milestone: _|_
Component: Compiler | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty: Unknown
Os: MacOS X | Blocking:
Architecture: powerpc | Failure: Compile-time crash
-------------------------+--------------------------------------------------
Changes (by PHO):
* status: new => patch
* version: 6.10.4 => 7.1
Comment:
I can reproduce this bug on the darcs HEAD. Applying the attached patch
could solve this.
{{{
2 patches for repository http://darcs.haskell.org/ghc:
Tue Sep 28 07:41:45 JST 2010 [email protected]
* New member "archiveMemberName" for struct _ObjectCode
struct _ObjectCode should be able to retain the name of archive members.
Though currently the only use of those names are for debugging outputs.
Tue Sep 28 22:25:59 JST 2010 [email protected]
* FIX #1845 (unconditional relative branch out of range)
Don't use mmap on powerpc-apple-darwin as mmap doesn't support
reallocating but we need to allocate jump islands just after each
object images. Otherwise relative branches to jump islands can fail
due to 24-bits displacement overflow.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1845#comment:19>
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