[#30743] 大きな数の大まかな割り算 — Yukihiro Matsumoto <matz@...>

まつもと ゆきひろです

17 messages 2007/05/01

[#30827] Supporting Fiber — SASADA Koichi <ko1@...>

 ささだです。

22 messages 2007/05/27

[ruby-dev:30760] Re: Ruby load problem on AIX

From: Nobuyoshi Nakada <nobu@...>
Date: 2007-05-02 13:25:34 UTC
List: ruby-dev #30760
なかだです。

めんどくさいのでdevに振ります。

At Wed, 2 May 2007 20:18:19 +0900,
Yutaka Kanemoto wrote in [ruby-talk:249915]:
> > > -                           DLDFLAGS='-Wl,-G -eInit_$(TARGET)'
> > > -                           LDFLAGS='-Wl,-brtl -Wl,-bE:ruby.imp'
> > > +                           DLDFLAGS="${DLDFLAGS} -Wl,-G -Wl,-bnoentry -Wl,-bexpall"
> > > +                           LDFLAGS="${LDFLAGS} -Wl,-brtl -Wl,-bE:ruby.imp"
> >
> > I don't know about -bnoentry and -bexpall options, are they
> > preferable?
> To follow existing code which uses dlopen(), I omitted -e option.
> Then, these options are used to supress some error message.

つまり、dlopen()/load()の選択とこのオプションは連動しているとい
う認識でいいでしょうか。

> > > -#if defined(_AIX) && ! defined(_IA64)
> > > -static void
> > > -aix_loaderror(const char *pathname)
> >
> > Do all AIX versions support dlopen()?  If not, these probably
> > should not be removed but be changed the condition.
> I have AIX 4.3.3 machine which is oldest in my test environment,
> and it actually has dlopen(), but I think the older version AIX
> would not have dlopen() (or broken?). I had prioritized the current
> supported versions as matz said ( see [ruby-dev:29154]). I should
> have been more carefully to support old versions.

dlopen()があれば使う、ということなら(configure.in的には)話は簡
単でいいんですが、たぶんそうは問屋が卸さないんでしょうねぇ。

> Please give me some time to make another patch? I have noticed
> the linker_flag variable you made. I will make new patch against
> ruby_1_8 branch or trunk. Since I will test on various AIX versions,
> it will take a little...

もちろん問題ありません。調べていただければありがたいです。

-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

In This Thread

Prev Next