WineHQ
Comments
 

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

RE: setarch i386 -3 DOES NOT WORK in 32-bit user space
by Mike Mestnik on Wednesday June 20th 2012, 16:40
x86 applications will never get more then 4GB-1GB of virtual address space, so setting a limit doesn't make sence whatsoever. "setarch i386 -3 chroot" only makes sence if coming from a x86_64 userspace going to an x86_64 userspace.

If there is no x86_64 userspace, then setarch IS a no-op. If setarch is used to run an x86 binary, then it's a no-op. If setarch runs chroot and then chroot runs an x86 binary, I can't see where that would make a difference.

setarch is for running a x86_64 workingset to produce x86 builds. It really has no-other useful application, save to run x86_64 applications while reporting to them that they are in an x86 environment. Capping of virtual address space may be needed for a ./configure that probes for this value.

[post new] [reply to this]

Page loaded in 0.01055 seconds.