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/966] The file sysdep/linux/clock-gettime.c is missing definition for HANDLE_REALTIME macro


------- Additional Comments From schwinge-bugzilla-sources dot redhat dot com at nic-nac-project dot de  2005-05-24 17:32 -------
This bug also applies to HEAD (file sysdeps/unix/clock_gettime.c):
#v+
i586-pc-gnu-gcc ../sysdeps/unix/clock_gettime.c -c -std=gnu99 -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g -Wno-parentheses
-mpreferred-stack-boundary=2     -I../include -I.
-I/var/tmp/gnu/src/glibc.obj/rt -I.. -I../libio -I../hurd
-I/var/tmp/gnu/src/glibc.obj/hurd/ -I../mach -I/var/tmp/gnu/src/glibc.obj/mach/
-I/var/tmp/gnu/src/glibc.obj -I../sysdeps/i386/elf -I../sysdeps/mach/hurd/i386
-I../sysdeps/mach/hurd -I../sysdeps/gnu -I../sysdeps/unix/bsd/bsd4.4
-I../sysdeps/unix/mman -I../sysdeps/mach/i386 -I../sysdeps/mach
-I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/unix/bsd
-I../sysdeps/unix/common -I../sysdeps/unix/inet -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic  -D_LIBC_REENTRANT -include ../include/libc-symbols.h  
-DNOT_IN_libc=1 -DIS_IN_librt=1    -o
/var/tmp/gnu/src/glibc.obj/rt/clock_gettime.o -MD -MP -MF
/var/tmp/gnu/src/glibc.obj/rt/clock_gettime.o.dt -MT
/var/tmp/gnu/src/glibc.obj/rt/clock_gettime.o
../sysdeps/unix/clock_gettime.c: In function `clock_gettime':
../sysdeps/unix/clock_gettime.c:105: error: `HANDLE_REALTIME' undeclared (first
use in this function)
../sysdeps/unix/clock_gettime.c:105: error: (Each undeclared identifier is
reported only once
../sysdeps/unix/clock_gettime.c:105: error: for each function it appears in.)
make[2]: *** [/var/tmp/gnu/src/glibc.obj/rt/clock_gettime.o] Error 1
#v-

The macro definition of HANDLE_REALTIME was removed with that patch:
<URL:http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/clock_gettime.c.diff?cvsroot=glibc&r1=1.9&r2=1.10>

#v+
revision 1.10
date: 2005/04/27 08:01:40;  author: roland;  state: Exp;  lines: +62 -55
2005-04-27  Roland McGrath  <roland@redhat.com>

[...]
        * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
        New function, broken out of ...
        (clock_gettime) [HP_TIMING_AVAIL]: ... here.  Call it.
        (realtime_gettime): New function, broken out of ...
        (clock_gettime) [! HANDLED_REALTIME]: ... here.  Call it.
        (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
[...]
#v-


-- 


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

------- 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]