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 1nG44s-0006K5-N8 for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Feb 2022 19:17:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nG44r-00066Y-K4 for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Feb 2022 19:17:01 +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 1nG44q-00066L-VQ for pgsql-hackers@lists.postgresql.org; Fri, 04 Feb 2022 19:17:01 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nG44m-00082c-Dk for pgsql-hackers@lists.postgresql.org; Fri, 04 Feb 2022 19:17:00 +0000 Received: by mail-wr1-x42a.google.com with SMTP id h6so76661wrb.9 for ; Fri, 04 Feb 2022 11:16:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=message-id:date:mime-version:user-agent:content-language:to:from :subject:content-transfer-encoding; bh=+Taq5uhxnxmPnVwwKQw64cTKf3cPHwh/Fsi7Dp/bq0I=; b=IaZ9vY/0fScZH28nMUxi/wIhdDvMviHj33WnpkTpKGoaH9fIJMUaSDBAXq4op8MAfd Qh+dmb7+HpqMB+MVNO9PiR4I0uz2P/pJB+AMKKqgkPxMKT+5UwfMm4b+DJUvpGpfJHHh 19HlD+D138qJIleRuE7SLqc+mzTf2bDnn/00bzLfnEWvkKLf0mly6WUy7hnCvfjPTml5 E7ZXzU3Ru3pSKaq6suCQQNpgR6y+S5oBXCL8x991g/HvTMmbqPJUJ7iKme3NdRXa4IHW TtC85/HiVsD8IYaewCj2m4KANqUpRK97mL/hasp1XuKumLTf+/Q5AyfXVGL/Adx49b3S z9xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:from:subject:content-transfer-encoding; bh=+Taq5uhxnxmPnVwwKQw64cTKf3cPHwh/Fsi7Dp/bq0I=; b=I8gudPl0XwF4dTZ7QoLuwN2SFWdP5W6fK+Mocg+1odLjK2c7pOE4v/T2h8u0NDuQfr XkxaJRm1OVxEjTp7iMFPfq8nqVhSt59/+PaQEYEzyKJ39qujRwiTCrVHUkKJB4buF/HA vKahKc02HVdw4a+7mifJQjcbnY728V4vxTeKMn3SIXKka8kxe9gv8eNbDxo3oom6PYRe afLEL0a9nonzxdK9GlADSd+8R7L+FPf7MKU5N9TMxKe2sciL75ozS7QDmHu4KObpzCsM d7yrBb+C7tbg/8X8pdh3GF5jpS666Of1XiE6ZoaZjsJ7UQkcF0dGYVSxfQVh8qtSK4Dj yekg== X-Gm-Message-State: AOAM53370HX7nbl/nQsaDszqieMNVXuZCq40D7XIDGAmLb2igAHV06UU I6owgSHXY+/zexZnD7Kb3JIp1xW+LK0b0tE8i1ggdnIy7fJG4T3nvF3PX9QXuePCVQQDLFx47Mu 19xI51pva1dmlNJMB0Y/RMFPLpCwwimOPdhlMyvhzfOGOu8yxU/XlZdv9Pzyd6IMjyEVSFRc2K+ ecxRZfZWLTHpodtfa5QkFpPENmtQjJCgKShYmSRTQx6hx9rZexggQf4sIoPpi+/+NaFw1i4aeyd ha6+OZSkMtd/b7Zqj6uez9EwD5GZ/BuIdIOwgvfCOPr8XvYic1dbA== X-Google-Smtp-Source: ABdhPJyj6Vo/79+tCVAYEUhuDcvZZs9huth8u9l9wEH9XKVti9v8P9BFAdfZoG/dO31WBW3jkVP70A== X-Received: by 2002:adf:ff83:: with SMTP id j3mr311015wrr.618.1644002214941; Fri, 04 Feb 2022 11:16:54 -0800 (PST) Received: from [10.137.0.18] (ip-86-49-251-241.net.upcbroadband.cz. [86.49.251.241]) by smtp.gmail.com with ESMTPSA id b11sm10555471wmq.46.2022.02.04.11.16.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Feb 2022 11:16:54 -0800 (PST) Message-ID: <3798e16f-627c-93c0-5b0d-233a29cc64a3@enterprisedb.com> Date: Fri, 4 Feb 2022 20:16:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: PostgreSQL Hackers From: Tomas Vondra Subject: configure sets GCC=yes for clang Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, I've been doing some experiments with compilers, and I've noticed that when using clang configure still ends up setting GCC='yes' which seems somewhat strange. FWIW I've noticed because when building with "-Ofast" (yeah, I'm just playing with stuff) it fails like this: checking whether the C compiler still works... yes configure: error: do not put -ffast-math in CFLAGS which is in $GCC=yes check, and clang doesn't even have such option. Not a huge issue, but I wonder if this might confuse configure in other places, or something. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company