Re: More buildfarm stuff - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: More buildfarm stuff
Date
Msg-id 20050719200406.GJ38511@decibel.org
Whole thread Raw
In response to Re: More buildfarm stuff  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: More buildfarm stuff  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Tue, Jul 19, 2005 at 03:53:26PM -0400, Andrew Dunstan wrote:
> Do you have any other libpython*.so files on your system?
ldfarm@flake.1[14:56]~:2>locate libpython
/usr/local/lib/compat/pkg/libpython2.3.so.1
/usr/local/lib/libpython2.4.so
/usr/local/lib/libpython2.4.so.1
/usr/local/lib/python2.4/config/libpython2.4.a
/usr/local/lib/python2.4/config/libpython2.4.so
buildfarm@flake.1[14:57]~:3>

> Please show us the section of the make log that relates to building 
> plpython.

gmake[3]: Entering directory `/raid0/buildfarm/buildfarm/HEAD/pgsql.44418/src/pl/plpython'
ccache gcc -O3 -pipe -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -fpi
c -DPIC -I. -I/usr/local/include/python2.4 -I../../../src/include -I/usr/local/include  -c -o pl
python.o plpython.c -MMD
ar cr libplpython.a `lorder plpython.o | tsort`
ranlib libplpython.a
ccache gcc -O3 -pipe -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -fpi
c -DPIC -shared -Wl,-x,-soname,libplpython.so.0  plpython.o -L/usr/local/lib/python2.4/config -L
../../../src/port -L/usr/local/lib -lpython2.4 -lutil -lm -Wl,-R/usr/local/lib/python2.4/config 
-o libplpython.so.0
rm -f libplpython.so
ln -s libplpython.so.0 libplpython.so
gmake[3]: Leaving directory `/raid0/buildfarm/buildfarm/HEAD/pgsql.44418/src/pl/plpython'

> On my FC4 box I see:
> 
> [andrew ~]$ nm -D /usr/lib/libpython2.4.so | grep attr_destroy; ldd 
> /usr/lib/libpython2.4.so | grep thread
>         U pthread_attr_destroy
>        libpthread.so.0 => /lib/libpthread.so.0 (0x00921000)
> 
> What do these show you for /usr/local/lib/python2.4/config/libpython2.4.so ?

buildfarm@flake.1[15:01]~:14>nm -D /usr/local/lib/libpython2.4.so | grep attr_destroy ; nm -D
/usr/local/lib/python2.4/config/libpython2.4.so| grep attr_destroy        U pthread_attr_destroy        U
pthread_attr_destroy
buildfarm@flake.1[15:01]~:15>ldd /usr/local/lib/libpython2.4.so | grep thread ; ldd
/usr/local/lib/python2.4/config/libpython2.4.so| grep thread
 
buildfarm@flake.1[15:01]~:16>
-- 
Jim C. Nasby, Database Consultant               decibel@decibel.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?"


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: More buildfarm stuff
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Buildfarm issues on specific machines