qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2] fitering out -fstack-protector-strong


From: Joseph Hindin
Subject: [Qemu-devel] [PATCH v2] fitering out -fstack-protector-strong
Date: Wed, 1 Apr 2015 19:38:56 +0300

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]