Re: Call for port reports
От | Bruce Momjian |
---|---|
Тема | Re: Call for port reports |
Дата | |
Msg-id | 200310242146.h9OLkVr03347@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Call for port reports (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: Call for port reports
|
Список | pgsql-hackers |
Peter Eisentraut wrote: > Bruce Momjian writes: > > > > BUT: The default CFLAGS are set by configure to -O2, although the template > > > wants -O. I manually modified the CFLAGS to -O after configure. > > > > template/alpha has: > > > > case $host_cpu in > > alpha*) CFLAGS="$CFLAGS -O";; # alpha has problems with -O2 > > esac > > > > Is this not getting invoked? > > It appends it at the end, but apparently the result of '-02 ... -O' is > -O2. So the compiler still yells at you every time that -O2 is broken in > that platform. > > Right now, the default CFLAGS are pretty much broken on most platforms, so > I'm testing by manually specifying the CFLAGS that should be used. Wow, later optimization flags don't override earlier ones. Yikes! Does -O0 override an earlier -O2? I wonder if it is just complaining when it sees -O2 and is actually using -O for the compile. We still need to fix that, but I am curious. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: