Description of problem: I am trying to package libhugetlbfs for Extras, however it requires a linux/unistd.h which has the __syscall_return macro included. This macro appears to go back a long way (years), but isn't included in the version shipped by Fedora. I can work around the issue by compiling with: make CFLAGS=-I/usr/src/kernels/2.6.16-1.2122_FC5-i686/include/ but that's really ugly and prone to cause trouble. Could this macro be added to the next glibc-kernheaders? Version-Release number of selected component (if applicable): glibc-kernheaders-3.0-5.2
I don't see __syscall_return() defined in asm-powerpc/unistd.h Seriously, we're working on cleaning this stuff up upstream so that the kernel headers are consistent across distributions. The current plan is to remove _all_ of the syscall macros in unistd.h from user visibility, because they're broken. Doesn't glibc provide an appropriate alternative rather than having to abuse kernel-private headers?
It seems the macro is only needed on i386, which is why it doesn't care that the macro doesn't exist in asm-powerpc/unistd.h
Given that removing all syscall macros is the goal, I'll close this bug. I've talked with the libhugetlbfs guys and they plan to find another way to implement what they need. Thanks for your quick response.