From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25466 invoked from network); 28 Jul 2020 08:10:13 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 28 Jul 2020 08:10:13 -0000 Received: (qmail 18376 invoked by alias); 28 Jul 2020 08:10:05 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: Sender: zsh-workers@zsh.org X-Seq: 46272 Received: (qmail 7758 invoked by uid 1010); 28 Jul 2020 08:10:05 -0000 X-Qmail-Scanner-Diagnostics: from wout3-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25884. spamassassin: 3.4.4. Clear:RC:0(64.147.123.19):SA:0(-2.6/5.0):. Processed in 0.963437 secs); 28 Jul 2020 08:10:05 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedriedugdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfgjfhfogggtgfesthejtddtredtvdenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhepfeduteegveehvdfhteevtedvudeludeijeeuudeujeejtdet uedtjefhtdfgieetnecukfhppedutdelrdeigedrudeguddrieejnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhs hhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Date: Tue, 28 Jul 2020 08:09:27 +0000 From: Daniel Shahaf To: Roman Perepelitsa Cc: Tomasz =?UTF-8?B?S8WCb2N6a28=?= , Zsh hackers list Subject: Re: 5.8: LTO exposes some new issues Message-ID: <20200728080927.40153d11@tarpaulin.shahaf.local2> In-Reply-To: References: <35bf1c7b-163f-4baf-9d5a-c1d7e72459ec@www.fastmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Roman Perepelitsa wrote on Mon, 27 Jul 2020 16:19 +0200: > FYI: I won't be doing anything about the warning in gettempname (which > I'm not getting with my toolchain). I'm not sure there's anything we can do about that warning. When I last looked, the issue was that: - The linker emits the warning whenever mktemp(3) is used; - At least one callsite uses mktemp(3) unavoidably: it follows the call not by open(2) but by mknod(2), so the warning's rationale (that mkstemp(3) should be used in lieu of mktemp(3)) does not apply; - The linker gives no way to disable the warning. Unless there's an alternative to mktemp(3)+mknod(2) that I'm unaware of, I'd triage this as a linker bug, in that it should be possible to silence the warning when it's a false positive. Cheers, Daniel