Bug#240023: Fwd: freebsd-buildutils: FTBFS on alpha
Robert Millan <zeratul2@wanadoo.es> writes:
> Anyone could have a quick look at this?
The current unstable version of libc6.1-dev for Alpha is 2.3.2.ds1-11.
In it, struct stat just does not support sub-second timestamps.
The st_{a,m,c}time members are time_t and that's all you get.
If freebsd-buildutils have to be buildable on Alpha, you need to
conditionally omit the nanosecond comparisons. Perhaps you
could test whether <sys/stat.h> #defines _STATBUF_ST_NSEC; that
seems to work for glibc but I don't know how portable it is.
<http://sources.redhat.com/ml/libc-alpha/2004-03/msg00205.html>
seems to suggest glibc 2.3.4 would support nanoseconds on Alpha.
Reply to: