[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ghc-options: -threaded breaks some arches



Hi,

Am Sonntag, den 16.08.2009, 17:47 +0100 schrieb Neil Mitchell: 
> > trying to build hlint does not work on some architectures (at least
> > alpha, s390, mips) where no threaded RTS is available. An example build
> > log is available at
> > http://buildd.debian.org/build.php?arch=alpha&pkg=hlint&ver=1.6.4-1
> >
> > This is caused by
> >        ghc-options:        -fno-warn-overlapping-patterns -threaded
> > in your hlint.cabal file.
> > [..]
> > If not, would it be possible to make this option dependent
> > on the availability of a threaded RTS (either by direct support in cabal
> > for checking it, similar to os(..) checks, or by passing a "-fthreaded"
> > flag to setup configure)?
>
> Yes, of course. What suits you? Any os checks would go wrong, so an
> -fnothreaded flag seems sensible? I'd still like threading to be the
> default.

that would be a start, thanks.

Of course I’d prefer if cabal had automatic support for this. I guess is
does not ATM, so for now the flag is ok, and I’m hereby telling the
Cabal people about this :-)

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: