Some programs would need libgcc_s.so.1 in their chroot during their work. 3 examples: * slapd -- https://bugzilla.altlinux.org/show_bug.cgi?id=25280 * policyd -- https://bugzilla.altlinux.org/show_bug.cgi?id=30639 * pdnsd -- https://bugzilla.altlinux.org/show_bug.cgi?id=30640 So, to detect this, any chrooted program's configuration should call a function on the program's binary which would tell whether it would need any additional libs (such as libgcc_s) in the chroot during their work and copy them if needed.