[Bug #3107] AIX$B$G(B--with-opt-dir

Bug #3107: AIXe$B$Ge(B–with-opt-dir
http://redmine.ruby-lang.org/issues/show/3107

e$B5/I<<Te(B: Yutaka K.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Yutaka K., e$B%+%F%4%je(B: build, Target version:
1.9.x
ruby -v: ruby 1.9.2dev (2010-04-07 trunk 27249) [powerpc-aix5.3.0.0]

AIXe$B$Ge(B–with-opt-dire$B$9$k$H!"3HD%%i%$%V%i%j$,8F$Y$J$/$J$j$^$7$?!#e(B
libce$B$,$J$$$H$+8@$o$l$F$7$^$&$N$G$9$,!"e(B–with-opt-dire$B$r$7$?$H$-$Ke(B
e$BDI2C$5$l$ke(B-blibpathe$B$N%Q%i%a!<%?$,e(B–with-opt-dire$B$G;XDj$7$?$b$N$@$1$K$J$j!"e(B

xlc_r -G -o …/…/.ext/powerpc-aix5.3.0.0/stringio.so stringio.o -L.

-L…/… -L/somewhere/r19.xlc/lib -blibpath:/somewhere/r19.xlc/lib -L.
-eInit_stringio -lpthread -lrt -ldl -lcrypt -lm -lc

libce$B$rC5$7$K$$$1$J$/$J$C$F$$$^$7$?!#e(B
e$B0J2<$N%Q%C%A$Ge(B/usr/lib:/libe$B$rDI2C$G$-$k$h$&$K$J$C$F2sHr$O$G$-$?$N$G$9$,!"e(B
e$B$b$H$b$H$3$N9T$,F~$C$?7P0^e(B
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19233
e$B$,$h$/$o$+$i$J$+$C$?$N$G!“G0$N0Y$K$”$2$5$;$F$$$?$@$-$^$7$?!#e(B

Index: configure.in

— configure.in (revision 27249)
+++ configure.in (working copy)
@@ -1815,7 +1815,7 @@
TRY_LINK=‘$(CC) $(LDFLAGS) -oconftest
$(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)’
TRY_LINK=“$TRY_LINK”’ $(CFLAGS) $(src)
$(LIBPATH) $(LOCAL_LIBS) $(LIBS)’
: ${LIBPATHENV=SHLIB_PATH}

  •                   RPATHFLAG=" ${linker_flag}-blibpath:%1\$-s"
    
  •                   RPATHFLAG=" 
    

${linker_flag}-blibpath:%1$-s:${LIBPATH:-/usr/lib:/lib}"
rb_cv_dlopen=yes],
[human*], [ : ${DLDFLAGS=‘’}
: ${LDSHARED=‘’}

e$B2?$+9MN8E@$,$“$j$^$7$?$i8f0lJs$$$?$@$1$^$9$G$7$g$&$+!)e(B
e$BFC$K;XE&$,$J$1$l$P!”:#=5Kv$K$G$b$$$l$5$;$F$$$?$@$3$&$H;W$$$^$9!#e(B

e$B$h$m$7$/$*4j$$$$$?$7$^$9!#e(B

e$B%A%1%C%He(B #3107 e$B$,99?7$5$l$^$7$?!#e(B (by Yutaka K.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r27307.
Yutaka, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/3107