#681067 xmonad: fails to compile config file with gold

Package:
xmonad
Source:
xmonad
Description:
Lightweight X11 window manager written in Haskell
Submitter:
Albin Stjerna
Date:
2012-12-13 05:45:06 UTC
Severity:
normal
#681067#5
Date:
2012-07-10 11:57:25 UTC
From:
To:
Package: xmonad
Version: 0.10-4+b2
Severity: normal

Dear Maintainer,
Since a recent update, xmonad won't compile its xmonad.hs. The problem seems to be with the Gold linker, because I get the following error:

Error detected while loading xmonad configuration file: /home/albin/.xmonad/xmonad.hs
/usr/bin/ld.gold.real: --hash-size=31: unknown option
/usr/bin/ld.gold.real: use the --help option for usage information
collect2: error: ld returned 1 exit status

Apparently, there's a problem with the --hash-size switch. I guess this is because my Gold version is too old, but any workaround while the newer version of Gold makes its way to the wheezy repositories would be much welcomed.

Thanks in advance,
  Albin

#681067#10
Date:
2012-07-10 19:54:36 UTC
From:
To:
Dear Albin,

Am Dienstag, den 10.07.2012, 13:57 +0200 schrieb Albin Stjerna:

it’s not actually problem in xmonad but rather a problem with ghc, see
#673081. I am marking this bug as blocked by the other.

Removing  binutils-gold is probably a work-around for the issue.

Greetings,
Joachim

#681067#17
Date:
2012-07-11 06:41:30 UTC
From:
To:
Joachim Breitner wrote:

Thanks, that seems to have worked for me.