Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2010 14:16:38 +0200
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        freebsd-current@freebsd.org
Subject:   Ruby w/clang (Was: Re: [CFT]: ClangBSD is selfhosting, we need testers now)
Message-ID:  <20100428121637.GA61412@roberto-al.eurocontrol.fr>
In-Reply-To: <201004282007.25568.fluffy@freebsd.org>
References:  <20100416160818.GA69460@freebsd.org> <201004282007.25568.fluffy@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100428121637.GA61412>