FreeBSD port (3): make check without linuxthreads

Roland McGrath roland@frob.com
Mon Aug 26 03:03:00 GMT 2002


> Since the aio implementation relies on pthreads, a build without
> linuxthreads needs to skip the aio tests.

It was wrong to put this change in, and I've taken it out now.

Not all aio implementations will necessarily depend on pthreads.  The
proper fix is to have the tests exit without complaint when all the aio
calls fail with ENOSYS as the stub versions will.  I have put that change in.

> 
> 2002-07-06  Bruno Haible  <bruno@clisp.org>
> 
> 	* rt/Makefile (tests): Don't add tst-aio* in a single-threaded build.
> 
> diff -r -c3 glibc-20020627.bak/rt/Makefile glibc-20020627/rt/Makefile
> --- glibc-20020627.bak/rt/Makefile	Sat Oct 20 20:12:02 2001
> +++ glibc-20020627/rt/Makefile	Fri Jul  5 01:17:06 2002
> @@ -38,8 +38,10 @@
>  		 $(clock-routines) $(timer-routines) \
>  		 $(shm-routines)
>  
> -tests := tst-shm tst-clock tst-timer \
> -	 tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6
> +tests := tst-shm tst-clock tst-timer
> +ifeq ($(have-thread-library),yes)
> +tests += tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6
> +endif
>  
>  extra-libs := librt
>  extra-libs-others := $(extra-libs)



More information about the Libc-alpha mailing list