please apply patch - build on Unixware with GCC

Started by Nicolas Bazinover 24 years ago9 messagespatches
Jump to latest
#1Nicolas Bazin
nbazin@ingenico.com.au

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
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Nicolas Bazin (#1)
Re: 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.

--
Peter Eisentraut peter_e@gmx.net

#3Nicolas Bazin
nbazin@ingenico.com.au
In reply to: Peter Eisentraut (#2)
Re: please apply patch - build on Unixware with GCC

----- 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

#4Nicolas Bazin
nbazin@ingenico.com.au
In reply to: Peter Eisentraut (#2)
Re: please apply patch - build on Unixware with GCC

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
#5Bruce Momjian
bruce@momjian.us
In reply to: Nicolas Bazin (#4)
Re: please apply patch - build on Unixware with GCC

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 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.

--
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
#6Peter Eisentraut
peter_e@gmx.net
In reply to: Bruce Momjian (#5)
Re: please apply patch - build on Unixware with GCC

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 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.

--
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

#7Nicolas Bazin
nbazin@ingenico.com.au
In reply to: Peter Eisentraut (#6)
Re: please apply patch - build on Unixware with GCC

----- 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 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.

--
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

#8Bruce Momjian
bruce@momjian.us
In reply to: Nicolas Bazin (#7)
Re: please apply patch - build on Unixware with GCC

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 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 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.

--
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
#9Bruce Momjian
bruce@momjian.us
In reply to: Nicolas Bazin (#4)
Re: please apply patch - build on Unixware with GCC

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 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.

--
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