From owner-freebsd-current@FreeBSD.ORG Thu Apr 29 11:05:58 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E164A1065670 for ; Thu, 29 Apr 2010 11:05:58 +0000 (UTC) (envelope-from fluffy@freebsd.org) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id CF1178FC0A for ; Thu, 29 Apr 2010 11:05:57 +0000 (UTC) Received: from Fluffy.Khv.RU (85.9.168.188.retail.ttk.ru [188.168.9.85] (may be forged)) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id o3TB5oTS099673 for ; Thu, 29 Apr 2010 22:05:51 +1100 (VLAST) (envelope-from fluffy@freebsd.org) Received: from Fluffy.Khv.RU (fluffy@localhost [127.0.0.1]) by Fluffy.Khv.RU (8.14.4/8.14.4/Fluffy/5.4.1) with ESMTP id o3TB5UG9024529 for ; Thu, 29 Apr 2010 22:05:31 +1100 (VLAST) (envelope-from fluffy@freebsd.org) Received: (from fluffy@localhost) by Fluffy.Khv.RU (8.14.4/8.14.4/Submit) id o3TB5T4p024364 for freebsd-current@freebsd.org; Thu, 29 Apr 2010 22:05:29 +1100 (VLAST) (envelope-from fluffy@freebsd.org) From: Dima Panov Organization: The FreeBSD Project To: freebsd-current@freebsd.org Date: Thu, 29 Apr 2010 22:05:25 +1100 User-Agent: KMail/1.13.2 (FreeBSD/9.0-900010-CURRENT; KDE/4.4.2; amd64; ; ) References: <20100416160818.GA69460@freebsd.org> <20100428121637.GA61412@roberto-al.eurocontrol.fr> <201004290240.26848.fluffy@freebsd.org> In-Reply-To: <201004290240.26848.fluffy@freebsd.org> X-Face: "RE-2'yS-N:*/7DHOjQ%Az<.+SG>K7B'k(&; qb0K4]Hv>J}"l9,=:m2_]-3S/}`b\]yA-g !y3en*Zl(i-86iM?Q[w@!=rW&JdT>KHW@dri>+qMcy42O, 5#izEqa-K+=B<@A X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ns.ael.RU [62.76.207.226]); Thu, 29 Apr 2010 22:05:53 +1100 (VLAST) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Ruby w/clang (Was: Re: [CFT]: ClangBSD is selfhosting, we need testers now) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 11:05:59 -0000 On Thursday 29 April 2010 02:40:24 Dima Panov wrote: > On Wednesday 28 April 2010 23:16:38 Ollivier Robert wrote: > > According to Dima Panov: > > > while building lang/ruby18: > > Which options to you use? > > > > _OPTIONS_READ=ruby+oniguruma-1.8.7.248_1,1 > > WITHOUT_ONIGURUMA=true > > WITH_RDOC=true > > WITHOUT_DEBUG=true > > > > I notice your ruby is compiling w/o any -On, try with -O at least? > > same here. also on 1.8.7.249 snapshot. > > ar rcu libruby18-static.a array.o bignum.o class.o compar.o dir.o > dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o > io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o > prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o > string.o struct.o time.o util.o variable.o version.o dmyext.o > clang -I/usr/include -O2 -fno-strict-aliasing -pipe -std=gnu89 -fPIC > -DRUBY_EXPORT -I. -I. -I/usr/include -c main.c > clang -I/usr/include -O2 -fno-strict-aliasing -pipe -std=gnu89 -fPIC > -DRUBY_EXPORT -L. -rpath=/usr/lib:/usr/local/lib -pthread -rdynamic > -pthread main.o libruby18-static.a - lrt -lcrypt -lm -L/usr/lib > -rpath=/usr/lib:/usr/local/lib -pthread -o miniruby > ./lib/fileutils.rb:1437: [BUG] unexpected local variable assignment ruby > 1.8.7 (2010-01-10 patchlevel 249) [amd64-freebsd9] > > *** Signal 6 > > Stop in /tmp/usr/ports/lang/ruby18/work/ruby-1.8.7-p249. > *** Error code 1 > > > _OPTIONS_READ=ruby-1.8.7.249,1 > WITHOUT_ONIGURUMA=true > WITH_RDOC=true > WITHOUT_DEBUG=true > > > > clang -I/usr/include -pipe -g -g -std=gnu89 -fPIC -DRUBY_EXPORT -I. > > > -I. -I/usr/include -c main.c > > > clang -I/usr/include -pipe -g -g -std=gnu89 -fPIC -DRUBY_EXPORT -L. > > > - rpath=/usr/lib:/usr/local/lib -pthread -rdynamic -pthread main.o > > > libruby18-static.a -lrt -lcrypt -lm -L/usr/lib > > > -rpath=/usr/lib:/usr/local/lib -pthread -o miniruby > > > ./lib/fileutils.rb:1429: fu_same? is not a class/module (TypeError) > > > > > > from ./mkconfig.rb:11:in `require' > > > from ./mkconfig.rb:11 > > > > > > *** Error code 1 > > > > Interesting, using a fairly recent clang snapshot from trunk, I get a > > sig11 > > > > :( > > Ruby is bad? clangbsd errors in my blog: http://dimapanov.wordpress.com/2010/04/29/clangbsd/ at this moment unbuildable some critical ports: devel/binutils devel/icu[4] devel/pcre lang/ruby1[89] -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 KDE@FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024