Skip site navigation (1) Skip section navigation (2)

Re: official submission for OU8/UnixWare sharedlib patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: official submission for OU8/UnixWare sharedlib patch
Date: 2001-08-28 16:14:48
Message-ID: 200108281614.f7SGEmD28644@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Removal of -Bdynamic too.

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.

> I sent this to -hackers and peter_e, but thought it ought to go to
> -patches as well. 
> 
> This fixes the regression test .so builds on sysv5 systems:
> I believe this will fix peter_e's problen with gcc. 
> 
> Please advise if this is a bad idea...
> 
> Index: Makefile.unixware
> ===================================================================
> RCS file: /home/projects/pgsql/cvsroot/pgsql/src/makefiles/Makefile.unixware,v
> retrieving revision 1.9
> diff -c -r1.9 Makefile.unixware
> *** Makefile.unixware	2000/12/16 18:14:25	1.9
> --- Makefile.unixware	2001/08/25 18:22:36
> ***************
> *** 16,21 ****
>   else
>   CXXFLAGS_SL = -K PIC
>   endif
>   
>   %.so: %.o
> ! 	$(LD) -G -Bdynamic -o $@ $<
> --- 16,26 ----
>   else
>   CXXFLAGS_SL = -K PIC
>   endif
> + ifeq ($(GCC), yes)
> + SO_FLAGS = -shared
> + else
> + SO_FLAGS = -G
> + endif
>   
>   %.so: %.o
> ! 	$(CC) $(SO_FLAGS) -Bdynamic -o $@ $<
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler(at)lerctr(dot)org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-08-28 16:15:07
Subject: Re: PAM Authentication Patch, take one...
Previous:From: Karel ZakDate: 2001-08-28 09:55:28
Subject: Re: Bytea/Base64 encoders for libpq - interested?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group