tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 4.0 chroots, threading, and builds
ad%NetBSD.org@localhost wrote:
> Ok, I have made this possible. On your chroot host do this in a -current
> source tree:
>
> cd src/lib/libpthread
> export USETOOLS=no
> make PTHREAD__COMPAT=1
It might be better to note that this should be done _before_ chroot,
i.e. on 5.0 (or -current) environment.
> cp obj/libpthread.so.0 /chroot/usr/lib
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)
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index