Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B577A2E3563 for ; Thu, 20 Dec 2007 03:07:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 34741-01 for ; Thu, 20 Dec 2007 03:07:07 -0400 (AST) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by postgresql.org (Postfix) with ESMTP id 1106F2E2D7D for ; Thu, 20 Dec 2007 03:07:08 -0400 (AST) Received: by py-out-1112.google.com with SMTP id u77so7120947pyb.15 for ; Wed, 19 Dec 2007 23:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=huQOYsETZNvzcsDqpK1u3pkWssZbZYuiaqsTpxpSAik=; b=eXqG7dOU0R5ukrzXZo50ZsCFPsG+8Q3yh5tCQPwzaQt/5qvPfUeXRHH1hizVyMPkkpbuCHeVPUXw9cZ0JUPUb0zZ2Ow4chAmjH70KM0iUZOk5CgRUqgQkNIF3hg68vQGLPdVtTtFfB6o+PNIQEXgcVKcJPRsRVGmvGQDMlpRxG4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=mOSgNUnqjmQHHwc7kNQ60LQRUsz1vhj5z09IrDlAYdYZBNw0atM7ZW3GsZm7sOBMmYjvQ/UBfEdYv1p+A1c1ylm+t2/cgS5LuknbMREPUS7Ce700sStSVUmqdFZ6KcBFXl940sFncYc7YRXFjD3OKcSrmVEvjTOWhqImx/qlX2M= Received: by 10.65.96.6 with SMTP id y6mr22767557qbl.84.1198134424173; Wed, 19 Dec 2007 23:07:04 -0800 (PST) Received: by 10.65.155.8 with HTTP; Wed, 19 Dec 2007 23:07:04 -0800 (PST) Message-ID: <5161715e0712192307mdc3f7d6u1447cc7e311ac6b0@mail.gmail.com> Date: Thu, 20 Dec 2007 08:07:04 +0100 From: "Jorge Servan" To: Marcin Subject: Re: problem with compilation of dynalloc2 segmentation fault Cc: pgsql-admin@postgresql.org In-Reply-To: <74c4aa12.d6b0ca7.47699c3b.efd88@o2.pl> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_132_15536467.1198134424098" References: <74c4aa12.d6b0ca7.47699c3b.efd88@o2.pl> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/193 X-Sequence-Number: 27710 ------=_Part_132_15536467.1198134424098 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Try to set enviroment variable LANG to C value before compilation. If you use sh shell you must execute: export LANG=3DC. The gcc manual documents this. It's not a compiler bug. Best regards. 2007/12/19, Marcin : > > 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 =E2main=E2: > dynalloc2.pgc:55: internal compiler error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See ; 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 > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings > ------=_Part_132_15536467.1198134424098 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Try to set enviroment variable LANG to C value before compilation. If you u= se sh shell you must execute: export LANG=3DC.

The gcc manual docum= ents this. It's not a compiler bug.

Best regards.

2007/12/19, Marcin <rion@o2.pl>:
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../../inclu= de -I../../../../../src/interfaces/ecpg/include
-I../../../../../src/int= erfaces/libpq -I../../../../../src/include -D_GNU_SOURCE   -O2
-Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-af= ter-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 -l= z
-lreadline -lcrypt -ldl -lm   -o dynalloc2
dynalloc2.pgc:= In function =E2main=E2:
dynalloc2.pgc:55: internal compiler error: Segm= entation fault
Please submit a full bug report,
with preprocessed source if appropr= iate.
See <URL:http://bugs.opens= use.org>; for instructions.
gmake[5]: *** [dynalloc2] Error 1
gmake[5]: Leaving directory
`/home/.../tmp/postgresql-8.2.5/src/interfac= es/ecpg/test/sql'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving d= irectory
`/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] Erro= r 2
gmake[2]: Leaving directory `/home/.../tmp/postgresql-8.2.5/src/inte= rfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/.../t= mp/postgresql-8.2.5/src'
gmake: *** [all] Error 2

-----------= ----------------(end of broadcast)---------------------------
TIP 5: don= 't forget to increase your free space map settings

------=_Part_132_15536467.1198134424098--