tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bulk with i386 chroot on amd64? xen?



Emmanuel Dreyfus <manu%netbsd.org@localhost> writes:

> On Tue, Aug 09, 2022 at 12:45:34PM -0400, Greg Troxel wrote:
>>   1) building packages i386 in a chroot on an amd64 host?  same, but for
>>   other families (earmv7hf-el on aarch64, sparc on sparc64)?
>
> I have been doing i386 chrooted builds on amd64 for years (NetBSD/amd64
> as Xen domU to be precise). I just have CFLAGS += -march=i686 in chrooted
> /etc/mk.conf
>
> IIRC I had -m32 once, but switched to -march=i686 for atomic operations

Doesn't that mean you produce binaries that will not run on some CPUs
supported by the i386 port?    That's perfectly fine if you want to make
your own of course, but I am trying (didn't explain well) to ask about
paths to "official bulk builds" that should be the same as one that was
done native.

But it does seem that ~everyone thinks that with simply an i386
distribution unpacked and libkver, it's all fine.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index