Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B36EA2E02FD for ; Thu, 20 Dec 2007 11:58:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 80198-01-5 for ; Thu, 20 Dec 2007 11:58:01 -0400 (AST) Received: from smtpauth.rollernet.us (smtpauth.rollernet.us [208.11.75.5]) by postgresql.org (Postfix) with ESMTP id BDB482E36BD for ; Thu, 20 Dec 2007 11:57:56 -0400 (AST) Received: from smtpauth.rollernet.us (localhost.localdomain [127.0.0.1]) by smtpauth.rollernet.us (Postfix) with ESMTP id 82C1259400D; Thu, 20 Dec 2007 07:57:52 -0800 (PST) Received: from iron.denterprises.org (ool-4350518c.dyn.optonline.net [67.80.81.140]) by smtpauth.rollernet.us (Postfix) with ESMTP; Thu, 20 Dec 2007 07:57:52 -0800 (PST) Received: from [127.0.0.1] (kell.iron.denterprises.org [192.168.171.80]) by iron.denterprises.org (Postfix) with ESMTP id C4F66167677; Thu, 20 Dec 2007 10:57:50 -0500 (EST) Message-ID: <476A90FA.8030207@denterprises.org> Date: Thu, 20 Dec 2007 10:57:46 -0500 From: Colin Wetherbee User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Marcin CC: pgsql-general@postgresql.org Subject: Re: SuSE gcc segfault compiling pgsql References: <1e13bb97.1affe291.47699ae3.eaf0a@o2.pl> In-Reply-To: <1e13bb97.1affe291.47699ae3.eaf0a@o2.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 071219-0, 12/19/2007), Outbound message X-Antivirus-Status: Clean X-Rollernet-Abuse: Processed by Roller Network Mail Services. Contact abuse@rollernet.us to report violations. Abuse policy: http://rollernet.us/abuse.php X-Rollernet-Submit: Submit ID 55e5.476a9100.5e7c7.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/1252 X-Sequence-Number: 125992 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 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