[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#393023: PAGE_SIZE and friends



severity 393023 serious
clone 393023 -1 -2 -3 -4 -5 -6 -7
reassign 393023 bogl
retitle 393023 bogl: FTBFS, uses PAGE_MASK
reassign -1 ganglia-monitor-core
retitle -1 ganglia-monitor-core: FTBFS, uses PAGE_SHIFT
reassign -2 lvm10
retitle -2 lvm10: FTBFS, uses PAGE_SIZE
reassign -3 svgatextmode
retitle -3 svgatextmode: FTBFS, uses PAGE_SIZE
reassign -4 eciadsl
retitle -4 eciadsl: FTBFS, uses PAGE_SIZE
reassign -5 directfb-0.9-22
retitle -5 directfb-0.9-22: FTBFS, uses PAGE_SIZE
reassign -6 jfbterm
retitle -6 jfbterm: FTBFS, uses PAGE_MASK
reassign -7 vnc4
retitle -7 vnc4: FTBFS, uses PAGE_MASK
kthxbye

Do not rely on PAGE_SIZE or related defines existing or being correct.

Instead, use sysconf(_SC_PAGESIZE) for PAGE_SIZE or
~(sysconf(_SC_PAGESIZE) - 1) for PAGE_MASK.

Otherwise, the package may build on mips, ia64, and powerpc, yet still
be broken.



Reply to: