Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1435A1337990 for ; Tue, 22 Mar 2011 19:49:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 27411-09 for ; Tue, 22 Mar 2011 22:49:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mail.postgresql.org (Postfix) with ESMTP id C77191337B68 for ; Tue, 22 Mar 2011 19:49:14 -0300 (ADT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from [192.168.0.100] ([184.162.50.38]) by VL-MR-MRZ22.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LIH00A44E229000@VL-MR-MRZ22.ip.videotron.ca> for pgsql-bugs@postgresql.org; Tue, 22 Mar 2011 18:49:15 -0400 (EDT) Message-id: <4D89273A.3000702@gthcfoundation.org> Date: Tue, 22 Mar 2011 18:48:26 -0400 From: Etienne Robillard Reply-to: erob@gthcfoundation.org Organization: Green Tea Hackers Club User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110303 Icedove/3.0.11 To: Tom Lane Cc: Alvaro Herrera , pgsql-bugs@postgresql.org Subject: Re: BUG #5937: initdb: FATAL error: could not open relation with OID 2608 References: <201103211151.p2LBpQAh071852@wwwmaster.postgresql.org> <22484.1300719639@sss.pgh.pa.us> <4D876EBD.9060502@gthcfoundation.org> <1300805338-sup-6980@alvh.no-ip.org> <4D892148.5000400@gthcfoundation.org> <8545.1300832797@sss.pgh.pa.us> In-reply-to: <8545.1300832797@sss.pgh.pa.us> X-Enigmail-Version: 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201103/282 X-Sequence-Number: 29792 On 22/03/11 06:26 PM, Tom Lane wrote: > > I'd bet on that being the issue. How recent is your copy of llvm? > We know that llvm produced bad code for PG up till not too long ago > (maybe a year, I'm not sure). > > regards, tom lane > $ llvm-gcc --version llvm-gcc (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Definitely the error was the --with-CC=llvm-gcc option. I wonder if clang would produces the same results.. Regards, -- Etienne Robillard Company: Green Tea Hackers Club Occupation: Software Developer (and CEO) E-mail: erob@gthcfoundation.org Work phone: 450-936-2123 Website (Company): https://gthc.org/ Website (Blog): https://gthc.org/blog/ PGP public key fingerprint: F2A9 32EA 8E7C 460F 1728 A1A7 649C 7F17 A086 DDEC During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell If a free society cannot help the many who are poor, it cannot save the few who are rich. -- John F. Kennedy