[GHC] #10286: native code generator: GHC crash at GHC.Prim SIMD vector

GHC ghc-devs at haskell.org
Fri Apr 10 18:31:05 UTC 2015


#10286: native code generator: GHC crash at GHC.Prim SIMD vector
-------------------------------------+-------------------------------------
              Reporter:  hkanai      |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.10.1
              Keywords:              |  Operating System:  Linux
          Architecture:  x86_64      |   Type of failure:  Compile-time
  (amd64)                            |  crash
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 When compiling attached source file, GHC panics. The following is the
 error message.

 {{{
 $ ghc -Wall Vec3.hs
 [1 of 1] Compiling Data.Vector.Vec3 ( Vec3.hs, Vec3.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.1 for x86_64-unknown-linux):
         Size.intSize W256

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

 Currently native code generator does not support SIMD operations, and my
 computer does not support AVX instructions. Therefore ghc cannot compile
 the source at any case. So I think this bug is not so important.

 My system environment.
 {{{
 $ uname -a
 Linux think 3.19.2-1-ARCH #1 SMP PREEMPT Wed Mar 18 16:21:02 CET 2015
 x86_64 GNU/Linux

 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.10.1

 $ cat /proc/cpuinfo
 processor       : 0
 vendor_id       : GenuineIntel
 cpu family      : 6
 model           : 23
 model name      : Intel(R) Core(TM)2 Duo CPU     L9300  @ 1.60GHz
 stepping        : 6
 microcode       : 0x60c
 cpu MHz         : 1601.000
 cache size      : 6144 KB
 physical id     : 0
 siblings        : 2
 core id         : 0
 cpu cores       : 2
 apicid          : 0
 initial apicid  : 0
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 10
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
 lm constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor
 ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida dtherm
 tpr_shadow vnmi flexpriority
 bugs            :
 bogomips        : 3193.86
 clflush size    : 64
 cache_alignment : 64
 address sizes   : 36 bits physical, 48 bits virtual
 power management:

 processor       : 1
 vendor_id       : GenuineIntel
 cpu family      : 6
 model           : 23
 model name      : Intel(R) Core(TM)2 Duo CPU     L9300  @ 1.60GHz
 stepping        : 6
 microcode       : 0x60c
 cpu MHz         : 1601.000
 cache size      : 6144 KB
 physical id     : 0
 siblings        : 2
 core id         : 1
 cpu cores       : 2
 apicid          : 1
 initial apicid  : 1
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 10
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
 lm constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor
 ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida dtherm
 tpr_shadow vnmi flexpriority
 bugs            :
 bogomips        : 3193.86
 clflush size    : 64
 cache_alignment : 64
 address sizes   : 36 bits physical, 48 bits virtual
 power management:
 }}}

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


More information about the ghc-tickets mailing list