From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Call for port reports |
Date: | 2003-10-24 21:46:31 |
Message-ID: | 200310242146.h9OLkVr03347@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Browne | 2003-10-24 21:55:24 | Re: Call for port reports |
Previous Message | Peter Eisentraut | 2003-10-24 21:44:03 | Re: Call for port reports |