Re: pgsql-server/src/makefiles Makefile.linux
От | Tom Lane |
---|---|
Тема | Re: pgsql-server/src/makefiles Makefile.linux |
Дата | |
Msg-id | 6694.1053749821@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pgsql-server/src/makefiles Makefile.linux (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: pgsql-server/src/makefiles Makefile.linux
|
Список | pgsql-committers |
Peter Eisentraut <peter_e@gmx.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
В списке pgsql-committers по дате отправления: