Skip to contentSkip to conversation

glibc vs 2.6/2.4

DISCUSSION Yakov Lerner 2 participants 2 messages Mar 24, 2007 – Mar 27, 2007

lore
Share & tools
lore
#0 lore raw

Can I build recent glibc such that it will work both on 2.6 and on 2.4 ? (multithreading-wise, I suppose). I tried to boot recent 2.6-based distro with 2.4 kernel and it did not work.

Do I need to set some env.vars maybe (LD_ASSUME_KERNEL ? GNU_LIBPTHREAD_VERSION ?) for glibc when I switch kernels ?

Yakov Lerner

#1 lore raw
Quoted 6 lines · Yakov Lerner

Can I build recent glibc such that it will work both on 2.6 and on 2.4 ? (multithreading-wise, I suppose). I tried to boot recent 2.6-based distro with 2.4 kernel and it did not work.

Do I need to set some env.vars maybe (LD_ASSUME_KERNEL ? GNU_LIBPTHREAD_VERSION ?) for glibc when I switch kernels ?

Recent GLIBC README files mentions this explicitly: it does not work with kernel 2.4 and earlier, for which, one have to use glibc 2.3.

/mjt