[MacRuby-devel] Error building new LLVM revision

Jordan Breeding jordan.breeding at me.com
Tue Feb 2 16:46:03 PST 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3842 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100202/a3b781ec/attachment.bin>


More information about the MacRuby-devel mailing list