Re: glibc 2.2 vs 2.3 issue back again



Denes Molnar wrote:
> ... so copying over from Fedora 4 is a problem then. Is there a way
> to avoid installing a new kernel (I fear breaking software suspend).
> Say, by compiling the required libs from source? If yes, is it only
> libpthread, or glibc 2.3 and all others as well?

libc, libpthread, ld-linux, and hundreds more all must match exactly,
except of course for the pieces that you do not use at all.
See a typical list (table) at http://bitwagon.com/rtldi/rtldi.html .
If you don't want to use a matching set that sombody else has
prepared already, then start at http://sourceware.org/glibc/
and proceed to ftp://sources.redhat.com/pub/glibc/releases/
to get your own sources for glibc-2.3 and later. Building takes
a few hours using 2GB of disk, 768MB of RAM, 1GHz CPU. The
advantage is that you select exactly which features get built.
This is also the disadvantage. It'll take a few hours to read
and understand the instructions, and to coordinate environment
definitions with your operating system kernel. It's a good idea
to compare and contrast what you're trying to do, with what a
Linux distribution does (say, rebuilding a Fedora glibc-*.src.rpm.)

> Or could the
> (Mathematica) executable itself require NPTL threads and, therefore,
> there is no way around getting a new kernel that supports that?

It is unlikely that Mathematica requires NPTL. If it does, then
its documentation should say so. It had to run on old libpthread,
and NPTL is only about 2 years old. "Ordinary" use of threads
that does not delve into implementation details runs on either,
and usually better under NPTL.

More hints: Run
readelf --version-info /path/to/mathematica
to see the GLIBC_x.y versions that are required, and
readelf --symbols /path/to/mathematica
for detailed symbol@xxxxxxxxx information. For example,
this will tell you the minimum GLIBC_2.3.z subversion you
require, and which symbol(s) trigger it.

--
.



Relevant Pages

  • Re: Iomega ZIP-100 drive unsupported with jmicron JMB361 chip?
    ... After compilation and installation of the kernel rpm, ... Note that my Fedora 7 and Fedora 8 distributions share no directories ... # IPVS transport protocol load balancing support ... # AX.25 network device drivers ...
    (Linux-Kernel)
  • Re: Iomega ZIP-100 drive unsupported with jmicron JMB361 chip?
    ... After compilation and installation of the kernel rpm, ... Note that my Fedora 7 and Fedora 8 distributions share no directories ... # IPVS transport protocol load balancing support ... # AX.25 network device drivers ...
    (Linux-Kernel)
  • Re: [Xen-devel] Xen patches merged to upstream Linux 2.6.36, plans for 2.6.37?
    ... I must apologize to have to say that Intel IGD VGA passthrough to my Windows XP Home Edition HVM domU did not succeed/work with Xen 4.0.1-rc6-pre hypervisor and Jeremy Fitzhardinge's pv-ops dom0 kernel 2.6.32.19 in my earlier email. ... I have just added a section to my /boot/grub/grub.conf to enable serial console for Xen 4.0.1-rc6-pre and pv-ops dom0 kernel 2.6.32.19 for kernel debugging/troubleshooting. ... title Fedora with Serial Console ...
    (Linux-Kernel)
  • Fedora 16 instabilities
    ... Here's why Fedora 16 isn't ready for prime time. ... seen if rhgb is removed from the kernel boot line, ... Shutdown takes much too long, and often fails completely, like ... If 'startxfce4' is used at a console prompt to start an xfce session, ...
    (Fedora)
  • Re: FC6 KDE No Keyboard
    ... Re: emacs!!! ... going back to a previous kernel ... FC6 KDE No Keyboard ... I've since gone back to the default Fedora firewall ...
    (Fedora)