Hello,

Allan McRae, le Tue 12 Jan 2010 22:17:50 +1000, a écrit :
> Samuel Thibault wrote:
> >Allan McRae, le Tue 12 Jan 2010 17:36:49 +1000, a écrit :
> >>/home/allan/hurd/build/glibc-build/rt/librt_pic.a(clock_settime.os): In 
> >>function `clock_settime':
> >>clock_settime.c:(.text+0x6f): undefined reference to `CPUCLOCK_WHICH'
> >
> >This doesn't happen on Debian because Debian compiles only for i486, for
> >which HP_TIMING_AVAIL is not defined.
> >
> >You can use the attached patch.
> 
> Great, that put me of the right track.  I had to add a bit more to the 
> patch to get that file included in the right place (based on the linux 
> version of that file).  The updated version is attached for anyones 
> interest.

Actually it's not a good idea, as it imposes some part of the
ABI, namely the bits in clockid_t.  Since we don't provide the
__get_clockfreq function, it won't work anyway.  In Debian we'll now use

http://svn.debian.org/wsvn/pkg-glibc/glibc-package/trunk/debian/patches/hurd-i386/local-no-hp-timing.diff

Samuel

Reply via email to