Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWiwZ-004AeB-Q0 for pgsql-hackers@arkaria.postgresql.org; Thu, 17 Aug 2023 19:46:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qWiwX-003uuW-4a for pgsql-hackers@arkaria.postgresql.org; Thu, 17 Aug 2023 19:46:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWiwW-003unX-Ko for pgsql-hackers@lists.postgresql.org; Thu, 17 Aug 2023 19:46:04 +0000 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qWiwO-000gHy-Qc for pgsql-hackers@lists.postgresql.org; Thu, 17 Aug 2023 19:46:02 +0000 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-1a1fa977667so49766fac.1 for ; Thu, 17 Aug 2023 12:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=neon-tech.20221208.gappssmtp.com; s=20221208; t=1692301556; x=1692906356; h=in-reply-to:references:from:to:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=f7Sjj8u+CLe9mQdNgup/pQt4r6CtCx6KIIe8dviHHJk=; b=3kRBd2RVdL2UfmEedvWGs691KGLHZJjrsevYLpmEaTDcx9o2axq0aaVDibv/z/YVNK Y4HL5vA+I+K/paj/V/ohX6/5fUsc2pZyMK5tDIKOZvDmXU18TvAd7SpzoRfEN90Yv7Is ThcFJ2gUi8+drpZ8ag9xRKcdh4qU/vo8TGIlNRhVW7T+20kuh8Sn8scevgXa+arTcMRR C7SBsIEF1mIb7ykXIrBXuk01/wsDiPsbYERLw7VEIIfRUuu4Jm+WXGpb0HpiCHoirc5p gQwokpgG/fqKy9Su2Kk2Q9HO8cyiItZ5YJZTUzVKOXkoKkK0WtYaQ09Y8NsgJWdseMqc OSIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692301556; x=1692906356; h=in-reply-to:references:from:to:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=f7Sjj8u+CLe9mQdNgup/pQt4r6CtCx6KIIe8dviHHJk=; b=gU5lSGLEOyVo99Grw7kI94Ew/URBxMz6M5o/KfrDyEMEkn3WNqjmczRNJFjyBRYWIO UAuuOfjfVCPNbBtcmTqybYcgK3HKwmDt7XlagXQpc2j7TGuG5o7Q1sygB9nCkOrfXbfT ijo6NsiHQMS8fBPA+e9yqw9Z9XtG6W44yVhPCxLkyKZYzP5R957C+rL6KvZUtTRkrSjD bvU9AUaLkcMbQd7rHstgvwLVznfffKy4aTy8rce8pWUx/v3mz38Jw6BBSg8BYVDreAvB jca3S7VeJCvguguS1h5/dBZFlEjJOmpzfEUaWqag/lbrHzO6auKt3pF/DWxnSS4ZmYUw /KgA== X-Gm-Message-State: AOJu0YyLr+2rqo/x32d8nUIHHzzvSE1Son79BtDiNAR3bVc5MGL6FsbC lOafwr5FQX24PWpO8lr76zsIxnNnAKqqnG0bM/A= X-Google-Smtp-Source: AGHT+IHnUa2xMUR9cZunbuVN4bcbx90OQDkyb8CJ8dRY19QB95gu7iHaMMwesdMJaQvdBUClcZqshA== X-Received: by 2002:a05:6870:d620:b0:1be:d61b:f41c with SMTP id a32-20020a056870d62000b001bed61bf41cmr442368oaq.12.1692301556015; Thu, 17 Aug 2023 12:45:56 -0700 (PDT) Received: from localhost ([2607:fb90:e631:422:3996:e070:71ee:42fb]) by smtp.gmail.com with ESMTPSA id m5-20020a4aab85000000b0054f85f67f31sm78784oon.46.2023.08.17.12.45.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Aug 2023 12:45:55 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed Date: Thu, 17 Aug 2023 14:45:54 -0500 Message-Id: Cc: "PostgreSQL Hackers" , Subject: Re: meson: pgxs Makefile.global differences To: "Andrew Dunstan" From: "Tristan Partin" X-Mailer: aerc 0.15.2-131-ga5d6a70f440f References: <61d629b6-d5ad-a49e-e905-b66d3ac4903a@dunslane.net> In-Reply-To: <61d629b6-d5ad-a49e-e905-b66d3ac4903a@dunslane.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu Aug 17, 2023 at 2:32 PM CDT, Andrew Dunstan wrote: > I started digging into a warning I noticed on my FDW builds where=20 > Postgres is built with meson, e.g.=20 > =20 > which has this: > > cc1: warning: =E2=80=98-Wformat-security=E2=80=99 ignored without =E2=80= =98-Wformat=E2=80=99=20 > [-Wformat-security] > > I found that the pgxs Makefile.global built under meson is a bit=20 > different. On debug builds for both this is what I get on HEAD (meson)=20 > and REL_15_STABLE (autoconf), stripped of the current components: > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 HEAD: CFLAGS =3D-Wshado= w=3Dcompatible-local > REL_15_STABLE: CFLAGS =3D-Wall=C2=A0 -g > > The warning is apparently due to the missing -Wall. > > Shouldn't we be aiming for pretty much identical settings? I agree that they should be identical. The meson bild should definitely=20 be aiming for 100% compatibility for the Makefile.global. --=20 Tristan Partin Neon (https://neon.tech)