[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

glibc CPUCLOCK_WHICH missing error for i686-pc-gnu

From: Allan McRae
Subject: glibc CPUCLOCK_WHICH missing error for i686-pc-gnu
Date: Tue, 12 Jan 2010 17:36:49 +1000
User-agent: Thunderbird (X11/20091001)


I have a cross-compiler working for i586-pc-gnu, but when I try changing to i686-pc-gnu (with -march= also changing from i586 to i686) I get this error during the first pass of glibc:

/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'
clock_settime.c:(.text+0x7f): undefined reference to `CPUCLOCK_WHICH'
collect2: ld returned 1 exit status
make[2]: *** [/home/allan/hurd/build/glibc-build/rt/librt.so] Error 1
make[2]: Leaving directory `/home/allan/hurd/build/glibc-2.10.1/rt'

This occurs for both:
glibc-2.7, gcc-4.1.2, binutils-2.19.1
glibc-2.10.1, gcc-4.4.2, binutils-2.19.1

I have tried almost every patch from Debian that seem vaguely related, but obviously have not found a solution. The only other reference I can find to this is on this mailing list in June 2008 [1], but that was not resolved.

[1] http://lists.gnu.org/archive/html/bug-hurd/2008-06/msg00019.html

Any ideas?  Thanks,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]