Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jefrP-0003sR-OU for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 14:19:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jefrO-0007tk-L7 for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 14:19:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jefrO-0007td-DG for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 14:19:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jefrL-0006x3-PL for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 14:19:46 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 04TEJcTN002995; Fri, 29 May 2020 10:19:38 -0400 From: Tom Lane To: Gabriele Bulfon cc: Adrian Klaver , pgsql-general@lists.postgresql.org Subject: Re: problem with self built postgres 9.0.9 In-reply-to: <2062209251.2306.1590761280051@www> References: <249521783.2243.1590759167512@www> <99f08a33-ab14-0315-2894-4a9f0b8a85b0@aklaver.com> <2062209251.2306.1590761280051@www> Comments: In-reply-to Gabriele Bulfon message dated "Fri, 29 May 2020 16:08:00 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10220.1590761978.1@sss.pgh.pa.us> Date: Fri, 29 May 2020 10:19:38 -0400 Message-ID: <10221.1590761978@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Gabriele Bulfon writes: > Amazing! Rebuilt without -O and it worked like a charm! Yeah, modern compilers tend to apply optimizations that break old versions of Postgres. -O0 usually takes care of it. regards, tom lane