Re: Optimization levels when compiling PostgreSQL...

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Optimization levels when compiling PostgreSQL...
Дата
Msg-id
Pine.LNX.4.44.0209101843350.1307-100000@localhost.localdomain
Ответ на
Список
Дерево обсуждения
Optimization levels when compiling PostgreSQL... Sean Chittenden <sean@chittenden.org>
Re: Optimization levels when compiling PostgreSQL... Tom Lane <tgl@sss.pgh.pa.us>
Re: Optimization levels when compiling PostgreSQL... Sean Chittenden <sean@chittenden.org>
Re: Optimization levels when compiling PostgreSQL... Bruce Momjian <pgman@candle.pha.pa.us>
Re: Optimization levels when compiling PostgreSQL... Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
Re: Optimization levels when compiling PostgreSQL... Neil Conway <neilc@samurai.com>
Re: Optimization levels when compiling PostgreSQL... Tom Lane <tgl@sss.pgh.pa.us>
Re: Optimization levels when compiling PostgreSQL... Sean Chittenden <sean@chittenden.org>
Re: Optimization levels when compiling PostgreSQL... Tom Lane <tgl@sss.pgh.pa.us>
Re: Optimization levels when compiling PostgreSQL... Sean Chittenden <sean@chittenden.org>
Re: Optimization levels when compiling PostgreSQL... Peter Eisentraut <peter_e@gmx.net>
Re: Optimization levels when compiling PostgreSQL... Curt Sampson <cjs@cynic.net>
Re: Optimization levels when compiling PostgreSQL... Bruce Momjian <pgman@candle.pha.pa.us>
Re: Optimization levels when compiling PostgreSQL... Sean Chittenden <sean@chittenden.org>
Re: Optimization levels when compiling PostgreSQL... Bruce Momjian <pgman@candle.pha.pa.us>
Re: Optimization levels when compiling PostgreSQL... Sean Chittenden <sean@chittenden.org>
Re: Optimization levels when compiling PostgreSQL... Neil Conway <neilc@samurai.com>
Re: Optimization levels when compiling PostgreSQL... Sean Chittenden <sean@chittenden.org>
Re: Optimization levels when compiling PostgreSQL... Peter Eisentraut <peter_e@gmx.net>
Re: Optimization levels when compiling PostgreSQL... Curt Sampson <cjs@cynic.net>
Re: Optimization levels when compiling PostgreSQL... Lamar Owen <lamar.owen@wgcr.org>
Re: Optimization levels when compiling PostgreSQL... Curt Sampson <cjs@cynic.net>
Re: Optimization levels when compiling PostgreSQL... Bruce Momjian <pgman@candle.pha.pa.us>
Neil Conway writes:

> Also, if -O3 *is* a good compiler option, I dislike the idea of
> enabling it for your own packages but no one else's. IMHO distributors
> should not futz with packages more than is strictely necessary, and a
> change like this seems both unwarranted, and potentially dangerous. If
> -O3 is a good idea, we should make the change for the appropriate
> platforms in the official source, and let it get the widespread
> testing it requires.

I disagree.  Choosing the compiler options is exactly the job of the
installer, packager, or distributor.  That's why you can specify CFLAGS on
the command line after all, and most distributors' build environments make
use of that.

I don't think we're doing anyone a service if we spread wild speculations
about how risky certain compiler options are.  If your compiler creates
broken code, don't use it.  Packagers are expected to know about their
compiler.  If they create broken packages and behave irresponsibly about
it they won't be making packages much longer.

-- 
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
От: snpe
Дата:
FAQ