[Qemu-devel] [PATCH v2 1/1] configure: use appropriate code fragment for -fstack-protector checks

2015-11-12 Thread Rodrigo Rebello
canary code in all variants. Signed-off-by: Rodrigo Rebello --- Changes v1 -> v2: - Use a simpler test code that works. --- configure | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configure b/configure index 46fd8bd..d93c744 100755 --- a/configure +++ b/configure @@ -148

Re: [Qemu-devel] [PATCH 1/1] configure: use appropriate code fragment for -fstack-protector checks

2015-11-12 Thread Rodrigo Rebello
Markus, 2015-11-12 11:29 GMT-02:00 Markus Armbruster : > Rodrigo Rebello writes: > >> Markus, >> >> 2015-11-12 6:41 GMT-02:00 Markus Armbruster : >>> Rodrigo Rebello writes: >>> >>>> The check for stack-protector support consisted in compil

Re: [Qemu-devel] [PATCH 1/1] configure: use appropriate code fragment for -fstack-protector checks

2015-11-12 Thread Rodrigo Rebello
Markus, 2015-11-12 6:41 GMT-02:00 Markus Armbruster : > Rodrigo Rebello writes: > >> The check for stack-protector support consisted in compiling and linking >> the test program below (output by function write_c_skeleton()) with the >> compiler flag -fstack-protector-st

[Qemu-devel] [PATCH 1/1] configure: use appropriate code fragment for -fstack-protector checks

2015-11-11 Thread Rodrigo Rebello
canary code in all variants. Signed-off-by: Rodrigo Rebello --- configure | 18 ++ 1 file changed, 18 insertions(+) diff --git a/configure b/configure index 46fd8bd..c3d9592 100755 --- a/configure +++ b/configure @@ -1486,6 +1486,24 @@ for flag in $gcc_flags; do done if test