[Buildroot] [PATCH v3, 2/2] lxc: fix build without stack protector

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 6 20:20:16 UTC 2018


Hello,

On Tue,  4 Dec 2018 21:15:53 +0100, Fabrice Fontaine wrote:
> Stack protector has been added in version 3.0.3 by
> https://github.com/lxc/lxc/commit/2268c27754152aa538db2c9e3753d72d19bcd17a
> 
> However, some compilers could missed the needed library (-lssp or
> -lssp_nonshared) at linking step so use ax_check_link_flag instead of
> ax_check_compile_flag
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/0b90e7dca2984652842832a41abad93ac49a9b86
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
> Changes v2 -> v3 (after review of Baruch Siach):
>  - Add patch to use ac_check_link_flag

Applied to master, thanks. I think you could submit upstream, it's a
fix that makes sense to have.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list