# Ruby 1.9 woes

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-woes/122105>\
**Category:** Ruby\
**Created:** [December 4, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105 "2007-12-04T17:15:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![reacher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/0ea827/32.png) [@reacher](https://www.ruby-forum.com/u/reacher)\
**Post date:** [December 4, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105/1 "2007-12-04T17:15:56Z")

</div>

I’m running on Solaris and am having trouble building ruby 1.9.  
First, why doesn’t a configure script get bundled in the trunk?  
Anyway, I had to DL and build GNU M4 to get autoconf to build so I  
could generate the configure script. But autoconf never completes …  
it just sites there doing nothing. Can someone post a configure  
script for me to use? Or would it need to be specifically coded for  
my environment? I just wanna play with the newish ruby ☹

---

<div class="post-metadata">

**Author:** ![reacher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/0ea827/32.png) [@reacher](https://www.ruby-forum.com/u/reacher)\
**Post date:** [December 5, 2007, 2:17am UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105/2 "2007-12-05T02:17:31Z")

</div>

Hi,

At Wed, 5 Dec 2007 01:15:00 +0900,  
Reacher wrote in [ruby-talk:282040]:

> I’m running on Solaris and am having trouble building ruby 1.9.  
> First, why doesn’t a configure script get bundled in the trunk?

In general, auto-generated files aren’t in the repository.

> Anyway, I had to DL and build GNU M4 to get autoconf to build so I  
> could generate the configure script. But autoconf never completes …  
> it just sites there doing nothing. Can someone post a configure  
> script for me to use? Or would it need to be specifically coded for  
> my environment? I just wanna play with the newish ruby ☹

ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz

---

<div class="post-metadata">

**Author:** ![reacher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/0ea827/32.png) [@reacher](https://www.ruby-forum.com/u/reacher)\
**Post date:** [December 5, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105/3 "2007-12-05T15:42:29Z")

</div>

Thanks for the assistance. I’m getting a crash when miniruby tries to  
make prelude.c. Investigating…

---

<div class="post-metadata">

**Author:** ![reacher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/0ea827/32.png) [@reacher](https://www.ruby-forum.com/u/reacher)\
**Post date:** [December 5, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105/4 "2007-12-05T16:17:10Z")

</div>

On Dec 5, 8:34 am, Reacher [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks for the assistance. I’m getting a crash when miniruby tries to  
> make prelude.c. Investigating…

UPDATE: Here’s the details

> uname -a  
> SunOS dstnsun0 5.9 Generic\_122300-13 sun4u sparc SUNW,Sun-Fire

> make  
> cc -g -L. main.o dln.o miniprelude.o array.o bignum.o class.o  
> compar.o dir.o encoding.o enum.o enumerator.o error.o eval.o  
> eval\_load.o proc.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 regcomp.o regenc.o regerror.o regexec.o  
> regparse.o regsyntax.o ruby.o signal.o sprintf.o st.o string.o  
> struct.o time.o util.o variable.o version.o blockinlining.o  
> compile.o debug.o iseq.o vm.o vm\_dump.o thread.o cont.o id.o  
> ascii.o euc\_jp.o sjis.o unicode.o utf8.o flock.o isinf.o  
> dmyext.o -lpthread -lrt -lsocket -ldl -lcrypt -lm -o miniruby  
> rbconfig.rb updated  
> ./miniruby -I. -rrbconfig ./tool/compile\_prelude.rb ./prelude.rb ./  
> gem\_prelude.rb prelude.c  
> \*\*\* Signal 10 - core dumped  
> make: Fatal error: Command failed for target `prelude.c’

> dbx miniruby core  
> Reading miniruby  
> core file header read successfully  
> Reading ld.so.1  
> Reading libpthread.so.1  
> Reading librt.so.1  
> Reading libsocket.so.1  
> Reading libdl.so.1  
> Reading libcrypt\_i.so.1  
> Reading libm.so.1  
> Reading libc.so.1  
> Reading libaio.so.1  
> Reading libmd5.so.1  
> Reading libnsl.so.1  
> Reading libgen.so.1  
> Reading libmp.so.2  
> Reading libc\_psr.so.1  
> Reading libthread.so.1  
> detected a multithreaded program  
> t@1 (l@1) terminated by signal BUS (invalid address alignment)  
> Current function is vm\_call0  
> 455 if (reg\_cfp != th-\>cfp + 1) {

---

<div class="post-metadata">

**Author:** ![reacher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/0ea827/32.png) [@reacher](https://www.ruby-forum.com/u/reacher)\
**Post date:** [December 5, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105/5 "2007-12-05T16:56:32Z")

</div>

On Dec 5, 9:25 am, Nobuyoshi N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,
> 
> th is broken?
> 
> –  
> Nobu Nakada

It would seem so. It’s the ruby thread passed to vm\_call0() in vm.c

---

<div class="post-metadata">

**Author:** ![reacher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/0ea827/32.png) [@reacher](https://www.ruby-forum.com/u/reacher)\
**Post date:** [December 5, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105/6 "2007-12-05T16:26:34Z")

</div>

Hi,

At Thu, 6 Dec 2007 00:16:31 +0900,  
Reacher wrote in [ruby-talk:282198]:

> t@1 (l@1) terminated by signal BUS (invalid address alignment)  
> Current function is vm\_call0  
> 455 if (reg\_cfp != th-\>cfp + 1) {

th is broken?
