Issue #6761 has been updated by jinleileiking (lei king).


the ruby version is:


Commit 1ea6c81762ff15f5a4fc9c4e458a312492045c39
Author: nobu <nobu / b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date:   Fri Jul 20 07:27:28 2012 +0000

----------------------------------------
Bug #6761: cannot crosscomiple ruby-trunk for arm cortex a8
https://bugs.ruby-lang.org/issues/6761#change-28229

Author: jinleileiking (lei king)
Status: Open
Priority: High
Assignee: 
Category: 
Target version: 
ruby -v: trunk


env:

gentoo64+ angstrom cross compile tool chain.
angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain.tar.bz2

autoreconf

CC=arm-angstrom-linux-gnueabi-gcc  env ac_cv_func_setpgrp_void=yes ./configure --host=arm-angstrom-linux-gnueabi --prefix=$HOME/work/ruby --disable-pthread --enable-shared --disable-install-doc

make

compiling vm_dump.c
compiling vm_backtrace.c
compiling thread.c
In file included from thread.c:203:
thread_pthread.c: In function 'ruby_init_stack':
thread_pthread.c:620: error: 'stack_grow_dir_detection' undeclared (first use in this function)
thread_pthread.c:620: error: (Each undeclared identifier is reported only once
thread_pthread.c:620: error: for each function it appears in.)


I have tried 1.9.2. It is okay.


-- 
http://bugs.ruby-lang.org/