Opened 6 years ago

Closed 6 years ago

#8164 closed bug (fixed)

GHC HEAD panics in testsuite on OS X 10.8 with cc=Clang (using newest xcode 5 dev tools)

Reported by: carter Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.7
Keywords: Cc:
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by ezyang)

I got the following panics when I ran the GHC test suite per ticket #8148

(using xcode 5 CLI dev preview tools released as of august 21st on OS X 10.8)

=====> ghcilink003(normal) 889 of 3736 [8, 195, 0]
cd ./ghci/linking && $MAKE -s --no-print-directory ghcilink003    </dev/null >ghcilink003.run.stdout 2>ghcilink003.run.stderr
Wrong exit code (expected 0 , actual 2 )
Stdout:

Stderr:
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.7.20130822 for x86_64-apple-darwin):
	Loading archives not supported

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



=====> EnumFromToP(normal) 564 of 3736 [0, 82, 0]
cd ./dph/enumfromto && '/Users/carter/Desktop/repoScratcher/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c EnumFromToP.hs  -O -fno-enable-rewrite-rules -package dph-lifted-vseg  >EnumFromToP.comp.stderr 2>&1
Actual stderr output differs from expected:
--- /dev/null	2013-08-22 16:09:56.000000000 -0400
+++ ./dph/enumfromto/EnumFromToP.comp.stderr	2013-08-22 16:11:18.000000000 -0400
@@ -0,0 +1,6 @@
+ghc-stage2: panic! (the 'impossible' happened)
+  (GHC version 7.7.20130822 for x86_64-apple-darwin):
+	DsMonad: uninitialised ds_parr_bi
+
+Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug


=====> jmp_tbl(optasm) 102 of 3736 [0, 33, 0]
cd ./codeGen/should_compile && '/Users/carter/Desktop/repoScratcher/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c jmp_tbl.hs -O -fasm -fPIC -O  >jmp_tbl.comp.stderr 2>&1
Compile failed (status 256) errors were:
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.7.20130822 for x86_64-apple-darwin):
	allocateRegsAndSpill: Cannot read from uninitialized register
    %vI_c0

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


=====> T7574(hpc) 102 of 3736 [0, 33, 0]
cd ./codeGen/should_compile && '/Users/carter/Desktop/repoScratcher/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T7574.cmm -O -fhpc -hpcdir .hpc.T7574  -no-hs-main   >T7574.comp.stderr 2>&1
Compile failed (status 256) errors were:
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.7.20130822 for x86_64-apple-darwin):
	allocateRegsAndSpill: Cannot read from uninitialized register
    %vI_c0

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


=====> T7574(optasm) 102 of 3736 [0, 33, 0]
cd ./codeGen/should_compile && '/Users/carter/Desktop/repoScratcher/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T7574.cmm -O -fasm  -no-hs-main   >T7574.comp.stderr 2>&1
Compile failed (status 256) errors were:
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.7.20130822 for x86_64-apple-darwin):
	allocateRegsAndSpill: Cannot read from uninitialized register
    %vI_c0

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



=====> T7574(normal) 102 of 3736 [0, 2, 0]
cd ./codeGen/should_compile && '/Users/carter/Desktop/repoScratcher/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T7574.cmm   -no-hs-main   >T7574.comp.stderr 2>&1
Compile failed (status 256) errors were:
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.7.20130822 for x86_64-apple-darwin):
	allocateRegsAndSpill: Cannot read from uninitialized register
    %vI_c0

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

Change History (2)

comment:1 Changed 6 years ago by ezyang

Description: modified (diff)

comment:2 Changed 6 years ago by carter

Resolution: fixed
Status: newclosed

I think this is fixed, closing :)

Note: See TracTickets for help on using tickets.