Re: [HACKERS] 4 pgcrypto regressions failures - 1 unsolved - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] 4 pgcrypto regressions failures - 1 unsolved
Date
Msg-id 25558.1121525697@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] 4 pgcrypto regressions failures - 1 unsolved  (Marko Kreen <marko@l-t.ee>)
Responses Re: [HACKERS] 4 pgcrypto regressions failures - 1 unsolved
List pgsql-patches
Marko Kreen <marko@l-t.ee> writes:
> On Tue, Jul 12, 2005 at 01:06:46PM -0500, Kris Jurka wrote:
>>> Well the buildfarm machine kudu is actually the same machine just building
>>> with the Sun compiler and it works fine.  It links all of libz.a into
>>> libpgcrypto.so while gcc refuses to.
>
> I googled a bit and found two suggestions:
>
> 1. http://curl.haxx.se/mail/lib-2002-01/0092.html
> (Use -mimpure-text on linking line)
>
> The attached patch does #1.  Could you try it and see if it fixes it?

This sure seems like a crude band-aid rather than an actual solution.
The bug as I see it is that gcc is choosing to link libz.a rather than
libz.so --- why is that happening?

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: backslashes in pgindent
Next
From: Kris Jurka
Date:
Subject: Re: [HACKERS] 4 pgcrypto regressions failures - 1 unsolved