[#29374] nil.to_s — Shugo Maeda <shugo@...>

前田です。

59 messages 2006/09/01
[#29375] Re: nil.to_s — "U.Nakamura" <usa@...> 2006/09/01

こんにちは、なかむら(う)です。

[#29380] Re: nil.to_s — Yukihiro Matsumoto <matz@...> 2006/09/01

まつもと ゆきひろです

[#29387] Re: nil.to_s — Shugo Maeda <shugo@...> 2006/09/01

前田です。

[#29390] Re: nil.to_s — Yukihiro Matsumoto <matz@...> 2006/09/01

まつもと ゆきひろです

[#29398] Re: nil.to_s — "NARUSE, Yui" <naruse@...> 2006/09/01

成瀬です。

[#29400] Re: nil.to_s — Yukihiro Matsumoto <matz@...> 2006/09/01

まつもと ゆきひろです

[#29491] symbol and string — Tanaka Akira <akr@...>

open-uri で :proxy=>nil という指定を行うと、以下のようにエラーになります。

33 messages 2006/09/05
[#29499] Re: symbol and string — Yukihiro Matsumoto <matz@...> 2006/09/05

まつもと ゆきひろです

[#29500] Re: symbol and string — Tanaka Akira <akr@...> 2006/09/05

In article <1157470154.047826.13379.nullmailer@x31.priv.netlab.jp>,

[#29503] Re: symbol and string — Yukihiro Matsumoto <matz@...> 2006/09/06

まつもと ゆきひろです

[#29504] Re: symbol and string — Tanaka Akira <akr@...> 2006/09/06

In article <1157505538.340126.8472.nullmailer@x31.priv.netlab.jp>,

[#29507] Re: symbol and string — Yukihiro Matsumoto <matz@...> 2006/09/06

まつもと ゆきひろです

[#29512] Re: symbol and string — keiju@... (石塚圭樹) 2006/09/06

けいじゅ@いしつかです.

[#29529] Re: symbol and string — SASADA Koichi <ko1@...> 2006/09/08

 ささだです。

[#29530] Re: symbol and string — Yukihiro Matsumoto <matz@...> 2006/09/08

まつもと ゆきひろです

[ruby-dev:29426] Re: build failed on osx

From: Mitsuhiro Kondo <miche@...>
Date: 2006-09-03 02:51:04 UTC
List: ruby-dev #29426
近藤と申します。

On 2006/09/03, at 1:39, Masatoshi SEKI wrote:
> gcc -g -O2 -pipe -fno-common  -DRUBY_EXPORT  -I. -I.  -c dmyext.c
> ar rcu libruby19-static.a array.o ascii.o bignum.o class.o compar.o  
> dir.o dln.o enum.o enumerator.o error.o euc_jp.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 regcomp.o regenc.o  
> regerror.o regexec.o regparse.o ruby.o signal.o sjis.o sprintf.o  
> st.o string.o struct.o time.o utf8.o util.o variable.o version.o   
> dmyext.o
> gcc -g -O2 -pipe -fno-common  -DRUBY_EXPORT  -I. -I.  -c main.c
> gcc main.o  libruby19-static.a -ldl -lobjc   -o miniruby -g -O2 - 
> pipe -fno-common  -DRUBY_EXPORT
> /usr/bin/ld: warning multiple definitions of symbol _setregid
> libruby19-static.a(process.o) definition of _setregid in section  
> (__TEXT,__text)
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib 
> (setregid.So) definition of _setregid
> /usr/bin/ld: warning multiple definitions of symbol _setreuid
> libruby19-static.a(process.o) definition of _setreuid in section  
> (__TEXT,__text)
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib 
> (setreuid.So) definition of _setreuid
> rbconfig.rb updated
> make: *** [all] Illegal instruction

-Wl,-multiply_defined,suppress
でどうでしょう? (configure.inのパッチをこのメールの最後に 
つけました)
ちなみにcvsそのままでも、intel iMacではwarning 
は出るもののビルドできるようです。

---
近藤充弘
miche@mac.com


--- configure.in.orig   2006-09-03 11:47:27.000000000 +0900
+++ configure.in        2006-09-03 11:47:57.000000000 +0900
@@ -980,7 +980,7 @@
                         : ${LDFLAGS=""}
                         rb_cv_dlopen=yes ;;
         darwin*)        : ${LDSHARED='cc -dynamic -bundle -undefined  
suppress -flat_namespace'}
-                       : ${LDFLAGS=""}
+                       : ${LDFLAGS="-Wl,-multiply_defined,suppress"}
                         : ${LIBPATHENV=DYLD_LIBRARY_PATH}
                         rb_cv_dlopen=yes ;;
          aix*)           if test "$GCC" = yes; then

In This Thread