Fwd: Re: SuSE gcc segfault compiling pgsql

From: Marcin <rion(at)o2(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: Fwd: Re: SuSE gcc segfault compiling pgsql
Date: 2007-12-21 11:51:12
Message-ID: ea7aac.34ef099f.476ba8b0.87f1d@o2.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > Marcin wrote:
> > > Did anybody face the same problem during the compilation of
> > > postgresql 8.2.5 on suse 10.2? I'm using gmake 3.81
> >
> > In the future, please include subjects in your posts.
> >
>
> I'm very sorry for that. It seems that I pressed the send button to early.
>
>
> >
> > Your compiler is segfaulting. This suggests a problem with the
> > compiler, rather than the code it's compiling.
> >
> > SuSE has a bug [0] for segfaulting compilers, but it may not be related
> > to the problem you're experiencing.
> >
> > Also, the current PostgreSQL source at doxygen.postgresql.org [1]
> > doesn't show a line 55 for dynalloc2.pgc. Could you show us what's
> > around that line?
> >
> > Would you also show the full output of "gcc -v"?
> >
> > Colin
> >
> > [0] https://bugzilla.novell.com/show_bug.cgi?id=334054
> > [1] http://doxygen.postgresql.org/sql-dynalloc2_8c-source.html
> >
>
I downloaded a bunch of patches for the whole distribution and it has helped.

You can find the current output from gcc -v below:

Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix=-4.1 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2007-12-21 12:29:41 Re: Machine spec 64-bit/32 GB RAM
Previous Message Marek Szczypek 2007-12-21 11:23:52 Re: Change of the data directory on Ubuntu 7.04