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 1kzxIr-0000zU-QM for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Jan 2021 07:44:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzxIq-0002O2-GH for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Jan 2021 07:44:20 +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 1kzxIq-0002Nv-7K for pgsql-hackers@lists.postgresql.org; Thu, 14 Jan 2021 07:44:20 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzxIm-0002hy-4Z for pgsql-hackers@postgresql.org; Thu, 14 Jan 2021 07:44:19 +0000 Received: from Sergeys-MacBook-Pro.local (unknown [62.217.185.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id B68C421C257D; Thu, 14 Jan 2021 10:44:12 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1610610253; bh=qUkNxAcXVBZPXceCKoYTez83RGYa1Chfp/Xp7pBGQtk=; h=Subject:From:To:Cc:References:Date:In-Reply-To; b=SCgIFToMk8Da4GFt9vDi+X7LvJSpXtcfcj8tpWHl/YkyI7R8iZp5HjuwYjKqdibsZ +TKzqABxfrTgZgK3xZAqkvy/YjTeHVZrkIpn916sOg+y+KNXKZJ2Xw4aiZHZd6OP6P 38aGm9an0OrYoeofY29fln6238v1oLSJ66nOc0zw= Subject: Re: pg_preadv() and pg_pwritev() From: Sergey Shinderuk To: Tom Lane , Thomas Munro Cc: pgsql-hackers References: <341497.1608420857@sss.pgh.pa.us> <20201220224040.evr5pduibvm6dze5@alap3.anarazel.de> <448b3cb5-0ba0-6dc5-63c7-789e4eebc40b@postgrespro.ru> <1283127.1610554395@sss.pgh.pa.us> <1286060.1610558607@sss.pgh.pa.us> <1297389.1610562046@sss.pgh.pa.us> <1341608.1610580122@sss.pgh.pa.us> Message-ID: Date: Thu, 14 Jan 2021 10:44:12 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >> The symptoms sound consistent with using bleeding-edge Xcode on a >> Catalina machine ... please report exact OS and Xcode versions. > > macOS 10.15.7 (19H2) > Xcode 12.3 (12C33) > macOS SDK 11.1 (20C63) > Everything is fine if I run "configure" with PG_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk I noticed that "cc" invoked from command line uses: -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk But "xcodebuild -version -sdk macosx Path" invoked by "configure" when PG_SYSROOT is not provided gives: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk Now I'm confused about different SDK versions and locations used by Xcode and CommandLineTools :)