Re: Re: Re: How to do 32-bit build in AMD64 chroot -- problem with SSE instructions?

2021-12-14 Thread Simon McVittie
On Mon, 13 Dec 2021 at 21:06:55 -0600, Steven Robbins wrote: > Is the choice of baseline a Debian-specific configuration of GCC? Yes, it is a Debian-specific choice. For example, Ubuntu moved from i586 to i686 before we did. I believe Debian and Ubuntu are *currently* in sync on this, but there

Re: Re: Re: How to do 32-bit build in AMD64 chroot -- problem with SSE instructions?

2021-12-13 Thread Steven Robbins
Thanks for the pointer to https://wiki.debian.org/ ArchitectureSpecificsMemo#Architecture_baselines. I read there that "Each Debian architecture has a baseline indicating the oldest or least capable CPU on which the architecture can be used. The baseline can change between Debian releases. The

Re: Re: How to do 32-bit build in AMD64 chroot -- problem with SSE instructions?

2021-12-12 Thread Simon McVittie
On Sun, 12 Dec 2021 at 12:56:42 -0600, Steven Robbins wrote: > Can you (or anyone) confirm whether the Debian i386 build SHOULD or SHOULD > NOT > enable SSE of any flavour? Our current i386 baseline does not have SSE, so i386 packages should not enable SSE in general: "i686 since Debian 9

Re: How to do 32-bit build in AMD64 chroot -- problem with SSE instructions?

2021-12-12 Thread Timo Röhling
Hi Steve, * Steven Robbins [2021-12-12 12:56]: Can you (or anyone) confirm whether the Debian i386 build SHOULD or SHOULD NOT enable SSE of any flavour? I've googled numerous times but can't seem to find this kind of detailed port information.

Re: Re: How to do 32-bit build in AMD64 chroot -- problem with SSE instructions?

2021-12-12 Thread Steven Robbins
Thank you Andrey! > For example, in this case it's not about compilation flags because the > relevant code uses SSE2 explictly when USE_SSE2_32IMPL is set. I haven't > checked how is it set but the configure step output suggests it checks the > hardware support on the build machine, which must

Re: How to do 32-bit build in AMD64 chroot -- problem with SSE instructions?

2021-12-11 Thread Andrey Rahmatullin
On Sat, Dec 11, 2021 at 05:12:50PM -0600, Steven Robbins wrote: > I've built the ITK package on my AMD64 machine without trouble, but the > 32-bit > build is failing with the error below. It's failing on buildds with the same problem so you are running the build itself correctly. > The errors

Re: How to do 32-bit build in AMD64 chroot -- problem with SSE instructions?

2021-12-11 Thread Andreas Tille
Hi Steven, Am Sat, Dec 11, 2021 at 05:12:50PM -0600 schrieb Steven Robbins: > Hi, > > I've built the ITK package on my AMD64 machine without trouble, but the > 32-bit > build is failing with the error below. > > The errors seem to point to using SSE instructions. Is there a recommended >

How to do 32-bit build in AMD64 chroot -- problem with SSE instructions?

2021-12-11 Thread Steven Robbins
Hi, I've built the ITK package on my AMD64 machine without trouble, but the 32-bit build is failing with the error below. The errors seem to point to using SSE instructions. Is there a recommended set of flags to use when building for x86? I tried "-march=i686" but it gives the same error.