Hi Bruno, I'm about to make coreutils pre-release snapshot and discovered a new compilation failure on Freebsd 8.0-RELEASE-p3.
Sorry I don't have time to delve into it. In addition to this, there's been enough going on in gnulib that I'm going to defer the snapshot until tomorrow. make[3]: Entering directory `/u/guest/meyering/coreutils-8.5.184-6483f0e/lib' make[4]: Entering directory `/u/guest/meyering/coreutils-8.5.184-6483f0e/lib' CC set-mode-acl.o CC copy-acl.o In file included from ./unistd.h:46, from ./string.h:60, from ./sys/select.h:59, from /usr/include/sys/time.h:319, from ./sys/time.h:41, from ./sys/select.h:52, from /usr/local/ashare/gcc-4.4-20100309/bin/../lib/gcc/i386-unknown-freebsd8.0/4.4.4/include-fixed/sys/types.h:327, from acl.h:20, from set-mode-acl.c:22: /usr/local/ashare/gcc-4.4-20100309/bin/../lib/gcc/i386-unknown-freebsd8.0/4.4.4/include-fixed/unistd.h:566: error: expected declaration specifiers or '...' before 'fd_set' /usr/local/ashare/gcc-4.4-20100309/bin/../lib/gcc/i386-unknown-freebsd8.0/4.4.4/include-fixed/unistd.h:566: error: expected declaration specifiers or '...' before 'fd_set' /usr/local/ashare/gcc-4.4-20100309/bin/../lib/gcc/i386-unknown-freebsd8.0/4.4.4/include-fixed/unistd.h:566: error: expected declaration specifiers or '...' before 'fd_set' [1]+ Exit 2 ( ./configure --prefix=$HOME/p/$(sh ~/config.guess) -C --disable-nls CFLAGS=-O LDFLAGS=-s && make -j2 && make -k check ) &>makerr In file included from ./unistd.h:46, from ./string.h:60, from ./sys/select.h:59, from /usr/include/sys/time.h:319, from ./sys/time.h:41, from ./sys/select.h:52, from /usr/local/ashare/gcc-4.4-20100309/bin/../lib/gcc/i386-unknown-freebsd8.0/4.4.4/include-fixed/sys/types.h:327, from acl.h:20, from copy-acl.c:22: /usr/local/ashare/gcc-4.4-20100309/bin/../lib/gcc/i386-unknown-freebsd8.0/4.4.4/include-fixed/unistd.h:566: error: expected declaration specifiers or '...' before 'fd_set' /usr/local/ashare/gcc-4.4-20100309/bin/../lib/gcc/i386-unknown-freebsd8.0/4.4.4/include-fixed/unistd.h:566: error: expected declaration specifiers or '...' before 'fd_set' /usr/local/ashare/gcc-4.4-20100309/bin/../lib/gcc/i386-unknown-freebsd8.0/4.4.4/include-fixed/unistd.h:566: error: expected declaration specifiers or '...' before 'fd_set' make[4]: *** [set-mode-acl.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [copy-acl.o] Error 1 make[4]: Leaving directory `/u/guest/meyering/coreutils-8.5.184-6483f0e/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/u/guest/meyering/coreutils-8.5.184-6483f0e/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/u/guest/meyering/coreutils-8.5.184-6483f0e/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/u/guest/meyering/coreutils-8.5.184-6483f0e' make: *** [all] Error 2 ------------------------------------------------------------ /usr/include/sys/select.h has these lines: typedef struct fd_set { __fd_mask __fds_bits[_howmany(FD_SETSIZE, _NFDBITS)]; } fd_set; ... #ifndef _KERNEL __BEGIN_DECLS int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, const struct timespec *__restrict, const sigset_t *__restrict); #ifndef _SELECT_DECLARED #define _SELECT_DECLARED /* XXX missing restrict type-qualifier */ int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); #endif __END_DECLS #endif /* !_KERNEL */ ---------------------------------------------------- Both that gcc unistd.h and /usr/include/unistd.h have these: #if __BSD_VISIBLE #ifndef _SELECT_DECLARED #define _SELECT_DECLARED int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); #endif #endif ----------------------------------------------------