Hello Roland, On Thu, Jul 05, 2007 at 11:54:47AM -0700, Roland McGrath wrote: > All of these problems indicate regressions in the installed kernel headers. > I don't think this should be considered an strace bug.
The installed headers are what the kernel version 2.6.21 (tested with 2.6.22-rc4 too) does put together when running make headers_install, so this might be a vanilla kernel issue. I came this far investigating this issue: Using the headers from the linux-kernel-headers package (apparently manually assembled by the Debian Glibc team) strace builds fine, while using linux-libc-dev - which is the packaged outcome of "make headers_install" in the kernel-tree the build fails due to some missing defines. the missing defines are declared in compiler.h, which is not intended for userspace. Looking at scripts/Makefile.headersinst in the kernel, you can see all references to it are removed from the other headers on export. After some fruitless digging on lkml and a some discussions on IRC in #debian-glibc it seemed including <stddef.h> is mandatory now to get those defines. If you have a better fix, please tell me. Best regards Frederik Schüler -- ENOSIG
signature.asc
Description: Digital signature