View Single Post

   
  #2 (permalink)  
Old 04-18-2008, 12:41 AM
Tom Lane
 
Posts: n/a
Default Re: [HACKERS] 4 pgcrypto regressions failures - 1 unsolved

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote