Closed GoogleCodeExporter closed 8 years ago
Sorry, I can't seem to rename it, it's really a fault during map :)
Original comment by netgh...@gmail.com
on 5 Oct 2009 at 12:38
I suspect that this is a duplicate of issue #9, i.e., a miscompiled LLVM. Can
you
please provide information about how LLVM was configured, or what LLVM package
you
use on darwin?
Original comment by aggraef@gmail.com
on 5 Oct 2009 at 2:33
I used macports to install pure with the defaults:
* pure @0.35_0+macosx
* llvm @2.5_1
Here is the port file for llvm:
http://trac.macports.org/browser/trunk/dports/lang/llvm/Portfile
The two patches it lists don't seem to be anything major (just directory
locations).
Original comment by netgh...@gmail.com
on 5 Oct 2009 at 3:46
Well, the portfile looks more or less ok, but of course it depends on which
options
were actually used in the build. Try compiling LLVM yourself as described in
Pure's
INSTALL file or the wiki: http://code.google.com/p/pure-lang/wiki/GettingStarted
In particular, make sure that LLVM is configured with --enable-optimized
--disable-assertions --disable-expensive-checks --disable-pic (assuming that
you're
on a 32 bit system, otherwise --enable-pic will be needed). You can also speed
up
compilation of LLVM by adding --enable-targets=host-only, so that only the
backend
for your specific cpu will be built.
If that doesn't help either, please post the results of 'make check'.
Original comment by aggraef@gmail.com
on 6 Oct 2009 at 12:59
No response, so I'm closing this issue now.
Original comment by aggraef@gmail.com
on 17 Nov 2009 at 11:47
Original issue reported on code.google.com by
netgh...@gmail.com
on 5 Oct 2009 at 12:37