[ruby-core:68347] [Ruby trunk - Bug #10906] Problem building on Solaris 10 - symbol rb_infinity not found

From: djberg96@...
Date: 2015-02-28 06:46:36 UTC
List: ruby-core #68347
Issue #10906 has been updated by Daniel Berger.


I didn't send any options to configure. 

>/usr/ccs/bin/nm numeric.o | grep infinity
>/usr/ccs/bin/nm .ext/i386-solaris2.10/date_core.so | grep infinity
[1620]  |         0|       0|NOTY |GLOB |0    |UNDEF  |rb_infinity

>env
LDFLAGS=-R/usr/local/lib -R/opt/csw/lib -R/opt/csw/gcc4/lib
MANPATH=/usr/dt/man:/usr/man:/usr/openwin/share/man:/opt/csw/man:/usr/local/man:/opt/csw/man:/usr/local/man
DTSOURCEPROFILE=true
SHELL=/usr/bin/bash
TERM=dtterm
WINDOWID=54526077
OLDPWD=/export/home/djberge/Downloads/Ruby/ruby-2.2.0/ext
DTHELPSEARCHPATH=/export/home/djberge/.dt/help/djberge-unknown-0/%H:/export/home/djberge/.dt/help/djberge-unknown-0/%H.sdl:/export/home/djberge/.dt/help/djberge-unknown-0/%H.hv:/export/home/djberge/.dt/help/%H:/export/home/djberge/.dt/help/%H.sdl:/export/home/djberge/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
DTDEVROOT=
USER=djberge
LD_LIBRARY_PATH=/opt/csw/lib:/usr/local/lib/lib:/usr/lib:/usr/ucblib
OPENWINHOME=/usr/openwin
DTXSERVERLOCATION=local
XMBINDDIR=/usr/dt/lib/bindings
SESSION_SVR=unknown
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
PATH=/usr/local/bin:/opt/local/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/opt/solstudio12.2/bin:/opt/csw/bin:/usr/ccs/bin:/usr/sbin:/usr/local/bin:/opt/bin:/opt/csw/gcc4/bin:/usr/local/jruby/bin:/usr/xpg4/bin:/usr/local/bin:/opt/local/bin:/opt/solstudio12.2/bin:/opt/csw/bin:/usr/ccs/bin:/usr/sbin:/usr/local/bin:/opt/bin:/opt/csw/gcc4/bin:/usr/local/jruby/bin:/usr/xpg4/bin:/usr/local/bin:/opt/local/bin
MAIL=/usr/mail/djberge
TERMINAL_EMULATOR=dtterm
PWD=/export/home/djberge/Downloads/Ruby/ruby-2.2.0
EDITOR=/usr/dt/bin/dtpad
LANG=C
DTAPPSEARCHPATH=/export/home/djberge/.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
TZ=US/Mountain
XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
PS1=\u:\w \[\033[0m\]$(parse_git_branch)>
HOME=/export/home/djberge
SHLVL=2
DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
AB_CARDCATALOG=/usr/dt/share/answerbooks/C/ab_cardcatalog
LOGNAME=djberge
DTDATABASESEARCHPATH=/export/home/djberge/.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
DTUSERSESSION=djberge-unknown-0
XMICONSEARCHPATH=/export/home/djberge/.dt/icons/%B%M.pm:/export/home/djberge/.dt/icons/%B%M.bm:/export/home/djberge/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
CC=gcc -Wall
DISPLAY=:0.0
RUBYOPT=-rubygems
XMICONBMSEARCHPATH=/export/home/djberge/.dt/icons/%B%M.bm:/export/home/djberge/.dt/icons/%B%M.pm:/export/home/djberge/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
dtstart_sessionlogfile=/dev/null
_=/usr/bin/env

----------------------------------------
Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
https://bugs.ruby-lang.org/issues/10906#change-51693

* Author: Daniel Berger
* Status: Feedback
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.0
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Hi,

Solaris 10
gcc 4.8
ruby 2.2.0 current stable

I did configure/make, and it works until it tries to generate rdoc:    

    Generating RDoc documentation
    /export/home/djberge/Downloads/Ruby/ruby-2.2.0/.ext/common/date.rb:3:in `require': ld.so.1: ruby: fatal: relocation error: file /export/home/djberge/Downloads/Ruby/ruby-2.2.0/.ext/i386-solaris2.10/date_core.so: symbol rb_infinity: referenced symbol not found - /export/home/djberge/Downloads/Ruby/ruby-2.2.0/.ext/i386-solaris2.10/date_core.so (LoadError)
        from /export/home/djberge/Downloads/Ruby/ruby-2.2.0/.ext/common/date.rb:3:in `<top (required)>'
        from /export/home/djberge/Downloads/Ruby/ruby-2.2.0/lib/time.rb:1:in `require'
        from /export/home/djberge/Downloads/Ruby/ruby-2.2.0/lib/time.rb:1:in `<top (required)>'
        from /export/home/djberge/Downloads/Ruby/ruby-2.2.0/lib/rdoc/rdoc.rb:6:in `require'
        from /export/home/djberge/Downloads/Ruby/ruby-2.2.0/lib/rdoc/rdoc.rb:6:in `<top (required)>'
        from ./bin/rdoc:16:in `require'
        from ./bin/rdoc:16:in `<main>'
make: *** [rdoc] Error 1



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next