Date: Thu, 29 Apr 2010 02:40:24 +1100 From: Dima Panov <fluffy@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: Ruby w/clang (Was: Re: [CFT]: ClangBSD is selfhosting, we need testers now) Message-ID: <201004290240.26848.fluffy@freebsd.org> In-Reply-To: <20100428121637.GA61412@roberto-al.eurocontrol.fr> References: <20100416160818.GA69460@freebsd.org> <201004282007.25568.fluffy@freebsd.org> <20100428121637.GA61412@roberto-al.eurocontrol.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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? -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004290240.26848.fluffy>