From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYfhO-0006mt-IP for qemu-devel@nongnu.org; Thu, 19 Mar 2015 15:01:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYfhN-0005a7-SQ for qemu-devel@nongnu.org; Thu, 19 Mar 2015 15:01:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYfhN-0005Zw-M2 for qemu-devel@nongnu.org; Thu, 19 Mar 2015 15:01:41 -0400 From: John Snow Date: Thu, 19 Mar 2015 15:01:33 -0400 Message-Id: <1426791697-17895-1-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v3 0/4] configure: clang 3.5.0 build fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, John Snow , stefanha@redhat.com QEMU does not compile cleanly under clang 3.5.0. These patches eliminate the avalanche of warnings and make the build usable. v3: - Drop tricore patch, it's already being worked on elsewhere. - Factor out flag check test. v2: - Stole the series from Stefan - No changes to the -nopie patch, which I think was fine. - Fixed the -Wno-unknown-attributes patch. - Added a tricore fix for -Wabsolute-value - Added a workaround to help suppress ccache warnings The result is that you *should* be able to use clang 3.5.0 *with* ccache and -Werror and produce all targets. John Snow (3): configure: factor out supported flag check configure: silence glib unknown attribute __alloc_size__ configure: Add workaround for ccache and clang Stefan Hajnoczi (1): configure: handle clang -nopie argument warning configure | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 66 insertions(+), 15 deletions(-) -- 2.1.0