This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [hurd,commited] hurd: Support for file record locking

On Wed, 30 Oct 2019, Samuel Thibault wrote:

> From: Svante Signell <>
>         * sysdeps/mach/hurd/fcntl.c: Add support for file-record-lock RPC
>           fixing posix file locking using the flock64 version of struct
>           flock.

I'm now seeing build failures with for i686-gnu.  Is 
this some issue with needing ultra-new versions of mig/gnumach/hurd which 
are only updated in the "compilers" step not the "glibcs" step?

In file included from ../sysdeps/hurd/include/hurd/fd.h:2,
                 from ../sysdeps/mach/hurd/fcntl.c:21:
../sysdeps/mach/hurd/fcntl.c: In function '__libc_fcntl':
../sysdeps/mach/hurd/fcntl.c:158:29: error: implicit declaration of function '__file_record_lock' [-Werror=implicit-function-declaration]
  158 |  err = HURD_FD_PORT_USE (d, __file_record_lock (port, cmd, &fl64,
      |                             ^~~~~~~~~~~~~~~~~~
../hurd/hurd/fd.h:137:15: note: in definition of macro 'HURD_FD_PORT_USE'
  137 |   __result = (expr);            \
      |               ^~~~
cc1: all warnings being treated as errors

Joseph S. Myers

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]