Re: Initdb problem on debian mips cobalt: Bus error

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <glynastill(at)yahoo(dot)co(dot)uk>, "Stefan Kaltenbrunner" <stefan(at)kaltenbrunner(dot)cc>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Initdb problem on debian mips cobalt: Bus error
Date: 2008-08-05 09:18:33
Message-ID: 87pronrf9y.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Gregory Stark <stark(at)enterprisedb(dot)com> writes:
>> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>>> (Rather than trying to browbeat configure into doing this, I'd suggest
>>> manually adjusting CFLAGS in src/Makefile.global, then "make clean" and
>>> rebuild.)
>
>> eh? either of these should work fine:
>> ./configure --enable-debug CFLAGS=-O0
>> CFLAGS=-O0 ./configure --enable-debug
>
> The trouble with that approach is that it overrides *everything* that
> configure would normally put into CFLAGS. I only want one thing
> changing, please ... this is confusing enough already.

Eh?

$ ./configure
...
configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
configure: using CPPFLAGS= -D_GNU_SOURCE
configure: using LDFLAGS= -Wl,--as-needed

$ ./configure CFLAGS=-O0
...
configure: using CFLAGS=-O0 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
configure: using CPPFLAGS= -D_GNU_SOURCE
configure: using LDFLAGS= -Wl,--as-needed

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's On-Demand Production Tuning

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Sergio Borgonovo 2008-08-05 10:00:05 equivalent of "using namespace" with schema
Previous Message Glyn Astill 2008-08-05 09:05:12 Re: Initdb problem on debian mips cobalt: Bus error