[GHC] #7655: 7.6.2 Segmentation Fault/Bus Error in large exponentation

GHC ghc-devs at haskell.org
Sat Mar 29 00:43:25 UTC 2014


#7655: 7.6.2 Segmentation Fault/Bus Error in large exponentation
-------------------------------+----------------------------------
        Reporter:  Doug310     |            Owner:
            Type:  bug         |           Status:  new
        Priority:  normal      |        Milestone:  7.8.2
       Component:  GHCi        |          Version:  7.8.1-rc1
      Resolution:              |         Keywords:  exponentiation
Operating System:  MacOS X     |     Architecture:  x86_64 (amd64)
 Type of failure:  GHCi crash  |       Difficulty:  Unknown
       Test Case:              |       Blocked By:
        Blocking:              |  Related Tickets:
-------------------------------+----------------------------------

Comment (by George):

 I can no longer reproduce this using 7.8rc2. I believe I am using a real
 gcc and perhaps was before.

  gcc --version
 gcc (GCC) 4.8.2
 Copyright (C) 2013 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 bash-3.2$

  ghc --info
  [("Project name","The Glorious Glasgow Haskell Compilation System")
  ,("GCC extra via C opts"," -fwrapv")
  ,("C compiler command","/usr/local/bin/gcc")
  ,("C compiler flags"," -m64 -fno-stack-protector")
  ,("C compiler link flags"," -m64")
  ,("ld command","/usr/bin/ld")
  ,("ld flags"," -arch x86_64")
  ,("ld supports compact unwind","YES")
  ,("ld supports build-id","NO")
  ,("ld supports filelist","YES")
  ,("ld is GNU ld","NO")
  ,("ar command","/usr/bin/ar")
  ,("ar flags","clqs")
  ,("ar supports at file","NO")
  ,("touch command","touch")
  ,("dllwrap command","/bin/false")
  ,("windres command","/bin/false")
  ,("libtool command","libtool")
  ,("perl command","/usr/bin/perl")
  ,("target os","OSDarwin")
  ,("target arch","ArchX86_64")
  ,("target word size","8")
  ,("target has GNU nonexec stack","False")
  ,("target has .ident directive","True")
  ,("target has subsections via symbols","True")
  ,("Unregisterised","NO")
  ,("LLVM llc command","llc")
  ,("LLVM opt command","opt")
  ,("Project version","7.8.0.20140228")
  ,("Booter version","7.6.3")
  ,("Stage","2")
  ,("Build platform","x86_64-apple-darwin")
  ,("Host platform","x86_64-apple-darwin")
  ,("Target platform","x86_64-apple-darwin")
  ,("Have interpreter","YES")
  ,("Object splitting supported","YES")
  ,("Have native code generator","YES")
  ,("Support SMP","YES")
  ,("Tables next to code","YES")
  ,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn
 thr_debug_dyn l_dyn thr_l_dyn")
  ,("Support dynamic-too","YES")
  ,("Support parallel --make","YES")
  ,("Dynamic by default","NO")
  ,("GHC Dynamic","YES")
  ,("Leading underscore","YES")
  ,("Debug on","False")
  ,("LibDir","/usr/local/lib/ghc-7.8.0.20140228")
  ,("Global Package DB","/usr/local/lib/ghc-7.8.0.20140228/package.conf.d")
  ]

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


More information about the ghc-tickets mailing list