You're building LLVM with llvm-gcc. I don't know if this will work.
Laurent
On Feb 2, 2010, at 4:46 PM, Jordan Breeding wrote:
LLVM version:
Path: .
URL: https://llvm.org/svn/llvm-project/llvm/trunk
Repository Root: https://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 89156
Node Kind: directory
Schedule: normal
Last Changed Author: dpatel
Last Changed Rev: 89156
Last Changed Date: 2009-11-17 16:39:08 -0600 (Tue, 17 Nov 2009)
I have tried building with a regular svn checkout, an archive
created from git (through git-svn and `git svn find-rev`), and an
archive created from the git repo on repo.or.cz (with the hash that
matches the svn revision). Each time I get this error:
llvm[2]: Compiling BlockProfiling.c for Release build (bytecode)
/usr/bin/llvm-gcc -I/private/tmp/llvm-trunk/include -I/private/tmp/
llvm-trunk/runtime/libprofile -I/tmp/llvm-trunk/include -I/tmp/llvm-
trunk/runtime/libprofile -D_DEBUG -D_GNU_SOURCE -
D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fno-common -
mmacosx-version-min=10.6 -pedantic -Wno-long-long -Wall -W -Wno-
unused-parameter -Wwrite-strings -arch i386 -arch x86_64
BlockProfiling.c -o /private/tmp/llvm-trunk/runtime/libprofile/
Release/BlockProfiling.ll -S -emit-llvm
llvm-gcc-4.2: -E, -S, -save-temps and -M options are not allowed
with multiple -arch flags
make[2]: *** [/private/tmp/llvm-trunk/runtime/libprofile/Release/
BasicBlockTracing.ll] Error 1
make[2]: *** Waiting for unfinished jobs....
llvm-gcc-4.2: -E, -S, -save-temps and -M options are not allowed
with multiple -arch flags
make[2]: *** [/private/tmp/llvm-trunk/runtime/libprofile/Release/
BlockProfiling.ll] Error 1
make[1]: *** [libprofile/.makeall] Error 2
make: *** [all] Error 1
I know what the error is in general, but short of just building for
x86_64, has anyone figured out a way to get the new LLVM revision
building? Are the instructions in the README for MacRuby working for
other people still?
Thanks,
Jordan
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel