Re: threads stuff/UnixWare

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: threads stuff/UnixWare
Дата
Msg-id 200405131507.i4DF7L724903@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: threads stuff/UnixWare  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Larry Rosenman wrote:
> >> I agree.  the only issue is how to set up our makefiles to only do the
> >> -Kpthread/-pthreads(gcc) flags on the client code, and not do it for
> >> the backend itself.
> 
> > I think mixing a pgport that has thread flags with a backend that does
> > not is more risky than just compiling everything with the same thread
> > flags.
> 
> Can we get this straight: is -Kpthread a compile flag or just a link flag?
> If the latter then it should not be needed in building the libpgport files.
> If the former then adding it to LDFLAGS is the wrong thing.

-Kpthread is needed for both compile and link, and the PTHREAD_CFLAGS is
used for both compile and link phases.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: threads stuff/UnixWare
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Subtle pg_dump problem...