pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
(no subject)
4+ messages / 3 participants
[nested] [flat]

* (no subject)
@ 2007-12-19 22:27  Marcin <rion@o2.pl>
  0 siblings, 2 replies; 4+ messages in thread

From: Marcin @ 2007-12-19 22:27 UTC (permalink / raw)
  To: pgsql-general

Did anybody face the same problem during the compilation of postgresql 8.2.5 on suse 10.2?
I'm using gmake 3.81


gcc -I../../include -I../../../../../src/interfaces/ecpg/include -I../../../../../src/interfaces/libpq -I../../../../../src/include -D_GNU_SOURCE   -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing   dynalloc2.c -L../../ecpglib -L../../pgtypeslib -L../../../../../src/port  -Wl,-rpath,'/usr/local/pgsql/lib' -lecpg -lpgtypes -L../../../../../src/interfaces/libpq -lpq -lpgport -lz -lreadline -lcrypt -ldl -lm   -o dynalloc2
dynalloc2.pgc: In function âmainâ:
dynalloc2.pgc:55: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.opensuse.org; for instructions.
gmake[5]: *** [dynalloc2] Error 1
gmake[5]: Leaving directory `/home/.../tmp/postgresql-8.2.5/src/interfaces/ecpg/test/sql'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/home/.../tmp/postgresql-8.2.5/src/interfaces/ecpg/test'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/home/.../tmp/postgresql-8.2.5/src/interfaces/ecpg'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/.../tmp/postgresql-8.2.5/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/.../tmp/postgresql-8.2.5/src'
gmake: *** [all] Error 2




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: SuSE gcc segfault compiling pgsql
@ 2007-12-20 15:57  Colin Wetherbee <cww@denterprises.org>
  parent: Marcin <rion@o2.pl>
  1 sibling, 0 replies; 4+ messages in thread

From: Colin Wetherbee @ 2007-12-20 15:57 UTC (permalink / raw)
  To: Marcin <rion@o2.pl>; +Cc: 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.

> gcc -I../../include -I../../../../../src/interfaces/ecpg/include
> -I../../../../../src/interfaces/libpq -I../../../../../src/include
> -D_GNU_SOURCE   -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Winline -Wdeclaration-after-statement -Wendif-labels
> -fno-strict-aliasing   dynalloc2.c -L../../ecpglib -L../../pgtypeslib
> -L../../../../../src/port  -Wl,-rpath,'/usr/local/pgsql/lib' -lecpg
> -lpgtypes -L../../../../../src/interfaces/libpq -lpq -lpgport -lz
> -lreadline -lcrypt -ldl -lm   -o dynalloc2 dynalloc2.pgc: In function
> âmainâ: dynalloc2.pgc:55: internal compiler error: Segmentation fault
>  Please submit a full bug report, with preprocessed source if
> appropriate. See <URL:http://bugs.opensuse.org; for instructions. 
> gmake[5]: *** [dynalloc2] Error 1 gmake[5]: Leaving directory
> `/home/.../tmp/postgresql-8.2.5/src/interfaces/ecpg/test/sql' 
> gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory
> `/home/.../tmp/postgresql-8.2.5/src/interfaces/ecpg/test' gmake[3]:
> *** [all] Error 2 gmake[3]: Leaving directory
> `/home/.../tmp/postgresql-8.2.5/src/interfaces/ecpg' gmake[2]: ***
> [all] Error 2 gmake[2]: Leaving directory
> `/home/.../tmp/postgresql-8.2.5/src/interfaces' gmake[1]: *** [all]
> Error 2 gmake[1]: Leaving directory
> `/home/.../tmp/postgresql-8.2.5/src' gmake: *** [all] Error 2

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re:
@ 2007-12-20 22:12  Albe Laurenz <laurenz.albe@wien.gv.at>
  parent: Marcin <rion@o2.pl>
  1 sibling, 1 reply; 4+ messages in thread

From: Albe Laurenz @ 2007-12-20 22:12 UTC (permalink / raw)
  To: Marcin *EXTERN* <rion@o2.pl>; 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
> 
[...]
> dynalloc2.pgc:55: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
[...]

Dunno, but I would definitely do what the message recommends.
The compiler should *not* crash.

Yours,
Laurenz Albe


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re:
@ 2007-12-21 01:14  Colin Wetherbee <cww@denterprises.org>
  parent: Albe Laurenz <laurenz.albe@wien.gv.at>
  0 siblings, 0 replies; 4+ messages in thread

From: Colin Wetherbee @ 2007-12-21 01:14 UTC (permalink / raw)
  To: Albe Laurenz <laurenz.albe@wien.gv.at>; +Cc: Marcin *EXTERN* <rion@o2.pl>; pgsql-general

Albe Laurenz wrote:
> 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
>>
> [...]
>> dynalloc2.pgc:55: internal compiler error: Segmentation fault
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
> [...]
> 
> Dunno, but I would definitely do what the message recommends.
> The compiler should *not* crash.

Indeed.  Marcin sent me a message off-list with some more information. 
I've asked him to forward it to the list.

Colin



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2007-12-21 01:14 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19 22:27  Marcin <rion@o2.pl>
2007-12-20 15:57 ` Re: SuSE gcc segfault compiling pgsql Colin Wetherbee <cww@denterprises.org>
2007-12-20 22:12 ` Re: Albe Laurenz <laurenz.albe@wien.gv.at>
2007-12-21 01:14   ` Re: Colin Wetherbee <cww@denterprises.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox