From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0624C43458 for ; Thu, 2 Jul 2026 06:56:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:MIME-Version:Message-ID:Date:To:Sender: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=9oNFmX+3gE57l+FeXcqVboyeZ+rTYQrI+shwZLSkY6w=; b=ZgZ6qLu0a/luCfX2aMJ3ha/uQm Kw49DdDkBGWSuWADYa5hpDGZgelF5S6Pgx4NGkYPXvLN9/2D15dOWHW4sWOfJbOG+6LztRYboGT6f c0OPqfH1ACt7uawnOXnQ2hJctIX5UT1zlYUgtKOPV980PbIg0WP4NovmY4ZeiueHBzQQ=; Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wfBLI-0003Wo-1p; Thu, 02 Jul 2026 06:56:12 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wfBLG-0003Wi-WD for linux-f2fs-devel@lists.sourceforge.net; Thu, 02 Jul 2026 06:56:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hCWnuQMBFeJb4uvaKBUZjFpGfHanTgiE99CjQP4hc18=; b=DvqHRrjvLDOal6p+np4aUH7A0l qYgbylfh3h16PA/IywcXLlkUVWRz5bwGXV7HzDEFTHb81HlMIr8y7RWwkW0UCRXoEmqr+zJO1+00+ IxfqYmpifta7t3m3V+qSGhb2zI1oD6SP8dQtp0bc6uZROwb3XoNEhEKhPH6t0JgGXB9s=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=hCWnuQMBFeJb4uvaKBUZjFpGfHanTgiE99CjQP4hc18=; b=A USv42xlJPXt5CMHvAchVwNNHrxTGUzBw3SIc0HJn+FHCgVL/s41llFLQkWhHiSRX1E+sDNuijJade wdMNosdS0/7CL5VyIMSaomabQGk7GjIeW2NsSZ26etLQpDeam9zlRs9dzz5INGzZpQQht7zQSbskB z11iefGXjYu9RQKk=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wfBLG-0002XR-BG for linux-f2fs-devel@lists.sourceforge.net; Thu, 02 Jul 2026 06:56:11 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 6EF6240448; Thu, 2 Jul 2026 06:56:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A8021F00A3D; Thu, 2 Jul 2026 06:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782975365; bh=hCWnuQMBFeJb4uvaKBUZjFpGfHanTgiE99CjQP4hc18=; h=From:To:Cc:Subject:Date; b=T99iUY6Qxeyr4LuGUzQpPLTztLzOpqw32rm4lmNjRnK8L59EjkJR1v5qi8owQzNRb CdK2slik/3xQeD2Jesw6tTVvFBN1phiGFOgD5sDIu/B+x+Ha/3Apc5EohLz5hOHjqQ ygZAyDF8yLpvrZaJJdllBSCt6dEOmekOWmYNJ0hzB6H0hGD9IJ6Tvt8gOwgy6hnzA0 AKwCrWIDAUpSVrkHtbRAZG09FYDIZgLILIXb94bpUXUeyPnMlZT8evUW5oMWN+B731 Qd0zsrn4wblmbpWos2ZVjBXJ9z7+oJxhUOPteE82BpFadfm1YQ7G9EBnf+k0rLT0t8 zL4RoOF5xnMlQ== To: linux-f2fs-devel@lists.sourceforge.net Date: Thu, 2 Jul 2026 06:56:00 +0000 Message-ID: <20260702065602.4120914-1-jaegeuk@kernel.org> X-Mailer: git-send-email 2.55.0.rc0.799.gd6f94ed593-goog MIME-Version: 1.0 X-Headers-End: 1wfBLG-0002XR-BG Subject: [f2fs-dev] [PATCH 1/3] f2fs-tools: Build f2fs-tools with _FILE_OFFSET_BITS=64 X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jaegeuk Kim via Linux-f2fs-devel Reply-To: Jaegeuk Kim Cc: "xiuhong.wang" , Jaegeuk Kim , Zhiguo Niu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net From: "xiuhong.wang" After commit b15b6cc56ac7("f2fs-tools: convert to lseek() and kill lseek64"), 32-bit Android should also be built with _FILE_OFFSET_BITS=64. When calling the lseek function on arm32, if the offset exceeds 32 bits, lseek fails. Therefore, the flag _FILE_OFFSET_BITS=64 is added to support operations with offsets greater than 32 bits on arm32. Signed-off-by: Xiuhong Wang Signed-off-by: Zhiguo Niu Signed-off-by: Jaegeuk Kim --- tools/f2fs_io/Android.bp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/f2fs_io/Android.bp b/tools/f2fs_io/Android.bp index 2cc81eb859d4..52cdb73f41d6 100644 --- a/tools/f2fs_io/Android.bp +++ b/tools/f2fs_io/Android.bp @@ -1,7 +1,8 @@ cc_defaults { name: "f2fs-io-defaults", cflags: [ - "-Wno-unused-function" + "-D_FILE_OFFSET_BITS=64", + "-Wno-unused-function", ], } -- 2.55.0.rc0.799.gd6f94ed593-goog _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel