Re: Initdb problem on debian mips cobalt: Bus error

From: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
To: Gregory Stark <stark(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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:05:12
Message-ID: 754889.16724.qm@web25803.mail.ukl.yahoo.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:
> >
> > > (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
> >
> > And yes, you have to do make clean. I often forget
> that step :(
>
> I find it easier to create a src/Makefile.custom containing
> the
> following line:
>
> CFLAGS := $(patsubst -O2,-O0,$(CFLAGS))
>
> When I'm done I just rename the file away to keep it
> around for next
> time.

I'm going to keep things simple and just do as Tom says by editing Makefile.global and we'll see what happens. Hopefully at the very lease it'll compile a little quicker with the optimization off.

__________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2008-08-05 09:18:33 Re: Initdb problem on debian mips cobalt: Bus error
Previous Message Jef Peeraer 2008-08-05 07:21:53 replication only