Hi,
compilation of testcases/kernel/syscalls/epoll was randomly faling on s390,
while trying to find culprint I've noticed that test in Makefile is badly
broken. The problematic line is:

LIBC_HAS_EPOLL := $(shell echo '\#include <sys/epoll.h>' | $(CC) -E - > 
/dev/null 2>&1 && echo yes)

Where sombody added \ to escape # from makefile, but this is being printed into
the $(CC) input and because of this LIBC_HAS_EPOLL is set to 'yes' no matter if
this header is present or not. However it fails (sometimes) on s390.

This check should be moved to autoconf but just for now I'm too tired to
do that.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to