From: "jinleileiking (lei king)" Date: 2012-07-21T01:21:36+09:00 Subject: [ruby-core:46569] [ruby-trunk - Bug #6761] cannot crosscomiple ruby-trunk for arm cortex a8 Issue #6761 has been updated by jinleileiking (lei king). ruby git:(trunk) ��� make --version GNU Make 3.82 Built for x86_64-pc-linux-gnu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ��� ruby git:(trunk) ��� arm-angstrom-linux-gnueabi-gcc --version arm-angstrom-linux-gnueabi-gcc (GCC) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ��� ruby git:(trunk) ��� autoreconf --version autoreconf (GNU Autoconf) 2.68 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later , This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. ��� ruby git:(trunk) ��� uname -a Linux P330 3.2.12-gentoo #12 SMP Fri Jul 20 23:08:40 CST 2012 x86_64 Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz GenuineIntel GNU/Linux ---------------------------------------- Bug #6761: cannot crosscomiple ruby-trunk for arm cortex a8 https://bugs.ruby-lang.org/issues/6761#change-28230 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/