Ticket #1843 (closed bug: fixed)
ghc 6.8.1 broken on Mac OS X Leopard PPC
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 6.8.2 |
| Component: | Compiler | Version: | 6.8.1 |
| Keywords: | Cc: | alfonso.acosta@… | |
| Operating System: | MacOS X | Architecture: | powerpc |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
File fail.hs:
import Data.Word import Data.Binary.Put import qualified Data.ByteString.Lazy as B main = B.putStrLn (runPut (putWord8 0x32))
nick@frost ~/P/growlnet> ghc -o fail fail.hs --make -O ; ./fail Linking fail ... unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 unknown scattered relocation type 4 fish: Job 1, “./fail” terminated by signal SIGSEGV (Address boundary error)
(note, 'fish' is the shell I use... http://fishshell.org/)
Also fails without -O, with -fasm, and with -fvia-c
The GHC I'm using was built by scsibug, available at http://scsibug.com/
on #haskell, everyone else reports that this code works correctly for them (different architectures)
-Nick Burlett nickburlett@…
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

