[Buildroot] [PATCH 1/1] package/libvirt: disable stack-protector
Fabrice Fontaine
fontaine.fabrice at gmail.com
Sat Aug 7 17:23:59 UTC 2021
Set warning_level to 1 instead of the default value of 2 to disable
stack-protector and avoid the following build failure since the addition
of the package in commit ccfc90e1010e42e6529afae3a5ea8bf7226dabc1:
/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: tests/commandhelper.p/commandhelper.c.o: in function `printInput':
commandhelper.c:(.text+0xad): undefined reference to `__stack_chk_guard'
Fixes:
- http://autobuild.buildroot.org/results/a2657eb18b579752c8217ab356adcb52931f6785
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/libvirt/libvirt.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libvirt/libvirt.mk b/package/libvirt/libvirt.mk
index a0fd5af951..198e64d24c 100644
--- a/package/libvirt/libvirt.mk
+++ b/package/libvirt/libvirt.mk
@@ -51,6 +51,7 @@ LIBVIRT_CONF_OPTS = \
-Dsysctl_config=enabled \
-Dtest_coverage=false \
-Dudev=enabled \
+ -Dwarning_level=1 \
-Dwireshark_dissector=disabled
ifeq ($(BR2_PACKAGE_ATTR),y)
--
2.30.2
More information about the buildroot
mailing list