Re: UnixWare/CVS Tip/initdb.c needs to use threads flags... - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...
Date
Msg-id Pine.UW2.4.58.0403181804400.23871@lerami.lerctr.org
Whole thread Raw
In response to UnixWare/CVS Tip/initdb.c needs to use threads flags...  (Larry Rosenman <ler@lerctr.org>)
Responses Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...
Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...
List pgsql-hackers
On Thu, 18 Mar 2004, Larry Rosenman wrote:

> I attempted(!) to compile up CVS Head, and if you --enable-thread-safety,
> you need to include the THREADS stuff to cc:
>
> gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/port'
> cc -O -Kinline initdb.o -L../../../src/interfaces/libpq -lpq
> -L../../../src/port -L/usr/local/lib -Wl,-R/usr/local/pgsql/lib -lz
> -lreadline -ltermcap -lresolv -lgen -lld -lsocket -lnsl -ldl -lm  -lpgport
> -o initdb
> Undefined                       first referenced
> symbol                              in file
> pthread_getspecific                 libpq.so
> pthread_key_create                  libpq.so
> pthread_once                        libpq.so
> pthread_setspecific                 libpq.so
> UX:ld: ERROR: Symbol referencing errors. No output written to initdb
> gmake[3]: *** [initdb] Error 1
I bring this up on PGHACKERS because unixware may not be the only
place we have to use the threads flags.

What is the concensus of the community?

LER



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Will auto-cluster be in 7.5?
Next
From: Tom Lane
Date:
Subject: Re: Bug in CVS HEAD on bootparse.y???