Re: libgo patch committed: Call f?statfs64 on GNU/Linux

2017-07-21 Thread Ian Lance Taylor
On Fri, Jul 21, 2017 at 1:58 PM, Andreas Schwab wrote: > On Jul 21 2017, Ian Lance Taylor wrote: > >> In libgo we unconditionally set _FILE_OFFSET_BITS to 64 in >> configure.ac, so we should unconditionally call the statfs64 and >> fstatfs64 functions

Re: libgo patch committed: Call f?statfs64 on GNU/Linux

2017-07-21 Thread Andreas Schwab
On Jul 21 2017, Ian Lance Taylor wrote: > In libgo we unconditionally set _FILE_OFFSET_BITS to 64 in > configure.ac, so we should unconditionally call the statfs64 and > fstatfs64 functions rather than statfs/fstatfs. That should happen automatically when building with

libgo patch committed: Call f?statfs64 on GNU/Linux

2017-07-21 Thread Ian Lance Taylor
In libgo we unconditionally set _FILE_OFFSET_BITS to 64 in configure.ac, so we should unconditionally call the statfs64 and fstatfs64 functions rather than statfs/fstatfs. These functions should be available on all versions of GNU/Linux since 2.6. On 64-bit systems they are aliased to