SSH, glibc, and Red Hat

Darren Tucker dtucker at zip.com.au
Tue Oct 25 15:35:47 EST 2005


On Mon, Oct 24, 2005 at 11:15:15PM -0600, Bob Proulx wrote:
> An alternative solution if building on an older machine just won't
> work for some reason is to keep a chroot on the newer machine.  I do
> this and it is quite useful to build for the older platform.  Create a
> complete copy of the older system in a sub-directory and then use
> chroot(1) to that location and build.

The only thing to watch for there is for kernel-related things since
you're obviously running on the same kernel in the chroot.

This was the case with the descriptor passing bugs in Linux 2.0 kernels:
the Debian folk used chroots as you described.  configure found that
descriptor passing worked fine (which it did, on the host's kernel)
even though it didn't on the target.  They eventually added some code
to detect the buggy kernel versions at runtime.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list