[GHC] #8974: 64 bit windows executable built with ghc-7.9.20140405+LLVM segfaults

GHC ghc-devs at haskell.org
Tue Oct 18 02:03:39 UTC 2016


#8974: 64 bit windows executable built with ghc-7.9.20140405+LLVM segfaults
------------------------------------+--------------------------------------
        Reporter:  awson            |                Owner:
            Type:  bug              |               Status:  new
        Priority:  high             |            Milestone:  8.0.1
       Component:  Compiler (LLVM)  |              Version:  7.9
      Resolution:                   |             Keywords:
Operating System:  Windows          |         Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash    |            Test Case:
      Blocked By:                   |             Blocking:
 Related Tickets:                   |  Differential Rev(s):
       Wiki Page:                   |
------------------------------------+--------------------------------------

Comment (by GordonBGood):

 Replying to [comment:51 awson]:
 > Weird. No problems with this also. I tried to increase `range` to
 `10000000` (10 millions), no problems either.

 When it works, the program will output the number of primes up to
 trillions if you give it enough time, but this simple version works best
 for ranges up to about 16 billion ;)

 > And yes, I mean 64-bit GHCs only.

 Well, it's not too much of a problem if it is fixed in HEAD as 8.2.1 will
 take care of it, but we need to verify that 8.0.1 standard has the problem
 on your Windows machine and I need to verify that HEAD fixes the problem
 on mine.

 Any suggestions on how to get a development release for Windows 64-bit
 that you show as working without going through hoops to compile it on my
 machine?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8974#comment:52>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list