You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@xbc.nu> on 2000/12/18 21:03:20 UTC

Re: rePorting

O.K., it's time for an update now that filesystem tests actually create 
a filesystem.

i686-pc-linux-gnu:
  build: O.K.
  check: O.K.

sparc-sun-solaris2.6:
  build: O.K.
  check: O.K.
hppa1.1-hp-hpux10.20:
  build: Breaks in libsvn_client; looks like
         APR doesn't support dynamic loading on
         HP-UX. Need to look into that.
  check: N/A

rs6000-ibm-aix4.3.2.0:
  build: O.K.
  check: Segfault in fs-test. Actually in DB3 while
         opening the environment, during mutex init.
         Don't know, either DB3 doesn't work on AIX
         or I don't know how to build it. Sigh.

Win32:
  build: Under (re)construction.
  check: N/A


This looks worse than last time, but given all the new functionality 
we've got, it's basically o.k. I'll have to look into the HP-UX and AIX 
issues, and update the Win32 build bits.

-- 
Brane �ibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/

HP/UX dynamic loading (was: Re: rePorting)

Posted by Greg Stein <gs...@lyra.org>.
Looking at Python's dynamic loading, it always goes for shl_load().

But... Branko actually indicated there was a problem with the
apr_dso_handle_t type not being seen. I'd guess there is a simple problem
somewhere with the headers.

The code below can/should probably be tweaked some to use autoconf
mechanisms rather than the platform defines. Python has got quite a bit of
this stuff already autoconfiscated, so we could probably snarf a good amount
from there.

Cheers,
-g

On Mon, Dec 18, 2000 at 03:23:21PM -0600, Ben Collins-Sussman wrote:
> 
> Actually, I'm wondering if the code below is out of date.  IIRC, HPUX
> 11 uses plain old dlopen() now.
> 
> Ben Collins-Sussman <su...@newton.collab.net> writes:
> 
> > Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
> > 
> > > hppa1.1-hp-hpux10.20:
> > >   build: Breaks in libsvn_client; looks like
> > >          APR doesn't support dynamic loading on
> > >          HP-UX. Need to look into that.
> > 
> > Huh?
> > 
> > Looks like good old "shl_load" is being used to me, in
> > apr/dso/unix/dso.c:
> > 
> > apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, 
> >                         apr_pool_t *ctx)
> > {
> > #if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
> >     shl_t os_handle = shl_load(path, BIND_IMMEDIATE|BIND_VERBOSE|BIND_NOSTART, 0L);
> > #elif defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
> >     (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000))
> >     void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
> > #else
> >     void *os_handle = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
> > #endif    

-- 
Greg Stein, http://www.lyra.org/

HP/UX dynamic loading (was: Re: rePorting)

Posted by Greg Stein <gs...@lyra.org>.
Looking at Python's dynamic loading, it always goes for shl_load().

But... Branko actually indicated there was a problem with the
apr_dso_handle_t type not being seen. I'd guess there is a simple problem
somewhere with the headers.

The code below can/should probably be tweaked some to use autoconf
mechanisms rather than the platform defines. Python has got quite a bit of
this stuff already autoconfiscated, so we could probably snarf a good amount
from there.

Cheers,
-g

On Mon, Dec 18, 2000 at 03:23:21PM -0600, Ben Collins-Sussman wrote:
> 
> Actually, I'm wondering if the code below is out of date.  IIRC, HPUX
> 11 uses plain old dlopen() now.
> 
> Ben Collins-Sussman <su...@newton.collab.net> writes:
> 
> > Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
> > 
> > > hppa1.1-hp-hpux10.20:
> > >   build: Breaks in libsvn_client; looks like
> > >          APR doesn't support dynamic loading on
> > >          HP-UX. Need to look into that.
> > 
> > Huh?
> > 
> > Looks like good old "shl_load" is being used to me, in
> > apr/dso/unix/dso.c:
> > 
> > apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, 
> >                         apr_pool_t *ctx)
> > {
> > #if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
> >     shl_t os_handle = shl_load(path, BIND_IMMEDIATE|BIND_VERBOSE|BIND_NOSTART, 0L);
> > #elif defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
> >     (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000))
> >     void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
> > #else
> >     void *os_handle = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
> > #endif    

-- 
Greg Stein, http://www.lyra.org/

Re: rePorting

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:

> Actually, I'm wondering if the code below is out of date.  IIRC, HPUX
> 11 uses plain old dlopen() now.

Yes, but 10.20 and older don't.

Never mind. Configure didn't recognise DSO support on HP-UX -- it never 
checked for shl_open in -ldld. Fixed that this morning.

-- 
Brane Čibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/



Re: rePorting

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:

> Actually, I'm wondering if the code below is out of date.  IIRC, HPUX
> 11 uses plain old dlopen() now.

Yes, but 10.20 and older don't.

Never mind. Configure didn't recognise DSO support on HP-UX -- it never 
checked for shl_open in -ldld. Fixed that this morning.

-- 
Brane �ibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/

Re: rePorting

Posted by Ben Collins-Sussman <su...@newton.collab.net>.

Actually, I'm wondering if the code below is out of date.  IIRC, HPUX
11 uses plain old dlopen() now.

Ben Collins-Sussman <su...@newton.collab.net> writes:

> Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
> 
> > hppa1.1-hp-hpux10.20:
> >   build: Breaks in libsvn_client; looks like
> >          APR doesn't support dynamic loading on
> >          HP-UX. Need to look into that.
> 
> Huh?
> 
> Looks like good old "shl_load" is being used to me, in
> apr/dso/unix/dso.c:
> 
> apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, 
>                         apr_pool_t *ctx)
> {
> #if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
>     shl_t os_handle = shl_load(path, BIND_IMMEDIATE|BIND_VERBOSE|BIND_NOSTART, 0L);
> #elif defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
>     (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000))
>     void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
> #else
>     void *os_handle = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
> #endif    

Re: rePorting

Posted by Ben Collins-Sussman <su...@newton.collab.net>.

Actually, I'm wondering if the code below is out of date.  IIRC, HPUX
11 uses plain old dlopen() now.

Ben Collins-Sussman <su...@newton.collab.net> writes:

> Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
> 
> > hppa1.1-hp-hpux10.20:
> >   build: Breaks in libsvn_client; looks like
> >          APR doesn't support dynamic loading on
> >          HP-UX. Need to look into that.
> 
> Huh?
> 
> Looks like good old "shl_load" is being used to me, in
> apr/dso/unix/dso.c:
> 
> apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, 
>                         apr_pool_t *ctx)
> {
> #if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
>     shl_t os_handle = shl_load(path, BIND_IMMEDIATE|BIND_VERBOSE|BIND_NOSTART, 0L);
> #elif defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
>     (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000))
>     void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
> #else
>     void *os_handle = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
> #endif

Re: rePorting

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:

>> hppa1.1-hp-hpux10.20:
>>   build: Breaks in libsvn_client; looks like
>>          APR doesn't support dynamic loading on
>>          HP-UX. Need to look into that.
> 
> 
> Huh?
> 
> Looks like good old "shl_load" is being used to me, in
> apr/dso/unix/dso.c:

Actually, the compiler doesn't know apr_dso_handle_t. I didn't have time 
to go into that today, but I'll definitely try to find out what's goind on.


-- 
Brane �ibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/

Re: rePorting

Posted by Ben Collins-Sussman <su...@newton.collab.net>.
Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:

> O.K., it's time for an update now that filesystem tests actually create 
> a filesystem.

Whee!  <dances a jig>

> hppa1.1-hp-hpux10.20:
>   build: Breaks in libsvn_client; looks like
>          APR doesn't support dynamic loading on
>          HP-UX. Need to look into that.

Huh?

Looks like good old "shl_load" is being used to me, in
apr/dso/unix/dso.c:

apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, 
                        apr_pool_t *ctx)
{
#if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
    shl_t os_handle = shl_load(path, BIND_IMMEDIATE|BIND_VERBOSE|BIND_NOSTART, 0L);
#elif defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
    (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000))
    void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
#else
    void *os_handle = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
#endif

Re: rePorting

Posted by Branko Čibej <br...@xbc.nu>.
Branko �ibej wrote:

> O.K., it's time for an update now that filesystem tests actually 
> create a filesystem. 

And the filesystem gets initialised as of this morning (UTC, that is).

> hppa1.1-hp-hpux10.20:
>  build: Breaks in libsvn_client; looks like
>         APR doesn't support dynamic loading on
>         HP-UX. Need to look into that.
>  check: N/A 

Fixed problem in APR configure that wouldn't recognise HP-UX DSO support.
       build: O.K.
       check: O.K.

> rs6000-ibm-aix4.3.2.0:
>  build: O.K.
>  check: Segfault in fs-test. Actually in DB3 while
>         opening the environment, during mutex init.
>         Don't know, either DB3 doesn't work on AIX
>         or I don't know how to build it. Sigh. 

Had to rebuild DB3 with "xlc_r" instead of "gcc -mthreads"; looks like 
my gcc isn't configured right.
       build: O.K.
       check: O.K.


Bill Tutt contributed the APR Win32 bits, so hopefully Win32 will build 
Real Soon Now.

-- 
Brane �ibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/

Re: rePorting

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:

> Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
> 
>> As of UTC 20001221T014157, all client and libsvn_fs tests pass on 
>> i386-pc-win32, i686-pc-linux-gnu, sparc-sun-solaris2.6, 
>> hppa1.1-hp-hpux10.20, rs6000-ibm-aix4.3.2.0.
>> 
>> That's it for tonight. I've had it. Crawling to bed.
> 
> 
> At 3:42 a.m.??  You deserve it!

Oh  come on, it was only 2:42. Daylight savings time is off for the 
winter. :-)


-- 
Brane �ibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/

Re: rePorting

Posted by Ben Collins-Sussman <su...@newton.collab.net>.
Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:

> As of UTC 20001221T014157, all client and libsvn_fs tests pass on 
> i386-pc-win32, i686-pc-linux-gnu, sparc-sun-solaris2.6, 
> hppa1.1-hp-hpux10.20, rs6000-ibm-aix4.3.2.0.
> 
> That's it for tonight. I've had it. Crawling to bed.

At 3:42 a.m.??  You deserve it!

Re: rePorting

Posted by Branko Čibej <br...@xbc.nu>.
Branko �ibej wrote:

> Win32:
> build: Under (re)construction.
> check: N/A 

Win32:
       build: O.K.
       check: O.K.


As of UTC 20001221T014157, all client and libsvn_fs tests pass on 
i386-pc-win32, i686-pc-linux-gnu, sparc-sun-solaris2.6, 
hppa1.1-hp-hpux10.20, rs6000-ibm-aix4.3.2.0.

That's it for tonight. I've had it. Crawling to bed.

EOT

-- 
Brane �ibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/