[MacRuby-devel] [MacRuby] #399: Building MacRuby HEAD with llvm trunk r82747 fails at dispatcher.cpp
MacRuby
ruby-noreply at macosforge.org
Fri Oct 23 11:10:57 PDT 2009
#399: Building MacRuby HEAD with llvm trunk r82747 fails at dispatcher.cpp
-----------------------------------+----------------------------------------
Reporter: nagachika00@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
-----------------------------------+----------------------------------------
Hi all. I was try to re-build MacRuby HEAD with llvm trunk r82747 on Mac
OS X 10.6.1 and it fails at compiling dispatcher.cpp.
With environment variable allow_build_warnings=1, the warnings are ignored
and I could get macruby executable, but isn't there any problems?
When I try to build macruby at Oct. 1, it success without
allow_build_warnings=1.
My command-lines are as follows.
{{{
(for llvm)
$ svn up -r 82747 llvm-trunk
$ cd llvm-trunk
$ ./configure --prefix=~/opt/llvm
$ UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 make -j2
$ UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 make install
}}}
{{{
$ cd MacRuby-0.5
$ git pull
$ git log -1
commit 323fd75841aa672659e87feb577c6cc93fd085eb
Author: lsansonetti at apple.com <lsansonetti at apple.com@23306eb0-4c56-4727
-a40e-e92c0eb68959>
Date: Fri Oct 23 00:59:10 2009 +0000
unrelease parser nodes post execution
git-svn-id:
http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2886
23306eb0-4c56-4727-a40e-e92c0eb68959
$ rake clean
$ rake
:
/usr/bin/g++ -I/Users/nagachika/opt/llvm/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common
-Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64
-Wno-parentheses -Wno-deprecated-declarations -Werror -Winline --param
inline-unit-growth=10000 --param large-function-growth=10000 -x
objective-c++ -c dispatcher.cpp -o dispatcher.o
cc1objplus: warnings being treated as errors
In file included from
/Users/nagachika/opt/llvm/include/llvm/Metadata.h:20,
from /Users/nagachika/opt/llvm/include/llvm/Module.h:21,
from llvm.h:7,
from dispatcher.cpp:9:
/Users/nagachika/opt/llvm/include/llvm/Type.h:417: warning: ‘void
llvm::PATypeHandle::addUser()’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:95: warning:
previous non-inline declaration here
/Users/nagachika/opt/llvm/include/llvm/Type.h:422: warning: ‘void
llvm::PATypeHandle::removeUser()’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:96: warning:
previous non-inline declaration here
/Users/nagachika/opt/llvm/include/llvm/Type.h:434: warning: ‘llvm::Type*
llvm::PATypeHolder::get() const’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:159: warning:
previous non-inline declaration here
/Users/nagachika/opt/llvm/include/llvm/Type.h:440: warning: ‘void
llvm::PATypeHolder::addRef()’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:182: warning:
previous non-inline declaration here
/Users/nagachika/opt/llvm/include/llvm/Type.h:446: warning: ‘void
llvm::PATypeHolder::dropRef()’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:183: warning:
previous non-inline declaration here
cc1objplus: warnings being treated as errors
In file included from
/Users/nagachika/opt/llvm/include/llvm/Metadata.h:20,
from /Users/nagachika/opt/llvm/include/llvm/Module.h:21,
from llvm.h:7,
from dispatcher.cpp:9:
/Users/nagachika/opt/llvm/include/llvm/Type.h:417: warning: ‘void
llvm::PATypeHandle::addUser()’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:95: warning:
previous non-inline declaration here
/Users/nagachika/opt/llvm/include/llvm/Type.h:422: warning: ‘void
llvm::PATypeHandle::removeUser()’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:96: warning:
previous non-inline declaration here
/Users/nagachika/opt/llvm/include/llvm/Type.h:434: warning: ‘llvm::Type*
llvm::PATypeHolder::get() const’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:159: warning:
previous non-inline declaration here
/Users/nagachika/opt/llvm/include/llvm/Type.h:440: warning: ‘void
llvm::PATypeHolder::addRef()’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:182: warning:
previous non-inline declaration here
/Users/nagachika/opt/llvm/include/llvm/Type.h:446: warning: ‘void
llvm::PATypeHolder::dropRef()’ was used before it was declared inline
/Users/nagachika/opt/llvm/include/llvm/AbstractTypeUser.h:183: warning:
previous non-inline declaration here
lipo: can't figure out the architecture type of:
/var/folders/wg/wgLu2nI8HSa1xstYc+L5Jk+++TI/-Tmp-//ccf0vjOF.out
rake aborted!
Command failed with status (1): [/usr/bin/g++
-I/Users/nagachika/opt/llvm/i...]
(See full trace by running task with --trace)
}}}
Toolchain information is as below.
{{{
$ g++ --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/399>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list