[Hackage] #461: "ghc-options: -O0" causes upload error;
blocks xmonad-contrib release
Hackage
trac at galois.com
Sun Jan 18 03:36:08 EST 2009
#461: "ghc-options: -O0" causes upload error; blocks xmonad-contrib release
--------------------------------+-------------------------------------------
Reporter: sjanssen | Owner:
Type: defect | Status: new
Priority: normal | Milestone: HackageDB
Component: hackageDB website | Version:
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.3
Platform: |
--------------------------------+-------------------------------------------
When attempting to upload [http://code.haskell.org/~sjanssen/xmonad-
contrib-0.8.1.tar.gz xmonad-contrib-0.8.1] to Hackage:
{{{
400 Error in upload
'ghc-options: -O0' is not needed. Use the --disable-optimization configure
flag.
}}}
xmonad-contrib.cabal has the following:
{{{
if impl (ghc >= 6.10.1) && arch (x86_64)
ghc-options: -O0
}}}
This is a workaround for GHC bug
http://hackage.haskell.org/trac/ghc/ticket/2961 . If we do not disable
optimizations on x86_64 and GHC 6.10.1, our users experience lockups and
crashes. This is rather critical for us, as we are now unable to release
a stable version of xmonad.
This error should be changed to a strong warning -- sometimes the package
author really does know better than the package manager.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/461>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list