Description of problem:
The issue only happens on ia64 platform. The header file /usr/include/asm/user.h
has '#define NBPG PAGE_SIZE', but the definition of PAGE_SIZE is unavailable. In
fact, the file /usr/include/asm/page.h contains nothing other than comments.
This leads to compilation errors when building packages using NBPG or PAGE_SIZE
such as xen and mono-debugger.
Is there a clean way to put PAGE_SIZE and PAGE_SHIFT to the header file? Not
sure if the values decided by CONFIG_PAGE_SIZE could be used here.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Complies a file which include <asm/user.h> and use the macro NBPG.
Actually some package (mono-debugger) include <sys/user.h> to use NBPG. But
since the definitions in <sys/user.h> are provided by kernel-headers, I report
the issue here.
this is actually a bug in mono-debugger itself.
using the PAGE_SIZE macro is not portable and not the right way to get the size
of a page. It should use getpagesize() instead.
reassigning to mono-debugger.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
This is fixed in the current version - I'm trying to get mdebugger 0.6 into f9 currently