Re: V14 and later build the backend with -lpthread

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: V14 and later build the backend with -lpthread
Дата
Msg-id 1576030.1661461477@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: V14 and later build the backend with -lpthread  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: V14 and later build the backend with -lpthread  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: V14 and later build the backend with -lpthread  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> I suspect we will end up linked against the threading library anyway
> in real-world builds via --with-XXX (I see that --with-icu has that
> effect on my FreeBSD system, but I know that details about threading
> are quite different in NetBSD).  I may lack imagination but I'm
> struggling to see how it could break anything.

Yeah, there are plenty of situations where you end up with thread
support present somehow.  So it may be a lost cause.  I was mostly
concerned about this because it seemed like an unintentional change.

(I'm also still struggling to explain why mamba, with the *exact*
same NetBSD code on a different hardware platform, isn't showing
the same failures as chickadee.  More news if I figure that out.)

> How should I have done that, by the way?  Is the attached the right trick?

I think that'd do for preventing side-effects on LIBS, but I'm not
sure if we'd have to back-fill something in pgbench's link options.
Anyway, as I said to Robert, I'm content to watch and wait for now.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: V14 and later build the backend with -lpthread
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: PostgreSQL 15 Beta 4