Received: from eggs.gnu.org ([2001:4830:134:3::10]:36678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgVTw-0003NS-TJ for qemu-devel@nongnu.org; Sat, 03 May 2014 04:39:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgVTq-0004ZQ-PX for qemu-devel@nongnu.org; Sat, 03 May 2014 04:39:40 -0400 Message-ID: <5364AB45.9010106@msgid.tls.msk.ru> Date: Sat, 03 May 2014 12:39:33 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1398769764-25493-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1398769764-25493-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] tests/tcg: Fix compilation of test_path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Stefan Weil , patches@linaro.org 29.04.2014 15:09, Peter Maydell wrote: > The test_path binary is (unlike the other test binaries in tests/tcg) > actually intended to be compiled with the same compiler used to build > the main QEMU executables. It actually #includes a number of the > QEMU source files in an attempt to unit-test the util/path.c functions, > and so if it is not compiled with the same compiler used by configure > to set CONFIG_ settings then it is liable to fail to build. > Fix the makefile to build it with the default C compiler rules, not > CC_I386, and fix the test itself not to include a lot of unnecessary > trace related source files which cause the build to fail if the trace > backend is anything other than 'simple'. Yay, ACK! Applies to -trivial, thank you! /mjt