Re: 4 pgcrypto regressions failures - 1 unsolved

Marko Kreen <marko@l-t.ee>

From: Marko Kreen <marko@l-t.ee>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-hackers@postgresql.org
Date: 2005-07-15T17:20:38Z
Lists: pgsql-hackers

Attachments

[buildfarm machine dragonfly]

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)

2. http://www.filibeto.org/pipermail/solaris-users/2004-March/000662.html
   (that using GNU ld not Sun's fixes it)

The attached patch does #1.  Could you try it and see if it fixes it?

-- 
marko