[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
Index: src/Makefile.shlib =================================================================== RCS file: /opt/arc/cvs2/pgsql/src/Makefile.shlib,v retrieving revision 1.95 diff -u -c -r1.95 Makefile.shlib *** src/Makefile.shlib 13 Jul 2005 17:00:44 -0000 1.95 --- src/Makefile.shlib 15 Jul 2005 17:11:57 -0000 *************** *** 188,194 **** ifeq ($(PORTNAME), solaris) ifeq ($(GCC), yes) ! LINK.shared = $(CC) -shared else LINK.shared = $(CC) -G endif --- 188,194 ---- ifeq ($(PORTNAME), solaris) ifeq ($(GCC), yes) ! LINK.shared = $(CC) -shared -mimpure-text else LINK.shared = $(CC) -G endif
---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org