SELinuxProject / selinux

This is the upstream repository for the Security Enhanced Linux (SELinux) userland libraries and tools. The software provided by this project complements the SELinux features integrated into the Linux kernel and is used by Linux distributions. All bugs and patches should be submitted to selinux@vger.kernel.org
Other
1.35k stars 360 forks source link

3.2 checkpolicy: checkpolicy uses libsepol private API/ABI #319

Open kloczek opened 3 years ago

kloczek commented 3 years ago

With patch:

--- a/checkpolicy/Makefile~     2021-03-04 15:42:59.000000000 +0000
+++ b/checkpolicy/Makefile      2021-03-05 08:34:51.762037777 +0000
@@ -16,7 +16,7 @@
 # Otherwise, as $(LIBSEPOLA) already appears in the dependencies, there
 # is no need to define a value for LDLIBS_LIBSEPOLA
 ifeq ($(LIBSEPOLA),)
-        LDLIBS_LIBSEPOLA := -l:libsepol.a
+        LDLIBS_LIBSEPOLA := -lsepol
 endif

 CHECKOBJS = y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o \
--- a/checkpolicy/test/Makefile~        2021-03-04 15:42:59.000000000 +0000
+++ b/checkpolicy/test/Makefile 2021-10-11 17:57:51.012496289 +0100
@@ -7,7 +7,7 @@
 # Otherwise, as $(LIBSEPOLA) already appears in the dependencies, there
 # is no need to define a value for LDLIBS_LIBSEPOLA
 ifeq ($(LIBSEPOLA),)
-        LDLIBS_LIBSEPOLA := -l:libsepol.a
+        LDLIBS_LIBSEPOLA := -lsepol
 endif

 all: dispol dismod

linking fails with missing several symbols. Below is make -k output:

```console [tkloczko@barrel SPECS]$ rpmbuild -ba --with check --with failing_tests checkpolicy.spec -D "_smp_mflags -j1" Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a0163b + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd /home/tkloczko/rpmbuild/BUILD + rm -rf checkpolicy-3.2 + /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/checkpolicy-3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd checkpolicy-3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/checkpolicy-no_static.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WtGNSc + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd checkpolicy-3.2 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' + CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' + FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules' + FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' + CC=/usr/bin/gcc + CXX=/usr/bin/g++ + FC=/usr/bin/gfortran + AR=/usr/bin/gcc-ar + NM=/usr/bin/gcc-nm + RANLIB=/usr/bin/gcc-ranlib + export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB + /usr/bin/make -O -j1 V=1 VERBOSE=1 LIBDIR=/usr/lib64 -k bison -y -d policy_parse.y /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -o y.tab.o -c y.tab.c flex policy_scan.l /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -o lex.yy.o -c lex.yy.c /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -o queue.o -c queue.c /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -o module_compiler.o -c module_compiler.c /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -o parse_util.o -c parse_util.c /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -o policy_define.o -c policy_define.c /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -o checkpolicy.o -c checkpolicy.c /usr/bin/gcc -o checkpolicy y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkpolicy.o -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -lsepol /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `is_id_in_scope': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1132: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `create_symbol': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:164: undefined reference to `symtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:169: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `end_avrule_block': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1376: undefined reference to `ebitmap_union' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1403: undefined reference to `ebitmap_union' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_symbol': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:726: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `add_perm_to_class': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:756: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `get_local_role': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:680: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:688: undefined reference to `role_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:692: undefined reference to `hashtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:694: undefined reference to `role_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `clone_level': /usr/include/sepol/policydb/mls_types.h:81: undefined reference to `ebitmap_cpy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `constraint_expr_clone': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3456: undefined reference to `constraint_expr_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3470: undefined reference to `type_set_cpy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3482: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3474: undefined reference to `ebitmap_cpy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `dominate_role_recheck': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2913: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2916: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2922: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2926: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2929: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2917: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_typebounds_helper': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1402: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1413: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `set_types': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1590: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1601: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1598: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `set_roles': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3090: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3097: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `avrule_cpy': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2358: undefined reference to `avrule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2361: undefined reference to `type_set_cpy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2365: undefined reference to `type_set_cpy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2381: undefined reference to `class_perm_node_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `print_sid': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:136: undefined reference to `sepol_sid_to_context' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `get_local_type.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:631: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:638: undefined reference to `type_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:642: undefined reference to `hashtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:644: undefined reference to `type_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `is_perm_in_scope': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1179: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1185: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1146: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1146: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `parse_semantic_categories.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4220: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4235: undefined reference to `mls_semantic_cat_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4203: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4212: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `read_classes': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:351: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:358: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_role_allow': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3272: undefined reference to `role_allow_rule_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_default_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:382: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_default_type': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:446: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_default_range': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:478: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_default_role': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:414: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_dominance': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:857: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_cat': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1090: undefined reference to `cat_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1096: undefined reference to `cat_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_bool_tunable': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1005: undefined reference to `cond_destroy_bool' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:995: undefined reference to `cond_destroy_bool' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `add_aliases_to_type': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `add_aliases_to_type': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1291: undefined reference to `type_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1272: undefined reference to `type_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1275: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1044: undefined reference to `level_datum_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_sens': /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1060: undefined reference to `level_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1048: undefined reference to `level_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `create_user.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:519: undefined reference to `user_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:542: undefined reference to `user_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_te_avtab_extended_perms': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2052: undefined reference to `avrule_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2106: undefined reference to `class_perm_node_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2115: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2138: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2118: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `create_role.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:275: undefined reference to `role_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:308: undefined reference to `role_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:294: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:299: undefined reference to `role_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `declare_role': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:338: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:232: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:360: undefined reference to `hashtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:377: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:347: undefined reference to `role_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:371: undefined reference to `role_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:364: undefined reference to `role_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_role_attr': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2765: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2784: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `create_type.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:414: undefined reference to `type_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:441: undefined reference to `type_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:428: undefined reference to `type_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:430: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_validatetrans': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3693: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3701: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3728: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3697: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3703: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_role_types': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2714: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_level': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1049: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1106: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1118: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1077: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1088: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1128: undefined reference to `hashtab_map' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:974: undefined reference to `user_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_class': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:803: undefined reference to `symtab_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:775: undefined reference to `hashtab_map' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:776: undefined reference to `hashtab_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_class': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:826: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:836: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:820: undefined reference to `policydb_index_classes' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:839: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:861: undefined reference to `hashtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:775: undefined reference to `hashtab_map' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:776: undefined reference to `hashtab_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `require_role_or_attribute': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:909: undefined reference to `role_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:903: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_cexpr': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3752: undefined reference to `constraint_expr_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3869: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3820: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3861: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3797: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3839: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3846: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3858: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3863: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3864: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3816: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3827: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3835: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_cond_expr.part.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4068: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_conditional': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3955: undefined reference to `cond_normalize_expr' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_conditional': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1199: undefined reference to `get_decl_cond_list' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1199: undefined reference to `get_decl_cond_list' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_conditional': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3974: undefined reference to `cond_node_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3894: undefined reference to `cond_expr_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_bool_tunable': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_bool_tunable': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1808: undefined reference to `cond_destroy_bool' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_type': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1515: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1534: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_te_avtab_helper': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2514: undefined reference to `avrule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2638: undefined reference to `avrule_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2568: undefined reference to `class_perm_node_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2631: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2597: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2601: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_av_perms': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:606: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:618: undefined reference to `symtab_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:630: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:668: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:677: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_compute_type_helper': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1629: undefined reference to `avrule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1663: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1684: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1690: undefined reference to `avrule_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1678: undefined reference to `class_perm_node_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_category': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:917: undefined reference to `cat_datum_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_category': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:992: undefined reference to `cat_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_category': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:954: undefined reference to `cat_datum_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1001: undefined reference to `cat_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:747: undefined reference to `level_datum_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:784: undefined reference to `level_datum_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:822: undefined reference to `level_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_role_dom': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2961: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3006: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3009: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3017: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3028: undefined reference to `hashtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3014: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3034: undefined reference to `role_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_role_dom': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_role_dom': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2997: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3020: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3021: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3010: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_constraint': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3554: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3562: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3600: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3609: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3620: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3629: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3564: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3558: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_role_trans': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3133: undefined reference to `role_set_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3135: undefined reference to `type_set_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3153: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3161: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3177: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3192: undefined reference to `role_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3195: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3245: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3246: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3064: undefined reference to `hashtab_map' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_filename_trans': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3331: undefined reference to `type_set_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3332: undefined reference to `type_set_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3362: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3380: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3383: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3431: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3432: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3433: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3434: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3435: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3441: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3442: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3443: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3444: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3445: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3389: undefined reference to `policydb_filetrans_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3414: undefined reference to `filename_trans_rule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3418: undefined reference to `type_set_cpy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3422: undefined reference to `type_set_cpy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_range_trans': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5664: undefined reference to `range_trans_rule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5736: undefined reference to `range_trans_rule_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5680: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5688: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5700: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5725: undefined reference to `mls_semantic_level_cpy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:572: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4111: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4120: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:477: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:593: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:589: undefined reference to `user_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:581: undefined reference to `user_datum_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4342: undefined reference to `mls_semantic_level_cpy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:604: undefined reference to `user_datum_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:593: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4290: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4315: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `parse_security_context': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4403: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4426: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4449: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4473: more undefined references to `hashtab_search' follow /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `parse_security_context': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4181: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4172: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4174: undefined reference to `policydb_index_others' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `parse_security_context': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4510: undefined reference to `policydb_context_isvalid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4501: undefined reference to `ebitmap_cpy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4141: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4149: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `parse_security_context': /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_fs_context': /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/usr/include/sepol/policydb/mls_types.h:98: more undefined references to `ebitmap_destroy' follow /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `define_genfs_context': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5572: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1181: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1192: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_parse.y:171: undefined reference to `policydb_index_others' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_parse.y:170: undefined reference to `policydb_index_classes' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:512: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:523: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:535: undefined reference to `symtab_init' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:554: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1351: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1365: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1384: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1318: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_parse.y:911: undefined reference to `policydb_index_others' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:232: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:277: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2815: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2830: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2849: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2873: undefined reference to `ebitmap_or' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2878: undefined reference to `ebitmap_or' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2892: undefined reference to `type_set_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2893: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1226: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_parse.y:173: undefined reference to `policydb_index_bools' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1302: undefined reference to `avrule_block_create' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1303: undefined reference to `avrule_decl_create' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1344: undefined reference to `avrule_decl_create' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `yyparse': /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1213: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1226: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1326: undefined reference to `avrule_block_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2885: undefined reference to `type_set_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2886: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `main': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:531: undefined reference to `sepol_set_policydb' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:532: undefined reference to `sepol_set_sidtab' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:559: undefined reference to `policy_file_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:563: undefined reference to `policydb_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:596: undefined reference to `policydb_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:600: undefined reference to `policydb_set_target_platform' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:611: undefined reference to `hashtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:615: undefined reference to `link_modules' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:634: undefined reference to `policydb_load_isids' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:663: undefined reference to `policy_file_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:667: undefined reference to `policydb_sort_ocontexts' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:674: undefined reference to `policydb_write' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:568: undefined reference to `policydb_read' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:621: undefined reference to `policydb_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:704: undefined reference to `policydb_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:705: undefined reference to `sepol_sidtab_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:361: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccSPRNeS.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:367: undefined reference to `evaluate_conds' /usr/bin/ld: /tmp/ccSPRNeS.lto.o: in function `main': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1101: undefined reference to `sepol_get_user_sids' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1086: undefined reference to `sepol_genfs_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1027: undefined reference to `sepol_node_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1294: undefined reference to `sepol_ibendport_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1275: undefined reference to `sepol_ibpkey_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1239: undefined reference to `sepol_validate_transition_reason_buffer' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1186: undefined reference to `sepol_compute_av_reason_buffer' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1174: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1227: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:638: undefined reference to `policydb_optimize' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:625: undefined reference to `expand_module' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:982: undefined reference to `sepol_port_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1035: undefined reference to `sepol_fs_use' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:989: undefined reference to `sepol_netif_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:1076: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:899: undefined reference to `sepol_change_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:840: undefined reference to `sepol_context_to_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:818: undefined reference to `sepol_sid_to_context' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:896: undefined reference to `sepol_member_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:892: undefined reference to `sepol_transition_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:879: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:781: undefined reference to `sepol_compute_av' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:789: undefined reference to `hashtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:795: undefined reference to `hashtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:765: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:941: undefined reference to `sepol_load_policy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:915: undefined reference to `sepol_sidtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:960: undefined reference to `sepol_fs_sid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkpolicy.c:629: undefined reference to `policydb_destroy' collect2: error: ld returned 1 exit status make: *** [Makefile:33: checkpolicy] Error 1 /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -o checkmodule.o -c checkmodule.c /usr/bin/gcc -o checkmodule y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkmodule.o -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -lsepol /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `is_id_in_scope': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1132: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `create_symbol': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:164: undefined reference to `symtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:169: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `end_avrule_block': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1376: undefined reference to `ebitmap_union' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1403: undefined reference to `ebitmap_union' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_symbol': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:726: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `add_perm_to_class': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:756: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `get_local_role': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:680: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:688: undefined reference to `role_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:692: undefined reference to `hashtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:694: undefined reference to `role_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `clone_level': /usr/include/sepol/policydb/mls_types.h:81: undefined reference to `ebitmap_cpy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `constraint_expr_clone': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3456: undefined reference to `constraint_expr_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3470: undefined reference to `type_set_cpy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3482: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3474: undefined reference to `ebitmap_cpy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `dominate_role_recheck': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2913: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2916: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2922: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2926: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2929: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2917: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_typebounds_helper': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1402: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1413: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `set_types': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1590: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1601: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1598: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `set_roles': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3090: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3097: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `avrule_cpy': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2358: undefined reference to `avrule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2361: undefined reference to `type_set_cpy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2365: undefined reference to `type_set_cpy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2381: undefined reference to `class_perm_node_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `get_local_type.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:631: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:638: undefined reference to `type_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:642: undefined reference to `hashtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:644: undefined reference to `type_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `is_perm_in_scope': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1179: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1185: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1146: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1146: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `parse_semantic_categories.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4220: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4235: undefined reference to `mls_semantic_cat_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4203: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4212: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `read_classes': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:351: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:358: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_role_allow': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3272: undefined reference to `role_allow_rule_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_default_range': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:478: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_default_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:382: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_default_type': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:446: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_default_role': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:414: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_dominance': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:857: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_cat': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1090: undefined reference to `cat_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1096: undefined reference to `cat_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_bool_tunable': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1005: undefined reference to `cond_destroy_bool' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:995: undefined reference to `cond_destroy_bool' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `add_aliases_to_type': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `add_aliases_to_type': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1291: undefined reference to `type_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1272: undefined reference to `type_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1275: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1044: undefined reference to `level_datum_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_sens': /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1060: undefined reference to `level_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1048: undefined reference to `level_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `create_user.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:519: undefined reference to `user_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:542: undefined reference to `user_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_te_avtab_extended_perms': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2052: undefined reference to `avrule_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2106: undefined reference to `class_perm_node_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2115: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2138: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2118: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `create_role.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:275: undefined reference to `role_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:308: undefined reference to `role_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:294: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:299: undefined reference to `role_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `declare_role': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:338: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:232: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:360: undefined reference to `hashtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:377: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:347: undefined reference to `role_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:371: undefined reference to `role_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:364: undefined reference to `role_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_role_attr': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2765: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2784: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `create_type.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:414: undefined reference to `type_datum_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:441: undefined reference to `type_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:428: undefined reference to `type_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:430: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_validatetrans': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3693: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3701: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3728: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3697: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3703: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_role_types': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2714: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_level': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1049: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1106: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1118: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1077: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1088: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1128: undefined reference to `hashtab_map' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:974: undefined reference to `user_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_class': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:803: undefined reference to `symtab_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:775: undefined reference to `hashtab_map' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:776: undefined reference to `hashtab_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_class': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:826: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:836: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:820: undefined reference to `policydb_index_classes' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:839: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:861: undefined reference to `hashtab_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:775: undefined reference to `hashtab_map' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:776: undefined reference to `hashtab_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `require_role_or_attribute': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:909: undefined reference to `role_datum_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:903: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_cexpr': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3752: undefined reference to `constraint_expr_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3869: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3820: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3861: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3797: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3839: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3846: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3858: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3863: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3864: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3816: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3827: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3835: undefined reference to `constraint_expr_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_cond_expr.part.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4068: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_conditional': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3955: undefined reference to `cond_normalize_expr' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_conditional': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1199: undefined reference to `get_decl_cond_list' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1199: undefined reference to `get_decl_cond_list' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_conditional': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3974: undefined reference to `cond_node_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3894: undefined reference to `cond_expr_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_bool_tunable': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_bool_tunable': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1808: undefined reference to `cond_destroy_bool' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_type': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1515: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1534: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_te_avtab_helper': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2514: undefined reference to `avrule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2638: undefined reference to `avrule_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2568: undefined reference to `class_perm_node_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2631: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2597: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2601: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_av_perms': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:606: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:618: undefined reference to `symtab_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:630: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:668: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:677: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_compute_type_helper': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1629: undefined reference to `avrule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1663: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1684: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1690: undefined reference to `avrule_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1678: undefined reference to `class_perm_node_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_category': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:917: undefined reference to `cat_datum_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_category': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:992: undefined reference to `cat_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_category': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:954: undefined reference to `cat_datum_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1001: undefined reference to `cat_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:747: undefined reference to `level_datum_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:784: undefined reference to `level_datum_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_sens': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:822: undefined reference to `level_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_role_dom': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2961: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3006: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3009: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3017: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3028: undefined reference to `hashtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3014: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3034: undefined reference to `role_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_role_dom': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_role_dom': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2997: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3020: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3021: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3010: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_constraint': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3554: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3562: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3600: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3609: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3620: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3629: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3564: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3558: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_role_trans': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3133: undefined reference to `role_set_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3135: undefined reference to `type_set_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3153: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3161: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3177: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3192: undefined reference to `role_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3195: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3245: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3246: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3064: undefined reference to `hashtab_map' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_filename_trans': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3331: undefined reference to `type_set_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3332: undefined reference to `type_set_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3362: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3380: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3383: undefined reference to `type_set_expand' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3431: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3432: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3433: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3434: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3435: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3441: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3442: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3443: undefined reference to `ebitmap_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3444: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3445: undefined reference to `type_set_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3389: undefined reference to `policydb_filetrans_insert' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3414: undefined reference to `filename_trans_rule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3418: undefined reference to `type_set_cpy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:3422: undefined reference to `type_set_cpy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_range_trans': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5664: undefined reference to `range_trans_rule_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5736: undefined reference to `range_trans_rule_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5680: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5688: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5700: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5725: undefined reference to `mls_semantic_level_cpy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:572: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4111: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4120: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:477: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:593: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:589: undefined reference to `user_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:581: undefined reference to `user_datum_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4342: undefined reference to `mls_semantic_level_cpy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:604: undefined reference to `user_datum_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:593: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_user': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4290: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4315: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `parse_security_context': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4403: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4426: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4449: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4473: more undefined references to `hashtab_search' follow /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `parse_security_context': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4181: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4172: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4174: undefined reference to `policydb_index_others' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `parse_security_context': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4510: undefined reference to `policydb_context_isvalid' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4501: undefined reference to `ebitmap_cpy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4141: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:4149: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `parse_security_context': /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_fs_context': /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/usr/include/sepol/policydb/mls_types.h:98: more undefined references to `ebitmap_destroy' follow /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `define_genfs_context': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:5572: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1181: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1192: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_parse.y:171: undefined reference to `policydb_index_others' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_parse.y:170: undefined reference to `policydb_index_classes' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:512: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:523: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:535: undefined reference to `symtab_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:554: undefined reference to `hashtab_insert' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:207: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1351: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1365: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1384: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1318: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_parse.y:911: undefined reference to `policydb_index_others' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:232: undefined reference to `hashtab_search' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:277: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2815: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2830: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2849: undefined reference to `ebitmap_set_bit' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2873: undefined reference to `ebitmap_or' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2878: undefined reference to `ebitmap_or' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2892: undefined reference to `type_set_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2893: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1226: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_parse.y:173: undefined reference to `policydb_index_bools' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1302: undefined reference to `avrule_block_create' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1303: undefined reference to `avrule_decl_create' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1344: undefined reference to `avrule_decl_create' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `yyparse': /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /usr/include/sepol/policydb/mls_types.h:98: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1213: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:1226: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/module_compiler.c:1326: undefined reference to `avrule_block_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2885: undefined reference to `type_set_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/policy_define.c:2886: undefined reference to `ebitmap_destroy' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `main': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:264: undefined reference to `sepol_set_policydb' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:265: undefined reference to `sepol_set_sidtab' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:78: undefined reference to `policy_file_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:84: undefined reference to `policydb_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:89: undefined reference to `policydb_read' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `main': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:264: undefined reference to `sepol_set_policydb' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:265: undefined reference to `sepol_set_sidtab' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:272: undefined reference to `policydb_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:285: undefined reference to `hierarchy_check_constraints' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:328: undefined reference to `policydb_load_isids' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:331: undefined reference to `sepol_sidtab_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:359: undefined reference to `policydb_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:121: undefined reference to `policy_file_init' /usr/bin/ld: /tmp/ccwlmoiE.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:124: undefined reference to `policydb_write' /usr/bin/ld: /tmp/ccwlmoiE.lto.o: in function `main': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:313: undefined reference to `policydb_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:317: undefined reference to `link_modules' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:321: undefined reference to `expand_module' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/checkmodule.c:325: undefined reference to `policydb_destroy' collect2: error: ld returned 1 exit status make: *** [Makefile:36: checkmodule] Error 1 ``` The same output of `make -k -C test` ```console + /usr/bin/make -O -j1 V=1 VERBOSE=1 -C test LIBDIR=/usr/lib64 -k make: Entering directory '/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test' /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o dispol.o dispol.c /usr/bin/gcc -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o dispol dispol.o -lsepol /usr/bin/ld: /tmp/cc27h8pm.lto.o: in function `render_access_mask.constprop.0.isra.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:50: undefined reference to `sepol_av_to_string' /usr/bin/ld: /tmp/cc27h8pm.lto.o: in function `render_av_rule.constprop.0.isra.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:158: undefined reference to `sepol_extended_perms_to_string' /usr/bin/ld: /tmp/cc27h8pm.lto.o: in function `main': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:429: undefined reference to `policy_file_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:433: undefined reference to `policydb_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:437: undefined reference to `policydb_read' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:548: undefined reference to `policydb_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:368: undefined reference to `hashtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:267: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/cc27h8pm.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dispol.c:273: undefined reference to `evaluate_conds' collect2: error: ld returned 1 exit status make: *** [Makefile:16: dispol] Error 1 /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o dismod.o dismod.c /usr/bin/gcc -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o dismod dismod.o -lsepol /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `read_policy': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:736: undefined reference to `policy_file_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:761: undefined reference to `policydb_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:765: undefined reference to `policydb_read' /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `display_scope_index.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:547: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:91: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccxRqsl2.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:92: undefined reference to `sepol_av_to_string' /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `display_id.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:105: undefined reference to `hashtab_search' /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `display_type_set.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:133: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:143: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:156: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:163: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `display_avrule.constprop.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:308: undefined reference to `sepol_extended_perms_to_string' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:78: undefined reference to `sepol_av_to_string' /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `display_type_callback': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:338: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `display_mod_role_set.constprop.0.isra.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:191: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:202: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `display_avblock.constprop.0.isra.0': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:467: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccxRqsl2.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:477: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /tmp/ccxRqsl2.lto.o: in function `main': /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:874: undefined reference to `policydb_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:892: undefined reference to `policydb_index_classes' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:897: undefined reference to `policydb_index_others' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:1011: undefined reference to `policydb_destroy' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:360: undefined reference to `hashtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:939: undefined reference to `hashtab_map' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:375: undefined reference to `ebitmap_get_bit' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:805: undefined reference to `policydb_index_classes' /usr/bin/ld: /tmp/ccxRqsl2.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:806: undefined reference to `policydb_index_others' /usr/bin/ld: /tmp/ccxRqsl2.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:810: undefined reference to `link_modules' /usr/bin/ld: /tmp/ccxRqsl2.lto.o:/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test/dismod.c:815: undefined reference to `policydb_destroy' collect2: error: ld returned 1 exit status make: *** [Makefile:19: dismod] Error 1 make: Target 'all' not remade because of errors. make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/checkpolicy-3.2/test' ```
kloczek commented 2 years ago

gentle ping ..

Is it any plan to provide all SELinux libraries with well defined public API/ABI which would be used by all SELinux tools as well?

kloczek commented 1 year ago

Any update? I see tat this ticket still is opened so I'm assuming that you are at least considering that something about proper public/piov API/API separation needs to be done. Maybe it would be good to just put more symbols in stared libraries and sart tearing them as public one? 🤔

kloczek commented 9 months ago

gentle ping .. 🤔

kloczek commented 5 months ago

3 and half years later and still shared libsepo has no stable ABI and cannot be used to build other SELinux tools. Where is the problem? 🤔 checkpolicy and mcstrans are failing on try to link with shared libsepol.

bachradsusi commented 5 months ago

I guess the problem is that nobody is really interested enough to fix this issue. AFAIK @JurajMarcin and @WOnder93 have been working on some improvement but I'm not sure what's the current state of their work.

kloczek commented 5 months ago

I guess the problem is that nobody is really interested enough to fix this issue. AFAIK @JurajMarcin and @WOnder93 have been working on some improvement but I'm not sure what's the current state of their work.

Yep looks like you are right .. no cares about that. No one cares as well about: