ERROR '__fcntl_nocancel' can never be inlined because it uses variable argument lists

Greg Schafer gschafer@zip.com.au
Thu Jul 15 12:47:00 GMT 2004


Hi

This error occurs when compiling current cvs with gcc-3.4.1 when NOT passing
an '--enable-kernel=XXX' option to configure:


../sysdeps/unix/sysv/linux/i386/fcntl.c: In function `__fcntl_nocancel':
../sysdeps/unix/sysv/linux/i386/fcntl.c:39: sorry, unimplemented: function '__fcntl_nocancel' can never be inlined because it uses variable argument lists


The error has already been reported here:

  http://sources.redhat.com/ml/libc-alpha/2004-07/msg00016.html

The build error goes away when passing '--enable-kernel=2.4.1' (or greater..
at least on i386) to configure. It appears related to the define of
__ASSUME_FCNTL64

I'm not sure what the correct fix is.

Thanks
Greg



More information about the Libc-alpha mailing list