#7407: error: expected ';' before 'else'
--------------------------------+-------------------------------------------
Reporter:  erikd                |          Owner:                  
    Type:  bug                  |         Status:  new             
Priority:  normal               |      Component:  Compiler        
 Version:  7.7                  |       Keywords:                  
      Os:  Linux                |   Architecture:  Unknown/Multiple
 Failure:  Building GHC failed  |      Blockedby:                  
Blocking:                       |        Related:                  
--------------------------------+-------------------------------------------
 Building git HEAD on linux-ppc64 (don't think the platform is relevant
 other than ppc64 being un-registered) and get:

 {{{
 "inplace/bin/ghc-stage1" -static  -H32m -O -Werror -Wall -H64m -O0   \
  -package-name ghc-prim-0.3.0.0 -hide-all-packages -i -ilibraries/ghc-
 prim/. \
  -ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-
 install/build/autogen \
  -Ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-
 install/build/autogen \
  -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-
 install/build/autogen \
  /cabal_macros.h -package rts-1.0  -package-name ghc-prim -XHaskell98
 -XCPP -XMagicHash \
  -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples
 -XEmptyDataDecls \
  -XNoImplicitPrelude -O2 -O -dcore-lint -fno-warn-deprecated-flags  -no-
 user-package-db \
  -rtsopts      -odir libraries/ghc-prim/dist-install/build -hidir
 libraries/ghc-prim/dist- \
  install/build -stubdir libraries/ghc-prim/dist-install/build -hisuf hi
 -osuf  o -hcsuf hc -c \
  libraries/ghc-prim/./GHC/Types.hs -o libraries/ghc-prim/dist-
 install/build/GHC/Types.o \
  /tmp/ghc27944_0/ghc27944_0.hc: In function
 'ghczmprim_GHCziTypes_Czh_entry':

 /tmp/ghc27944_0/ghc27944_0.hc:26:41:
      error: expected ';' before 'else'
 /tmp/ghc27944_0/ghc27944_0.hc: In function
 'ghczmprim_GHCziTypes_Dzh_entry':

 /tmp/ghc27944_0/ghc27944_0.hc:58:41:
      error: expected ';' before 'else'
 /tmp/ghc27944_0/ghc27944_0.hc: In function
 'ghczmprim_GHCziTypes_Fzh_entry':

 /tmp/ghc27944_0/ghc27944_0.hc:90:41:
      error: expected ';' before 'else'
 /tmp/ghc27944_0/ghc27944_0.hc: In function
 'ghczmprim_GHCziTypes_Izh_entry':

 /tmp/ghc27944_0/ghc27944_0.hc:120:41:
      error: expected ';' before 'else'
 /tmp/ghc27944_0/ghc27944_0.hc: In function
 'ghczmprim_GHCziTypes_ZC_entry':

 /tmp/ghc27944_0/ghc27944_0.hc:154:41:
      error: expected ';' before 'else'
 /tmp/ghc27944_0/ghc27944_0.hc: In function
 'ghczmprim_GHCziTypes_Eqzh_entry':

 /tmp/ghc27944_0/ghc27944_0.hc:197:41:
      error: expected ';' before 'else'
 /tmp/ghc27944_0/ghc27944_0.hc: In function
 'ghczmprim_GHCziTypes_Wzh_entry':

 /tmp/ghc27944_0/ghc27944_0.hc:225:41:
      error: expected ';' before 'else'
 }}}

 gcc version is 4.6.3 from Debian.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to