FS#31288 - [xmonad] eats up battery
Attached to Project:
Community Packages
Opened by Edward O'Callaghan (evocallaghan) - Sunday, 26 August 2012, 10:39 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 03 January 2013, 14:53 GMT
Opened by Edward O'Callaghan (evocallaghan) - Sunday, 26 August 2012, 10:39 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 03 January 2013, 14:53 GMT
|
Details
Thread-using code built with current ghc's non-threaded
runtime spins.
Description: XMonad is coming up top on powertop. After some investigation it seems to be a ghc bug. The report does suggest to rebuild XMonad with different compiler switches, i.e. "If we're going to ship this GHC, then this bug should at least be cloned to xmonad and it made to build with -threaded. That seems to work well for me." Additional info: [edward@dexter ~]$ xmonad --version xmonad 0.10 [edward@dexter ~]$ ghc -v Glasgow Haskell Compiler, Version 7.4.2, stage 2 booted by GHC version 7.4.1 Using binary package database: /usr/lib/ghc-7.4.2/package.conf.d/package.cache wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-7d3c2c69a5e8257a04b2c679c40e2fa7 wired-in package integer-gmp mapped to integer-gmp-0.4.0.0-af3a28fdc4138858e0c7c5ecc2a64f43 wired-in package base mapped to base-4.5.1.0-6e4c9bdc36eeb9121f27ccbbcb62e3f3 wired-in package rts mapped to builtin_rts wired-in package template-haskell mapped to template-haskell-2.7.0.0-2bd128e15c2d50997ec26a1eaf8b23bf wired-in package dph-seq not found. wired-in package dph-par not found. Hsc static flags: -static *** Deleting temp files: Deleting: *** Deleting temp dirs: Deleting: ghc: no input files Usage: For basic information, try the `--help' option. Background: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677096 |
This task depends upon
Closed by Jelle van der Waa (jelly)
Thursday, 03 January 2013, 14:53 GMT
Reason for closing: Fixed
Additional comments about closing: fixed with the new release of 0.11
Thursday, 03 January 2013, 14:53 GMT
Reason for closing: Fixed
Additional comments about closing: fixed with the new release of 0.11
ghc --make -threaded xmonad.hs -i -ilib -fforce-recomp -o xmonad-x86_64-linux
That worked I believe. Could this be applied to the package or a note added perhaps?
which is the bug report for this in ghc, it seems that the patch will be included in 7.6.2 so hang tight until the next release
I just updated today to the lastest Xmonad and all _seems_ to be well in powertop.
xmobar still seems to be pretty high, should I report a bug on that also? How did
you investigate this issue?
Kind regards,
Edward.
Thanks dude! I opened the isse
FS#33277Glad we use the same software and care about its detail of correctness!
Cheers,
Edward.