[MacRuby-devel] Error building new LLVM revision

Matt Aimonetti mattaimonetti at gmail.com
Tue Feb 2 16:48:34 PST 2010


I rm -rf my llvm repo and pulled again, also don't forget to rake clean
before building macruby.

- Matt

On Tue, Feb 2, 2010 at 4:46 PM, Jordan Breeding <jordan.breeding at me.com>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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100202/d2b1f1a1/attachment.html>


More information about the MacRuby-devel mailing list