Bug#186331: alpha static adjtimex
Package: glibc
Version: 2.3.1
The following test program doesn't compile statically on alpha, it
prevents the busybox-static package from building.
#include <sys/timex.h>
int main()
{
struct timex txc;
adjtimex(&txc);
}
bug1@escher:~$ gcc test.c -static
/usr/lib/gcc-lib/alpha-linux/3.2.3/../../../libc.a(adjtime.o)(.text+0x1
18): In function `__adjtime_tv32':
: undefined reference to `__adjtimex_tv32'
/usr/lib/gcc-lib/alpha-linux/3.2.3/../../../libc.a(adjtime.o)(.text+0x1
20): In function `__adjtime_tv32':
: undefined reference to `__adjtimex_tv32'
/usr/lib/gcc-lib/alpha-linux/3.2.3/../../../libc.a(adjtime.o)(.text+0x5
7c): In function `adjtimex':
: undefined reference to `__adjtimex_tv32'
/usr/lib/gcc-lib/alpha-linux/3.2.3/../../../libc.a(adjtime.o)(.text+0x5
9c): In function `adjtimex':
: undefined reference to `__adjtimex_tv32'
collect2: ld returned 1 exit status
It works on i386, is there any reason why this should fail on alpha ?
Glenn
Reply to: