From: KOSAKI Motohiro Date: 2011-10-01T10:33:06+09:00 Subject: [ruby-core:39798] Re: [Ruby 1.9 - Bug #5384][Open] Ruby 1.9.3-RC1 Fails to Compile on Solaris > 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 > .... I wonder how OpenSolaris support large files if it doesn't support _D_FILE_OFFSET_BITS=64. Is it broken? or is there unknown alternative way? I have no idea how to make fixed patch.