Re: More buildfarm stuff

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org, girgen(at)FreeBSD(dot)org
Subject: Re: More buildfarm stuff
Date: 2005-07-25 21:40:19
Message-ID: 20050725214019.GW29346@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jul 24, 2005 at 06:01:46PM -0600, Michael Fuhr wrote:
> On Sun, Jul 24, 2005 at 06:40:35PM -0400, Tom Lane wrote:
> > I think someone mentioned this already, but it'd be a good idea to
> > compare the python situation to plperl. On my Linux box, libperl.so
> > shows several references to pthread_xxx symbols ... not the same ones
> > libpython.so depends on, but pthread symbols none the less. I'd kind
> > of expect them both to fail if the problem is that the stock libc
> > doesn't include pthreads.
>
> I have a FreeBSD 4.11-STABLE box with Perl 5.8.7 built from the
> ports collection, and "nm libperl.so" shows no pthread functions.
> The port's Makefile has a WITH_THREADS option that I don't think is
> enabled by default. The Python port's Makefile, however, has a
> WITHOUT_THREADS option, so I think it *does* build a threaded Python
> by default.

FWIW, AFAICT I did build the port with default options. Though, nm shows
no symbols for my libpython(s)...

decibel(at)flake(dot)2[16:38]~:47>nm `locate libpython|grep .so`

/usr/local/lib/compat/pkg/libpython2.3.so.1:
/usr/libexec/elf/nm: /usr/local/lib/compat/pkg/libpython2.3.so.1: no symbols

/usr/local/lib/libpython2.4.so:
/usr/libexec/elf/nm: /usr/local/lib/libpython2.4.so: no symbols

/usr/local/lib/libpython2.4.so.1:
/usr/libexec/elf/nm: /usr/local/lib/libpython2.4.so.1: no symbols

/usr/local/lib/python2.4/config/libpython2.4.so:
/usr/libexec/elf/nm: /usr/local/lib/python2.4/config/libpython2.4.so: no symbols
decibel(at)flake(dot)2[16:39]~:48>

But I do have a /usr/local/lib/python2.4/config/libpython2.4.a that has
a bunch of symbols, though I'm not sure if that means anything or what
I'm looking for in the nm output.
--
Jim C. Nasby, Database Consultant decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2005-07-25 21:53:59 Re: Couple of minor buildfarm issues
Previous Message Jim C. Nasby 2005-07-25 21:35:16 Re: More buildfarm stuff