Re: V8 Beta 5 on AIX

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: V8 Beta 5 on AIX
Дата
Msg-id 200412071425.iB7EP2503938@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: V8 Beta 5 on AIX  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > However, one thing we can do is to try this in Makefile.aix:
> >     # AIX needs threads for everything that uses libpq
> >     LIBS += $(PTHREAD_LIBS)
> > That is going to enable thread libs for all linking including the
> > backend, but it might work.
> 
> That is certainly wrong.  The correct thing is to add PTHREAD_LIBS to
> all and only those links that include libpq.  I suspect that the cc_r
> business is a red herring and the real problem is just that you forgot
> to include the libraries --- if so, AIX is probably not the only
> platform that will break.

The discussion at the time was that we didn't want to add a
libpq-specific CC just for Unixware, which we considered broken for not
having libpq dependency information in the library.

Now that we have two platforms that need this we might need to rethink
this, and think of a shortcut for 8.0 like we are already using for
Unixware.

--  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 по дате отправления:

Предыдущее
От: Nicolai Tufar
Дата:
Сообщение: Re: apparent problem on linux/s390
Следующее
От: Sibtay Abbas
Дата:
Сообщение: adding procedural languages