Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fvtWU-0006Bo-NB for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Sep 2018 00:12:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fvtWT-0004Tl-0m for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Sep 2018 00:12:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fvtWQ-0004GN-PF for pgsql-bugs@lists.postgresql.org; Sat, 01 Sep 2018 00:12:16 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fvtWG-0005Cf-U6 for pgsql-bugs@lists.postgresql.org; Sat, 01 Sep 2018 00:12:13 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 5858D63B; Fri, 31 Aug 2018 20:12:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 31 Aug 2018 20:12:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=JASZAhws2wtAq0HSSpYYivTjrKBh29hSppd5yKBN6nk=; b=g82wNPu0 uqKY0j/d0a2KoCI8wwZAvJHKJKiTaHzpIled3b8SoV8FPAV/sHGWdAEtkr2Q0hVj U2BU2py6hT23fUpCP0XU1nnK6TpXyVlT/yfhHdB9MReRc9hoKRGfiuQijfH6+gXI y+t2rmqdSRSuAFbEBobnFktWFpSot4Avd8+Cx9FViGg0Ss3Q13G2yOFe4gg1h8h+ L87tMcIVNjzNl3FH8nR4hEg4C+iwSRFFR+PUr2cshR+kCi21PcuifphtndQH26BH L2WBWxhmzaA/uMywKxinkychYsiO5Nh4dVex0Ywm+/5ERS3x6eRDd96WJO3KIIE0 hqOlMLf9HTWT7Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=JASZAhws2wtAq0HSSpYYivTjrKBh2 9hSppd5yKBN6nk=; b=dzA4rGQNpcoODcOaPyvjWq0AA1VuOrm6IMjJWF4rHD2yh Kz6BB4BJQTSV3Zv96U8zW/8LC45Z7LejdJp9cm8JJvA119v5XSdmBeH6UUNT5jws rm0x/MTMBQJyJCgHg5xpnVigSPNtSiDWhruklRX70mPWaAmFqImRo/IgrWwljs0M Mq0qygRjJyFSEjWKmcLSYtq0oIDiuSnDag8xFZzx+sIFv2cyDP8TBIgqlQyFFXpR EEPkTjXxOW6Ch188R7w7CbZgUX1TJotPOnCWu7bg+DUUVNlTxZg8i6szcPHahhKY W5DqIstxIyHu+gl3xl2NPWApahNUDI0eYhQXcuoXA== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 44B58E408D; Fri, 31 Aug 2018 20:12:01 -0400 (EDT) Date: Fri, 31 Aug 2018 17:12:00 -0700 From: Andres Freund To: steven.winfield@cantabcapital.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15270: __builtin_isinf conflict when building using clang Message-ID: <20180901001200.35wf3uz2u6jlsosr@alap3.anarazel.de> References: <153116283147.1401.360416241833049560@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <153116283147.1401.360416241833049560@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-07-09 19:00:31 +0000, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 15270 > Logged by: Steven Winfield > Email address: steven.winfield@cantabcapital.com > PostgreSQL version: 11beta2 > Operating system: RHEL 7.4 > Description: > > Hi, > > I've been experimenting with getting the whole of PG 11beta2 (not just the > JIT) compiling with the most recent stable version of llvm/clang: 6.0.1. > > TL;DR: In src/include/port.h, inside the #else branch of #ifndef HAVE_ISINF, > there probably need to be some glibc version checks within the #ifdef > __clang__ block. The actual problem appears to be issues within libc++ (rather than libstdc++). I nevertheless have restricted it to C for now, as there's no performance issue with the tiny amount of C++ in postgres. We probably need to find a better solution. Sorry for the late response! Greetings, Andres Freund