This is the mail archive of the libc-alpha@sources.redhat.com 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]

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


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