[GHC] #8164: GHC HEAD panics in testsuite on OS X 10.8 with cc=Clang (using newest xcode 5 dev tools)
GHC
ghc-devs at haskell.org
Sat Aug 31 08:16:29 UTC 2013
#8164: GHC HEAD panics in testsuite on OS X 10.8 with cc=Clang (using newest
xcode 5 dev tools)
---------------------------------+----------------------------------
Reporter: carter | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: MacOS X | Architecture: x86_64 (amd64)
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
---------------------------------+----------------------------------
Description changed by ezyang:
Old description:
> 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
> }}
New description:
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
}}}
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8164#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list