From: Naohisa Goto Date: 2012-02-09T00:07:37+09:00 Subject: [ruby-core:42439] [ruby-trunk - Bug #5384][Third Party's Issue] Ruby 1.9.3-RC1 Fails to Compile on Illumos (OpenSolaris) Issue #5384 has been updated by Naohisa Goto. Status changed from Open to Third Party's Issue I think this is a bug of Illumos (OpenSolaris). In Solaris 11, it was treated as a bug of Solaris 11 and was already fixed. http://wesunsolve.net/bugid/id/6997934 See the discussion in Illumos community for the progress. https://www.illumos.org/issues/1587 For a workaround, ./configure ac_cv_func_dl_iterate_phdr=no should work. ---------------------------------------- Bug #5384: Ruby 1.9.3-RC1 Fails to Compile on Illumos (OpenSolaris) https://bugs.ruby-lang.org/issues/5384 Author: Cyrus Lopez Status: Third Party's Issue Priority: Normal Assignee: Category: Target version: ruby -v: - An attempt was made recently to compile http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-rc1.tar.bz2 and it seems every call to the compiler passes _D_FILE_OFFSET_BITS=64 which returns the fatal error 'large files are not supported by libelf' on a fresh install of OpenIndiana with GCC 4.6.1. Snippet of Error: .... compiling addr2line.c In file included from /usr/include/link.h:31:0, from addr2line.c:42: /usr/include/libelf.h:42:2: error: #error "large files are not supported by libelf" make: *** [addr2line.o] Error 1 .... Discussion on IRC pointed out http://src.illumos.org/source/xref/illumos-gate/usr/src/head/libelf.h#41 and a request was made to file a bug report. -- http://bugs.ruby-lang.org/