public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/1074] New: What should be in <sys/param.h>?
@ 2005-07-16 18:59 hjl at lucon dot org
  2005-09-27 15:31 ` [Bug libc/1074] " drepper at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: hjl at lucon dot org @ 2005-07-16 18:59 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/1074] What should be in <sys/param.h>?
  2005-07-16 18:59 [Bug libc/1074] New: What should be in <sys/param.h>? hjl at lucon dot org
@ 2005-09-27 15:31 ` drepper at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2005-09-27 15:31 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2005-09-27 15:31 -------
As Roland already said, <sys/param.h> exists only for compatibility.  If your
app makes wrong assumptions, fix it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-27 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-16 18:59 [Bug libc/1074] New: What should be in <sys/param.h>? hjl at lucon dot org
2005-09-27 15:31 ` [Bug libc/1074] " drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).