Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...
Дата
Msg-id Pine.UW2.4.58.0403181804400.23871@lerami.lerctr.org
обсуждение исходный текст
Ответ на UnixWare/CVS Tip/initdb.c needs to use threads flags...  (Larry Rosenman <ler@lerctr.org>)
Ответы Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Will auto-cluster be in 7.5?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug in CVS HEAD on bootparse.y???