Re: Re: [PATCHES] Fix for ODBC close
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2001-02-10T18:42:31Z
Lists: pgsql-hackers
> Bruce Momjian writes: > > > I have applied the following patch for OpenBSD and FreeBSD. They have > > the same -Bsymbolic handling and same use of LD for linking. I made the > > duplicate changes Peter made for BSDI. > > Hmm, at least on OpenBSD the recommended way to build shared libraries is > using 'ld' directly. But using gcc should work as well. > > Can anyone commend on the use of 'ld -x' to delete all local symbols? > > FreeBSD and OpenBSD have it, while BSD/OS does not. I added it to BSDi, > > and it seems to work fine. > > I don't think it should be used. Can someone comment on why people would have added that? > > > Actually, it seems NetBSD already had all these fixes. > > On NetBSD, there are about 4 different ways of build shared libraries, > depending on version and platform. Nothing I wanna mess with. Yes, BSDI has even more, but I think we are now doing the same thing on all the bsd's. Interesting that NetBSD was the only "right" one. -- 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