[aur-general] problems with x86_64 build machine?

Firmicus Firmicus at gmx.net
Fri May 23 10:33:01 EDT 2008


Hyperair a écrit :
> Firmicus wrote:
>   
>> I tried this:
>> mount --bind /dev /mnt/arch64/dev
>> mount --bind /dev/pts /mnt/arch64/dev/pts
>> mount --bind /dev/shm /mnt/arch64/dev/shm
>> mount -t proc none /mnt/arch64/proc
>> mount -t sysfs none /mnt/arch64/sys
>> linux64 chroot /mnt/arch64
>>
>> but the latter does not work: I get
>> "chroot: cannot run command `/bin/bash': Exec format error"
>>
>> Any idea? Or is it really impossible to do this as Mateusz was saying?
>>
>>
>>     
> I believe it's impossible. 64bit system can run 32bit executables, but
> not vice versa. A 64bit root would have 64bit executables, so a 32bit
> system cannot run them.
>
> You probably could use Qemu for it though. If you're willing to spare
> the processing power and RAM needed for emulation.
>
>   
OK, thanks. But I think it'll be probably faster just to reboot into 
arch64 once in a while to compile those x86_64 packages.

F





More information about the aur-general mailing list