From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdLfi-0004OQ-4R for qemu-devel@nongnu.org; Wed, 01 Apr 2015 12:39:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdLfc-00007n-2O for qemu-devel@nongnu.org; Wed, 01 Apr 2015 12:39:18 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:38517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdLfb-00007f-Tx for qemu-devel@nongnu.org; Wed, 01 Apr 2015 12:39:12 -0400 Received: by wibgn9 with SMTP id gn9so73806220wib.1 for ; Wed, 01 Apr 2015 09:39:11 -0700 (PDT) From: Joseph Hindin Date: Wed, 1 Apr 2015 19:38:56 +0300 Message-Id: <1427906337-20805-1-git-send-email-jhindin@daynix.com> Subject: [Qemu-devel] [PATCH v2] fitering out -fstack-protector-strong List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com, Joseph Hindin , mdroth@linux.vnet.ibm.com The cross-compilation of VSS DLL from QEMU GA for Windows with MinGW fails because of disreparancy between compiler's and linker's stack protection options. The current qga/vss-win32/Makefile.objs filters out option '-fstack-protector-all' from compiler's option, but commit 63678e17c introduced changes in configure script, setting '-fstack-protector-strong' compiler option when available. The '-fstack-protector-strong' option was not filtered out by the VSS DLL Makefile.objs file, resulting in linking error. Paolo Bonzini in the message http://lists.nongnu.org/archive/html/qemu-devel/2015-03/msg02719.html from 12.03.2015 suggested to fix the problem in a way similar to existing. The patch follows the advice and filters out both '-fstack-protector-strong' and '-fstack-protector-all' from compiler's options' list. Joseph Hindin (1): qga: fitering out -fstack-protector-strong qga/vss-win32/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.0