Re: pgsql-server/src/makefiles Makefile.linux

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/src/makefiles Makefile.linux
Date: 2003-05-24 04:17:01
Message-ID: 6694.1053749821@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Tom Lane writes:
>> Use -fPIC on Sparc, per Tom Callaway.

> Then we might as well use -fPIC everywhere all the time, because if it
> happens on Linux/Sparc then it's bound to happen on all platforms where it
> makes a difference.

No, it's not: Sparc has the smallest -fpic GOT size limit of all
platforms, and apparently it needs to generate more GOT entries than
others, too.

I'm not actually convinced that Sparc has a real need for -fPIC, either,
since Lamar could not reproduce Tom's problem, and the GOT sizes I can
measure on x86 are an order of magnitude smaller than the Sparc limit.
I pushed out the change quickly because of the impending 7.3.3 deadline,
but I'm more than half inclined to revert it.

I have verified that HPPA doesn't need -fPIC, and am planning to make
that change sometime. The reason Makefile.hpux is that way now is that
I was accustomed to needing -fPIC on a different project that generated
shared libraries far bigger than any of ours.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2003-05-24 15:33:46 pgsql-server/doc TODO
Previous Message Bruce Momjian - CVS 2003-05-24 03:59:06 pgsql-server/doc/TODO.detail optimizer