Subject: Re: Strange segmentation fault trying to run postgresql on current
To: Alex Pelts <alexp@broadcom.com>
From: =?ISO-8859-1?Q?R=E9mi_Zara?= <remi.zara@free.fr>
List: port-cobalt
Date: 04/26/2007 23:25:20
Le 26 avr. 07 =E0 23:12, Alex Pelts a =E9crit :

> It is not the mapping that is the problem but alignment. It is =20
> trying to store word (32 bits) at the address that is aligned on 1 =20
> byte (cf).
> I don't know much about how netbsd translates mips exceptions to =20
> signals but I think from your register dump the problem is alignment.

Interesting !
So maybe some option is lacking for GCC ? it seems to build ok on =20
debian 3.1 with gcc version 3.3.5 (Debian 1:3.3.5-13) (see http://=20
www.pgbuildfarm.org/cgi-bin/show_status.pl?member=3Dlionfish)
without any option. Any idea ?

I'm using

bash-3.2# gcc -v
Using built-in specs.
Target: mipsel--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --=20
enable-long-long --disable-multilib --enable-threads --disable-=20
symvers --build=3Dx86_64-unknown-netbsd4.99.12 --host=3Dmipsel--netbsd =
--=20
target=3Dmipsel--netbsd
Thread model: posix
gcc version 4.1.2 20070110 prerelease (NetBSD nb1 20070110)


Regards,

R=E9mi Zara

> Regards,
> Alex