Bug 30398 - Building mono on android fails compiling io.c, struct statfs does not have f_flags
Summary: Building mono on android fails compiling io.c, struct statfs does not have f_...
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: io-layer ()
Version: 4.0.0
Hardware: Other Other
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-05-25 06:19 UTC by cydhaselton
Modified: 2015-05-25 06:19 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

io.c patch (493 bytes, application/octet-stream)
2015-05-25 06:19 UTC, cydhaselton

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 30398 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description cydhaselton 2015-05-25 06:19:28 UTC
Created attachment 11313 [details]
io.c patch

In io.c line 3492 it is assumed that build machine statfs has f_flags even if top-level config.h does not define f_flags in statfs.

Patch adds evaluator 'if defined(HAVE_STRUCT_STATFS_F_FLAGS)

Build machine is Android, running 4.4.2