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 1kzdDo-0002hr-3g for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Jan 2021 10:17:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzdDm-0003g4-8F for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Jan 2021 10:17:46 +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 1kzdDl-0003fx-Up for pgsql-hackers@lists.postgresql.org; Wed, 13 Jan 2021 10:17:46 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzdDf-0001A2-4q for pgsql-hackers@postgresql.org; Wed, 13 Jan 2021 10:17:44 +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 0F61B21C234A; Wed, 13 Jan 2021 13:17:37 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1610533057; bh=ccNzrIlKacOHuJjrG5voBxNJADEJJtCOUk7ct7hwdIk=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=CWJUhbyhCGBY3mKUposwFsa/Taq7aVZsA+JW+bSpAHp84DKORJc7D5zOW96H+aISx s2UDC4wgzVAWjCPg5qugz66356BfgZPB1tZMJEj/znzyMs1BK+k38j6Iaa85OxFM8N wIWVy8oxVhNNJ7rS1x9Ixc9dT4wUrgoiqbXbWCww= Subject: Re: pg_preadv() and pg_pwritev() To: Thomas Munro Cc: pgsql-hackers References: <341497.1608420857@sss.pgh.pa.us> <20201220224040.evr5pduibvm6dze5@alap3.anarazel.de> From: Sergey Shinderuk Message-ID: <448b3cb5-0ba0-6dc5-63c7-789e4eebc40b@postgrespro.ru> Date: Wed, 13 Jan 2021 13:17:36 +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=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 13.01.2021 12:56, Thomas Munro wrote: > On Wed, Jan 13, 2021 at 10:40 PM Sergey Shinderuk > wrote: >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/sys/uio.h:104:9: >> note: 'pwritev' has been marked as being introduced in macOS 11.0 here, >> but the deployment target is macOS >> 10.15.0 >> ssize_t pwritev(int, const struct iovec *, int, off_t) >> __DARWIN_NOCANCEL(pwritev) __API_AVAILABLE(macos(11.0), ios(14.0), >> watchos(7.0), tvos(14.0)); >> ^ > > Hrm... So why did "configure" think you have pwritev, then? It seems > like you must have been using different compilers or options at > configure time and compile time, no? > No, i've just rerun configure from clean checkout without any options. It does think that pwritev is available. I'll try to figure this out later and come back to you. Thanks.