Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [was cross-compile attempt] 32bit chroot
Date: Mon, 01 Aug 2016 15:46:57
Message-Id: 8913347.WbJZnuc41j@dell_xps
In Reply to: Re: [gentoo-user] cross-compile attempt by waltdnes@waltdnes.org
1 On Monday 01 Aug 2016 11:23:03 waltdnes@××××××××.org wrote:
2
3 > I recommend going with one of 3 "cheats"...
4 >
5 > 1) A 32-bit chroot in a 64-bit machine
6 >
7 > 2) A QEMU (or VirtualBox) 32-bit guest on a 64-bit host
8 >
9 > 3) If you have a spare 64-bit machine, install 32-bit Gentoo on it
10 >
11 > I use option 2) both as my distccd server and to manually build Pale
12 > Moon. The target in both cases is an ancient 32-bit-only Atom netbook.
13
14 I'm trying your cheat (1) above, but I must be doing something wrong:
15
16 gentoo-32bit # linux32 chroot /mnt/iso/gentoo-32bit /bin/bash
17 chroot: failed to run command ‘/bin/bash’: No such file or directory
18
19 gentoo-32bit # ls -la /bin/bash
20 -rwxr-xr-x 1 root root 705400 Jan 9 2016 /bin/bash
21
22 gentoo-32bit # ls -la ./bin/bash
23 -rwxr-xr-x 1 root root 677244 Jan 16 2016 ./bin/bash
24
25 gentoo-32bit # linux32 chroot /mnt/iso/gentoo-32bit ./bin/bash
26 chroot: failed to run command ‘./bin/bash’: No such file or directory
27
28 gentoo-32bit # mount | grep 32bit
29 dev on /mnt/iso/gentoo-32bit/dev type devtmpfs
30 (rw,nosuid,relatime,size=10240k,nr_inodes=1915538,mode=755)
31 devpts on /mnt/iso/gentoo-32bit/dev/pts type devpts
32 (rw,nosuid,noexec,relatime,gid=5,mode=620)
33 shm on /mnt/iso/gentoo-32bit/dev/shm type tmpfs
34 (rw,nosuid,nodev,noexec,relatime)
35 proc on /mnt/iso/gentoo-32bit/proc type proc (rw,nosuid,nodev,noexec,relatime)
36 sysfs on /mnt/iso/gentoo-32bit/sys type sysfs
37 (rw,nosuid,nodev,noexec,relatime)
38 /dev/sdb3 on /mnt/iso/gentoo-32bit/usr/portage type btrfs
39 (rw,noatime,space_cache,subvolid=5,subvol=/)
40 tmpfs on /mnt/iso/gentoo-32bit/tmp type tmpfs (rw,nosuid,noatime,nodiratime)
41
42 Any clues?
43 --
44 Regards,
45 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: [was cross-compile attempt] 32bit chroot waltdnes@××××××××.org