All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH v2] fitering out -fstack-protector-strong
@ 2015-04-01 16:38 ` Joseph Hindin
  0 siblings, 0 replies; 6+ messages in thread
From: Joseph Hindin @ 2015-04-01 16:38 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, pbonzini, Joseph Hindin

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-02 12:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-01 16:38 [Qemu-trivial] [PATCH v2] fitering out -fstack-protector-strong Joseph Hindin
2015-04-01 16:38 ` [Qemu-devel] " Joseph Hindin
2015-04-01 16:38 ` [Qemu-trivial] [PATCH v2] qga: " Joseph Hindin
2015-04-01 16:38   ` [Qemu-devel] " Joseph Hindin
2015-04-02 12:16   ` [Qemu-trivial] " Paolo Bonzini
2015-04-02 12:16     ` [Qemu-devel] " Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.