[OpenWrt-Devel] hardened openwrt & luci

Etienne Champetier champetier.etienne at gmail.com
Tue Feb 3 03:26:00 EST 2015


Hi Dirk,

2015-02-02 1:40 GMT+01:00 Dirk Neukirchen <dirkneukirchen at web.de>:

> On 01.02.2015 23:01, Etienne Champetier wrote:
> > hi Dirk,
> > please try 'make clean' or 'make dirclean'
> > I'm pretty sure you need to rebuild almost everything when enabling
> > hardening option
> >
> > 2015-02-01 22:37 GMT+01:00 Dirk Neukirchen <dirkneukirchen at web.de>:
> >
>
> The buildtree is really clean :)
>
> git clean -x -f -d
> cp ../fail1.txt .config
> make defconfig
> (note that several packages from feeds are now disabled)
> make -j 7
> ...
> make -r world: build failed. Please re-run make with V=s to see what's
> going on
> nano logs/target/linux/install.txt
>
> -> same Error
>


i've tried on my build machine with your config and same problem (after a
make dirclean)
maybe x86_64 related ?

  CC      init/version.o
  LD      init/built-in.o
init/built-in.o: In function `do_one_initcall':
/tmp/openwrt-cc/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'
/tmp/openwrt-cc/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'
init/built-in.o: In function `name_to_dev_t':
/tmp/openwrt-cc/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'
/tmp/openwrt-cc/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'
init/built-in.o: In function `mount_block_root':
/tmp/openwrt-cc/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'
init/built-in.o:/tmp/openwrt-cc/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
make[5]: *** [vmlinux] Error 1
make[4]: ***
[/tmp/openwrt-cc/build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.14.30/.image]
Error 2
make[4]: Leaving directory `/tmp/openwrt-cc/target/linux/x86_64'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/tmp/openwrt-cc/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/tmp/openwrt-cc'
make[1]: ***
[/tmp/openwrt-cc/staging_dir/target-x86_64_uClibc-0.9.33.2/stamp/.target_install]
Error 2
make[1]: Leaving directory `/tmp/openwrt-cc'
make: *** [world] Erreur 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150203/d2c80e26/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list