From: Peter Korsgaard Date: Sun, 09 Dec 2018 22:37:14 +0100 Subject: [Buildroot] [PATCH v3, 2/2] lxc: fix build without stack protector In-Reply-To: <20181204201553.11463-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 4 Dec 2018 21:15:53 +0100") References: <20181204201553.11463-1-fontaine.fabrice@gmail.com> <20181204201553.11463-2-fontaine.fabrice@gmail.com> Message-ID: <87o99uz8j9.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Fabrice" == Fabrice Fontaine writes: > 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 > --- > Changes v2 -> v3 (after review of Baruch Siach): > - Add patch to use ac_check_link_flag > Changes v1 -> v2 (after review of Thomas Petazzoni): > - Drop patch to add a new option, instead use > ax_cv_check_cflags__Werror__fstack_protector_strong=no Committed to 2018.11.x, thanks. -- Bye, Peter Korsgaard