Re: system inc and dynamic linker change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 15 Sep 2005, KRAJCSOVITS Gyorgy wrote:

Hi Aseem,
 I just built GNU gettext this way and for the result:

$ ldd libgettextlib-0.14.5.so
       libc.so.6 => /opt23//lib/libc.so.6 (0x40016000)
       /opt23//lib/ld-linux.so.2 (0x80000000)

 I don't know where I got the double // though. Onto bash now :)

bye, krajo

This is great, just to mess things up, the linux kernel that I have to use (2.4.21 patched to death) doesn't support the option WCONTINUED for syscall waitpid (wait4 in kernel). The new glibc-2.3.5 I just got installed doesn't care about this though.

The upshot is that my new bash - compiled with new glibc - tries to use this to wait for processes. The system call fails with EINVAL in the kernel, and bash goes into an infinite loop after any program executed :)

Quick fix: in bash-3.0/jobs.c  undefine WCONTINUED before it gets used.


bye, krajo

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux