From patchwork Sat Nov 18 17:48:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Kinard X-Patchwork-Id: 839258 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yfMt24fcvz9ryv for ; Sun, 19 Nov 2017 04:48:54 +1100 (AEDT) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 6F16B10130; Sat, 18 Nov 2017 18:48:51 +0100 (CET) X-Original-To: devel@uclibc-ng.org Delivered-To: devel@helium.openadk.org Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-01v.sys.comcast.net [69.252.207.33]) by helium.openadk.org (Postfix) with ESMTPS id 1EE9010130 for ; Sat, 18 Nov 2017 18:48:48 +0100 (CET) Received: from resomta-ch2-14v.sys.comcast.net ([69.252.207.110]) by resqmta-ch2-01v.sys.comcast.net with ESMTP id G7E1eesYyX391G7ETembIk; Sat, 18 Nov 2017 17:48:45 +0000 Received: from [192.168.1.13] ([73.173.137.35]) by resomta-ch2-14v.sys.comcast.net with SMTP id G7ESelQpuWk9kG7ETeH0Mi; Sat, 18 Nov 2017 17:48:45 +0000 To: devel@uclibc-ng.org From: Joshua Kinard Message-ID: Date: Sat, 18 Nov 2017 12:48:21 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Language: en-US X-CMAE-Envelope: MS4wfLeDFS1ppFnTDYlFESEggQ9bxbuiTHcYCi3+Ml5K3BJ2I1bXupuf2beXbiDt4mXo0v1MYgDhQMrQa5lk3INn+3LFqF/Bm68acacbep3ZaaGycwmQY7tm 4s+bjf4Da19hbY64JZHrIyEsZLxgHeTHi4lQMrgQ+U2PA8m7EZPNGnHy Subject: [uclibc-ng-devel] Missing f_flags in uclibc-ng version of struct statfs? X-BeenThere: devel@uclibc-ng.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: uClibc-ng Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devel-bounces@uclibc-ng.org Sender: "devel" I ran into a build failure on xfsprogs-4.13.1 under uclibc-ng-1.0.26 due to it not finding the 'f_flags' member in 'struct statfs'. Glibc has this member, but not uclibc-ng. Is this something going away, something yet to be added, or something controlled by a CONFIG_* directive? This is a diff of /usr/include/bits/statfs.h from a glibc root (a/) and a uclibc-ng root (b/): --- a/usr/include/bits/statfs.h 2017-10-14 18:15:40.672366000 -0400 +++ b/usr/include/bits/statfs.h 2017-11-01 13:34:08.335874000 -0400 @@ -1,4 +1,4 @@ -/* Copyright (C) 1997-2017 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -12,7 +12,7 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see + License along with the GNU C Library; if not, see . */ #ifndef _SYS_STATFS_H @@ -44,8 +44,7 @@ struct statfs /* Linux specials */ __fsid_t f_fsid; long int f_namelen; - long int f_flags; - long int f_spare[5]; + long int f_spare[6]; }; #ifdef __USE_LARGEFILE64 @@ -64,8 +63,7 @@ struct statfs64 /* Linux specials */ __fsid_t f_fsid; long int f_namelen; - long int f_flags; - long int f_spare[5]; + long int f_spare[6]; }; #endif