[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glibc CPUCLOCK_WHICH missing error for i686-pc-gnu
From: |
Samuel Thibault |
Subject: |
Re: glibc CPUCLOCK_WHICH missing error for i686-pc-gnu |
Date: |
Sun, 22 Aug 2010 23:25:39 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: glibc CPUCLOCK_WHICH missing error for i686-pc-gnu,
Samuel Thibault <=