On Jul 21 2017, Ian Lance Taylor <i...@golang.org> 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 _FILE_OFFSET_BITS=64. > These functions should be available on all versions of GNU/Linux > since 2.6. Its a property of glibc, not the kernel. > Index: gcc/go/gofrontend/MERGE > =================================================================== > --- gcc/go/gofrontend/MERGE (revision 250436) > +++ gcc/go/gofrontend/MERGE (working copy) > @@ -1,4 +1,4 @@ > -a9f1aeced86691de891fbf2a8c97e848faf1962e > +b712bacd939466e66972337744983e180849c535 > > The first line of this file holds the git revision number of the last > merge done from the gofrontend repository. > Index: libgo/runtime/go-caller.c > =================================================================== > --- libgo/runtime/go-caller.c (revision 250406) > +++ libgo/runtime/go-caller.c (working copy) > @@ -74,7 +74,7 @@ static void *back_state; > > /* A lock to control creating back_state. */ > > -static Lock back_state_lock; > +static uint32 back_state_lock; > > /* The program arguments. */ > Wrong patch? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."