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

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



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 seem to point to using SSE instructions.  Is there a recommended 
> set of flags to use when building for x86?
Normally you don't need to do anything, no. And when you do, it depends on
the upstream.
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 not be done in Debian
packages. So the first step would be finding how to disable this. There
may be other steps needed.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: