libselinux: mark as not available on ARC
PATCH 1/1 libselinux: mark as not available on ARC
libselinux causes some build problems due to the toolchain on ARC, which haven't solved so far. As a temporary solution for Buildroot 2015.08, this commit makes libselinux (and its reverse dependencies) unavailable on ARC. Of course, once the toolchain problem is addressed, this commit can be reverted to re-enable libselinux on ARC.
Fixes:
http://autobuild.buildroot.org/results/220/2207f6aad44a6988bf07b02b583b6418ad930dc8/
--- package/busybox/Config.in | 1 + package/libselinux/Config.in | 3 +++ package/libsemanage/Config.in | 2 ++ package/setools/Config.in | 5 +++-- 4 files changed, 9 insertions(+), 2 deletions(-)
package/busybox/Config.in +1 -0
@@ -36,6 +36,7 @@ config BR2_PACKAGE_BUSYBOX_SELINUX select BR2_PACKAGE_LIBSELINUX depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + depends on !BR2_arc bool "Enable SELinux support" help Enable SELinux support in BusyBox. Please note that
package/libselinux/Config.in +3 -0
@@ -4,6 +4,8 @@ config BR2_PACKAGE_LIBSELINUX select BR2_PACKAGE_PCRE depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + # Toolchain issue: "fixup not contained within frag" + depends on !BR2_arc help libselinux is the runtime SELinux library that provides interfaces (e.g. library functions for the SELinux kernel
@@ -16,4 +18,5 @@ config BR2_PACKAGE_LIBSELINUX http://selinuxproject.org/page/Main_Page comment "libselinux needs a toolchain w/ threads, dynamic library" + depends on !BR2_arc depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
package/libsemanage/Config.in +2 -0
@@ -5,6 +5,7 @@ config BR2_PACKAGE_LIBSEMANAGE select BR2_PACKAGE_BZIP2 depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + depends on !BR2_arc help libsemanage is the policy management library. It uses libsepol for binary policy manipulation and libselinux for
@@ -17,4 +18,5 @@ config BR2_PACKAGE_LIBSEMANAGE http://selinuxproject.org/page/Main_Page comment "libsemanage needs a toolchain w/ threads, dynamic library" + depends on !BR2_arc depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
package/setools/Config.in +3 -2
@@ -10,7 +10,8 @@ config BR2_PACKAGE_SETOOLS # bfin: infamous _ symbol prefix issue # nios2: triggers some toolchain issue "No symbol version # section for versioned symbol" - depends on !BR2_nios2 && !BR2_bfin + # arc: libselinux not available + depends on !BR2_nios2 && !BR2_bfin && !BR2_arc help SETools is an open source project designed to facilitate SELinux policy analysis. The primary tools are:
@@ -27,4 +28,4 @@ config BR2_PACKAGE_SETOOLS comment "setools needs a toolchain w/ threads, C++, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ || !BR2_INSTALL_LIBSTDCPP - depends on !BR2_nios2 && !BR2_bfin + depends on !BR2_nios2 && !BR2_bfin && !BR2_arc
Signature · 1 line
2.5.0
PATCH 1/1 libselinux: mark as not available on ARC
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
libselinux causes some build problems due to the toolchain on ARC, which haven't solved so far. As a temporary solution for Buildroot
s/haven't/haven't been/
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard