https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212

--- Comment #122 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
(In reply to Oleg Endo from comment #121)
> (In reply to John Paul Adrian Glaubitz from comment #120)
> > 
> > That's a huge task which is why I prefer fixing issues on the fly.
> 
> I thought this is almost fully automated?

The build process is. Fixing broken packages isn't.

> You can apply this patch to GCC to enable LRA by default for SH
> 
> --- sh.opt.orig       2019-03-04 10:09:09.244521000 +0900
> +++ sh.opt    2020-02-26 10:19:55.414340269 +0900
> @@ -299,5 +299,5 @@
>  Enable the use of the fsrra instruction.
>  
>  mlra
> -Target Report Var(sh_lra_flag) Init(0) Save
> +Target Report Var(sh_lra_flag) Init(1) Save
>  Use LRA instead of reload (transitional).
> 
> Then let it rebuild everything.

Everything is around 13.000 source packages.

> > We are going to switch over anyway with GCC-12 or GCC-13, so I'm not sure
> > what we are gaining if we continue to wait.
> 
> I don't get it.  You want to enable LRA by default for your distro, but you
> don't want to rebuild all the packages with that modification?  It's like ..
> shipping a distro with a new compiler, which potentially can't compile the
> distro packages (correctly), so instead we secretly use an older compiler to
> build the packages .... ?  Is that normal practice?  Sorry, sounds like a
> mess to me.

Debian/sh4 is not a release target, so it's not being shipped and there is no
warranty anyway.

I also don't have the possibility to rebuild the whole archive in a separate
project. There is only unstable. If am doing a complete rebuild now, I will be
busy for the next weeks or months (there are new packages coming in every day)
looking at issues because there might be a lot of failing packages, also for
other reasons.

It's simply not practical from my perspective. I'm doing this as a hobby, not
as a full time job, so I can't take care of all issues all-day long.

And, finally, the buildd capacity is limited on sh4. If this was POWER or
SPARC, we would have plenty of resources for a complete rebuild.

Reply via email to