[Pkg-zsh-devel] Bug#626946: zsh-static fails to start at all
Gergely Nagy
algernon at balabit.hu
Mon May 16 15:30:38 UTC 2011
Richard Hartmann <richih.mailinglist at gmail.com> writes:
> Package: zsh
> Version: 4.3.11-5
> Severity: grave
> Justification: renders package unusable
>
> Rationale: zsh-static is a shell used for root and in fall-back
> scenarios. As it does not work at all, this can make system maintenance
> or repairing this hard to impossible.
>
> % zsh-static -f
> zsh-static: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize:
> Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
> [1] 8747 abort zsh-static -f
> % echo $?
> 134
> %
I have seen similar problems with other statically linked programs
aswell. If the program uses nss or any other thing that glibc dlopens()
at run-time, then this problem has a very high chance of happening.
I've seen it with the following program aswell (compiled with gcc -O2
-static):
#include <iconv.h>
#include <stdio.h>
#include <errno.h>
int main () {
iconv_t x;
x = iconv_open ("UTF-8", "UTF-32LE");
printf ("%d\n", errno == EINVAL);
return 0;
}
Though, it doesn't happen on current unstable, it did happen about 2
weeks ago. I didn't bother debugging it further unfortunately.
I don't think this issue is limited to zsh-static alone.
--
|8]
More information about the Pkg-zsh-devel
mailing list