Subject: Re: postgres 8.2.5 core dumps on 4.0 RC2 mipsel
To: None <mk@kilbi.de>
From: Andy Ruhl <acruhl@gmail.com>
List: port-cobalt
Date: 10/18/2007 09:38:26
On 10/18/07, Markus W Kilbinger <mk@kilbi.de> wrote:
> As menitioned in the thread reference you can circumvent this problem
> by adding '-d' to the linkers 'ld -r' actions. I did this (in
> pkgsrc/databases/postgresqlNN-server) by
>
>   make cleandir
>   make configure
>
> Then edit the Makefile.global in the extracted postgres source, search
> for the '-r' option for the linker and extend it to '-r -d'. Then do
>
>   make
>
> ... as usual. The resulting postgres binary should run fine.

Thanks, I'll try that.

Do you know if the -mips2 CFLAGS setting is still needed as per this?:

http://mail-index.netbsd.org/port-cobalt/2002/06/05/0000.html

I'll set it anyway, but I'll also do what you say. Setting it before
seemed to fix problems.

Andy