<div dir="ltr">Hi guys,<div><br></div><div>I have been trying to compile a 32-bit version ghc, versions 7.8 as well as HEAD, in a myriad of ways, bootstrapping with the 32-bit binary of 7.4 (which is the latest 32-bit binary available from <a href="http://haskell.org">haskell.org</a>), but no matter which way I try, it always fails somewhere. </div>
<div><br></div><div>I was trying this mostly just because I wanted to inspect the output of the code generator, but 32-bit OSX is listed as a tier 1 platform on <a href="https://ghc.haskell.org/trac/ghc/wiki/Platforms">https://ghc.haskell.org/trac/ghc/wiki/Platforms</a>, so I expected this to be simple. Compiling normally (build flavour quick) eventually fails with a bus error, which somebody else seems to have got too -- although I have no idea who or what there were trying to do; I just found</div>
<div><br></div><div><a href="http://lpaste.net/99008">http://lpaste.net/99008</a><br></div><div><br></div><div>When I try to build with the quick-cross flavour, but using -fasm rather than -fllvm, for some reason building fails when it tries to call ghc-stage2; the quick-cross flavour sets Stage1Only = YES so this seems a bug to me. When using -fllvm it fails even sooner. </div>
<div><br></div><div>I don't know if I'm doing this wrong, if I should file a bug, or whether we should record 32-bit OSX as unsupported.</div><div><br></div><div>Edsko<br></div></div>