On 2017-02-21, Walter Dnes <[email protected]> wrote:
> On Tue, Feb 21, 2017 at 03:50:41PM +0000, Grant Edwards wrote
>> On 2017-02-21, Mick <[email protected]> wrote:
>
>> > You'll need to run in 32bit mode when chrooting of course:
>> 
>> Why?
>> 
>> Is this some odd restriction in portage?
>> 
>> All of the normal development tools are quite capable of buildign
>> 32-bit binaries on a 64-bit host running a 64-bit kernel.
>
> Building a 32-bit *STAND ALONE* program in a pure 64-bit environment
> is easy.  Pale Moon links against various external libs (gtk, glibc,
> dbus, etc).  Building 32-bit in a 64-bit environment can be done,
> but it requires pulling in a bunch of 32-bit libraries.  For example
> see...  
> https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Compiling_32-bit_Firefox_on_a_Linux_64-bit_OS
>
> Rather than keeping track of a mish-mash of 32- and 64-bit libraries
> on the same system, it's cleaner, simpler, and easier run a pure
> 32-bit VM or chroot on a pure 64-bit host.
            ^^^^^^^^^

I wasn't proposing that you could easily build 32-bit packages in a
64-bit root (though in theory I think you could).  What I was
questioning was the assertion that you must reboot into 32-bit mode
instead of just chrooting into a 32-bit root.

-- 
Grant Edwards               grant.b.edwards        Yow! I don't understand
                                  at               the HUMOUR of the THREE
                              gmail.com            STOOGES!!


Reply via email to