[GHC] #8148: ./configure IGNORES --with-gcc=gcc-4.8, can't build head on os x 10.8 with xcode 5 installed

GHC ghc-devs at haskell.org
Fri Aug 23 04:22:33 UTC 2013


#8148: ./configure  IGNORES --with-gcc=gcc-4.8, can't build head on os x 10.8 with
xcode 5 installed
---------------------------------+----------------------------------
        Reporter:  carter        |            Owner:
            Type:  bug           |           Status:  new
        Priority:  highest       |        Milestone:  7.8.1
       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:
---------------------------------+----------------------------------

Comment (by carter):

 many of the "stderr outputs different from expected" were

 {{{
 +clang: warning: argument unused during compilation: '-nodefaultlibs'
 }}}

 some GHC panics were the following

 {{{
 =====> 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/8148#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler




More information about the ghc-tickets mailing list