Project

General

Profile

Backport #4406

Segmentation Fault

Added by karunamurti (Karuna Murti) over 8 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:35284]

Description

=begin
segmentation fault when running various rake tasks

ruby version:
ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]

compiler version:
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)

RubyGems Environment:

  • RUBYGEMS VERSION: 1.5.2
  • RUBY VERSION: 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
  • INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  • RUBY EXECUTABLE: /usr/bin/ruby
  • EXECUTABLE DIRECTORY: /usr/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86-linux
  • GEM PATHS:
    • /usr/lib/ruby/gems/1.8
    • /home/buddyuser/.gem/ruby/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

gem list:
rake 0.8.7

how to reproduce:
rake

stack trace:
$ gdb ruby
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run /usr/bin/rake -v
Starting program: /usr/bin/ruby /usr/bin/rake -v
[Thread debugging using libthread_db enabled]
[New Thread 0xb7f52940 (LWP 11685)]
/usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"

/usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"

Errors running test:units!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7f52940 (LWP 11685)]
0x009c9974 in ?? () from /lib/libselinux.so.1

(gdb) bt full
#0 0x009c9974 in ?? () from /lib/libselinux.so.1
No symbol table info available.
#1 0x009c2b8e in ?? () from /lib/libselinux.so.1
No symbol table info available.
#2 0x009bb1d8 in ?? () from /lib/libselinux.so.1
No symbol table info available.
#3 0x009cb350 in _fini () from /lib/libselinux.so.1
No symbol table info available.
#4 0x005a49b3 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#5 0x00185a39 in exit () from /lib/libc.so.6
No symbol table info available.
#6 0x08068a39 in ruby_stop (ex=6) at eval.c:1665
No locals.
#7 0x0806d811 in ruby_run () at eval.c:1686
state =
ex = 6
#8 0x080552bf in main (argc=2, argv=0x0, envp=0xb7f52900) at main.c:48
variable_in_this_stack_frame = 3216109912
=end

History

#1

Updated by sorah (Sorah Fukumori) over 8 years ago

  • Status changed from Open to Feedback

=begin
Hi,

We need the following additional things:

  • what in your rakefile
  • How's changed if selinux disabled

See Also: http://redmine.ruby-lang.org/wiki/ruby/HowtoReport

Thanks.
=end

#2

Updated by karunamurti (Karuna Murti) over 8 years ago

=begin
just regular Rakefile, any Rakefile. sample:

# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require(File.join(File.dirname(FILE), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'

Unfortunately I cannot remove selinux since it's part of the system package dependencies. I've temporary disabled selinux, but it still happens. The toolchain is quite old, from Ubuntu LTS 8.04

Cannot reproducible with 1.8.7p302
=end

#3

Updated by sorah (Sorah Fukumori) over 8 years ago

=begin
Is this ruby from apt?

Could you build in yourself and take backtrace?

Building ruby needs: build-essentials and bison apt packages.
=end

#4

Updated by karunamurti (Karuna Murti) over 8 years ago

=begin
Build from source. Ubuntu Jaunty 9.04. I know it is not supported anymore, but unfortunately it is the last version on the vps.
Use dependencies:

libreadline5-dev
zlib1g-dev
libssl-dev

configure options: --prefix=/usr

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking whether the linker is GNU ld... no
checking whether gcc -E accepts -o... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
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 special C compiler options needed for large files... no
checking for FILE_OFFSET_BITS value needed for large files... 64
checking for long long... yes
checking for off_t... yes
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 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 for pid_t... yes
checking for gid_t... yes
checking for uid_t... yes
checking for prototypes... yes
checking token paste string... ansi
checking for variable length prototypes and stdarg.h... yes
checking for noreturn function attribute... __attribute
_ ((noreturn)) x
checking for noinline function attribute... attribute ((noinline)) x
checking for RUBY_EXTERN... no
checking whether sys_nerr is declared... yes
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for clock_gettime in -lrt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) 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... yes
checking syscall.h presence... yes
checking for syscall.h... yes
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... yes
checking a.out.h presence... yes
checking for a.out.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for memory.h... (cached) 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... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking size of rlim_t... 8
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... 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 struct timezone... yes
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 working memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for dup2... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for strchr... yes
checking for strstr... yes
checking for strtoul... yes
checking for crypt... yes
checking for flock... yes
checking for vsnprintf... yes
checking for isnan... yes
checking for finite... yes
checking for isinf... yes
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for fmod... yes
checking for killpg... yes
checking for wait4... yes
checking for waitpid... yes
checking for syscall... yes
checking for chroot... yes
checking for fsync... yes
checking for getcwd... yes
checking for eaccess... yes
checking for truncate... yes
checking for ftruncate... yes
checking for chsize... no
checking for times... yes
checking for utimes... yes
checking for fcntl... yes
checking for lockf... yes
checking for lstat... yes
checking for symlink... yes
checking for link... yes
checking for readlink... yes
checking for setitimer... yes
checking for setruid... no
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setproctitle... no
checking for setrgid... no
checking for setegid... yes
checking for setregid... yes
checking for setresgid... yes
checking for issetugid... no
checking for pause... yes
checking for lchown... yes
checking for lchmod... no
checking for getpgrp... yes
checking for setpgrp... yes
checking for getpgid... yes
checking for setpgid... yes
checking for initgroups... yes
checking for getgroups... yes
checking for setgroups... yes
checking for getpriority... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sysconf... yes
checking for group_member... yes
checking for dlopen... yes
checking for sigprocmask... yes
checking for sigaction... yes
checking for sigsetjmp... no
checking for _setjmp... yes
checking for _longjmp... yes
checking for setsid... yes
checking for telldir... yes
checking for seekdir... yes
checking for fchmod... yes
checking for mktime... yes
checking for timegm... yes
checking for gettimeofday... yes
checking for cosh... yes
checking for sinh... yes
checking for tanh... yes
checking for round... yes
checking for setuid... yes
checking for setgid... yes
checking for setenv... yes
checking for unsetenv... yes
checking for __builtin_setjmp... no
checking for setjmp type... _setjmp
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... yes
checking for external timezone... long
checking for external altzone... no
checking for negative time_t for gmtime(3)... yes
checking whether getpgrp requires zero arguments... yes
checking whether setpgrp takes no argument... yes
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 whether right shift preserve sign bit... yes
checking read count field in FILE structures... not found(OK if using GNU libc)
checking read buffer ptr field in FILE structures... _IO_read_ptr
checking read buffer end field in FILE structures... _IO_read_end
checking whether need to seek between R/W... no
checking whether st_ino is huge... yes
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction... (cached) -1
checking whether ELF binaries are produced... yes
checking whether OS depend dynamic link works... yes
checking for nroff... /usr/bin/nroff
creating config.h
configure: creating ./config.status
config.status: creating Makefile

make:

gcc -O2 -I. -I. -c array.c
gcc -O2 -I. -I. -c bignum.c
gcc -O2 -I. -I. -c class.c
gcc -O2 -I. -I. -c compar.c
gcc -O2 -I. -I. -c dir.c
gcc -O2 -I. -I. -c dln.c
gcc -O2 -I. -I. -c enum.c
gcc -O2 -I. -I. -c enumerator.c
gcc -O2 -I. -I. -c error.c
gcc -O2 -I. -I. -c eval.c
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:1744: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_eval_cmd’:
eval.c:1885: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_trace_func’:
eval.c:2736: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_raise_jump’:
eval.c:4770: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘method_missing’:
eval.c:5736: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_call0’:
eval.c:5894: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_eval’:
eval.c:6696: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘exec_under’:
eval.c:6720: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_load’:
eval.c:7036: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_end_proc’:
eval.c:8071: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_END’:
eval.c:8084: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘mproc’:
eval.c:9860: warning: assignment discards qualifiers from pointer target type
gcc -O2 -I. -I. -c file.c
gcc -O2 -I. -I. -c gc.c
gcc -O2 -I. -I. -c hash.c
gcc -O2 -I. -I. -c inits.c
gcc -O2 -I. -I. -c io.c
io.c: In function ‘appendline’:
io.c:1574: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
io.c: In function ‘next_argv’:
io.c:4615: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
gcc -O2 -I. -I. -c marshal.c
gcc -O2 -I. -I. -c math.c
gcc -O2 -I. -I. -c numeric.c
gcc -O2 -I. -I. -c object.c
gcc -O2 -I. -I. -c pack.c
gcc -O2 -I. -I. -c parse.c
gcc -O2 -I. -I. -c process.c
gcc -O2 -I. -I. -c prec.c
gcc -O2 -I. -I. -c random.c
random.c: In function ‘random_seed’:
random.c:288: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -O2 -I. -I. -c range.c
gcc -O2 -I. -I. -c re.c
gcc -O2 -I. -I. -c regex.c
gcc -O2 -I. -I. -c ruby.c
gcc -O2 -I. -I. -c signal.c
gcc -O2 -I. -I. -c sprintf.c
gcc -O2 -I. -I. -c st.c
gcc -O2 -I. -I. -c string.c
gcc -O2 -I. -I. -c struct.c
gcc -O2 -I. -I. -c time.c
gcc -O2 -I. -I. -c util.c
gcc -O2 -I. -I. -c variable.c
gcc -O2 -I. -I. -c version.c
gcc -O2 -I. -I. -c dmyext.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o
gcc -O2 -I. -I. -c main.c
gcc -O2 -L. -rdynamic -Wl,-export-dynamic main.o libruby-static.a -lrt -ldl -lcrypt -lm -o miniruby
rbconfig.rb updated
compiling Win32API
compiling bigdecimal
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/bigdecimal'
mkdir -p ../../.ext/i686-linux
gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -DBASE=10000UL -DBASE_FIG=4 -D_FILE_OFFSET_BITS=64 -O2 -c bigdecimal.c
gcc -shared -o ../../.ext/i686-linux/bigdecimal.so bigdecimal.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
mkdir -p ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/jacobian.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/bigdecimal'
compiling curses
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/curses'
gcc -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_NCURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET -D_FILE_OFFSET_BITS=64 -O2 -c curses.c
gcc -shared -o ../../.ext/i686-linux/curses.so curses.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lncurses -ltermcap -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/curses'
compiling dbm
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/dbm'
gcc -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_TYPE_DBM -DHAVE___DB_NDBM_CLEARERR -DDB_DBM_HSEARCH -DDBM_HDR="<db.h>" -DHAVE_SYS_CDEFS_H -D_FILE_OFFSET_BITS=64 -O2 -c dbm.c
gcc -shared -o ../../.ext/i686-linux/dbm.so dbm.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -ldb -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/dbm'
compiling digest
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest'
gcc -I. -I../.. -I../../. -I../.././ext/digest -D_FILE_OFFSET_BITS=64 -O2 -c digest.c
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:280: warning: assignment discards qualifiers from pointer target type
gcc -shared -o ../../.ext/i686-linux/digest.so digest.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
cp ../.././ext/digest/lib/md5.rb ../../.ext/common
cp ../.././ext/digest/lib/digest.rb ../../.ext/common
cp ../.././ext/digest/lib/sha1.rb ../../.ext/common
cp ../.././ext/digest/digest.h ../../.ext/i686-linux
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest'
compiling digest/bubblebabble
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/bubblebabble'
mkdir -p ../../../.ext/i686-linux/digest
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -O2 -c bubblebabble.c
gcc -shared -o ../../../.ext/i686-linux/digest/bubblebabble.so bubblebabble.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/bubblebabble'
compiling digest/md5
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/md5'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -D_FILE_OFFSET_BITS=64 -O2 -c md5init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -D_FILE_OFFSET_BITS=64 -O2 -c md5ossl.c
gcc -shared -o ../../../.ext/i686-linux/digest/md5.so md5init.o md5ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/md5'
compiling digest/rmd160
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/rmd160'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -D_FILE_OFFSET_BITS=64 -O2 -c rmd160init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -D_FILE_OFFSET_BITS=64 -O2 -c rmd160ossl.c
gcc -shared -o ../../../.ext/i686-linux/digest/rmd160.so rmd160init.o rmd160ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/rmd160'
compiling digest/sha1
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/sha1'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -D_FILE_OFFSET_BITS=64 -O2 -c sha1init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -D_FILE_OFFSET_BITS=64 -O2 -c sha1ossl.c
gcc -shared -o ../../../.ext/i686-linux/digest/sha1.so sha1init.o sha1ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/sha1'
compiling digest/sha2
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/sha2'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -D_FILE_OFFSET_BITS=64 -O2 -c sha2.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -D_FILE_OFFSET_BITS=64 -O2 -c sha2init.c
gcc -shared -o ../../../.ext/i686-linux/digest/sha2.so sha2.o sha2init.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
mkdir -p ../../../.ext/common/digest
cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/digest/sha2'
compiling dl
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/dl'
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -D_FILE_OFFSET_BITS=64 -I. -O2 -c ptr.c
ptr.c: In function ‘rb_dlptr_inspect’:
ptr.c:463: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘struct ptr_data *’
ptr.c:463: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘void *’
ptr.c:463: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘struct ptr_data *’
ptr.c:463: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘void *’
Generating callback.func
Generating cbtable.func
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -D_FILE_OFFSET_BITS=64 -I. -O2 -c dl.c
Generating call.func
void
char
short
long
float
double
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -D_FILE_OFFSET_BITS=64 -I. -O2 -c sym.c
sym.c: In function ‘rb_dlsym_inspect’:
sym.c:272: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 4 has type ‘struct sym_data *’
sym.c:272: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘void *’
sym.c:272: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 4 has type ‘struct sym_data *’
sym.c:272: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘void *’
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -D_FILE_OFFSET_BITS=64 -I. -O2 -c handle.c
gcc -shared -o ../../.ext/i686-linux/dl.so ptr.o dl.o sym.o handle.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -ldl -lrt -ldl -lcrypt -lm -lc
mkdir -p ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/win32.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/types.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/import.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/struct.rb ../../.ext/common/dl
cp dlconfig.h ../../.ext/i686-linux
cp ../.././ext/dl/dl.h ../../.ext/i686-linux
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/dl'
compiling etc
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/etc'
gcc -I. -I../.. -I../../. -I../.././ext/etc -DHAVE_GETLOGIN -DHAVE_GETPWENT -DHAVE_GETGRENT -DHAVE_ST_PW_GECOS -DHAVE_ST_PW_PASSWD -DHAVE_ST_GR_PASSWD -DHAVE_TYPE_UID_T -DPW_UID2VAL=UINT2NUM -DPW_VAL2UID=NUM2UINT -DHAVE_TYPE_GID_T -DPW_GID2VAL=UINT2NUM -DPW_VAL2GID=NUM2UINT -D_FILE_OFFSET_BITS=64 -O2 -c etc.c
gcc -shared -o ../../.ext/i686-linux/etc.so etc.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/etc'
compiling fcntl
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/fcntl'
gcc -I. -I../.. -I../../. -I../.././ext/fcntl -D_FILE_OFFSET_BITS=64 -O2 -c fcntl.c
gcc -shared -o ../../.ext/i686-linux/fcntl.so fcntl.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/fcntl'
compiling gdbm
compiling iconv
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/iconv'
gcc -I. -I../.. -I../../. -I../.././ext/iconv -DHAVE_ICONV -D_FILE_OFFSET_BITS=64 -O2 -c iconv.c
gcc -shared -o ../../.ext/i686-linux/iconv.so iconv.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/iconv'
compiling io/wait
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/io/wait'
mkdir -p ../../../.ext/i686-linux/io
gcc -I. -I../../.. -I../../../. -I../../.././ext/io/wait -DFIONREAD_HEADER="<sys/ioctl.h>" -D_FILE_OFFSET_BITS=64 -O2 -c wait.c
wait.c: In function ‘io_ready_p’:
wait.c:65: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result
wait.c: In function ‘io_wait’:
wait.c:115: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result
gcc -shared -o ../../../.ext/i686-linux/io/wait.so wait.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
mkdir -p ../../../.ext/common/io
cp ../../.././ext/io/wait/lib/nonblock.rb ../../../.ext/common/io
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/io/wait'
compiling nkf
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/nkf'
gcc -I. -I../.. -I../../. -I../.././ext/nkf -D_FILE_OFFSET_BITS=64 -O2 -c nkf.c
gcc -shared -o ../../.ext/i686-linux/nkf.so nkf.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/nkf'
compiling openssl
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/openssl'
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509store.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509attr.c
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’:
ossl_x509attr.c:104: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type
/usr/include/openssl/x509.h:925: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_ocsp.c
ossl_ocsp.c: In function ‘ossl_ocspreq_initialize’:
ossl_ocsp.c:114: warning: passing argument 2 of ‘d2i_OCSP_REQUEST’ from incompatible pointer type
/usr/include/openssl/ocsp.h:544: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_ocsp.c: In function ‘ossl_ocspres_initialize’:
ossl_ocsp.c:321: warning: passing argument 2 of ‘d2i_OCSP_RESPONSE’ from incompatible pointer type
/usr/include/openssl/ocsp.h:540: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_ssl_session.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_pkcs5.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509name.c
ossl_x509name.c: In function ‘ossl_x509name_initialize’:
ossl_x509name.c:143: warning: passing argument 2 of ‘d2i_X509_NAME’ from incompatible pointer type
/usr/include/openssl/x509.h:933: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_hmac.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c openssl_missing.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_engine.c
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:347: warning: initialization discards qualifiers from pointer target type
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509revoked.c
ossl_x509revoked.c: In function ‘ossl_x509revoked_new’:
ossl_x509revoked.c:48: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘DupX509RevokedPtr’:
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_pkey_dsa.c
ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’:
ossl_pkey_dsa.c:165: warning: passing argument 1 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkey_dsa.c:165: warning: passing argument 4 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void **’ but argument is of type ‘char **’
ossl_pkey_dsa.c: In function ‘ossl_dsa_to_public_key’:
ossl_pkey_dsa.c:370: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509crl.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509cert.c
ossl_x509cert.c: In function ‘ossl_x509_inspect’:
ossl_x509cert.c:693: warning: initialization discards qualifiers from pointer target type
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_pkey_dh.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_bn.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_config.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509req.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_digest.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_rand.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_ssl.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_pkcs12.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_ns_spki.c
ossl_ns_spki.c: In function ‘ossl_spki_initialize’:
ossl_ns_spki.c:67: warning: passing argument 2 of ‘d2i_NETSCAPE_SPKI’ from incompatible pointer type
/usr/include/openssl/x509.h:973: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_asn1.c
ossl_asn1.c: In function ‘decode_bool’:
ossl_asn1.c:317: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from incompatible pointer type
/usr/include/openssl/asn1.h:816: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:332: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from incompatible pointer type
/usr/include/openssl/asn1.h:818: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_enum’:
ossl_asn1.c:372: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’ from incompatible pointer type
/usr/include/openssl/asn1.h:827: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_null’:
ossl_asn1.c:389: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from incompatible pointer type
/usr/include/openssl/asn1.h:849: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_obj’:
ossl_asn1.c:406: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from incompatible pointer type
/usr/include/openssl/asn1.h:776: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_time’:
ossl_asn1.c:434: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from incompatible pointer type
/usr/include/openssl/asn1.h:865: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘ossl_asn1_decode0’:
ossl_asn1.c:726: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type
/usr/include/openssl/asn1.h:921: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_pkcs7.c
ossl_pkcs7.c: In function ‘ossl_pkcs7si_new’:
ossl_pkcs7.c:89: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’:
ossl_pkcs7.c:102: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’:
ossl_pkcs7.c:115: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’:
ossl_pkcs7.c:128: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_pkey.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_x509ext.c
ossl_x509ext.c: In function ‘ossl_x509ext_initialize’:
ossl_x509ext.c:286: warning: passing argument 2 of ‘d2i_X509_EXTENSION’ from incompatible pointer type
/usr/include/openssl/x509.h:928: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_pkey_ec.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_pkey_rsa.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_cipher.c
ossl_cipher.c: In function ‘ossl_cipher_init’:
ossl_cipher.c:191: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_update_deprecated’:
ossl_cipher.c:314: warning: assignment discards qualifiers from pointer target type
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -O2 -c ossl_bio.c
gcc -shared -o ../../.ext/i686-linux/openssl.so ossl_x509store.o ossl_x509attr.o ossl_ocsp.o ossl_ssl_session.o ossl_pkcs5.o ossl_x509name.o ossl_hmac.o openssl_missing.o ossl_engine.o ossl_x509revoked.o ossl_pkey_dsa.o ossl_x509crl.o ossl.o ossl_x509cert.o ossl_pkey_dh.o ossl_bn.o ossl_config.o ossl_x509req.o ossl_digest.o ossl_rand.o ossl_ssl.o ossl_pkcs12.o ossl_ns_spki.o ossl_asn1.o ossl_pkcs7.o ossl_x509.o ossl_pkey.o ossl_x509ext.o ossl_pkey_ec.o ossl_pkey_rsa.o ossl_cipher.o ossl_bio.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lssl -lcrypto -lrt -ldl -lcrypt -lm -lc
mkdir -p ../../.ext/common/net
mkdir -p ../../.ext/common/openssl
cp ../.././ext/openssl/lib/net/telnets.rb ../../.ext/common/net
cp ../.././ext/openssl/lib/net/ftptls.rb ../../.ext/common/net
cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common
cp ../.././ext/openssl/lib/openssl/ssl.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/bn.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/x509.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/x509-internal.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/digest.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/cipher.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/config.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/buffering.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/pkcs7.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/ssl-internal.rb ../../.ext/common/openssl
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/openssl'
compiling pty
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/pty'
gcc -I. -I../.. -I../../. -I../.././ext/pty -DHAVE_SYS_STROPTS_H -DHAVE_SETRESUID -DHAVE_PTY_H -DHAVE_OPENPTY -D_FILE_OFFSET_BITS=64 -O2 -c pty.c
pty.c: In function ‘establishShell’:
pty.c:273: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
pty.c:289: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -shared -o ../../.ext/i686-linux/pty.so pty.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lutil -lrt -ldl -lcrypt -lm -lc
cp ../.././ext/pty/lib/expect.rb ../../.ext/common
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/pty'
compiling racc/cparse
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/racc/cparse'
mkdir -p ../../../.ext/i686-linux/racc
gcc -I. -I../../.. -I../../../. -I../../.././ext/racc/cparse -D_FILE_OFFSET_BITS=64 -O2 -c cparse.c
gcc -shared -o ../../../.ext/i686-linux/racc/cparse.so cparse.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/racc/cparse'
compiling readline
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/readline'
gcc -I. -I../.. -I../../. -I../.././ext/readline -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_FILENAME_COMPLETION_FUNCTION -DHAVE_RL_USERNAME_COMPLETION_FUNCTION -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS -DHAVE_RL_COMPLETER_WORD_BREAK_CHARACTERS -DHAVE_RL_BASIC_QUOTE_CHARACTERS -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS -DHAVE_RL_FILENAME_QUOTE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_EVENT_HOOK -DHAVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_RL_CLEAR_SIGNALS -DHAVE_RL_VI_EDITING_MODE -DHAVE_RL_EMACS_EDITING_MODE -DHAVE_REPLACE_HISTORY_ENTRY -DHAVE_REMOVE_HISTORY -D_FILE_OFFSET_BITS=64 -O2 -c readline.c
gcc -shared -o ../../.ext/i686-linux/readline.so readline.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lreadline -lncurses -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/readline'
compiling sdbm
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/sdbm'
gcc -I. -I../.. -I../../. -I../.././ext/sdbm -D_FILE_OFFSET_BITS=64 -O2 -c _sdbm.c
_sdbm.c: In function ‘makroom’:
_sdbm.c:442: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -I. -I../.. -I../../. -I../.././ext/sdbm -D_FILE_OFFSET_BITS=64 -O2 -c init.c
gcc -shared -o ../../.ext/i686-linux/sdbm.so _sdbm.o init.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/sdbm'
compiling socket
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/socket'
gcc -I. -I../.. -I../../. -I../.././ext/socket -DHAVE_ARPA_INET_H -DENABLE_IPV6 -DINET6 -DHAVE_SOCKADDR_STORAGE -DHAVE_NETINET_TCP_H -DHAVE_NETINET_UDP_H -DHAVE_SENDMSG -DHAVE_RECVMSG -DHAVE_ST_MSG_CONTROL -DHAVE_TYPE_STRUCT_ADDRINFO -DHAVE_FREEADDRINFO -DHAVE_GAI_STRERROR -DGAI_STRERROR_CONST -DHAVE_GETNAMEINFO -DHAVE_GETADDRINFO -DHAVE_TYPE_SOCKLEN_T -DHAVE_SYS_UN_H -DHAVE_SYS_UIO_H -DHAVE_SOCKET -DHAVE_GETHOSTBYNAME2 -DHAVE_SOCKETPAIR -DHAVE_GETHOSTNAME -D_FILE_OFFSET_BITS=64 -O2 -c socket.c
socket.c: In function ‘str_isnumber’:
socket.c:826: warning: ignoring return value of ‘strtoul’, declared with attribute warn_unused_result
gcc -shared -o ../../.ext/i686-linux/socket.so socket.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/socket'
compiling stringio
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/stringio'
gcc -I. -I../.. -I../../. -I../.././ext/stringio -D_FILE_OFFSET_BITS=64 -O2 -c stringio.c
gcc -shared -o ../../.ext/i686-linux/stringio.so stringio.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/stringio'
compiling strscan
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/strscan'
gcc -I. -I../.. -I../../. -I../.././ext/strscan -D_FILE_OFFSET_BITS=64 -O2 -c strscan.c
gcc -shared -o ../../.ext/i686-linux/strscan.so strscan.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/strscan'
compiling syck
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/syck'
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c rubyext.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c token.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c emitter.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c gram.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c implicit.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c yaml2byte.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c handler.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c syck.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c node.c
gcc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H -D_FILE_OFFSET_BITS=64 -O2 -c bytecode.c
gcc -shared -o ../../.ext/i686-linux/syck.so rubyext.o token.o emitter.o gram.o implicit.o yaml2byte.o handler.o syck.o node.o bytecode.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/syck'
compiling syslog
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/syslog'
gcc -I. -I../.. -I../../. -I../.././ext/syslog -DHAVE_SYSLOG_H -DHAVE_OPENLOG -DHAVE_SETLOGMASK -D_FILE_OFFSET_BITS=64 -O2 -c syslog.c
gcc -shared -o ../../.ext/i686-linux/syslog.so syslog.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/syslog'
compiling thread
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/thread'
gcc -I. -I../.. -I../../. -I../.././ext/thread -D_FILE_OFFSET_BITS=64 -DUSE_MEM_POOLS -O2 -c thread.c
gcc -shared -o ../../.ext/i686-linux/thread.so thread.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lrt -ldl -lcrypt -lm -lc
cp ../.././ext/thread/lib/thread.rb ../../.ext/common
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/thread'
compiling tk
compiling tk/tkutil
compiling win32ole
compiling zlib
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/zlib'
gcc -I. -I../.. -I../../. -I../.././ext/zlib -DHAVE_ZLIB_H -DOS_CODE=OS_UNIX -D_FILE_OFFSET_BITS=64 -O2 -c zlib.c
gcc -shared -o ../../.ext/i686-linux/zlib.so zlib.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lz -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330/ext/zlib'
making ruby
make[1]: Entering directory /home/karuna/public_html/ruby/ruby-1.8.7-p330'
gcc -O2 -L. -rdynamic -Wl,-export-dynamic main.o -lruby-static -lrt -ldl -lcrypt -lm -o ruby
make[1]: Leaving directory
/home/karuna/public_html/ruby/ruby-1.8.7-p330'
=end

#5

Updated by karunamurti (Karuna Murti) over 8 years ago

=begin
Sumimasen Fukumori-sama, but I have to rebuild the VPS. I will try to get my hand on the Ubuntu 9.04 again and the same toolchain. But I cannot guarantee I will be able to do it in a while. Please close this ticket if you want.

Arigatou gozaimasu.

=end

#6

Updated by jeremyevans0 (Jeremy Evans) 4 months ago

  • ruby -v deleted (ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux])
  • Status changed from Feedback to Closed
  • Description updated (diff)
  • Project changed from Ruby 1.8 to Backport187
  • Tracker changed from Bug to Backport

Also available in: Atom PDF