First,I installed Gentoo/AMD64(for Athlon64 2800+ PC). Then convert it to Gentoo/AMD64/Hardened (shown as Gentoo AMD64 SELinux Handbook). It seems working with SELinux capability. (when login as root,I must select either staff_t or sysadm_t, and so on) But if I try to emerge glibc (2.3.5 - > 2.3.5-r1), emerge fails. Last message is 'checking for is_selinux_enabled in -lselinux ... no'. Reproducible: Always Steps to Reproduce: 1.Install Gentoo for AMD64. 2.Convert it to Hardened. (/etc/make.profile -> /usr/portage/profiles/selinux/2005.1/amd64) 3.emerge sync. 4.emerge glibc. Actual Results: Make check fails.
Created attachment 67978 [details, diff] test fix Please apply this test patch, I believe this will fix it.
Since libselinux is only compiled for the primary ABI, glibc fails on the 32 ABI. The patch will only enable glibc SELinux support for the primary ABI. SELinux support is only in nscd, so this should be ok.
(In reply to comment #1) > Please apply this test patch, I believe this will fix it. It works well. Thank you.
*** Bug 107126 has been marked as a duplicate of this bug. ***
fixed in cvs