From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id 848447E509; Fri, 6 Jan 2023 15:52:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1673020336; bh=vMr/dqwnZoaMfjWMuhaE7Kb5PPHdL3rS1WAeVIsUgUI=; h=From:To:Cc:Subject:Date:From; b=FBU8BT1q9StBTlOUhS4PNEzGIczFqgMS0czxJfOED2X+2SaQr/gLWP3E7wKljmXNs h5+dgrnfjX/y81yc5o5TgOs34LVc+netbr/gH5A7G280ttvHsVHLAKrBZlcGbzXQro dVkLLsKPcaFq+6GKtW7PvnLefvD09vhEKfpEvQzN01moIOSwZQ2BR15Ud1BoMA9Lys 0+50y8DHgX6pnUG/t41qN/xD2db4CMdkHlNoCsZrG8ooJ20M0HxuaoK2XJAGk4fpED Jgcm43ed//zemoeDFxwjcYbaJZQvaQ+DfcH2jgQ1+DNykHP44ixK4a+fQntrCyPxDr 93xpwjRYFFN7A== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Pavel Begunkov , Gilang Fachrezy , VNLX Kernel Department , Alviro Iskandar Setiawan , GNU/Weeb Mailing List , io-uring Mailing List Subject: [RFC PATCH liburing v1 0/2] Always enable CONFIG_NOLIBC if supported and deprecate --nolibc option Date: Fri, 6 Jan 2023 22:52:00 +0700 Message-Id: <20230106155202.558533-1-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Ammar Faizi Hi Jens, This is an RFC patchset. It's already build-tested. Currently, the default liburing compilation uses libc as its dependency. liburing doesn't depend on libc when it's compiled on x86-64, x86 (32-bit), and aarch64. There is no benefit to having libc.so linked to liburing.so on those architectures. Always enable CONFIG_NOLBIC if the arch is supported. If the architecture is not supported, fallback to libc. There are 2 patches in this series: - A preparation patch, remove --nolibc from the GitHub CI. - Always enable CONFIG_NOLIBC if supported and deprecate --nolibc. After this series, --nolibc option is deprecated and has no effect. I plan to remove this option in a future liburing release. Comments welcome... Signed-off-by: Alviro Iskandar Setiawan Signed-off-by: Ammar Faizi --- Alviro Iskandar Setiawan (1): configure: Always enable `CONFIG_NOLIBC` if the arch is supported Ammar Faizi (1): github: Remove nolibc build on the GitHub CI bot .github/workflows/build.yml | 10 ---------- configure | 40 ++++++++++++++++++++++++++++++++----- 2 files changed, 35 insertions(+), 15 deletions(-) base-commit: c76d392035fd271980faa297334268f2cd77d774 -- Ammar Faizi