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

From: Kevin Murphy <murphy(at)genome(dot)chop(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [GENERAL] aix build question re: duplicate symbol warning
Date: 2005-10-27 21:42:45
Message-ID: 436149D5.6070905@genome.chop.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:

>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.
>
>
>
Tom, That patch worked, as far as eliminating those duplicate symbol
warnings. I have some dependency issues (libintl) that I have to
resolve in order to test the build.

-Kevin Murphy

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shane 2005-10-27 22:30:43 copy data from utf16 csv file
Previous Message Scott Marlowe 2005-10-27 20:31:56 Re: Why database is corrupted after re-booting

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-10-27 21:44:24 Re: _penalty gist method invoked with one key NULL
Previous Message Jim C. Nasby 2005-10-27 21:26:13 Re: enums