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 1lNJAr-0006hg-AU for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Mar 2021 17:44:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lNJAp-0003Q2-TE for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Mar 2021 17:44:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNJAo-0003Pv-Us for pgsql-hackers@lists.postgresql.org; Fri, 19 Mar 2021 17:44:35 +0000 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lNJAi-0004Ji-VC for pgsql-hackers@lists.postgresql.org; Fri, 19 Mar 2021 17:44:32 +0000 Received: by mail-io1-xd2b.google.com with SMTP id v3so6953860ioq.2 for ; Fri, 19 Mar 2021 10:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tirV7IXfyUKjaxrLOIPQ2HjnEiNziINgoDoB5CYoDD8=; b=ttuot9B3SXC3PCyfnnwdVF936OfG8OisVw3sWxpXjWqLnlzNPi0Q2NnHTggxAUsLWy rOpoML2xy0k307NMf5J0YGwXMmtV9ycS5IF2SzSugCpzfBA+Rv007ViDK/GBwau8AqlI MRi9kHZcqGCKJlD5P/GziIh79ql0hWyo9fa6AuHtX4hMNeoOohlgFfDb8Q5eh3VDobkn Bhr5Ake675pFldYMdJK6Yz45QEa0MAqAfOQfmNGtv9u7CQ4bcqKxfJz5nZguriiKiHsE RroYbEYqURzdUd5FHkWpG3TuGwdW0ceg7XUtXZfoQqRCf2f5sY/0Bj655YUQ8w7r+dZ2 g4Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tirV7IXfyUKjaxrLOIPQ2HjnEiNziINgoDoB5CYoDD8=; b=bFyYl6kWpJtQN+ytJt2875R4f38jx6NbZzQegx8XHem8347bDK1VzeqUnDAGd84bUX Z9D88Ir1DNP2X/dD0MWg51mHnmYraul9IBHnxsEMbNSc+kaCd14hth92e3JkANljZ5K/ Hbr5zHyXb9m5E68AS0GBk1Z6wCVCDF/bfgX92ZEVEKb1OaKLu8x0klIb/hqweA50kuhW pPPHO2hqG3JVp82FlUONVU0Q/ne251qDvXZAeMobaylNLXRHnO1aaDwKUCKfEGelNdc/ 3t7lmh7MFoTxc3JnXWXR/yRqzmUsiJWhPjR9iASk4tEWJ8v5SAwDX9qsU6dHKinD5Ynq /Jzg== X-Gm-Message-State: AOAM530Uxt5NSJHwJozipOewqGAwtjjSt7ggOGytpFQx6SWERr9D9cpZ eidQYrEsWM7BjPjzDbmu96+bxQ== X-Google-Smtp-Source: ABdhPJyelnyuIthjRzOXEBBTI0JSkW6X8Y5t8ldrN9q9Y+46fOUu/9aU238uaWsxTUp0DyLJMKEnjA== X-Received: by 2002:a02:971a:: with SMTP id x26mr2324116jai.61.1616175867923; Fri, 19 Mar 2021 10:44:27 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id 13sm2918882ioz.40.2021.03.19.10.44.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Mar 2021 10:44:27 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 1D68880077E; Fri, 19 Mar 2021 12:44:26 -0500 (CDT) Date: Fri, 19 Mar 2021 12:44:26 -0500 From: Justin Pryzby To: Robert Haas Cc: Dilip Kumar , Andres Freund , Tomas Vondra , Alexander Korotkov , David Steele , Ildus Kurbangaliev , Dmitry Dolgov <9erthalion6@gmail.com>, Andrey Borodin , pgsql-hackers@lists.postgresql.org Subject: Re: [HACKERS] Custom compression methods Message-ID: <20210319174425.GM11765@telsasoft.com> References: <20210315225835.2toe2ceanp7gi6fw@alap3.anarazel.de> <20210319163511.GL11765@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Mar 19, 2021 at 01:24:39PM -0400, Robert Haas wrote: > On Fri, Mar 19, 2021 at 12:35 PM Justin Pryzby wrote: > > I sent offlist a couple of times but notice that the latest patch is missing > > this bit around AC_CHECK_HEADERS, which apparently can sometimes cause > > warnings on mac. > > > > ac_save_CPPFLAGS=$CPPFLAGS > > CPPFLAGS="$LZ4_CFLAGS $CPPFLAGS" > > AC_CHECK_HEADERS(lz4/lz4.h, [], > > [AC_CHECK_HEADERS(lz4.h, [], [AC_MSG_ERROR([lz4.h header file is required for LZ4])])]) > > CPPFLAGS=$ac_save_CPPFLAGS > > Hmm, it's working for me on macOS Catalina without this. Why do we > need it? Can you provide a patch that inserts it in the exact place > you think it needs to go? Working with one of Andrey's patches on another thread, he reported offlist getting this message, resolved by this patch. Do you see this warning during ./configure ? The latest CI is of a single patch without the LZ4 stuff, so I can't check its log. configure: WARNING: lz4.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: lz4.h: proceeding with the compiler's result -- Justin