# 1.9.2dev compilation with clang 1.1

**URL:** <https://www.ruby-forum.com/t/1-9-2dev-compilation-with-clang-1-1/184190>\
**Category:** Ruby\
**Created:** [February 26, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/1-9-2dev-compilation-with-clang-1-1/184190 "2010-02-26T12:10:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keltia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@keltia](https://www.ruby-forum.com/u/keltia)\
**Post date:** [February 26, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/1-9-2dev-compilation-with-clang-1-1/184190/1 "2010-02-26T12:10:41Z")

</div>

Any on how to find out where it is broken and maybe even why? (bug in  
ruby? bug in clang?)

clang/llvm 1.1@97037, ruby@26766, OS X 10.6.2.

clang -O -m64 -g -pipe -L. -m64 -g -L/usr/local/lib -Wl,-u,\_objc\_msgSend  
main.o dmydln.o dmyencoding.o dmyversion.o miniprelude.o array.o  
bignum.o class.o compar.o complex.o dir.o dln\_find.o enum.o enumerator.o  
error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o  
math.o node.o numeric.o object.o pack.o parse.o process.o random.o  
range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o  
regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o  
string.o struct.o time.o transcode.o util.o variable.o compile.o debug.o  
iseq.o vm.o vm\_dump.o thread.o cont.o ascii.o us\_ascii.o unicode.o  
utf\_8.o newline.o dmyext.o -lpthread -ldl -lobjc -o miniruby  
internal:prelude:4: [BUG] Segmentation fault  
ruby 1.9.2dev (2010-02-26) [x86\_64-darwin10.2.0]

## – control frame ---------- c:0003 p:0002 s:0006 b:0006 l:000005 d:000005 TOP internal:prelude:4 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0006d8 d:0006d8 TOP

## – Ruby level backtrace information

internal:prelude:4:in `’

## – C level backtrace information

[NOTE]  
You may have encountered a bug in the Ruby interpreter or extension  
libraries.  
Bug reports are welcome.  
For details: [http://www.ruby-lang.org/bugreport.html](http://www.ruby-lang.org/bugreport.html)
