Re: [GENERAL] aix build question re: duplicate symbol warning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] aix build question re: duplicate symbol warning
Дата
Msg-id 23535.1130443760@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] aix build question re: duplicate symbol warning  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] aix build question re: duplicate symbol warning  (Kevin Murphy <murphy@genome.chop.edu>)
Список pgsql-hackers
I wrote:
> Hmm.  pqStrerror is defined in libpgport (which is linked into the
> backend) as well as libpq.  ISTM that libpq should not be linked with
> -Wl,-bI:../../../src/backend/postgres.imp, since it's not intended to
> be loaded into the backend.  Without having looked at the code, I'm
> wondering if the AIX makefiles stick that option into LDFLAGS_SL rather
> than someplace more restricted.

It seems that the right place to put this is BE_DLLLIBS, which is a
macro that probably didn't exist when the AIX support was last looked
at.  But both Windows and Darwin ports use it now, so we may as well
bring AIX up to speed.  Would you try the attached patch and see if it
gets rid of the warnings?  Also check that regression tests and contrib
build/regression tests still work.

            regards, tom lane


Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: enums
Следующее
От: Greg Stark
Дата:
Сообщение: Re: ERROR: invalid memory alloc request size