On Monday 01 Aug 2016 18:57:53 Mick wrote: > On Monday 01 Aug 2016 17:32:58 Mick wrote: > > On Monday 01 Aug 2016 12:19:41 waltd...@waltdnes.org wrote: > > > > What chroot() actually does is fairly simple, it modifies pathname > > > > lookups for a process and its children so that any reference to a path > > > > starting '/' will effectively have the new root, which is passed as > > > > the single argument, prepended onto the path. The current working > > > > directory is left unchanged and relative paths can still refer to > > > > files outside of the new root. > > > > Thanks Walter, it's present along with the whole of the 32bit OS fs: > > > > gentoo-32bit # ls -la /mnt/iso/gentoo-32bit/bin/bash > > -rwxr-xr-x 1 root root 677244 Jan 16 2016 /mnt/iso/gentoo-32bit/bin/bash > > > > gentoo-32bit # file /mnt/iso/gentoo-32bit/bin/bash > > /mnt/iso/gentoo-32bit/bin/bash: ELF 32-bit LSB executable, Intel 80386, > > version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for > > GNU/Linux 2.6.32, stripped > > > > > > Am I missing something in the amd64 kernel to be able to execute 32bit > > code? > No, I was missing the *whole* of the 32bit fs /lib directory. O_O > > Apologies for the noise.
I think libreoffice, chromium and firefox will be compiled in a chroot from now on and then emerged as binaries. This is the difference for libreoffice: Sat Aug 29 06:09:09 2015 >>> app-office/libreoffice-4.4.4.3 merge time: 15 hours, 34 minutes and 2 seconds. Sun Sep 13 01:36:03 2015 >>> app-office/libreoffice-4.4.5.2 merge time: 15 hours, 13 minutes and 17 seconds. Sun Nov 29 02:30:04 2015 >>> app-office/libreoffice-5.0.3.2 merge time: 16 hours, 54 minutes and 28 seconds. Sun Mar 27 09:31:20 2016 >>> app-office/libreoffice-5.0.5.2 merge time: 17 hours and 8 seconds. Mon Aug 1 22:17:15 2016 >>> app-office/libreoffice-5.1.4.2 merge time: 1 minute and 31 seconds. (chromium takes even longer!) :-) -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.