This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
ERROR '__fcntl_nocancel' can never be inlined because it uses variable argument lists
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 15 Jul 2004 22:42:39 +1000
- Subject: ERROR '__fcntl_nocancel' can never be inlined because it uses variable argument lists
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