On Thu, 13 Nov 2003, Jakub Jelinek wrote: > On Thu, Nov 13, 2003 at 09:12:02AM +0100, pascal.rapaz@xxxxxxxx wrote: > > Yes! > > > > But I'm very surprised because the LD_ASSUME_KERNEL=2.2.5 must desactive > > the nptl option and that work fine in RH 9.0 but not in Fedora Core. > > Moreover this option is part of the Fedroa release notes. > > LD_ASSUME_KERNEL=2.2.5 works, just run: > > LD_ASSUME_KERNEL=2.2.5 ldd someprog > LD_ASSUME_KERNEL=2.4.19 ldd someprog > ldd someprog > > and see what libraries are used (should be /lib/libc.so.6 in the first case, > /lib/i686/libc.so.6 in second and /lib/tls/libc.so.6 in third). > > Some buggy JDKs don't work even with LinuxThreads, or just with one > of LinuxThreads alternatives (non-FLOATING_STACKS (2.2.5) > or FLOATING_STACKS (2.4.19)). The other thing that can cause problems is exec-shield (though if it does there is probably a fault in the program). Try echo "0" >/proc/sys/kernel/exec-shield echo "0" >/proc/sys/kernel/exec-shield-randomize and see if your program runs. Michael Young