• Re: How to do 32-bit build in AMD64 chroot -- problem with SSE instruct

    From Andreas Tille@21:1/5 to All on Sun Dec 12 07:30:02 2021
    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 set of flags to use when building for x86? I tried "-march=i686" but it gives
    the same error.

    I once created an i386 chroot as described here

    https://wiki.ubuntu.com/PbuilderHowto#Building_an_i386_pbuilder_on_amd64

    This *sometimes* helps reproducing i386 errors locally but it does not fully behave like an i386 machine in every case.

    Hope this helps

    Andreas.

    --
    http://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rahmatullin@21:1/5 to Steven Robbins on Sun Dec 12 08:30:02 2021
    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

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmG1ooQtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh HL4P/iOf1L5+QyMtjz3gdBXf+G11K4jSAvdgrJBn4lMgwhAjz7p5m99Q7vqZ2+K0 cpWqYbrOc4lH76lIEFFR1g5y1/XNPB4pip7DvB/yXM2QkAjOlvGlq66kA2CPGItW 2KscVR9KKk5mT+uvKVg5w2viRvvANGOlMq7HCDfFt5JQIn1MkLjIkkk+sbxXZhTA l5MDfX/QPswdxYrndF6DZ4cOFh1iYVOMs9eUGA/Z94wK4dhUHeX7dXNXGymCGZ0A tG5d6gYCEshgQBoBPUTNzrDxKpZzBIZGMy5hRqhtJMtU6X/lt6KqK+BhRwmCPh01 wohLPMFWuWviPmlIHgvji8V5r6s1SVJS0If7qgWeIPrxeexju99mMACzruzXrnFq CD5/5Dn+n9IqAI4nv9+z4QlEQVCZJanHeMblZxgfa8fMWUeYb139wtuW4vciGYkO 245PtMa85W1syB+QVyC7qXEw5tBLGJVWuORoP4ool7xBM+7kzkAJ0vg+Focr6gej SmcrxS00TaFIBPiLeeUswbMARE/a1wtpq9P3sBgiKCiMLg3FTqfTPfV36kMVRu+S Ogg1bDji+xb+aWEn2bDk9Lq+XrTBp671LFUU6v3wn8ZRwCYBDhjdn/aJORXwm2zU QH54Rili3Ow3HASsjYrDCYxa+a7F09d/Kagj8diDBA7ZzG49
    =lwEx
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Timo =?utf-8?Q?R=C3=B6hling?=@21:1/5 to All on Sun Dec 12 20:10:01 2021
    Hi Steve,

    * Steven Robbins <steve@sumost.ca> [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. https://wiki.debian.org/ArchitectureSpecificsMemo#i386-1

    Cheers
    Timo

    --
    ⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
    ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
    ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
    ⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯

    -----BEGIN PGP SIGNATURE-----

    iQGzBAABCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmG2R5cACgkQ+C8H+466 LVkROgwA7D6yklZ8nPCT1jHCVNY7Hz3meYXfVOBAwzArovKSyBxh/DnFBVy7LNje M5pzNXLrWC5RKIoO0i0/eqFNBynXXOrQXEx9rsd5tipKu69NTiXh3Hs7oIBVnF+Q 3Ay7receIlmoGK4wAxpd5QiVpBgfEr05CXQY1aLHqF5Wl8iogyrDm3wgD1LgxLsp QmUkW3RNIHONIMARNXlzieZNzpVh9byfIeNsQ2tiGEa9p9goQH+cUR/GejKPbgAK iwkl4b6bhCkg9a9XaLmFCnWaY/QzRaobeIBMITUC+aEQDOqMhHsPHvwUhtXYho9p +p1HZIDwzZMnu3nB+XejKXA6hIUbBiZPTsD81eWtaoH