please apply patch - build on Unixware with GCC
This patch corrects the use of rpath and export options when compiling on postgres on Unixware with GCC built with gnu-as and gnu-ld.
note:
For those using Unixware and willing to upgrade from the package provided by Caldera to GCC 2.95.3 or GCC 3.0.X, the trick to compile gcc is to build binutil, and compile gcc with-gnu-as and with-gnu-ld options.
Attachments:
makefiles.diffapplication/octet-stream; name=makefiles.diffDownload+9-4
Nicolas Bazin writes:
This patch corrects the use of rpath and export options when compiling
on postgres on Unixware with GCC built with gnu-as and gnu-ld.
Ya know, that $(ld_R_works) stuff was there for a reason. Not all
versions of the Unixware linker support that option.
--
Peter Eisentraut peter_e@gmx.net
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Nicolas Bazin" <nbazin@ingenico.com.au>
Cc: <pgsql-patches@postgresql.org>
Sent: Wednesday, April 03, 2002 2:10 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCC
Nicolas Bazin writes:
This patch corrects the use of rpath and export options when compiling
on postgres on Unixware with GCC built with gnu-as and gnu-ld.Ya know, that $(ld_R_works) stuff was there for a reason. Not all
versions of the Unixware linker support that option.
OK I'll resubmit a patch with this test.
Show quoted text
--
Peter Eisentraut peter_e@gmx.net---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
Here it is the patch with ld_R_works and added support to gnu ld options.
Please apply patch.
Nicolas
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Nicolas Bazin" <nbazin@ingenico.com.au>
Cc: <pgsql-patches@postgresql.org>
Sent: Wednesday, April 03, 2002 2:10 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCC
Show quoted text
Nicolas Bazin writes:
This patch corrects the use of rpath and export options when compiling
on postgres on Unixware with GCC built with gnu-as and gnu-ld.Ya know, that $(ld_R_works) stuff was there for a reason. Not all
versions of the Unixware linker support that option.--
Peter Eisentraut peter_e@gmx.net---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
Attachments:
makefiles.diffapplication/octet-stream; name=makefiles.diffDownload+13-13
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Nicolas Bazin wrote:
Here it is the patch with ld_R_works and added support to gnu ld options.
Please apply patch.
Nicolas
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Nicolas Bazin" <nbazin@ingenico.com.au>
Cc: <pgsql-patches@postgresql.org>
Sent: Wednesday, April 03, 2002 2:10 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCCNicolas Bazin writes:
This patch corrects the use of rpath and export options when compiling
on postgres on Unixware with GCC built with gnu-as and gnu-ld.Ya know, that $(ld_R_works) stuff was there for a reason. Not all
versions of the Unixware linker support that option.--
Peter Eisentraut peter_e@gmx.net---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
[ Attachment, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
This patch doesn't work either. You can't indent ifeq directives.
Bruce Momjian writes:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Nicolas Bazin wrote:
Here it is the patch with ld_R_works and added support to gnu ld options.
Please apply patch.
Nicolas
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Nicolas Bazin" <nbazin@ingenico.com.au>
Cc: <pgsql-patches@postgresql.org>
Sent: Wednesday, April 03, 2002 2:10 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCCNicolas Bazin writes:
This patch corrects the use of rpath and export options when compiling
on postgres on Unixware with GCC built with gnu-as and gnu-ld.Ya know, that $(ld_R_works) stuff was there for a reason. Not all
versions of the Unixware linker support that option.--
Peter Eisentraut peter_e@gmx.net---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org[ Attachment, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
--
Peter Eisentraut peter_e@gmx.net
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Bruce Momjian" <pgman@candle.pha.pa.us>
Cc: "Nicolas Bazin" <nbazin@ingenico.com.au>; <pgsql-patches@postgresql.org>
Sent: Friday, April 05, 2002 2:11 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCC
This patch doesn't work either. You can't indent ifeq directives.
Is it a problem with other make programs ? Because it works for me with the
following config:
gmake, gcc 2.95.3, Unixware 7.1.1,
I also checked the Makefile.aix and you find indent ifeq
Now if the only problem is with indent, do you need a new patch without the
indents or is it possible to edit the current patch and remove the indents ?
Bruce Momjian writes:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
--------------------------------------------------------------------------
-
Nicolas Bazin wrote:
Here it is the patch with ld_R_works and added support to gnu ld
options.
Please apply patch.
Nicolas
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Nicolas Bazin" <nbazin@ingenico.com.au>
Cc: <pgsql-patches@postgresql.org>
Sent: Wednesday, April 03, 2002 2:10 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCCNicolas Bazin writes:
This patch corrects the use of rpath and export options when
compiling
on postgres on Unixware with GCC built with gnu-as and gnu-ld.
Ya know, that $(ld_R_works) stuff was there for a reason. Not all
versions of the Unixware linker support that option.--
Peter Eisentraut peter_e@gmx.net---------------------------(end of
broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to
majordomo@postgresql.org
[ Attachment, skipping... ]
---------------------------(end of
broadcast)---------------------------
Show quoted text
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly--
Peter Eisentraut peter_e@gmx.net
I will fix the indents, and the ones in Makefile.aix too.
---------------------------------------------------------------------------
Nicolas Bazin wrote:
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Bruce Momjian" <pgman@candle.pha.pa.us>
Cc: "Nicolas Bazin" <nbazin@ingenico.com.au>; <pgsql-patches@postgresql.org>
Sent: Friday, April 05, 2002 2:11 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCCThis patch doesn't work either. You can't indent ifeq directives.
Is it a problem with other make programs ? Because it works for me with the
following config:
gmake, gcc 2.95.3, Unixware 7.1.1,I also checked the Makefile.aix and you find indent ifeq
Now if the only problem is with indent, do you need a new patch without the
indents or is it possible to edit the current patch and remove the indents ?Bruce Momjian writes:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
--------------------------------------------------------------------------
-
Nicolas Bazin wrote:
Here it is the patch with ld_R_works and added support to gnu ld
options.
Please apply patch.
Nicolas
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Nicolas Bazin" <nbazin@ingenico.com.au>
Cc: <pgsql-patches@postgresql.org>
Sent: Wednesday, April 03, 2002 2:10 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCCNicolas Bazin writes:
This patch corrects the use of rpath and export options when
compiling
on postgres on Unixware with GCC built with gnu-as and gnu-ld.
Ya know, that $(ld_R_works) stuff was there for a reason. Not all
versions of the Unixware linker support that option.--
Peter Eisentraut peter_e@gmx.net---------------------------(end of
broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to
majordomo@postgresql.org
[ Attachment, skipping... ]
---------------------------(end of
broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly--
Peter Eisentraut peter_e@gmx.net
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Patch applied. Thanks.
Leading spaces in conditional macros removed.
---------------------------------------------------------------------------
Nicolas Bazin wrote:
Here it is the patch with ld_R_works and added support to gnu ld options.
Please apply patch.
Nicolas
----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Nicolas Bazin" <nbazin@ingenico.com.au>
Cc: <pgsql-patches@postgresql.org>
Sent: Wednesday, April 03, 2002 2:10 AM
Subject: Re: [PATCHES] please apply patch - build on Unixware with GCCNicolas Bazin writes:
This patch corrects the use of rpath and export options when compiling
on postgres on Unixware with GCC built with gnu-as and gnu-ld.Ya know, that $(ld_R_works) stuff was there for a reason. Not all
versions of the Unixware linker support that option.--
Peter Eisentraut peter_e@gmx.net---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
[ Attachment, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026