[lxc-devel] [lxc/lxc] 3aa727: configure.ac: fix build without stack-protector

GitHub noreply at github.com
Fri Dec 7 06:42:09 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 3aa7271157d3c815a4426c1f8eaea2f3b6dafa6a
      https://github.com/lxc/lxc/commit/3aa7271157d3c815a4426c1f8eaea2f3b6dafa6a
  Author: Fabrice Fontaine <fontaine.fabrice at gmail.com>
  Date:   2018-12-04 (Tue, 04 Dec 2018)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure.ac: fix build without stack-protector

Compiler based hardening (including -fstack-protector-strong) are
enabled since version 3.0.3 and
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>


  Commit: be50a0d9c58d480b55cc3d429dd61d4b620f85de
      https://github.com/lxc/lxc/commit/be50a0d9c58d480b55cc3d429dd61d4b620f85de
  Author: Christian Brauner <christian at brauner.io>
  Date:   2018-12-07 (Fri, 07 Dec 2018)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Merge pull request #2747 from ffontaine/master

configure.ac: fix build without stack-protector


Compare: https://github.com/lxc/lxc/compare/c1b70110c89c...be50a0d9c58d
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list