<div dir="ltr">I opened a ticket a few days ago already <a href="https://ghc.haskell.org/trac/ghc/ticket/8991">https://ghc.haskell.org/trac/ghc/ticket/8991</a> but no answer. I guess it's difficult to reproduce.<div><br>
</div><div>In fact if I recompile HSE  using your same PKGBUILD, it works fine!</div><div>I'm using llvm-3.4-1 and glibc-2.19-3. I wonder what could be different between your build environment and mine.</div><div>Very strange!</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 26, 2014 at 9:19 AM, Magnus Therning <span dir="ltr"><<a href="mailto:magnus@therning.org" target="_blank">magnus@therning.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Apr 25, 2014 at 04:10:37PM +0200, Nicola Squartini wrote:<br>
> Hi,<br>
><br>
> I already mentioned this problem earlier on this mailing list, but now I<br>
> have some extra information.<br>
><br>
> It's the following (on GHCi):<br>
><br>
> Prelude> :m Language.Haskell.Exts<br>
> Prelude Language.Haskell.Exts> parseFileContents "main = putStrLn \"Hello<br>
> World\""<br>
> Loading package array-0.5.0.0 ... linking ... done.<br>
> Loading package filepath-1.3.0.2 ... linking ... done.<br>
> Loading package deepseq-1.3.0.2 ... linking ... done.<br>
> Loading package old-locale-1.0.0.6 ... linking ... done.<br>
> Loading package time-1.4.2 ... linking ... done.<br>
> Loading package bytestring-0.10.4.0 ... linking ... done.<br>
> Loading package unix-2.7.0.1 ... linking ... done.<br>
> Loading package directory-1.2.1.0 ... linking ... done.<br>
> Loading package old-time-1.1.0.2 ... linking ... done.<br>
> Loading package text-1.1.0.1 ... linking ... done.<br>
> Loading package polyparse-1.9 ... linking ... done.<br>
> Loading package cpphs-1.18.4 ... linking ... done.<br>
> Loading package pretty-1.1.1.1 ... linking ... done.<br>
> Loading package haskell-src-exts-1.15.0.1 ... linking ... done.<br>
> Illegal instruction (core dumped)<br>
><br>
><br>
> This affects everything that depends on haskell-src-exts, like hlint and<br>
> stylish-haskell.<br>
> The bug shows up only on my two AMD Athlon II X2 computers, but not on my<br>
> other Intel Sandybridge.<br>
><br>
> I think it is related to -fllvm flag because I didn't have this bug with<br>
> the 1.15.0 version, which didn't have the flag.<br>
><br>
> Can someone with similar AMD architecture try to replicate it, please?<br>
<br>
</div></div>Ouch!  The reason for using LLVM is this: <a href="http://ghc.haskell.org/trac/ghc/ticket/8768" target="_blank">http://ghc.haskell.org/trac/ghc/ticket/8768</a><br>
<br>
So you probably should raise this as a ticket against GHC.<br>
<br>
I hope the last comment on that ticket is correct and that it's fixed<br>
in 7.8.3.<br>
<span class="HOEnZb"><font color="#888888"><br>
/M<br>
<br>
--<br>
Magnus Therning                      OpenPGP: 0xAB4DFBA4<br>
email: <a href="mailto:magnus@therning.org">magnus@therning.org</a>   jabber: <a href="mailto:magnus@therning.org">magnus@therning.org</a><br>
twitter: magthe               <a href="http://therning.org/magnus" target="_blank">http://therning.org/magnus</a><br>
<br>
In a hierarchy, every employee tends to rise to his level of incompetence.<br>
     -- The Peter Principle<br>
</font></span><br>_______________________________________________<br>
arch-haskell mailing list<br>
<a href="mailto:arch-haskell@haskell.org">arch-haskell@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/arch-haskell" target="_blank">http://www.haskell.org/mailman/listinfo/arch-haskell</a><br>
<br></blockquote></div><br></div>