Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2025-01-03 Thread Fabian Grünbichler
On Sun, Nov 24, 2024, at 6:23 PM, Paul Gevers wrote: > Hi, > > On 11/24/24 17:22, Andrew M.A. Cater wrote: >> 5. If we're moving hardware baselines for the sake of Rust (or any other >> software on this architecture) it's already too late. > > Huh? Why? > > [Putting my Release Team hat off] Persona

Re: Rustc unsoundness on i386

2024-11-28 Thread Bastien Roucaries
Le dimanche 24 novembre 2024, 08:27:31 CET Andrey Rakhmatullin a écrit : > On Sat, Nov 23, 2024 at 08:31:15PM +, Bastien Roucariès wrote: > > > > > > B) bump the i386 baseline in Debian to require SSE2, and stop > > > > > > disabling SSE2 there in rustc> > > > > > > It will break I suppose ima

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-25 Thread Jeremy Bícha
On Sun, Nov 24, 2024 at 12:51 PM Paul Gevers wrote: > [Release Team hat on] I would take consensus for a decision on the topic. If the excess precision issue goes away by bumping the i386 baseline, that would make my life easier. Thank you, Jeremy Bícha

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-25 Thread Fabian Grünbichler
On November 24, 2024 6:23:00 PM GMT+01:00, Paul Gevers wrote: >Hi, > >On 11/24/24 17:22, Andrew M.A. Cater wrote: >> 5. If we're moving hardware baselines for the sake of Rust (or any other >> software on this architecture) it's already too late. > >Huh? Why? > >[Putting my Release Team hat of

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-24 Thread Chris Hofstaedtler
* Paul Gevers [241124 18:51]: > [Release Team hat on] I would take consensus for a decision on the topic. Based on my casual reading up on what other distros did before us, many years ago, ISTM raising the baseline to at least SSE2 would be a very good idea. Next up: raising the amd64 baseline.

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-24 Thread Holger Levsen
On Sun, Nov 24, 2024 at 06:23:00PM +0100, Paul Gevers wrote: > [Putting my Release Team hat off] Personally I think Debian should be > raising the baseline for i386. I'm not sure about to which level, but I've > seen proposals in this thread. same here. > [Release Team hat on] I would take conse

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-24 Thread Peter Pentchev
On Sun, Nov 24, 2024 at 06:23:00PM +0100, Paul Gevers wrote: > Hi, > > On 11/24/24 17:22, Andrew M.A. Cater wrote: > > 5. If we're moving hardware baselines for the sake of Rust (or any other > > software on this architecture) it's already too late. > > Huh? Why? > > [Putting my Release Team hat

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-24 Thread Andrey Rakhmatullin
On Sun, Nov 24, 2024 at 06:23:00PM +0100, Paul Gevers wrote: > > 5. If we're moving hardware baselines for the sake of Rust (or any other > > software on this architecture) it's already too late. > > Huh? Why? I think the Andrew's idea in that line is "some software shouldn't be, and some softwar

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-24 Thread Andrey Rakhmatullin
On Sun, Nov 24, 2024 at 04:22:18PM +, Andrew M.A. Cater 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. > > > > > > > > > > Considering tha

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-24 Thread Paul Gevers
Hi, On 11/24/24 17:22, Andrew M.A. Cater wrote: 5. If we're moving hardware baselines for the sake of Rust (or any other software on this architecture) it's already too late. Huh? Why? [Putting my Release Team hat off] Personally I think Debian should be raising the baseline for i386. I'm no

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-24 Thread Andrew M.A. Cater
On Sun, Nov 24, 2024 at 12:28:28PM +0500, Andrey Rakhmatullin wrote: > On Sat, Nov 23, 2024 at 07:05:39PM +, Andrew M.A. Cater 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 op

Re: Rustc unsoundness on i386

2024-11-24 Thread Andrey Rakhmatullin
On Sun, Nov 24, 2024 at 01:25:59PM +0100, Iustin Pop wrote: > > >> B) bump the i386 baseline in Debian to require SSE2, and stop disabling > > >> SSE2 there in rustc > > >> C) disable all optimizations for Rust code on i386 (not really an option > > >> I think, just here for completeness sake) >

Re: Rustc unsoundness on i386

2024-11-24 Thread Simon McVittie
On Sun, 24 Nov 2024 at 13:25:59 +0100, Iustin Pop wrote: > Are there viable/realistic platforms today that are i386 for real, and > don't support SSE2? In other words, if Debian as a whole does B) (not > only for rust), what is the practical impact on any non-toy hardware? SSE2 is well over 20 yea

Re: Rustc unsoundness on i386

2024-11-24 Thread Iustin Pop
On 2024-11-24 11:00:20, Fabian Grünbichler wrote: > On Sat, Nov 23, 2024, at 5:50 PM, Chris Hofstaedtler wrote: > > * Fabian Grünbichler [241123 15:31]: > >> B) bump the i386 baseline in Debian to require SSE2, and stop disabling > >> SSE2 there in rustc > >> C) disable all optimizations for Rust

Re: Rustc unsoundness on i386

2024-11-24 Thread Sylvestre Ledru
Le 24/11/2024 à 05:00, Fabian Grünbichler a écrit : On Sat, Nov 23, 2024, at 5:50 PM, Chris Hofstaedtler wrote: * Fabian Grünbichler [241123 15:31]: B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 there in rustc C) disable all optimizations for Rust code on i386

Re: Rustc unsoundness on i386

2024-11-24 Thread Bastien Roucariès
Le dimanche 24 novembre 2024, 09:54:18 UTC Fabian Grünbichler a écrit : > On Sun, Nov 24, 2024, at 8:01 AM, Shengjing Zhu wrote: > > On Sat, Nov 23, 2024 at 10:30 PM Fabian Grünbichler > > wrote: > >> A) move i386 rustc to Rust's i586 target (which doesn't have SSE out of > >> the box), instead o

Re: Rustc unsoundness on i386

2024-11-24 Thread Fabian Grünbichler
On Sat, Nov 23, 2024, at 5:50 PM, Chris Hofstaedtler wrote: > * Fabian Grünbichler [241123 15:31]: >> B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 >> there in rustc >> C) disable all optimizations for Rust code on i386 (not really an option I >> think, just here f

Re: Rustc unsoundness on i386

2024-11-24 Thread Fabian Grünbichler
On Sun, Nov 24, 2024, at 8:01 AM, Shengjing Zhu wrote: > On Sat, Nov 23, 2024 at 10:30 PM Fabian Grünbichler > wrote: >> A) move i386 rustc to Rust's i586 target (which doesn't have SSE out of the >> box), instead of the i686-with-SSE2-disabled it currently uses >> B) bump the i386 baseline in De

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-24 Thread Fabian Grünbichler
On Sat, Nov 23, 2024, at 8:05 PM, Andrew M.A. Cater wrote: > On Sat, Nov 23, 2024 at 11:29:04PM +0500, Andrey Rakhmatullin wrote: >> 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 r

Re: Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-23 Thread Andrey Rakhmatullin
On Sat, Nov 23, 2024 at 07:05:39PM +, Andrew M.A. Cater 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. > > > > Considering that for Trixie we won't have a

Re: Rustc unsoundness on i386

2024-11-23 Thread Andrey Rakhmatullin
On Sat, Nov 23, 2024 at 08:31:15PM +, Bastien Roucariès wrote: > > > > > B) bump the i386 baseline in Debian to require SSE2, and stop > > > > > disabling SSE2 there in rustc > > > > > > It will break I suppose imagemagick on i386 and scientific software > > > testsuite > > > > > > i386 means

Re: Rustc unsoundness on i386

2024-11-23 Thread Shengjing Zhu
On Sat, Nov 23, 2024 at 10:30 PM Fabian Grünbichler wrote: > A) move i386 rustc to Rust's i586 target (which doesn't have SSE out of the > box), instead of the i686-with-SSE2-disabled it currently uses > B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 > there in rust

Re: Rustc unsoundness on i386

2024-11-23 Thread Bastien Roucariès
Le samedi 23 novembre 2024, 20:20:31 UTC Fabian Grünbichler a écrit : > > On November 23, 2024 9:03:26 PM GMT+01:00, "Jeremy Bícha" > wrote: > >On Sat, Nov 23, 2024 at 1:57 PM Bastien Roucariès wrote: > >> > >> Le samedi 23 novembre 2024, 18:29:04 UTC Andrey Rakhmatullin a écrit : > >> > On Sat

Re: Rustc unsoundness on i386

2024-11-23 Thread Fabian Grünbichler
On November 23, 2024 9:03:26 PM GMT+01:00, "Jeremy Bícha" wrote: >On Sat, Nov 23, 2024 at 1:57 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 i

Re: Rustc unsoundness on i386

2024-11-23 Thread Bastien Roucariès
Le samedi 23 novembre 2024, 20:03:26 UTC Jeremy Bícha a écrit : > On Sat, Nov 23, 2024 at 1:57 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 i3

Re: Rustc unsoundness on i386

2024-11-23 Thread Jeremy Bícha
On Sat, Nov 23, 2024 at 1:57 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 ther

Suitability of Rust for *all* architectures? [WAS Re: Rustc unsoundness on i386]

2024-11-23 Thread Andrew M.A. Cater
On Sat, Nov 23, 2024 at 11:29:04PM +0500, Andrey Rakhmatullin wrote: > 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 i

Re: Rustc unsoundness on i386

2024-11-23 Thread Bastien Roucariès
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 It will break I suppose imagemagick on i386 and scientif

Re: Rustc unsoundness on i386

2024-11-23 Thread Andrey Rakhmatullin
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. -- WBR, wRAR signature.asc Description: PGP signature

Re: Rustc unsoundness on i386

2024-11-23 Thread Johannes Schauer Marin Rodrigues
Quoting Chris Hofstaedtler (2024-11-23 17:50:25) > * Fabian Grünbichler [241123 15:31]: > > A) move i386 rustc to Rust's i586 target (which doesn't have SSE out of the > > box), instead of the i686-with-SSE2-disabled it currently uses > > B) bump the i386 baseline in Debian to require SSE2, and s

Re: Rustc unsoundness on i386

2024-11-23 Thread Chris Hofstaedtler
* Fabian Grünbichler [241123 15:31]: > A) move i386 rustc to Rust's i586 target (which doesn't have SSE out of the > box), instead of the i686-with-SSE2-disabled it currently uses > B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 > there in rustc > C) disable all opt

Re: Rustc unsoundness on i386

2024-11-23 Thread Fabian Grünbichler
On Sat, Nov 23, 2024, at 3:14 PM, Fabian Grünbichler wrote: > On Sat, Nov 23, 2024, at 1:09 PM, Jonas Smedegaard wrote: >> Quoting Chris Hofstaedtler (2024-11-23 04:16:29) >>> * Jonas Smedegaard [241122 18:01]: >>> > > All release architectures support Rust. We should not accept >>> > > release

Re: Rustc unsoundness on i386

2024-11-23 Thread Jonas Smedegaard
[individuals stripped as recipients, as per Debian mailinglist policy] Quoting Fabian Grünbichler (2024-11-23 15:14:42) > p.s.: if you become aware of such an issue with any toolchain, it > would be nice to file a bug report *with the corresponding toolchain > package in Debian* to make its mainta

Rustc unsoundness on i386

2024-11-23 Thread Fabian Grünbichler
On Sat, Nov 23, 2024, at 1:09 PM, Jonas Smedegaard wrote: > Quoting Chris Hofstaedtler (2024-11-23 04:16:29) >> * Jonas Smedegaard [241122 18:01]: >> > > All release architectures support Rust. We should not accept >> > > release architectures without Rust support. >> > > >> > > A minor set of po