Re: [Qemu-devel] [PATCH 07/26] build-sys: must link with -fstack-protector

2013-03-22 Thread Paolo Bonzini
Il 18/03/2013 14:10, Alon Levy ha scritto: > From: Marc-André Lureau > > It is needed to give that flag to the linker as well, but latest > libtool 2.4.2 still swallows that argument, so let's pass it with > libtool -Wc argument. > > qemu-1.4.0/stubs/arch-query-cpu-def.c:6: undefined reference t

[Qemu-devel] [PATCH 07/26] build-sys: must link with -fstack-protector

2013-03-18 Thread Alon Levy
From: Marc-André Lureau It is needed to give that flag to the linker as well, but latest libtool 2.4.2 still swallows that argument, so let's pass it with libtool -Wc argument. qemu-1.4.0/stubs/arch-query-cpu-def.c:6: undefined reference to `__stack_chk_guard' Signed-off-by: Marc-André Lureau