[#62904] [ruby-trunk - Feature #9894] [Open] [RFC] README.EXT: document rb_gc_register_mark_object — normalperson@...
Issue #9894 has been reported by Eric Wong.
3 messages
2014/06/02
[#63321] [ANN] ElixirConf 2014 - Don't Miss Jos辿 Valim and Dave Thomas — Jim Freeze <jimfreeze@...>
Just a few more weeks until ElixirConf 2014!
6 messages
2014/06/24
[ruby-core:63418] [ruby-trunk - Bug #9993] [Third Party's Issue] x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
From:
nobu@...
Date:
2014-06-30 04:29:44 UTC
List:
ruby-core #63418
Issue #9993 has been updated by Nobuyoshi Nakada.
Status changed from Open to Third Party's Issue
That name comes from autoconf tools.
And your environment can be considered a variant of cross compiling.
`config.guess` expects the default compiler to make binaries for the current system, so you need to use `--host` option with prefixed tools.
----------------------------------------
Bug #9993: x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
https://bugs.ruby-lang.org/issues/9993#change-47460
* Author: Denis Knauf
* Status: Third Party's Issue
* Priority: Normal
* Assignee: cruby-linux
* Category: platform/linux
* Target version:
* ruby -v: 2.1.2, 2.2.0dev
* Backport:
----------------------------------------
Hi,
On x86_64 Linux Kernel, but i686 OS (there is no 64-binary file anywhere), this will produce a i686-binary ruby, but RUBY_PLATFORM=x86_64-linux:
# ./configure && make
Downloading config.guess...
Downloading config.sub...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
System type is wrong.
[...]
# ./ruby --disable-all -e 'puts RUBY_PLATFORM'
x86_64-linux
# file ./ruby
ruby: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
This works fine:
# ./configure --with-arch=i686 && make
./configure --with-arch=i686 && make
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
System type is wrong, too, but:
[...]
# ./ruby --disable-all -e 'puts RUBY_PLATFORM'
i686-linux
# file ruby
ruby: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
In config.log i found in both situations this:
uname -m = x86_64
`uname -m` prints the kernel system type, not the os system type.
It isn't possible to compile a x86_64-binary on this machine, there is no compiler for that. Only for i386.
configure:3795: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
--
https://bugs.ruby-lang.org/