Opened 9 years ago

Closed 9 years ago

#4991 closed bug (worksforme)

base GHC/Conc/Sync causes build failure

Reported by: nsch Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 7.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

Current HEAD fails with:

"inplace/bin/ghc-stage1"   -H64m -O0 -fasm    -package-name base-4.3.1.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.2.0.0 -package integer-gmp-0.2.0.2 -package rts-1.0  -package-name base -XHaskell98 -O -fasm -no-user-package-conf -rtsopts     -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/base/./GHC/Conc/Sync.lhs -o libraries/base/dist-install/build/GHC/Conc/Sync.o

libraries/base/GHC/Conc/Sync.lhs:430:5:
    Couldn't match expected type `(# State# RealWorld, Int# #)'
                with actual type `(# t0, t1, t2, t3 #)'
    In the pattern: (# s', stat, _cap, _locked #)
    In a case alternative:
        (# s', stat, _cap, _locked #) -> (# s', mk_stat (I# stat) #)
    In the expression:
      case threadStatus# t s of {
        (# s', stat, _cap, _locked #) -> (# s', mk_stat (I# stat) #) }

libraries/base/GHC/Conc/Sync.lhs:451:6:
    Couldn't match expected type `(# State# RealWorld, Int# #)'
                with actual type `(# t0, t1, t2, t3 #)'
    In the pattern: (# s', _, cap#, locked# #)
    In a case alternative:
        (# s', _, cap#, locked# #) -> (# s', (I# cap#, locked# /=# 0#) #)
    In the expression:
      case threadStatus# t s of {
        (# s', _, cap#, locked# #) -> (# s', (I# cap#, locked# /=# 0#) #) }
make[1]: *** [libraries/base/dist-install/build/GHC/Conc/Sync.o] Error 1

Change History (1)

comment:1 Changed 9 years ago by nsch

Resolution: worksforme
Status: newclosed

Git repo messed it up, works fine with darcs. Sorry.

Note: See TracTickets for help on using tickets.