tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 4.0 chroots, threading, and builds



I wrote:

> cp obj/libpthread.so.0 /chroot/usr/lib/libpthread_nosa.so.0
> echo 'libpthread.so.0 kern.no_sa_support 
> 1:libpthread_nosa.so.0,libpthread.so.0' \
> >> /chroot/etc/ld.so.conf
> 
> seems to do the trick on both 4.99.72 and stock 4.0 kernels
> with no more tweaks.
> (though I've tested it on plain 4.0 userland so put them into / directly)

Ah, one minor problem.

On 4.0 kernel, ld.elf_so always complains with the following message:
/etc/ld.so.conf: invalid/unknown sysctl for libpthread.so.0 (22)

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index