From owner-freebsd-current@FreeBSD.ORG Wed Apr 28 12:16:46 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 9FB63106566C for ; Wed, 28 Apr 2010 12:16:46 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from keltia.net (unknown [IPv6:2a01:240:fe5c::41]) by mx1.freebsd.org (Postfix) with ESMTP id 50E808FC14 for ; Wed, 28 Apr 2010 12:16:46 +0000 (UTC) Received: from roberto-al.eurocontrol.fr (aran.keltia.net [88.191.250.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: roberto) by keltia.net (Postfix/TLS) with ESMTPSA id 164AAF91 for ; Wed, 28 Apr 2010 14:16:43 +0200 (CEST) Date: Wed, 28 Apr 2010 14:16:38 +0200 From: Ollivier Robert To: freebsd-current@freebsd.org Message-ID: <20100428121637.GA61412@roberto-al.eurocontrol.fr> References: <20100416160818.GA69460@freebsd.org> <201004282007.25568.fluffy@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201004282007.25568.fluffy@freebsd.org> X-Operating-System: MacOS X / Macbook Pro - FreeBSD 7.2 / Dell D820 SMP User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (keltia.net); Wed, 28 Apr 2010 14:16:44 +0200 (CEST) Subject: 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: Wed, 28 Apr 2010 12:16:46 -0000 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? > 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 :( -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr In memoriam to Ondine : http://ondine.keltia.net/