<div dir="ltr"><div><div>hi Dirk,<br></div>please try 'make clean' or 'make dirclean'<br></div><div>I'm pretty sure you need to rebuild almost everything when enabling hardening option<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-01 22:37 GMT+01:00 Dirk Neukirchen <span dir="ltr"><<a href="mailto:dirkneukirchen@web.de" target="_blank">dirkneukirchen@web.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 30.01.2015 18:02, Etienne Champetier wrote:<br>
> Hi<br>
<span class="">> i've only done basic testing but it seems to work,<br>
> except luci which send me bad gatway.<br>
><br>
</span>> Thanks in advance<br>
> Etienne<br>
><br>
><br>
I played around, but get a build error (build on Arch Linux)<br>
<br>
/home/tenchi/programming/upstream/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/arch/x86/Makefile:119: stack-protector enabled but compiler support broken<br>
net/sched/Kconfig:43: warning: menuconfig statement without prompt<br>
.config:4095:warning: override: SPARSEMEM_MANUAL changes choice state<br>
#<br>
# configuration written to .config<br>
#<br>
/home/tenchi/programming/upstream/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/arch/x86/Makefile:119: stack-protector enabled but compiler support broken<br>
<br>
.... (some compile warnings)<br>
<br>
init/built-in.o: In function `do_one_initcall':<br>
/home/tenchi/programming/upstream/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/init/main.c:692: undefined reference to `__stack_chk_guard'<br>
/home/tenchi/programming/upstream/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/init/main.c:715: undefined reference to `__stack_chk_guard'<br>
init/built-in.o: In function `name_to_dev_t':<br>
/home/tenchi/programming/upstream/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/init/do_mounts.c:210: undefined reference to `__stack_chk_guard'<br>
/home/tenchi/programming/upstream/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/init/do_mounts.c:287: undefined reference to `__stack_chk_guard'<br>
init/built-in.o: In function `mount_block_root':<br>
/home/tenchi/programming/upstream/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/init/do_mounts.c:378: undefined reference to `__stack_chk_guard'<br>
init/built-in.o:/home/tenchi/programming/upstream/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/init/do_mounts.c:434: more undefined references to `__stack_chk_guard' follow<br>
Makefile:829: recipe for target 'vmlinux' failed<br>
<br>
diffconfig.sh:<br>
<br>
CONFIG_TARGET_x86_64=y<br>
CONFIG_TARGET_x86_64_Default=y<br>
CONFIG_TARGET_BOARD="x86_64"<br>
CONFIG_DEVEL=y<br>
CONFIG_TOOLCHAINOPTS=y<br>
CONFIG_BUILD_LOG=y<br>
CONFIG_BUILD_NLS=y<br>
# CONFIG_GCC_USE_VERSION_4_8_LINARO is not set<br>
CONFIG_GCC_USE_VERSION_4_9_LINARO=y<br>
CONFIG_GCC_VERSION="4.9-linaro"<br>
CONFIG_GCC_VERSION_4_9=y<br>
CONFIG_GCC_VERSION_4_9_LINARO=y<br>
CONFIG_GNUTLS_ALPN=y<br>
CONFIG_GNUTLS_ANON=y<br>
CONFIG_GNUTLS_DTLS_SRTP=y<br>
CONFIG_GNUTLS_HEARTBEAT=y<br>
CONFIG_GNUTLS_OCSP=y<br>
CONFIG_GNUTLS_PSK=y<br>
# CONFIG_KERNEL_CC_STACKPROTECTOR_NONE is not set<br>
CONFIG_KERNEL_CC_STACKPROTECTOR_REGULAR=y<br>
CONFIG_OPENCONNECT_GNUTLS=y<br>
CONFIG_OPENSSL_WITH_EC=y<br>
CONFIG_PACKAGE_aircrack-ng=y<br>
CONFIG_PACKAGE_chat=y<br>
CONFIG_PACKAGE_comgt=y<br>
CONFIG_PACKAGE_kmod-tun=y<br>
CONFIG_PACKAGE_libgmp=y<br>
CONFIG_PACKAGE_libgnutls=y<br>
CONFIG_PACKAGE_libiwinfo=y<br>
CONFIG_PACKAGE_libiwinfo-lua=y<br>
CONFIG_PACKAGE_liblua=y<br>
CONFIG_PACKAGE_libnettle=y<br>
CONFIG_PACKAGE_libopenssl=y<br>
CONFIG_PACKAGE_libpcap=y<br>
CONFIG_PACKAGE_libpolarssl=y<br>
CONFIG_PACKAGE_libpthread=y<br>
CONFIG_PACKAGE_libubus-lua=y<br>
CONFIG_PACKAGE_libuci-lua=y<br>
CONFIG_PACKAGE_libustream-polarssl=y<br>
CONFIG_PACKAGE_libxml2=y<br>
CONFIG_PACKAGE_lua=y<br>
CONFIG_PACKAGE_luci=y<br>
CONFIG_PACKAGE_luci-app-firewall=y<br>
CONFIG_PACKAGE_luci-base=y<br>
CONFIG_PACKAGE_luci-lib-ip=y<br>
CONFIG_PACKAGE_luci-lib-nixio=y<br>
CONFIG_PACKAGE_luci-mod-admin-full=y<br>
CONFIG_PACKAGE_luci-proto-3g=y<br>
CONFIG_PACKAGE_luci-proto-ipv6=y<br>
CONFIG_PACKAGE_luci-proto-openconnect=y<br>
CONFIG_PACKAGE_luci-proto-ppp=y<br>
CONFIG_PACKAGE_luci-proto-relay=y<br>
CONFIG_PACKAGE_luci-ssl=y<br>
CONFIG_PACKAGE_luci-theme-bootstrap=y<br>
CONFIG_PACKAGE_openconnect=y<br>
CONFIG_PACKAGE_px5g=y<br>
CONFIG_PACKAGE_relayd=y<br>
CONFIG_PACKAGE_resolveip=y<br>
CONFIG_PACKAGE_rpcd=y<br>
CONFIG_PACKAGE_uhttpd=y<br>
CONFIG_PACKAGE_uhttpd-mod-ubus=y<br>
CONFIG_PACKAGE_zlib=y<br>
CONFIG_PKG_CHECK_FORMAT_SECURITY=y<br>
CONFIG_PKG_FORTIFY_SOURCE_1=y<br>
# CONFIG_PKG_FORTIFY_SOURCE_NONE is not set<br>
# CONFIG_PKG_RELRO_NONE is not set<br>
CONFIG_PKG_RELRO_PARTIAL=y<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</blockquote></div><br></div>