Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pthreads, RH Ent3 and kernel 2.4.27

Status
Not open for further replies.

marsd

IS-IT--Management
Apr 25, 2001
2,218
US
Using a vanilla kernel (2.4.27) on RH ent3. The reasons
for this can't be explained, but accept that it is needful
and unavoidable for the time being.
It seems like any multihreaded app utilizing pthreads
segfaults uncontrollably. I've also read of at least one
other case like mine with 2.4.26.

Any experience or theories? Mine is, considering
the experience I had recompiling from RH update sources
and watching the incredible output from gcc at
make_modules, that RH has purposefully broken certain
things, either in the name of greed or by optimizing
to the point of complete departure from the mainstream
open distributions.
 
I think you're way off base. I've never had problems compiling with threads, "p" or otherwise. I don't have specific experience with the exact version of the kernel you're using, but I used 2.4.x for a long time. I am actually running 2.4.20 on a server happily executing several multi-threaded applications at this very moment.
 
It could be that your pthreads libraries are not compatible with your kernel version, or perhaps your glibc.
 
Hmm. I'll modify my initial post.
Only a couple of apps are affected...so far.
See this:

In response to everyone else, Thanks for the input but:
Kernel versioning makes no difference unless the
kernel is forked and heavily modified, as it is
with RH Enterprise solutions. Not RH9 or Fedora, etc,
afaik.
Glibc changes between 2.4.20 and 2.4.27?
Maybe I've been asleep, but I don't think so.

Also a major PITA is the fact that the upgrade src.rpms
for the kernel upgrade successfully builds bzImage(??)
but throw ridiculously careless errors on making modules
in module.h. It's senseless. RH 'X"3 is a supported
release for enterprise and should not behave this way.

Thanks to all, though. You've been helpful and
encouraged me to narrow down my search for the
problem.
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top