On Tue, May 16, 2023 at 09:38:56AM +0200, John Paul Adrian Glaubitz wrote:
After a long discussion on IRC and the mailing list, we have agreed to raise the
baseline for the alpha architecture to EV56 to improve the generated code and fix
a number of issues. The change is already being implemented in the glibc packages
which switches to EV56 [1] since hwcaps are no longer available with glibc 2.37 [2].
Could you raise the baseline for gcc on alpha to EV56?
I assume, it should be "--with-cpu=ev56" or "--with-arch=ev56".
Yes, please!
I suggest the following in debian/rules2:
ifneq (,$(findstring alpha,$(DEB_TARGET_ARCH)))
CONFARGS += --with-cpu=ev56 --with-tune=ev6
endif
(the --with-tune only affects instruction scheduling and better tunes
code for ev6 and more recent machines, but allows execution down to
ev56.) I have tested this in the past with a rebuild of most packages
that are in the base essential chroot in the past and it works well.