On Wed, Feb 16, 2011 at 12:18:57PM +0000, Thorsten Glaser wrote: > Roger Leigh dixit: > >cowbuilder has one major flaw: the copy-on-write is implemented by > >LD_PRELOAD, as a shared library copied from the host system. This > >precludes the build environment from having a glibc incompatible with > >the host, since it would break the copy-on-write functionality. > Interestingly, I don’t think that is true: cowbuilder installs > itself into the build chroot, and LD_PRELOAD after chroot(2) > uses the library from within (as it’s pathname based).
Yes, this *requires* cowbuilder/dancer in the chroot. In the past they even had to speak the same language, which they didn't, which then broke the whole cowbuilding. Furthermore I don't trust the whole library preloading from the chroot thing to provide all the native semantics some testsuites might be relying on. I.e. I'd like so see a pbuilder and a cowbuilder rebuild of the same set of sources and available build-dependencies first. Kind regards Philipp Kern
signature.asc
Description: Digital signature

