From: Cyril H. <ch...@su...> - 2009-08-31 17:41:22
|
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 ch...@su... |