Ticket #2323 (closed bug: worksforme)
Segfaulting binary only with modules
| Reported by: | yrn1 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.10.1 |
| Component: | Compiler | Version: | 6.8.2 |
| Keywords: | Cc: | ||
| Operating System: | MacOS X | Architecture: | powerpc |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
tgz with 2 files attached: Math.hs and Main.hs. Math.hs contains some utility functions and Main.hs uses them. When compiling this (ghc --make Main) and running ./Main, it segfaults. But when putting everything from Math.hs in Main.hs (and hence eliminating the Math module) and compiling again, it does not segfault.
Note removing that the PRAGMA's in the Math.hs file does not change this behaviour.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

