clone 288105 -1 retitle -1 Hurd doesn't permit non-constant structures as ioctl parameter tags 288105 wontfix thanks
Hi, Jonathan Hogg, le Sat 01 Jan 2005 16:04:39 +0000, a écrit : > when attempting to compile package heimdal and applying the patch to > debian bug #113317 for said package, compile breaks for file > build-tree/heimdal-0.6.3/lib/kafs/afssys.c of that package, with reason > _IOT__IOTBASE_void undeclared. Its expanding the macro: > #define VIOC_SYSCALL _IOW('C', 1, void *) Mmm, the problem is that defining _IOT__IOTBASE_void doesn't make sense: here void means that the parameter is not a constant structure, and the mig-based way that the Hurd uses to perform ioctls _requires_ constant structures... So there's no way to fix it, hence tagging wontfix so that people know that defining _IOT__IOTBASE_void is _not_ the proper way. Of course, the real bug (which is not only about void*) is: how to pass non-constant structures as ioctl parameters on the Hurd (poses problem for OSS stuff too), hence cloning. About the original problem (compiling heimdal), it looks like it was patched and is now compiled for hurd-i386. Samuel