This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/1074] New: What should be in <sys/param.h>?


I posted 2 testcases at

http://sources.redhat.com/ml/libc-alpha/2005-07/msg00032.html

They pass on ia32. On ia64, I got

tst-param1.c: In function `do_test':
tst-param1.c:29: warning: implicit declaration of function `sysconf'
tst-param1.c:29: error: `_SC_CLK_TCK' undeclared (first use in this function)
tst-param1.c:29: error: (Each undeclared identifier is reported only once
tst-param1.c:29: error: for each function it appears in.)
In file included from ../include/unistd.h:2,
                 from ../test-skeleton.c:29,
                 from tst-param1.c:72:
../posix/unistd.h: At top level:
../posix/unistd.h:542: error: conflicting types for 'sysconf'
tst-param1.c:29: error: previous implicit declaration of 'sysconf' was here
make[2]: ***
[/export/build/gnu/glibc-nptl-3.4/build-ia64-linux/posix/tst-param1.o] Error 1

HZ == sysconf(_SC_CLK_TCK): 1024
EXEC_PAGESIZE: 65536 != sysconf(_SC_PAGESIZE): 16384
NGROUPS: 32 != sysconf(_SC_NGROUPS_MAX): 65536

On x86_64, I got

HZ == sysconf(_SC_CLK_TCK): 100
EXEC_PAGESIZE == sysconf(_SC_PAGESIZE): 4096
NGROUPS: 32 != sysconf(_SC_NGROUPS_MAX): 65536

-- 
           Summary: What should be in <sys/param.h>?
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: hjl at lucon dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1074

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]