Yeah, I haven't even gotten to the point where I would be building MacRuby, although I already removed it. I was thinking about removing llvm, but it is just in /usr/local and a separate copy (for clang) in /opt/llvm. Neither one of those is getting picked up, this is the one getting picked up: 241 jordan@thetourist /usr/bin > ls -al llvm-gcc lrwxr-xr-x 1 root admin 32B Jan 27 19:46 llvm-gcc@ -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2 244 jordan@thetourist /usr/bin > ls -al /usr/bin/{clang,gcc*,llvm-gcc*} -rwxrwxr-x 1 root admin 819K Jan 9 23:04 /usr/bin/clang* lrwxr-xr-x 1 root wheel 7B Jan 27 19:46 /usr/bin/gcc@ -> gcc-4.2 -rwxr-xr-x 1 root wheel 95K Nov 25 06:47 /usr/bin/gcc-4.0* -rwxr-xr-x 1 root wheel 162K Dec 22 22:12 /usr/bin/gcc-4.2* lrwxr-xr-x 1 root admin 32B Jan 27 19:46 /usr/bin/llvm-gcc@ -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2 lrwxr-xr-x 1 root admin 32B Jan 27 19:46 /usr/bin/llvm-gcc-4.2@ -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2 I have a feeling this might be from Xcode 3.2.2 which I have installed in /Developer-BETA. The Jan 27th date is in fact when I downloaded and installed Xcode 3.2.2. So the old instructions for this problem went something like "remove llvm-gcc from your path", but it looks like Apple is finally unifying where they put compilers, this is going to make it harder to keep the llvm build from using llvm-gcc though. On Feb 02, 2010, at 18:48, Matt Aimonetti wrote:
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@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@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