Re: dietlibc broken on i386 since Feb 2018?
Felix von Leitner <[email protected]> Sun, 15 Sep 2019 19:35:44 +0200
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
> dietlibc (cvs) is broken for me on i386 since 2018-02-01 (2018-01-31 was fine). > On x86_64 it still works. > A small change in lib/stackgap-common.h makes it work again. > Any suggestions? This uses a random value the kernel passes in the auxval vector. The branch you indicate is the fallback pass if the kernel did not pass the variable. It will then try to acquire randomness from opening /dev/urandom. Please compile dietlibc with $ make DEBUG=1 and then run the binary in gdb so you can tell me where exactly the segfault happens. It does not happen on my system and I do not have an i386 system with a kernel old enough to not pass the random value. Felix