Bug #11342
closedruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
Description
make & sudo make install
[1] 23519
Password:
(snip)
option.c:886:33: error: expected declaration specifiers or ‘...’ before ‘u_int8_t’
option.c: In function ‘inspect_tcpi_options’:
option.c:898:5: error: ‘options’ undeclared (first use in this function)
option.c:898:5: note: each undeclared identifier is reported only once for each function it appears in
option.c:898:5: error: ‘u_int8_t’ undeclared (first use in this function)
option.c: At top level:
option.c:926:50: error: expected declaration specifiers or ‘...’ before ‘u_int32_t’
option.c: In function ‘inspect_tcpi_usec’:
option.c:928:44: error: ‘t’ undeclared (first use in this function)
option.c: In function ‘inspect_tcp_info’:
option.c:1003:16: error: ‘TCP_CA_Open’ undeclared (first use in this function)
option.c:1004:16: error: ‘TCP_CA_Disorder’ undeclared (first use in this function)
option.c:1005:16: error: ‘TCP_CA_CWR’ undeclared (first use in this function)
option.c:1006:16: error: ‘TCP_CA_Recovery’ undeclared (first use in this function)
option.c:1007:16: error: ‘TCP_CA_Loss’ undeclared (first use in this function)
option.c:1021:9: error: too many arguments to function ‘inspect_tcpi_options’
option.c:886:1: note: declared here
option.c:1030:9: error: too many arguments to function ‘inspect_tcpi_usec’
option.c:926:1: note: declared here
option.c:1033:9: error: too many arguments to function ‘inspect_tcpi_usec’
option.c:926:1: note: declared here
option.c:1075:2: error: too many arguments to function ‘inspect_tcpi_usec’
option.c:926:1: note: declared here
option.c:1078:2: error: too many arguments to function ‘inspect_tcpi_usec’
option.c:926:1: note: declared here
option.c:1093:9: error: too many arguments to function ‘inspect_tcpi_usec’
option.c:926:1: note: declared here
make[2]: *** [option.o] Error 1
make[2]: Leaving directory `/export/home/dolly/ruby-2.2.2/ext/socket'
make[1]: *** [ext/socket/all] Error 2
make[1]: Leaving directory `/export/home/dolly/ruby-2.2.2'
make: *** [build-ext] Error 2
Files
Updated by aderium (Anthony Palermo) over 9 years ago
ruby 2.1.x compiles just fine
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- File bug-11342.log bug-11342.log added
- Description updated (diff)
- Status changed from Open to Feedback
Anthony Palermo wrote:
make & sudo make install
[1] 23519
Password:
You may want to run make && sudo make install
.
You can run as make SUDO=sudo install
.
option.c:886:33: error: expected declaration specifiers or ‘...’ before ‘u_int8_t’
Seems some more headers are needed.
Where is uint8_t
defined on Solalis 11?
option.c:1003:16: error: ‘TCP_CA_Open’ undeclared (first use in this function)
It is defined in <netinet/tcp.h>
on Linux, where on Solaris?
Updated by ngoto (Naohisa Goto) over 9 years ago
this may be fixed wit h r50089
Updated by ngoto (Naohisa Goto) over 9 years ago
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED
Updated by aderium (Anthony Palermo) over 9 years ago
make && sudo make install still fails but you are correct. I tried a couple of times and looks like the last one I forgot the sudo
option.c:886:33: error: expected declaration specifiers or ‘...’ before ‘u_int8_t’
/usr/include/sys/types.h
solaris TCP_CA_Open I am not sure yet still investigating.
Updated by aderium (Anthony Palermo) over 9 years ago
Ok downloading the diff and testing compile with r50089
Make failed
./ext/extmk.rb:227:in load': failed to load encoding (Windows-31J) (LoadError) from ./ext/extmk.rb:227:in
block in extmake'
from /export/home/dolly/ruby-2.2.2/lib/mkmf.rb:321:in open' from ./ext/extmk.rb:223:in
extmake'
from ./ext/extmk.rb:547:in block in <main>' from ./ext/extmk.rb:543:in
each'
from ./ext/extmk.rb:543:in `'
make: *** [exts.mk] Error 1
Following is the results of make
dolly@vdocklab01:~/ruby-2.2.2$ make
CC = gcc
LD = /usr/ccs/bin/ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -std=iso9899:1999
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -I. -I.ext/include/i386-solaris2.11 -I./include -I.
DLDFLAGS = -fstack-protector -pie
SOLIBS =
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: /builds/hudson/workspace/nightly-update/build/i386/components/gcc45/gcc-4.5.2/configure CC=/ws/on11update-tools/SUNWspro/sunstudio12.1/bin/cc CXX=/ws/on11update-tools/SUNWspro/sunstudio12.1/bin/CC --prefix=/usr/gcc/4.5 --mandir=/usr/gcc/4.5/share/man --bindir=/usr/gcc/4.5/bin --libdir=/usr/gcc/4.5/lib --sbindir=/usr/gcc/4.5/sbin --infodir=/usr/gcc/4.5/share/info --libexecdir=/usr/gcc/4.5/lib --enable-languages=c,c++,fortran,objc --enable-shared --with-gmp-include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/gnu/bin/as CFLAGS='-g -O2 '
Thread model: posix
gcc version 4.5.2 (GCC)
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling miniprelude.c
translating probes probes.d
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
eval.c: In function ‘setup_exception’:
eval.c:537:2: warning: ‘_th’ may be used uninitialized in this function
In file included from eval.c:30:0:
eval_jump.c: In function ‘rb_exec_end_proc’:
eval_jump.c:119:5: warning: ‘_th’ may be used uninitialized in this function
eval_jump.c:116:18: warning: ‘th’ may be used uninitialized in this function
eval.c: In function ‘ruby_setup’:
eval.c:56:5: warning: ‘_th’ may be used uninitialized in this function
eval.c: In function ‘ruby_options’:
eval.c:98:5: warning: ‘_th’ may be used uninitialized in this function
eval.c: In function ‘ruby_cleanup’:
eval.c:175:5: warning: ‘_th’ may be used uninitialized in this function
eval.c:185:5: warning: ‘_th’ may be used uninitialized in this function
eval.c:165:5: warning: ‘_th’ may be used uninitialized in this function
compiling load.c
load.c: In function ‘rb_load_internal0’:
load.c:603:5: warning: ‘_th’ may be used uninitialized in this function
load.c: In function ‘rb_require_internal’:
load.c:968:5: warning: ‘_th’ may be used uninitialized in this function
compiling proc.c
proc.c: In function ‘rb_method_call_with_block’:
proc.c:1830:5: warning: ‘_th’ may be used uninitialized in this function
proc.c:1822:20: warning: ‘data’ may be used uninitialized in this function
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling process.c
process.c: In function ‘retry_fork_async_signal_safe’:
process.c:3548:13: warning: ‘vfork’ is deprecated (declared at /usr/include/unistd.h:531)
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
compiling symbol.c
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling version.c
compiling compile.c
compiling debug.c
compiling iseq.c
compiling vm.c
In file included from vm.c:102:0:
vm_eval.c: In function ‘rb_iterate’:
vm_eval.c:1112:5: warning: ‘_th’ may be used uninitialized in this function
vm_eval.c:1107:11: warning: ‘node’ may be used uninitialized in this function
vm_eval.c:1108:18: warning: ‘th’ may be used uninitialized in this function
vm_eval.c: In function ‘eval_string_with_cref’:
vm_eval.c:1251:5: warning: ‘_th’ may be used uninitialized in this function
vm_eval.c: In function ‘rb_eval_cmd’:
vm_eval.c:1538:5: warning: ‘_th’ may be used uninitialized in this function
vm_eval.c:1523:2: warning: ‘_th’ may be used uninitialized in this function
compiling vm_dump.c
compiling vm_backtrace.c
vm_backtrace.c: In function ‘rb_debug_inspector_open’:
vm_backtrace.c:1184:5: warning: ‘_th’ may be used uninitialized in this function
compiling vm_trace.c
vm_trace.c: In function ‘exec_hooks_protected’:
vm_trace.c:297:5: warning: ‘_th’ may be used uninitialized in this function
vm_trace.c: In function ‘rb_suppress_tracing’:
vm_trace.c:404:5: warning: ‘_th’ may be used uninitialized in this function
compiling thread.c
thread.c: In function ‘exec_recursive’:
thread.c:4879:6: warning: ‘_th’ may be used uninitialized in this function
thread.c:4845:17: warning: ‘sym’ may be used uninitialized in this function
thread.c: In function ‘thread_start_func_2’:
thread.c:575:2: warning: ‘_th’ may be used uninitialized in this function
thread.c: In function ‘rb_thread_s_handle_interrupt’:
thread.c:1806:5: warning: ‘_th’ may be used uninitialized in this function
thread.c: In function ‘rb_thread_terminate_all’:
thread.c:483:2: warning: ‘_th’ may be used uninitialized in this function
compiling cont.c
cont.c: In function ‘cont_capture’:
cont.c:483:19: warning: ‘cont’ may be used uninitialized in this function
processing probes in object files
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/flock.c
compiling ./missing/isinf.c
compiling ./missing/setproctitle.c
compiling addr2line.c
compiling dmyext.c
compiling dmyenc.c
linking miniruby
rbconfig.rb updated
generating enc.mk
compiling dln.c
compiling localeinit.c
creating verconf.h
verconf.h updated
compiling loadpath.c
compiling prelude.c
generating a glommed object with DTrace probes for static library
linking static-library libruby-static.a
verifying static-library libruby-static.a
generating encdb.h
encdb.h updated
making enc
make[1]: Entering directory /export/home/dolly/ruby-2.2.2' compiling ./enc/encdb.c linking encoding encdb.so compiling ./enc/big5.c linking encoding big5.so compiling ./enc/cp949.c linking encoding cp949.so compiling ./enc/emacs_mule.c linking encoding emacs_mule.so compiling ./enc/euc_jp.c linking encoding euc_jp.so compiling ./enc/euc_kr.c linking encoding euc_kr.so compiling ./enc/euc_tw.c linking encoding euc_tw.so compiling ./enc/gb2312.c linking encoding gb2312.so compiling ./enc/gb18030.c linking encoding gb18030.so compiling ./enc/gbk.c linking encoding gbk.so compiling ./enc/iso_8859_1.c linking encoding iso_8859_1.so compiling ./enc/iso_8859_2.c linking encoding iso_8859_2.so compiling ./enc/iso_8859_3.c linking encoding iso_8859_3.so compiling ./enc/iso_8859_4.c linking encoding iso_8859_4.so compiling ./enc/iso_8859_5.c linking encoding iso_8859_5.so compiling ./enc/iso_8859_6.c linking encoding iso_8859_6.so compiling ./enc/iso_8859_7.c linking encoding iso_8859_7.so compiling ./enc/iso_8859_8.c linking encoding iso_8859_8.so compiling ./enc/iso_8859_9.c linking encoding iso_8859_9.so compiling ./enc/iso_8859_10.c linking encoding iso_8859_10.so compiling ./enc/iso_8859_11.c linking encoding iso_8859_11.so compiling ./enc/iso_8859_13.c linking encoding iso_8859_13.so compiling ./enc/iso_8859_14.c linking encoding iso_8859_14.so compiling ./enc/iso_8859_15.c linking encoding iso_8859_15.so compiling ./enc/iso_8859_16.c linking encoding iso_8859_16.so compiling ./enc/koi8_r.c linking encoding koi8_r.so compiling ./enc/koi8_u.c linking encoding koi8_u.so compiling ./enc/shift_jis.c linking encoding shift_jis.so compiling ./enc/utf_16be.c linking encoding utf_16be.so compiling ./enc/utf_16le.c linking encoding utf_16le.so compiling ./enc/utf_32be.c linking encoding utf_32be.so compiling ./enc/utf_32le.c linking encoding utf_32le.so compiling ./enc/windows_31j.c linking encoding windows_31j.so compiling ./enc/windows_1251.c linking encoding windows_1251.so make[1]: Leaving directory
/export/home/dolly/ruby-2.2.2'
making srcs under enc
make[1]: Entering directory /export/home/dolly/ruby-2.2.2' make[1]: Nothing to be done for
srcs'.
make[1]: Leaving directory /export/home/dolly/ruby-2.2.2' generating transdb.h transdb.h updated making trans make[1]: Entering directory
/export/home/dolly/ruby-2.2.2'
compiling ./enc/trans/transdb.c
linking transcoder transdb.so
compiling ./enc/trans/big5.c
linking transcoder big5.so
compiling ./enc/trans/chinese.c
linking transcoder chinese.so
compiling ./enc/trans/emoji.c
linking transcoder emoji.so
compiling ./enc/trans/emoji_iso2022_kddi.c
linking transcoder emoji_iso2022_kddi.so
compiling ./enc/trans/emoji_sjis_docomo.c
linking transcoder emoji_sjis_docomo.so
compiling ./enc/trans/emoji_sjis_kddi.c
linking transcoder emoji_sjis_kddi.so
compiling ./enc/trans/emoji_sjis_softbank.c
linking transcoder emoji_sjis_softbank.so
compiling ./enc/trans/escape.c
linking transcoder escape.so
compiling ./enc/trans/gb18030.c
linking transcoder gb18030.so
compiling ./enc/trans/gbk.c
linking transcoder gbk.so
compiling ./enc/trans/iso2022.c
linking transcoder iso2022.so
compiling ./enc/trans/japanese.c
linking transcoder japanese.so
compiling ./enc/trans/japanese_euc.c
linking transcoder japanese_euc.so
compiling ./enc/trans/japanese_sjis.c
linking transcoder japanese_sjis.so
compiling ./enc/trans/korean.c
linking transcoder korean.so
compiling ./enc/trans/single_byte.c
linking transcoder single_byte.so
compiling ./enc/trans/utf8_mac.c
linking transcoder utf8_mac.so
compiling ./enc/trans/utf_16_32.c
linking transcoder utf_16_32.so
make[1]: Leaving directory /export/home/dolly/ruby-2.2.2' making encs make[1]: Entering directory
/export/home/dolly/ruby-2.2.2'
make[1]: Leaving directory /export/home/dolly/ruby-2.2.2' file2lastrev.rb: does not seem to be under a vcs: . make: [.revision.time] Error 1 (ignored) ./revision.h unchanged generating makefile exts.mk configuring -test-/array/resize configuring -test-/bignum configuring -test-/bug-3571 configuring -test-/bug-3662 configuring -test-/bug-5832 configuring -test-/bug_reporter configuring -test-/class configuring -test-/debug configuring -test-/exception configuring -test-/fatal configuring -test-/file configuring -test-/float configuring -test-/funcall configuring -test-/hash configuring -test-/iseq_load configuring -test-/iter configuring -test-/load/dot.dot configuring -test-/marshal/compat configuring -test-/marshal/usr configuring -test-/method configuring -test-/num2int configuring -test-/path_to_class configuring -test-/postponed_job configuring -test-/printf configuring -test-/proc configuring -test-/rational configuring -test-/recursion configuring -test-/st/foreach configuring -test-/st/numhash configuring -test-/st/update configuring -test-/string configuring -test-/struct configuring -test-/symbol configuring -test-/tracepoint configuring -test-/typeddata configuring -test-/wait_for_single_fd configuring -test-/win32/console Failed to configure -test-/win32/console. It will not be installed. configuring -test-/win32/dln Failed to configure -test-/win32/dln. It will not be installed. Failed to configure -test-/win32/dln/empty. It will not be installed. configuring -test-/win32/fd_setsize Failed to configure -test-/win32/fd_setsize. It will not be installed. configuring bigdecimal configuring continuation configuring coverage configuring date configuring dbm header: ndbm.h library: libc configuring digest configuring digest/bubblebabble configuring digest/md5 configuring digest/rmd160 configuring digest/sha1 configuring digest/sha2 configuring etc configuring fcntl configuring fiber configuring fiddle configuring gdbm configuring io/console configuring io/nonblock configuring io/wait configuring json configuring json/generator configuring json/parser configuring mathn/complex configuring mathn/rational configuring nkf configuring objspace configuring openssl configuring pathname configuring psych configuring pty configuring racc/cparse configuring rbconfig/sizeof configuring readline configuring ripper missing bison; abort Failed to configure ripper. It will not be installed. configuring sdbm configuring socket ./ext/extmk.rb:227:in
load': failed to load encoding (Windows-31J) (LoadError)
from ./ext/extmk.rb:227:in block in extmake' from /export/home/dolly/ruby-2.2.2/lib/mkmf.rb:321:in
open'
from ./ext/extmk.rb:223:in extmake' from ./ext/extmk.rb:547:in
block in '
from ./ext/extmk.rb:543:in each' from ./ext/extmk.rb:543:in
'
make: *** [exts.mk] Error 1
Updated by shevegen (Robert A. Heiler) over 9 years ago
Hello, some feedback in-between, from #ruby IRC.
Aderium says that uname yields wrong information because something may have
changed in between different solaris versions:
Aderium: isainfo -n
Aderium: uname -a spits out incorrect info
Aderium: and ruby then always compiles in i386
My assumption then was that config.guess does not
correctly handle that component.
Aderium said that the 4 entries that he receives are these here:
uname -m = amd64
uname -r = 5.11
uname -s = SunOS
uname -v = 11.2
The first one for amd64 does not seem to be handled in the
current config.guess case menu.
Updated by shevegen (Robert A. Heiler) over 9 years ago
Aderium also linked in this document for isainfo, in case that helps:
http://docs.oracle.com/cd/E19082-01/819-2380/enfli/index.html
Updated by aderium (Anthony Palermo) over 9 years ago
after ad hoc modification to tools/config.guess I am able to set correctly solaris 11.2 to x64_86 platform. but make still stumbles
dolly@vdocklab01:~/ruby-2.1.6$ autoconf
dolly@vdocklab01:~/ruby-2.1.6$ make
make: *** No targets specified and no makefile found. Stop.
dolly@vdocklab01:~/ruby-2.1.6$ ./configure --prefix=/export/home/dolly/ruby64/
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking target system type... x86_64-pc-solaris2.11
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/gnu/bin/grep
checking for egrep... /usr/gnu/bin/grep -E
checking whether gcc needs -traditional... no
checking for ld... /usr/ccs/bin/ld
checking whether the linker is GNU ld... no
checking whether gcc -E accepts -o... yes
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking for objdump... objdump
checking for objcopy... objcopy
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/gnu/bin/install -c
checking for a thread-safe mkdir -p... /usr/gnu/bin/mkdir -p
checking for dtrace... dtrace
checking for dot... no
checking for doxygen... no
checking for pkg-config... pkg-config
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
checking whether LDFLAGS is valid... yes
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
checking whether -Wno-parentheses is accepted as CFLAGS... yes
checking whether -Wno-long-long is accepted as CFLAGS... yes
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
checking whether -Wunused-variable is accepted as CFLAGS... yes
checking whether -Wpointer-arith is accepted as CFLAGS... yes
checking whether -Wwrite-strings is accepted as CFLAGS... yes
checking whether -Wdeclaration-after-statement is accepted as CFLAGS... yes
checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no
checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes
checking whether -Wdivision-by-zero is accepted as CFLAGS... no
checking whether -Wextra-tokens is accepted as CFLAGS... no
checking whether -Wall -Wextra is accepted as CFLAGS... yes
checking whether -Qunused-arguments is accepted as CFLAGS... no
checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as LDFLAGS... yes
checking whether -std=iso9899:1999 is accepted as CFLAGS... yes
checking whether -fno-strict-overflow is accepted as CFLAGS... yes
checking whether -ggdb3 is accepted as CFLAGS... yes
checking whether -fvisibility=hidden is accepted as CFLAGS... yes
checking whether -fno-fast-math is accepted as CFLAGS... yes
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for shutdown in -lsocket... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syscall.h usability... no
checking syscall.h presence... no
checking for syscall.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking a.out.h usability... no
checking a.out.h presence... no
checking for a.out.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/mkdev.h usability... yes
checking sys/mkdev.h presence... yes
checking for sys/mkdev.h... yes
checking sys/utime.h usability... yes
checking sys/utime.h presence... yes
checking for sys/utime.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking net/socket.h usability... no
checking net/socket.h presence... no
checking for net/socket.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking atomic.h usability... yes
checking atomic.h presence... yes
checking for atomic.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc_np.h usability... no
checking malloc_np.h presence... no
checking for malloc_np.h... no
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking setjmpex.h usability... no
checking setjmpex.h presence... no
checking for setjmpex.h... no
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking for long long... yes
checking for off_t... yes
checking char bit... 8
checking size of int... 4
checking size of short... 2
checking size of long... 4
checking size of long long... 8
checking size of __int64... 0
checking size of __int128... 0
checking size of off_t... 8
checking size of void*... 4
checking size of float... 4
checking size of double... 8
checking size of time_t... 4
checking size of clock_t... 4
checking for printf prefix for long long... ll
checking for pid_t... yes
checking for convertible type of pid_t... LONG
checking for uid_t... yes
checking for convertible type of uid_t... UINT
checking for gid_t... yes
checking for convertible type of gid_t... UINT
checking for time_t... yes
checking for convertible type of time_t... LONG
checking for dev_t... yes
checking for convertible type of dev_t... ULONG
checking for mode_t... yes
checking for convertible type of mode_t... ULONG
checking for rlim_t... yes
checking for convertible type of rlim_t... ULL
checking for off_t... (cached) yes
checking for convertible type of off_t... LL
checking for clockid_t... yes
checking for convertible type of clockid_t... INT
checking for prototypes... yes
checking token paste string... ansi
checking stringization... #expr
checking string literal concatenation... yes
checking for variable length prototypes and stdarg.h... yes
checking for variable length macro... yes
checking for noreturn function attribute... attribute ((noreturn)) x
checking for deprecated function attribute... attribute ((deprecated)) x
checking for noinline function attribute... attribute ((noinline)) x
checking for stdcall function attribute... attribute ((stdcall)) x
checking for cdecl function attribute... attribute ((cdecl)) x
checking for fastcall function attribute... attribute ((fastcall)) x
checking for function alias... alias
checking for __atomic builtins... yes
checking for __sync builtins... yes
checking for __builtin_unreachable... yes
checking for exported function attribute... attribute ((visibility("default")))
checking for function name string predefined identifier... func
checking whether sys_nerr is declared... no
checking whether getenv is declared... yes
checking for size_t... yes
checking size of size_t... 4
checking size of ptrdiff_t... 4
checking for printf prefix for size_t... z
checking for printf prefix for ptrdiff_t... t
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking size of struct stat.st_size... SIZEOF_LONG_LONG
checking size of struct stat.st_blocks... SIZEOF_LONG_LONG
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for struct stat.st_atimensec... no
checking for struct stat.st_mtim... yes
checking for struct stat.st_mtimespec... no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_ctim... yes
checking for struct stat.st_ctimespec... no
checking for struct stat.st_ctimensec... no
checking for struct timeval... yes
checking size of struct timeval.tv_sec... SIZEOF_TIME_T
checking for struct timespec... yes
checking for struct timezone... yes
checking for clockid_t... (cached) yes
checking for fd_mask... yes
checking for int8_t... yes
checking size of int8_t... 1
checking for uint8_t... yes
checking size of uint8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for int128_t... no
checking for uint128_t... no
checking for intptr_t... yes
checking size of intptr_t... 4
checking for uintptr_t... yes
checking size of uintptr_t... 4
checking for ssize_t... yes
checking size of ssize_t... 4
checking for stack end address... no
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for working alloca.h... yes
checking for alloca... yes
checking for dynamic size alloca... ok
checking for working memcmp... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for dup2... yes
checking for memmove... yes
checking for strerror... yes
checking for strchr... yes
checking for strstr... yes
checking for crypt... yes
checking for flock... no
checking for isnan... yes
checking for finite... yes
checking for isinf... no
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for tgamma... yes
checking for lgamma_r... yes
checking for cbrt... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for ffs... yes
checking for setproctitle... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for signbit... yes
checking for __syscall... no
checking for _longjmp... yes
checking for _setjmp... yes
checking for _setjmpex... no
checking for chroot... yes
checking for chsize... no
checking for clock_gettime... yes
checking for cosh... yes
checking for daemon... (cached) no
checking for dl_iterate_phdr... yes
checking for dlopen... yes
checking for dup... yes
checking for dup3... no
checking for eaccess... no
checking for endgrent... yes
checking for fchmod... yes
checking for fchown... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for fmod... yes
checking for fork... yes
checking for fsync... yes
checking for ftruncate... yes
checking for ftruncate64... yes
checking for getcwd... yes
checking for getgrnam_r... yes
checking for getgroups... yes
checking for getpgid... yes
checking for getpgrp... yes
checking for getpriority... yes
checking for getpwnam_r... yes
checking for getrlimit... yes
checking for getsid... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for initgroups... yes
checking for ioctl... yes
checking for isfinite... no
checking for issetugid... yes
checking for killpg... yes
checking for lchmod... no
checking for lchown... yes
checking for link... yes
checking for llabs... yes
checking for lockf... yes
checking for log2... yes
checking for lstat... yes
checking for malloc_usable_size... no
checking for malloc_size... no
checking for mblen... yes
checking for memalign... yes
checking for memrchr... no
checking for mktime... yes
checking for pipe2... no
checking for poll... yes
checking for posix_fadvise... yes
checking for posix_memalign... yes
checking for ppoll... yes
checking for pread... yes
checking for readlink... yes
checking for round... yes
checking for seekdir... yes
checking for select_large_fdset... yes
checking for sendfile... no
checking for setegid... yes
checking for setenv... yes
checking for seteuid... yes
checking for setgid... yes
checking for setgroups... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setregid... yes
checking for setresgid... no
checking for setresuid... no
checking for setreuid... yes
checking for setrgid... no
checking for setrlimit... yes
checking for setruid... no
checking for setsid... yes
checking for setuid... yes
checking for shutdown... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigprocmask... yes
checking for sinh... yes
checking for spawnv... no
checking for symlink... yes
checking for syscall... yes
checking for sysconf... yes
checking for tanh... yes
checking for telldir... yes
checking for timegm... no
checking for times... yes
checking for truncate... yes
checking for truncate64... yes
checking for unsetenv... yes
checking for utimensat... yes
checking for utimes... yes
checking for wait4... yes
checking for waitpid... yes
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_clzl... yes
checking for __builtin_clzll... yes
checking for __builtin_choose_expr... yes
checking for __builtin_types_compatible_p... yes
checking for clock_getres... yes
checking for unsetenv returns a value... yes
checking for sigsetjmp as a macro or function... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for struct tm.tm_gmtoff... no
checking for external int daylight... yes
checking for external timezone... no
checking for external altzone... no
checking for timezone... yes
checking whether timezone requires zero arguments... yes
checking for negative time_t for gmtime(3)... yes
checking for localtime(3) overflow correctly... yes
checking whether right shift preserve sign bit... yes
checking read count field in FILE structures... _cnt
checking read buffer ptr field in FILE structures... _ptr
checking size of struct stat.st_ino... SIZEOF_LONG_LONG
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction on x86_64... -1
checking for pthread_kill in -lthr... no
checking for pthread_kill in -lpthread... yes
checking for pthread_np.h... no
checking for sched_yield... yes
checking for pthread_attr_setinheritsched... yes
checking for pthread_getattr_np... no
checking for pthread_attr_get_np... no
checking for pthread_attr_getstack... yes
checking for pthread_get_stackaddr_np... no
checking for pthread_get_stacksize_np... no
checking for thr_stksegment... yes
checking for pthread_stackseg_np... no
checking for pthread_getthrds_np... no
checking for pthread_cond_init... yes
checking for pthread_condattr_setclock... yes
checking for pthread_condattr_init... yes
checking for pthread_sigmask... yes
checking for pthread_setname_np... no
checking for pthread_attr_init... yes
checking for getcontext... yes
checking for setcontext... yes
checking if fork works with pthread... yes
checking whether ELF binaries are produced... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking elf_abi.h usability... no
checking elf_abi.h presence... no
checking for elf_abi.h... no
checking whether OS depend dynamic link works... yes
checking for backtrace... yes
checking for broken backtrace... no
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for strip... strip
checking whether -fPIE is accepted as CFLAGS... yes
checking whether -pie is accepted as LDFLAGS... yes
checking whether dtrace USDT is available... yes
checking whether dtrace USDT is available... (cached) yes
checking whether dtrace needs post processing... yes
checking for __builtin_setjmp... yes with cast ()
checking for setjmp type... __builtin_setjmp
checking for prefix of external symbols... NONE
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking if make is GNU make... yes
checking for memmem... yes
checking for broken memmem... yes
checking for nroff... /usr/bin/nroff
.ext/include/x86_64-solaris2.11/ruby/config.h updated
ruby library version = 2.1.0
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating Makefile
config.status: creating ruby-2.1.pc
dolly@vdocklab01:~/ruby-2.1.6$ make
CC = gcc
LD = /usr/ccs/bin/ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -std=iso9899:1999
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -I. -I.ext/include/x86_64-solaris2.11 -I./include -I.
DLDFLAGS = -fstack-protector -pie
SOLIBS =
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.8/lib/gcc/i386-pc-solaris2.11/4.8.2/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: /builds/hudson/workspace/nightly-update/build/i386/components/gcc48/gcc-4.8.2/configure CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++ --prefix=/usr/gcc/4.8 --mandir=/usr/gcc/4.8/share/man --bindir=/usr/gcc/4.8/bin --libdir=/usr/gcc/4.8/lib --sbindir=/usr/gcc/4.8/sbin --infodir=/usr/gcc/4.8/share/info --libexecdir=/usr/gcc/4.8/lib --enable-languages=c,c++,fortran,objc --enable-shared --with-gmp-include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/gnu/bin/as CFLAGS='-g -O2 -mtune=opteron -march=opteron' CXXFLAGS='-g -O2 -mtune=opteron -march=opteron'
Thread model: posix
gcc version 4.8.2 (GCC)
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling miniprelude.c
translating probes probes.d
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
In file included from eval.c:14:0:
eval_jump.c: In function ‘rb_exec_end_proc’:
eval_intern.h:135:34: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define TH_PUSH_TAG2() (_th->tag = &_tag, 0)
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
eval_intern.h:141:20: note: in expansion of macro ‘TH_PUSH_TAG’
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^
eval_jump.c:119:5: note: in expansion of macro ‘PUSH_TAG’
PUSH_TAG();
^
In file included from eval_intern.h:4:0,
from eval.c:14:
./include/ruby/ruby.h:438:20: warning: ‘th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define NIL_P(v) !((VALUE)(v) != Qnil)
^
In file included from eval.c:33:0:
eval_jump.c:116:18: note: ‘th’ was declared here
rb_thread_t *th = GET_THREAD();
^
In file included from eval.c:14:0:
eval.c: In function ‘ruby_setup’:
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
eval_intern.h:141:20: note: in expansion of macro ‘TH_PUSH_TAG’
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^
eval.c:57:5: note: in expansion of macro ‘PUSH_TAG’
PUSH_TAG();
^
eval.c: In function ‘ruby_options’:
eval_intern.h:123:23: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_thread_t * const _th = (th);
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
eval_intern.h:141:20: note: in expansion of macro ‘TH_PUSH_TAG’
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^
eval.c:99:5: note: in expansion of macro ‘PUSH_TAG’
PUSH_TAG();
^
compiling load.c
In file included from load.c:9:0:
load.c: In function ‘rb_load_internal0’:
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
eval_intern.h:141:20: note: in expansion of macro ‘TH_PUSH_TAG’
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^
load.c:604:5: note: in expansion of macro ‘PUSH_TAG’
PUSH_TAG();
^
compiling proc.c
In file included from proc.c:12:0:
proc.c: In function ‘rb_method_call_with_block’:
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
eval_intern.h:141:20: note: in expansion of macro ‘TH_PUSH_TAG’
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^
proc.c:1798:5: note: in expansion of macro ‘PUSH_TAG’
PUSH_TAG();
^
proc.c:1818:16: warning: ‘data’ may be used uninitialized in this function [-Wmaybe-uninitialized]
defined_class = data->defined_class;
^
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling version.c
compiling compile.c
compiling debug.c
compiling iseq.c
In file included from vm_core.h:25:0,
from eval_intern.h:5,
from iseq.c:14:
iseq.c: In function ‘iseq_load’:
iseq.c:540:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table )0, type_map);
^
ruby_atomic.h:13:36: note: in definition of macro ‘ATOMIC_CAS’
({ typeof(oldval) oldvaldup = (oldval); / oldval should not be modified */
^
ruby_atomic.h:166:53: note: in expansion of macro ‘ATOMIC_SIZE_CAS’
define ATOMIC_PTR_CAS(var, oldval, val) (void )ATOMIC_SIZE_CAS((size_t *)&(var), (size_t)(oldval), (size_t)(val))¶
^
iseq.c:540:15: note: in expansion of macro ‘ATOMIC_PTR_CAS’
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^
compiling vm.c
In file included from vm.c:20:0:
vm_eval.c: In function ‘rb_iterate’:
eval_intern.h:129:12: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
_th->tag = _tag.prev;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
vm_eval.c:1064:5: note: in expansion of macro ‘TH_PUSH_TAG’
TH_PUSH_TAG(th);
^
In file included from vm.c:84:0:
vm_eval.c:1060:18: warning: ‘th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_thread_t *th = GET_THREAD();
^
vm_eval.c:1072:18: warning: ‘node’ may be used uninitialized in this function [-Wmaybe-uninitialized]
blockptr->iseq = (void *)node;
^
In file included from vm.c:20:0:
vm_eval.c: In function ‘eval_string_with_cref’:
eval_intern.h:129:12: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
_th->tag = _tag.prev;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
vm_eval.c:1203:5: note: in expansion of macro ‘TH_PUSH_TAG’
TH_PUSH_TAG(th);
^
vm_eval.c: In function ‘rb_eval_cmd’:
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
eval_intern.h:141:20: note: in expansion of macro ‘TH_PUSH_TAG’
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^
vm_eval.c:1492:5: note: in expansion of macro ‘PUSH_TAG’
PUSH_TAG();
^
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
eval_intern.h:141:20: note: in expansion of macro ‘TH_PUSH_TAG’
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^
vm_eval.c:1477:2: note: in expansion of macro ‘PUSH_TAG’
PUSH_TAG();
^
compiling vm_dump.c
compiling vm_backtrace.c
In file included from vm_backtrace.c:18:0:
vm_backtrace.c: In function ‘rb_debug_inspector_open’:
eval_intern.h:129:12: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
_th->tag = _tag.prev;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
vm_backtrace.c:1190:5: note: in expansion of macro ‘TH_PUSH_TAG’
TH_PUSH_TAG(th);
^
compiling vm_trace.c
In file included from vm_trace.c:30:0:
vm_trace.c: In function ‘exec_hooks_protected’:
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
vm_trace.c:303:5: note: in expansion of macro ‘TH_PUSH_TAG’
TH_PUSH_TAG(th);
^
vm_trace.c: In function ‘rb_suppress_tracing’:
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
vm_trace.c:406:5: note: in expansion of macro ‘TH_PUSH_TAG’
TH_PUSH_TAG(th);
^
compiling thread.c
In file included from thread.c:60:0:
thread.c: In function ‘rb_thread_s_handle_interrupt’:
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
thread.c:1811:5: note: in expansion of macro ‘TH_PUSH_TAG’
TH_PUSH_TAG(th);
^
thread.c: In function ‘rb_thread_terminate_all’:
eval_intern.h:149:15: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
th->state = 0;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
thread.c:441:2: note: in expansion of macro ‘TH_PUSH_TAG’
TH_PUSH_TAG(th);
^
compiling cont.c
cont.c: In function ‘cont_capture’:
cont.c:515:14: warning: ‘cont’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cont->value = Qnil;
^
In file included from cont.c:16:0:
cont.c: In function ‘rb_fiber_start’:
eval_intern.h:129:12: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
_th->tag = _tag.prev;
^
eval_intern.h:123:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th);
^
cont.c:1281:5: note: in expansion of macro ‘TH_PUSH_TAG’
TH_PUSH_TAG(th);
^
cont.c:1286:15: warning: ‘cont’ may be used uninitialized in this function [-Wmaybe-uninitialized]
argv = (argc = cont->argc) > 1 ? RARRAY_CONST_PTR(args) : &args;
^
cont.c:1273:17: warning: ‘fib’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_fiber_t *fib;
^
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/flock.c
compiling ./missing/isinf.c
compiling ./missing/setproctitle.c
compiling addr2line.c
compiling dmyext.c
processing probes in object files
rm -f probes.o
linking miniruby
rbconfig.rb updated
generating enc.mk
compiling dln.c
compiling localeinit.c
creating verconf.h
compiling loadpath.c
generating prelude.c
compiling prelude.c
generating a glommed object with DTrace probes for static library
linking static-library libruby-static.a
verifying static-library libruby-static.a
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory /export/home/dolly/ruby-2.1.6' compiling ./enc/encdb.c linking encoding encdb.so compiling ./enc/big5.c linking encoding big5.so compiling ./enc/cp949.c linking encoding cp949.so compiling ./enc/emacs_mule.c linking encoding emacs_mule.so compiling ./enc/euc_jp.c linking encoding euc_jp.so compiling ./enc/euc_kr.c linking encoding euc_kr.so compiling ./enc/euc_tw.c linking encoding euc_tw.so compiling ./enc/gb2312.c linking encoding gb2312.so compiling ./enc/gb18030.c linking encoding gb18030.so compiling ./enc/gbk.c linking encoding gbk.so compiling ./enc/iso_8859_1.c linking encoding iso_8859_1.so compiling ./enc/iso_8859_2.c linking encoding iso_8859_2.so compiling ./enc/iso_8859_3.c linking encoding iso_8859_3.so compiling ./enc/iso_8859_4.c linking encoding iso_8859_4.so compiling ./enc/iso_8859_5.c linking encoding iso_8859_5.so compiling ./enc/iso_8859_6.c linking encoding iso_8859_6.so compiling ./enc/iso_8859_7.c linking encoding iso_8859_7.so compiling ./enc/iso_8859_8.c linking encoding iso_8859_8.so compiling ./enc/iso_8859_9.c linking encoding iso_8859_9.so compiling ./enc/iso_8859_10.c linking encoding iso_8859_10.so compiling ./enc/iso_8859_11.c linking encoding iso_8859_11.so compiling ./enc/iso_8859_13.c linking encoding iso_8859_13.so compiling ./enc/iso_8859_14.c linking encoding iso_8859_14.so compiling ./enc/iso_8859_15.c linking encoding iso_8859_15.so compiling ./enc/iso_8859_16.c linking encoding iso_8859_16.so compiling ./enc/koi8_r.c linking encoding koi8_r.so compiling ./enc/koi8_u.c linking encoding koi8_u.so compiling ./enc/shift_jis.c linking encoding shift_jis.so compiling ./enc/utf_16be.c linking encoding utf_16be.so compiling ./enc/utf_16le.c linking encoding utf_16le.so compiling ./enc/utf_32be.c linking encoding utf_32be.so compiling ./enc/utf_32le.c linking encoding utf_32le.so compiling ./enc/windows_31j.c linking encoding windows_31j.so compiling ./enc/windows_1251.c linking encoding windows_1251.so make[1]: Leaving directory
/export/home/dolly/ruby-2.1.6'
making srcs under enc
make[1]: Entering directory /export/home/dolly/ruby-2.1.6' make[1]: Nothing to be done for
srcs'.
make[1]: Leaving directory /export/home/dolly/ruby-2.1.6' generating transdb.h transdb.h unchanged making trans make[1]: Entering directory
/export/home/dolly/ruby-2.1.6'
compiling ./enc/trans/transdb.c
linking transcoder transdb.so
compiling ./enc/trans/big5.c
linking transcoder big5.so
compiling ./enc/trans/chinese.c
linking transcoder chinese.so
compiling ./enc/trans/emoji.c
linking transcoder emoji.so
compiling ./enc/trans/emoji_iso2022_kddi.c
linking transcoder emoji_iso2022_kddi.so
compiling ./enc/trans/emoji_sjis_docomo.c
linking transcoder emoji_sjis_docomo.so
compiling ./enc/trans/emoji_sjis_kddi.c
linking transcoder emoji_sjis_kddi.so
compiling ./enc/trans/emoji_sjis_softbank.c
linking transcoder emoji_sjis_softbank.so
compiling ./enc/trans/escape.c
linking transcoder escape.so
compiling ./enc/trans/gb18030.c
linking transcoder gb18030.so
compiling ./enc/trans/gbk.c
linking transcoder gbk.so
compiling ./enc/trans/iso2022.c
linking transcoder iso2022.so
compiling ./enc/trans/japanese.c
linking transcoder japanese.so
compiling ./enc/trans/japanese_euc.c
linking transcoder japanese_euc.so
compiling ./enc/trans/japanese_sjis.c
linking transcoder japanese_sjis.so
compiling ./enc/trans/korean.c
linking transcoder korean.so
compiling ./enc/trans/single_byte.c
linking transcoder single_byte.so
compiling ./enc/trans/utf8_mac.c
linking transcoder utf8_mac.so
compiling ./enc/trans/utf_16_32.c
linking transcoder utf_16_32.so
make[1]: Leaving directory /export/home/dolly/ruby-2.1.6' making encs make[1]: Entering directory
/export/home/dolly/ruby-2.1.6'
make[1]: Leaving directory `/export/home/dolly/ruby-2.1.6'
generating makefile exts.mk
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-3662
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
configuring -test-/funcall
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/marshal/compat
configuring -test-/marshal/usr
configuring -test-/method
configuring -test-/num2int
configuring -test-/old_thread_select
configuring -test-/path_to_class
configuring -test-/postponed_job
configuring -test-/printf
configuring -test-/rational
configuring -test-/recursion
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/wait_for_single_fd
configuring -test-/win32/dln
Failed to configure -test-/win32/dln. It will not be installed.
configuring -test-/win32/dln/empty
Failed to configure -test-/win32/dln/empty. It will not be installed.
configuring -test-/win32/fd_setsize
Failed to configure -test-/win32/fd_setsize. It will not be installed.
configuring bigdecimal
configuring continuation
configuring coverage
configuring date
configuring dbm
header: ndbm.h
library: libc
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring digest/sha1
configuring digest/sha2
configuring dl
configuring dl/callback
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
configuring io/console
configuring io/nonblock
configuring io/wait
configuring json
configuring json/generator
configuring json/parser
configuring mathn/complex
configuring mathn/rational
configuring nkf
configuring objspace
configuring openssl
configuring pathname
configuring psych
configuring pty
configuring racc/cparse
configuring rbconfig/sizeof
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring thread
configuring tk
...........
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh...............................
Valid [tclConfig.sh, tkConfig.sh] are found in [["/usr/lib", "/usr/lib"]]
Use [tclConfig.sh, tkConfig.sh] == ["/usr/lib/tclConfig.sh", "/usr/lib/tkConfig.sh"]
Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
Find Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk.
configuring tk/tkutil
configuring win32
Failed to configure win32. It will not be installed.
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
make[1]: Entering directory /export/home/dolly/ruby-2.1.6' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/array/resize'
compiling resize.c
linking shared-object -test-/array/resize.so
installing default resize libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/array/resize' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/bignum'
compiling big2str.c
compiling div.c
compiling init.c
compiling mul.c
compiling bigzero.c
compiling intpack.c
compiling str2big.c
linking shared-object -test-/bignum.so
installing default bignum libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/bignum' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/bug-3571'
compiling bug.c
linking shared-object -test-/bug-3571/bug.so
installing default bug libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/bug-3571' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/bug-3662'
compiling bug.c
linking shared-object -test-/bug-3662/bug.so
installing default bug libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/bug-3662' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/bug-5832'
compiling bug.c
linking shared-object -test-/bug-5832/bug.so
installing default bug libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/bug-5832' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/bug_reporter'
compiling bug_reporter.c
linking shared-object -test-/bug_reporter/bug_reporter.so
installing default bug_reporter libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/bug_reporter' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/class'
compiling init.c
compiling class2name.c
linking shared-object -test-/class.so
installing default class libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/class' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/debug'
compiling inspector.c
compiling profile_frames.c
compiling init.c
linking shared-object -test-/debug.so
installing default debug libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/debug' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/exception'
compiling ensured.c
compiling init.c
compiling dataerror.c
compiling enc_raise.c
linking shared-object -test-/exception.so
installing default exception libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/exception' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/fatal'
compiling rb_fatal.c
linking shared-object -test-/fatal/rb_fatal.so
installing default rb_fatal libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/fatal' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/file'
compiling init.c
compiling stat.c
linking shared-object -test-/file.so
installing default file libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/file' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/funcall'
compiling passing_block.c
linking shared-object -test-/funcall/funcall.so
installing default funcall libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/funcall' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/iter'
compiling yield.c
compiling break.c
compiling init.c
linking shared-object -test-/iter.so
installing default iter libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/iter' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/load/dot.dot'
compiling dot.dot.c
linking shared-object -test-/load/dot.dot/dot.dot.so
installing default dot.dot libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/load/dot.dot' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/marshal/compat'
compiling usrcompat.c
linking shared-object -test-/marshal/compat.so
installing default compat libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/marshal/compat' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/marshal/usr'
compiling usrmarshal.c
linking shared-object -test-/marshal/usr.so
installing default usr libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/marshal/usr' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/method'
compiling init.c
compiling arity.c
linking shared-object -test-/method.so
installing default method libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/method' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/num2int'
compiling num2int.c
linking shared-object -test-/num2int/num2int.so
installing default num2int libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/num2int' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/old_thread_select'
compiling old_thread_select.c
linking shared-object -test-/old_thread_select/old_thread_select.so
installing default old_thread_select libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/old_thread_select' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/path_to_class'
compiling path_to_class.c
linking shared-object -test-/path_to_class/path_to_class.so
installing default path_to_class libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/path_to_class' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/postponed_job'
compiling postponed_job.c
linking shared-object -test-/postponed_job.so
installing default postponed_job libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/postponed_job' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/printf'
compiling printf.c
printf.c: In function ‘printf_test_call’:
printf.c:93:9: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
result = rb_enc_sprintf(rb_usascii_encoding(), format, s);
^
printf.c:96:9: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized]
result = rb_enc_sprintf(rb_usascii_encoding(), format, n);
^
linking shared-object -test-/printf.so
installing default printf libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/printf' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/rational'
compiling rat.c
linking shared-object -test-/rational.so
installing default rational libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/rational' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/recursion'
compiling recursion.c
linking shared-object -test-/recursion.so
installing default recursion libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/recursion' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/st/numhash'
compiling numhash.c
linking shared-object -test-/st/numhash.so
installing default numhash libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/st/numhash' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/st/update'
compiling update.c
linking shared-object -test-/st/update.so
installing default update libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/st/update' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/string'
compiling set_len.c
compiling enc_associate.c
compiling init.c
compiling qsort.c
compiling modify.c
compiling normalize.c
compiling enc_str_buf_cat.c
compiling ellipsize.c
compiling coderange.c
compiling cstr.c
linking shared-object -test-/string/string.so
installing default string libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/string' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/struct'
compiling init.c
compiling member.c
linking shared-object -test-/struct.so
installing default struct libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/struct' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/symbol'
compiling type.c
compiling intern.c
compiling init.c
linking shared-object -test-/symbol.so
installing default symbol libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/symbol' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/tracepoint'
compiling tracepoint.c
compiling gc_hook.c
linking shared-object -test-/tracepoint.so
installing default tracepoint libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/tracepoint' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/typeddata'
compiling typeddata.c
linking shared-object -test-/typeddata/typeddata.so
installing default typeddata libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/typeddata' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/wait_for_single_fd'
compiling wait_for_single_fd.c
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
installing default wait_for_single_fd libraries
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/wait_for_single_fd' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/win32/dln'
make[2]: Nothing to be done for all'. make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/-test-/win32/dln'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/-test-/win32/dln/empty' make[2]: Nothing to be done for
all'.
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/-test-/win32/dln/empty' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/-test-/win32/fd_setsize'
make[2]: Nothing to be done for all'. make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/-test-/win32/fd_setsize'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/bigdecimal' compiling bigdecimal.c linking shared-object bigdecimal.so installing default bigdecimal libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/bigdecimal'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/continuation' compiling continuation.c linking shared-object continuation.so installing default continuation libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/continuation'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/coverage' compiling coverage.c linking shared-object coverage.so installing default coverage libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/coverage'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/date' compiling date_strftime.c compiling date_core.c compiling date_strptime.c compiling date_parse.c linking shared-object date_core.so installing default date_core libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/date'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/dbm' compiling dbm.c linking shared-object dbm.so installing default dbm libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/dbm'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/digest' compiling digest.c linking shared-object digest.so installing digest libraries installing default digest libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/digest'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/digest/bubblebabble' compiling bubblebabble.c linking shared-object digest/bubblebabble.so installing default bubblebabble libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/digest/bubblebabble'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/digest/md5' compiling md5init.c compiling md5ossl.c linking shared-object digest/md5.so installing default md5 libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/digest/md5'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/digest/rmd160' compiling rmd160init.c compiling rmd160.c linking shared-object digest/rmd160.so installing default rmd160 libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/digest/rmd160'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/digest/sha1' compiling sha1init.c compiling sha1ossl.c linking shared-object digest/sha1.so installing default sha1 libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/digest/sha1'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/digest/sha2' compiling sha2init.c compiling sha2ossl.c linking shared-object digest/sha2.so installing default sha2 libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/digest/sha2'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/dl' compiling handle.c compiling dl.c compiling cfunc.c compiling cptr.c linking shared-object dl.so installing dl libraries installing default dl libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/dl'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/dl/callback' compiling callback.c compiling callback-0.c compiling callback-1.c compiling callback-2.c compiling callback-3.c compiling callback-4.c compiling callback-5.c compiling callback-6.c compiling callback-7.c compiling callback-8.c linking shared-object dl/callback.so installing default callback libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/dl/callback'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/etc' compiling etc.c linking shared-object etc.so installing default etc libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/etc'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/fcntl' compiling fcntl.c linking shared-object fcntl.so installing default fcntl libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/fcntl'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/fiber' compiling fiber.c linking shared-object fiber.so installing default fiber libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/fiber'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/fiddle' compiling closure.c compiling function.c compiling conversions.c compiling fiddle.c compiling pointer.c compiling handle.c linking shared-object fiddle.so installing default fiddle libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/fiddle'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/gdbm' compiling gdbm.c linking shared-object gdbm.so installing default gdbm libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/gdbm'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/io/console' compiling console.c linking shared-object io/console.so installing default console libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/io/console'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/io/nonblock' compiling nonblock.c linking shared-object io/nonblock.so installing default nonblock libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/io/nonblock'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/io/wait' compiling wait.c linking shared-object io/wait.so installing default wait libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/io/wait'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/json' installing default libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/json'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/json/generator' compiling generator.c linking shared-object json/ext/generator.so installing default generator libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/json/generator'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/json/parser' compiling parser.c linking shared-object json/ext/parser.so installing default parser libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/json/parser'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/mathn/complex' compiling complex.c linking shared-object mathn/complex.so installing default complex libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/mathn/complex'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/mathn/rational' compiling rational.c linking shared-object mathn/rational.so installing default rational libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/mathn/rational'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/nkf' compiling nkf.c linking shared-object nkf.so installing default nkf libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/nkf'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/objspace' compiling objspace_dump.c compiling object_tracing.c compiling objspace.c linking shared-object objspace.so installing default objspace libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/objspace'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/openssl' compiling ossl_engine.c compiling ossl_pkey_dsa.c compiling ossl_x509req.c compiling ossl_ssl_session.c compiling ossl_pkcs12.c compiling ossl_x509revoked.c compiling ossl_pkcs5.c compiling ossl_pkcs7.c compiling ossl_bio.c compiling ossl_x509.c compiling ossl_x509store.c compiling ossl_ns_spki.c compiling ossl_pkey.c compiling ossl.c compiling ossl_ssl.c compiling ossl_x509cert.c compiling ossl_config.c compiling ossl_asn1.c compiling ossl_x509crl.c compiling ossl_cipher.c compiling ossl_ocsp.c compiling ossl_x509attr.c compiling ossl_digest.c compiling ossl_x509ext.c compiling ossl_rand.c compiling openssl_missing.c compiling ossl_bn.c compiling ossl_pkey_dh.c compiling ossl_x509name.c compiling ossl_hmac.c compiling ossl_pkey_rsa.c compiling ossl_pkey_ec.c linking shared-object openssl.so installing default openssl libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/openssl'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/pathname' compiling pathname.c linking shared-object pathname.so installing default pathname libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/pathname'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/psych' compiling psych_yaml_tree.c compiling psych.c compiling psych_emitter.c compiling psych_parser.c compiling psych_to_ruby.c compiling ../.././ext/psych/yaml/emitter.c compiling ../.././ext/psych/yaml/api.c compiling ../.././ext/psych/yaml/loader.c compiling ../.././ext/psych/yaml/scanner.c compiling ../.././ext/psych/yaml/parser.c compiling ../.././ext/psych/yaml/dumper.c compiling ../.././ext/psych/yaml/reader.c compiling ../.././ext/psych/yaml/writer.c linking shared-object psych.so installing default psych libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/psych'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/pty' compiling pty.c linking shared-object pty.so installing default pty libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/pty'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/racc/cparse' compiling cparse.c linking shared-object racc/cparse.so installing default cparse libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/racc/cparse'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/rbconfig/sizeof' compiling sizes.c linking shared-object rbconfig/sizeof.so installing default sizeof libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/rbconfig/sizeof'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/readline' compiling readline.c linking shared-object readline.so installing default readline libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/readline'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/ripper' compiling ripper.c linking shared-object ripper.so installing default ripper libraries checking ../.././parse.y and ../.././ext/ripper/eventids2.c make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/ripper'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/sdbm' compiling _sdbm.c compiling init.c linking shared-object sdbm.so installing default sdbm libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/sdbm'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/socket' generating constant definitions compiling init.c compiling constants.c compiling basicsocket.c compiling socket.c compiling ipsocket.c compiling tcpsocket.c compiling tcpserver.c compiling sockssocket.c compiling udpsocket.c compiling unixsocket.c compiling unixserver.c compiling option.c compiling ancdata.c compiling raddrinfo.c compiling ifaddr.c linking shared-object socket.so installing default socket libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/socket'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/stringio' compiling stringio.c linking shared-object stringio.so installing default stringio libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/stringio'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/strscan' compiling strscan.c linking shared-object strscan.so installing default strscan libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/strscan'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/syslog' compiling syslog.c linking shared-object syslog.so installing default syslog libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/syslog'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/thread' compiling thread.c linking shared-object thread.so installing default thread libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/thread'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/tk' compiling tcltklib.c compiling stubs.c linking shared-object tcltklib.so installing tcltklib libraries installing default tcltklib libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/tk'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/tk/tkutil' compiling tkutil.c linking shared-object tkutil.so installing default tkutil libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/tk/tkutil'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/win32' make[2]: Nothing to be done for
all'.
make[2]: Leaving directory /export/home/dolly/ruby-2.1.6/ext/win32' make[2]: Entering directory
/export/home/dolly/ruby-2.1.6/ext/win32ole'
make[2]: Nothing to be done for all'. make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/win32ole'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6/ext/zlib' compiling zlib.c linking shared-object zlib.so installing default zlib libraries make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6/ext/zlib'
make[2]: Entering directory /export/home/dolly/ruby-2.1.6' linking ruby make[2]: Leaving directory
/export/home/dolly/ruby-2.1.6'
make[1]: Leaving directory /export/home/dolly/ruby-2.1.6' Generating RDoc documentation /export/home/dolly/ruby-2.1.6/.ext/common/date.rb:3:in
require': ld.so.1: ruby: fatal: relocation error: file /export/home/dolly/ruby-2.1.6/.ext/x86_64-solaris2.11/date_core.so: symbol rb_infinity: referenced symbol not found - /export/home/dolly/ruby-2.1.6/.ext/x86_64-solaris2.11/date_core.so (LoadError)
from /export/home/dolly/ruby-2.1.6/.ext/common/date.rb:3:in <top (required)>' from /export/home/dolly/ruby-2.1.6/lib/time.rb:1:in
require'
from /export/home/dolly/ruby-2.1.6/lib/time.rb:1:in <top (required)>' from /export/home/dolly/ruby-2.1.6/lib/rdoc/rdoc.rb:6:in
require'
from /export/home/dolly/ruby-2.1.6/lib/rdoc/rdoc.rb:6:in <top (required)>' from ./bin/rdoc:16:in
require'
from ./bin/rdoc:16:in `'
make: *** [rdoc] Error 1
Updated by shevegen (Robert A. Heiler) over 9 years ago
He had more luck lately and managed to finish compilation.
There are still some problems though - he said a mixing of 32 bit and 64 bit, which
confuses him right now.
I told him to provide some more feedback; he currently recompiles ruby after
grabbing libyaml (and compiling libyaml too; "gem env" does not want to work
without libyaml).
Updated by ngoto (Naohisa Goto) over 9 years ago
Try the following configure options.
Intel Solaris 11 64-bit compile:
% ./configure --build=x86_64-pc-solaris2.11 CFLAGS="-m64" LDFLAGS="-m64"
Intel Solaris 11 32-bit compile:
% ./configure --build=i386-pc-solaris2.11
or
% ./configure --build=i386-pc-solaris2.11 CFLAGS="-m32" LDFLAGS="-m32"
On Solaris, default compiler (Oracle Solaris Studio) always generates 32-bit binary by default,
and the configure does not set "-m32" or "-m64".
So, setting "-m64" to CFLAGS and LDFLAGS (and CXXFLAGS and DLDFLAGS, ...) is needed for 64-bit compile.
Updated by shevegen (Robert A. Heiler) over 9 years ago
He managed to compile everything lately but has not yet commented here even though I suggested to him that he should. :)
I'll ask him again when I see him how he managed to compile it (he did manage to).
Updated by nagachika (Tomoyuki Chikanaga) over 9 years ago
Anyway, I'll backport r50089 into ruby_2_2
branch later.
Updated by nagachika (Tomoyuki Chikanaga) over 9 years ago
- Status changed from Feedback to Closed
Applied in changeset backport22:r51518.
merge revision(s) 50089: [Backport #11342]
* ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state,
but it is a dummy.
* ext/socket/option.c: Solaris 11 doesn't have u_intN_t.
* ext/socket/option.c: Solaris 11 needs inspect_tcpi_msec.
* ext/socket/raddrinfo.c: Solaris 11 has AF_PACKET but doesn't have
related macros.
Updated by nagachika (Tomoyuki Chikanaga) over 9 years ago
- Status changed from Closed to Feedback
r50089 was backported into ruby_2_2
branch at r51518. But I don't change Backport field because this ticket is not Closed
yet.
Updated by naruse (Yui NARUSE) over 7 years ago
- Assignee set to takano32 (Mitsuhiro TAKANO)
Updated by jeremyevans0 (Jeremy Evans) over 5 years ago
- Status changed from Feedback to Closed