[前][次][番号順一覧][スレッド一覧]

ruby-changes:37729

From: ngoto <ko1@a...>
Date: Tue, 3 Mar 2015 01:06:29 +0900 (JST)
Subject: [ruby-changes:37729] ngoto:r49810 (trunk): * configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error.

ngoto	2015-03-03 01:06:08 +0900 (Tue, 03 Mar 2015)

  New Revision: 49810

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49810

  Log:
    * configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error.
      [Bug #10926] [ruby-dev:48888]
    * configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition
      to 64-bit.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 49809)
+++ configure.in	(revision 49810)
@@ -2963,6 +2963,10 @@ if test "$with_dln_a_out" != yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L2963
 			fi
 			if test "$ac_cv_sizeof_voidp" = 8; then
 			    : ${LIBPATHENV=LD_LIBRARY_PATH_64}
+			    : ${PRELOADENV=LD_PRELOAD_64}
+			else
+			    : ${LIBPATHENV=LD_LIBRARY_PATH_32}
+			    : ${PRELOADENV=LD_PRELOAD_32}
 			fi
 			rb_cv_dlopen=yes],
 	[sunos*], [	: ${LDSHARED='$(LD) -assert nodefinitions'}
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49809)
+++ ChangeLog	(revision 49810)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Mar  3 00:59:39 2015  Naohisa Goto  <ngotogenome@g...>
+
+	* configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class"
+	  error. [Bug #10926] [ruby-dev:48888]
+	* configure.in: set LIBPATHENV for 32-bit compile in Solaris
+	  in addition to 64-bit.
+
 Mon Mar  2 15:36:10 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in: do not check _setjmp unless _longjmp is available,

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]