• ABI bump and help from isa-support

    From Bastien =?ISO-8859-1?Q?Roucari=E8s?@21:1/5 to All on Sun Nov 24 13:48:52 2024
    Le samedi 23 novembre 2024, 18:29:04 UTC Andrey Rakhmatullin a écrit :
    On Sat, Nov 23, 2024 at 03:14:42PM +0100, Fabian Grünbichler wrote:
    B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 there in rustc

    As suggested by Chris, and a popular opinion/request in general.



    Hi,

    First if we bump ABI could we target "pABI v0" aka amd64 baseline
    instead of only SSE2 ?

    It is perfectly equivalent (except minor point about FXSR).

    Moreover you could test cpu support using this https://wiki.debian.org/InstructionSelection#Isa_support_package

    I have made qemu-good qemu-bad wrapper to test if needed

    In this case, for your user I will add a wrapper that at preinst time warn user about unsupported instrution for next debian version and backport to bookworm PU

    I suppose dpkg could be made pre depends on this wrapper and we could break the upgrade if instruction is not supported

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

    iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmdDLsUACgkQADoaLapB CF8UUA/8CU6GGTfwAMnlt73vyipulrMN4aSYY5cdaoz9hSMj4MM0RdkvlxtDpr/s HE/w0l6KV2z7NyivrEpw7fuocqD5Zf0JGglNIwx8Q5f/72F85Nzw+9iKD6zK/1hy dCl6TVs04FLfxH+2Lw6gbr9FM5HC7tPcJBabY30raAlj9MiVE0oPfSRhq5Syg3Zk 8xB4miPqI4a0RcDtMcxX4z5u+VcP8fliDfqoHdj/2dP0J8kvH7RlFgAEBRn0brm2 5XZE20SvcgkNsoP89fomyQ9/Iv+wr6ui4ITiVxZp+B5TBq9wwMFCVZ6SkyfCkOMG 5OtHRtCc8dCqFZdzXS1xpcDD4hmVp6aRcCUmpwx3BtcyGpnOzMaoVAMMULJiRS9/ 96Xbpe/kRlXpPD4wvAqqRDjGJkv9s7bwzOwCjTByHkMbEP8N6j/De61b34uNT7xZ kciJtc16lZckWWFsXMprPYvta8YA+qLKZI3AgxRFMOKaYHVotnRy2+32VDBe4IRc M5Ylx2CcmBc5FM4EtOY7DbnQuGb1Dltp1lE7dW7kNtI6YTY1C6KK6ALb/MtIgNfe SayXAIok5U1hgZ6AoweijZCP29tJp3v913Uh/Wn12KUxySn84xIKyE06eYW8heHh /4SQdRFQR1PRB2dn6efyFRdt9onFKZ0hqrTwmX/HWDPJm1DVclE=
    =ZEY8
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Fabian_Gr=C3=BCnbichler?=@21:1/5 to All on Sun Nov 24 16:10:01 2024
    On Sun, Nov 24, 2024, at 2:49 PM, Bastien Roucariès wrote:
    Le samedi 23 novembre 2024, 18:29:04 UTC Andrey Rakhmatullin a écrit :
    On Sat, Nov 23, 2024 at 03:14:42PM +0100, Fabian Grünbichler wrote:
    B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 there in rustc

    As suggested by Chris, and a popular opinion/request in general.

    Hi,

    First if we bump ABI could we target "pABI v0" aka amd64 baseline
    instead of only SSE2 ?

    It is perfectly equivalent (except minor point about FXSR).

    I don't have any opinion on that :)

    Moreover you could test cpu support using this https://wiki.debian.org/InstructionSelection#Isa_support_package

    that doesn't really help. existing packages are already possibly broken in bookworm as well, and they are broken irrespective of whether the system they are installed on supports SSE2 or not.

    I have made qemu-good qemu-bad wrapper to test if needed

    In this case, for your user I will add a wrapper that at preinst time
    warn user about unsupported instrution for next debian version and
    backport to bookworm PU

    I suppose dpkg could be made pre depends on this wrapper and we could
    break the upgrade if instruction is not supported

    see above, this only helps for non-SSE systems to prevent them from upgrading since they are no longer supported if we raise the baseline, but it doesn't actually solve the issue at hand if we don't. unless we raise the baseline only for Rust, but I don'
    t really see a point in that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to All on Sun Nov 24 16:30:01 2024
    On Sun, Nov 24, 2024 at 01:49:20PM +0000, Bastien Roucariès wrote:
    B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 there in rustc

    As suggested by Chris, and a popular opinion/request in general.



    Hi,

    First if we bump ABI could we target "pABI v0" aka amd64 baseline
    instead of only SSE2 ?

    It makes total sense.

    --
    WBR, wRAR

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

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmdDRQctFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh tiUP/RSVA+Z4hUpqWl/+RFl5Kn6ki0T1l/8yJH4epTts0ZEZNT1Z4Ng2WJjiP1c/ PPCmxvU3GieIV5zln9Ggf75lY1UrLTgJ/ixI6TUbzaSgB3tbGIPtz+zXkchILrTB V+qBvzrxgF4oAz547fTvH8KsvEIftN6BfRJGKWVIxvw/nJ61tcjccXH21fridRai wtJ2FXyU5MHIWaU6gUraAyFjMBvyZoAFvpzhJi0meYCw0nogsBSDt53g9QkkLjIt aK2Q448VAwl7rurP2IhFLuynLNclOCqp1InDnNh9A1mh87EwdInV9DEFPx1Wcg0m uhNZJxY6y3mBASg+8mBbX6BON2PVdki1up28Dw+d3vft7CCbE45V0Xuj4D7Yzb6n MR1s4ZdZ5olerlV+7R4/JGVpiYlD4si8Pid8mkORFlUcXYLzYg5jKse3MXT3Kztf Y9o8LHhrVj2ugFDsGeC2lFLVekuoTH6jmJGTFcYiDaLT8xbpAsk/0EljPF5hRC1Y 4/YIu3miVJXU8HYQ76aQNTobCiGfexOzvbuxXzQESahncrJXMmjHzQTBqBP11p8N 1/EwRttu86MKI2vq6BnTKgduI9KlPVkx1UZjU7rI/uSD9c71Nj60G4BGUN4jdjfq 8cMotoygulO69TFhbNNpjH+zDxYFSUwJvDuxA3nlbaw6lWyk
    =K4xK
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bastien =?ISO-8859-1?Q?Roucari=E8s?@21:1/5 to All on Sun Nov 24 15:51:29 2024
    To: debian-devel@lists.debian.org

    Le dimanche 24 novembre 2024, 14:46:15 UTC Fabian Grünbichler a écrit :
    On Sun, Nov 24, 2024, at 2:49 PM, Bastien Roucariès wrote:
    Le samedi 23 novembre 2024, 18:29:04 UTC Andrey Rakhmatullin a écrit :
    On Sat, Nov 23, 2024 at 03:14:42PM +0100, Fabian Grünbichler wrote:
    B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 there in rustc

    As suggested by Chris, and a popular opinion/request in general.

    Hi,

    First if we bump ABI could we target "pABI v0" aka amd64 baseline
    instead of only SSE2 ?

    It is perfectly equivalent (except minor point about FXSR).

    I don't have any opinion on that :)

    Moreover you could test cpu support using this https://wiki.debian.org/InstructionSelection#Isa_support_package

    that doesn't really help. existing packages are already possibly broken in bookworm as well, and they are broken irrespective of whether the system they are installed on supports SSE2 or not.

    I have made qemu-good qemu-bad wrapper to test if needed

    In this case, for your user I will add a wrapper that at preinst time
    warn user about unsupported instrution for next debian version and backport to bookworm PU

    I suppose dpkg could be made pre depends on this wrapper and we could break the upgrade if instruction is not supported

    see above, this only helps for non-SSE systems to prevent them from upgrading since they are no longer supported if we raise the baseline,

    yes it is the goal do not upgrade if we raise the baseline

    Bastien

    but it doesn't actually solve the issue at hand if we don't. unless we raise the baseline only for Rust, but I don't really see a point in that.




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

    iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmdDS4EACgkQADoaLapB CF9P2Q/9HHWFbCAdwsg7hfh3RXxSaK/efIXzER0oho64v5pYxRTFNlkQ9iFVNwYW hmaPOyHFbUH2ANZyPS5TmdSokKk3dw0y+IRgORQoo+uYJgoN0sf1Zp/5+zsJVUjU 9i86bBgNyBxRulvGZ+s8VgtI936wEcr+WmO94ZnFoPseOtK+Y+3c/dCfcBiqq4W6 Up2VAchh4ekFIEPwgkLi6nGpxTnyZoXPSZMKvOfEYTjNSTVnpuNpGIEA4AKR4DJr lp/kqtqUa4FSGNc44adUX0XBwQWGb2/9mH/0tC2CkG5dkE+42oidYhOm7r+9KWCw q1j0Iekb94yGCJV12GjpzEjBNUE4z7oKQ0z5euwqepMcypcogqs6fMzgmOlGTCey l1j+hFGZaAdpeWy2/5+clVRrwkycMI5Hp1MK76aUyIA5XqstAag5iU5OPr1nWsC6 JFOCr2ZQ6k8HNx8lAis65xF9khYBQ5tFK477Up0sVKoC5cZjjfjTTRqERtylRk3z g4z3aamiP8kNwDdmbeWoXE9AwaHAZS4pU1tmNrMHVzd8x42ZwDPTrTLEhncodOZq Nzky1p0C9pjU/BZ/ZUggi8VaFiwNbPNwsstlvWqhHCrVkwW1xK46xcjCA1SR/gKh IFySl74YmG5e/xQ6KtyPKUAdbfouM4ChF8cia7CH8e3Wxl8/WvQ=
    =pOt4
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)