From nobody Tue Feb 10 03:55:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=zamaudio.com ARC-Seal: i=1; a=rsa-sha256; t=1770530454; cv=none; d=zohomail.com; s=zohoarc; b=BnUcPj4EhmHcKrsHZY8qNDNiDTRm83POLQceEuvC5PjeZ06Oh7yBTlw5Pk7HSFMRcLHm7QbkzVkz+rux/C4DZaWje+R/mq5/Ya6mXBxm59b6ZDWwn9vamIAxVm+X+w9PeVwBKwXecUQdbwUckBWL8tNz8+FFX+u7i37HKNa8DRo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770530454; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=LHZqZzgOwh2kAijmgY5Qb41C5r1zRUYNLCfwaw141aI=; b=RibdBqsJY4iY8b4ez3HHd+dKFLXqc28uuA1eJd8Z92kH2zfaTl2mCXsR6DwJY0QkW7HnJ02ef5mVM+r2VC0RMV9DMhPUVR3gtH7fQe8x4PAf9lu8lq1G56/TGPddRDHX+dQ6oyBHVhpw+JSSuJeyJbVEwTh/B0SviR7vPcWblDo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 177053045476956.17489578794982; Sat, 7 Feb 2026 22:00:54 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1voxqU-0000w2-1R; Sun, 08 Feb 2026 01:00:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1voxpn-0000Rg-Vm; Sun, 08 Feb 2026 00:59:56 -0500 Received: from mail-4317.protonmail.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1voxpm-0007Vp-Lz; Sun, 08 Feb 2026 00:59:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zamaudio.com; s=protonmail3; t=1770530388; x=1770789588; bh=LHZqZzgOwh2kAijmgY5Qb41C5r1zRUYNLCfwaw141aI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=maZXDzAnLsLdQPlD/DN6tffhX2a/AKkTZddvOlEEqjpGBEwmOgprkKf5nm4oiPY8O TauUqV5jYS4KsFP6y9dl5VxGB65SjbjW/ZyKwBM3mIB88py9Vq2R8XKH4YzuGFUq72 wdTCSapd2Nw2uP3+LyzyDZ2XWwIwhKpVUzqHD5yzWiO3gaqHUl4JdrAWUsdb29KrDy hOaVRzOMAY3gdjdju4v704E5ygwglMTh+96kL43IKsS8IJyPCaT/roUwIcqMlwCed/ fsnQ6CZiLWlfDverXCNjI829CPooJ6Tl/lf+WxaoanmHfHkRccV7mmyq51yFQn7Bm0 7JWRkct6f6QEg== Date: Sun, 08 Feb 2026 05:59:45 +0000 To: bug-hurd@gnu.org From: Damien Zammit Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, manolodemedici@gmail.com, pbonzini@redhat.com, stefanb@linux.ibm.com, peter.maydell@linaro.org, kwolf@redhat.com, berrange@redhat.com, eblake@redhat.com, bugaevc@gmail.com Subject: [PATCH v5 5/5 qemu] Make copy_file_range non-static on GNU/Hurd Message-ID: <20260208055858.2166524-6-damien@zamaudio.com> In-Reply-To: <20260208055858.2166524-1-damien@zamaudio.com> References: <20260208055858.2166524-1-damien@zamaudio.com> Feedback-ID: 43209410:user:proton X-Pm-Message-ID: bb873a593fddc65868e1436febfb423f5d5dcad0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=185.70.43.17; envelope-from=damien@zamaudio.com; helo=mail-4317.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @zamaudio.com) X-ZM-MESSAGEID: 1770530457572154100 Content-Type: text/plain; charset="utf-8" glibc has a stubs mechanism: a function can be declared in the system headers, but only implemented as a stub that always fails with ENOSYS, for example. Therefore when implementing this function we cannot use static. Signed-off-by: Damien Zammit --- block/file-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/file-posix.c b/block/file-posix.c index 8a3ba5eecb..b9a7786827 100644 --- a/block/file-posix.c +++ b/block/file-posix.c @@ -2106,7 +2106,7 @@ static int handle_aiocb_write_zeroes_unmap(void *opaq= ue) } =20 #ifndef HAVE_COPY_FILE_RANGE -#ifndef EMSCRIPTEN +#if !defined(EMSCRIPTEN) && !defined(__GNU__) static #endif ssize_t copy_file_range(int in_fd, off_t *in_off, int out_fd, --=20 2.51.0