
On 24/01/13 16:58, Nathan Hüsken wrote:
On 01/24/2013 04:50 PM, Stephen Paul Weber wrote:
Somebody claiming to be Nathan Hüsken wrote:
On 01/24/2013 04:28 PM, Stephen Paul Weber wrote:
Do you think it is specifically the 3.2 that made it work? Yes. With llvm version 3.1 I was only able to get an unregisterised build to work. http://hackage.haskell.org/trac/ghc/attachment/ticket/7621/unregistered-arm-...
?
Not exactly, see the patch here: http://www.haskell.org/pipermail/ghc-devs/2013-January/000118.html and the changes to compiler/llvmGen/LlvmCodeGen/Ppr.hs
Oh, man, the fact that I don't have that setting for QNX is probably not doing me any favours...
How the heck am I supposed to figure out what that string should be? :(
Do you mean the data layout? Actually, I have to admit I just copied it from arm linux.
That said... how did you get an unregisterised build to work with an LLVM backend? Everything I've seen in the code implied that the moment you are unregisteried, it uses via-C... Which is what my above patch is primarily about.
I ... it just worked :). I passed --enable-unregistered to configure and that did the trick. During building it always said "via-C", but it worked.
You're not using LLVM, due to #7622. I'll push the trivial patch to fix that as soon as it has validated here. Cheers, Simon