Return-Path: Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by 335xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1MiAsc-0004Nj-5F for ltp-list@lists.sourceforge.net; Mon, 31 Aug 2009 17:41:22 +0000 Received: from relay2.suse.de (mail2.suse.de [195.135.221.8]) by mx2.suse.de (Postfix) with ESMTP id D83EB8726A for ; Mon, 31 Aug 2009 19:41:07 +0200 (CEST) Date: Mon, 31 Aug 2009 19:41:07 +0200 From: Cyril Hrubis Message-ID: <20090831174107.GB30788@schrodinger.suse.cz> MIME-Version: 1.0 Content-Disposition: inline Subject: [LTP] broken epoll Makefile List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: ltp-list@lists.sourceforge.net 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 ' | $(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 chrubis@suse.cz ------------------------------------------------------------------------------ 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 Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list