Red Hat Kernel - LD_FUNDEMENTALY_FLAWED

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Kernel > February 2004 > LD_FUNDEMENTALY_FLAWED





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author LD_FUNDEMENTALY_FLAWED
Psycho

2004-01-30, 9:35 am

There's something I've done wrong but I don't know exactly what it is.

I decided to mess around with Jrockit and to get it to install I need to set
this environment option
LD_ASSUME_KERNEL=2.4.19
This is to get it to enable the use of linuxthreads 2.4.19 floating stacks.
Or atleast I think that's how it works.
Either way I have either icluded something in the kernel that I shouldn't
have thats' causing it not to use the correct thread stack or I've left
something out that's causing the kernel to ignore the LD_ environment
variable.

I'm running redhat 9 with kernel 2.4.22 I'm sure it's not the kernel version
or a missing rpm because using the default redhat kernel it works fine with
the LD_ASSUME_KERNEL option, I've tried picking my way through and
compairing both configs bit it's like a needle in a haystack.

Thanks for any help


Psycho

2004-02-04, 3:39 am

In between pulling my hair out I've been doing a lot of digging on
LinuxTheads etc on RedHat 9. and The numerouse and various struggles other
people have had.

One thing that also bemused me in my experimenting was when I ran jrockit on
my laptop also running redhat 9 and kernel 2.4.24 and 2.4.22 and it worked
OK.

I did a few stack traces to try and understand abit of what it was trying to
do.
and it appeared to be using the older thread libraries in /lib

I had updated glibc from updates.redhat.com and couln't understand what was
the matter
I than did an
rpm -qa|grep glibc
and realised I had only updated the i386 version and not the i686 version
which obiously I had optimised my kernel for. I downloaded and installed
"glibc-2.3.2-27.9.7.i686.rpm" and yep straight after that it all worked OK.

What a plonker

I reckon It's going to be worth my while learning a bit more about the
threading changes on redhat 9 as It does seem to offer a lot of performance
enhancements.


"Psycho" <psycho@nospam.net> wrote in message
news:A4BSb.14111$YV1.14100@newsfep4-winn.server.ntli.net...
quote:

> There's something I've done wrong but I don't know exactly what it is.
>
> I decided to mess around with Jrockit and to get it to install I need to


set
quote:

> this environment option
> LD_ASSUME_KERNEL=2.4.19
> This is to get it to enable the use of linuxthreads 2.4.19 floating


stacks.
quote:

> Or atleast I think that's how it works.
> Either way I have either icluded something in the kernel that I shouldn't
> have thats' causing it not to use the correct thread stack or I've left
> something out that's causing the kernel to ignore the LD_ environment
> variable.
>
> I'm running redhat 9 with kernel 2.4.22 I'm sure it's not the kernel


version
quote:

> or a missing rpm because using the default redhat kernel it works fine


with
quote:

> the LD_ASSUME_KERNEL option, I've tried picking my way through and
> compairing both configs bit it's like a needle in a haystack.
>
> Thanks for any help
>
>




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com