Bug#827802: glibc/mips o32: please use the default march level for mips o32
On Tue, 21 Jun 2016 17:23:34 +0800 YunQiang Su <wzssyqa@gmail.com> wrote:
> Package: src:glibc
>
> Since we have removed the 2f machines from Debian officially,
> and gcc-5+ also support FPXX which can help to workaround
> Loongson 3A bugs.
>
> And now we have some more UTM8 machines, which
> can be used to build package ftbfs on Loongson 3A.
>
> So it is time for us to upgrade to mips32r2.
Sorry, the previous attached patch have something mistake.
This patch also effects mips64el.
>
> --
> YunQiang Su
diff --git a/debian/rules2 b/debian/rules2
index 0f3eddc..4753af2 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -633,11 +633,11 @@ ifneq (,$(findstring mips-linux,$(DEB_TARGET_GNU_TYPE)))
endif
ifneq (,$(findstring mipsel-linux,$(DEB_TARGET_GNU_TYPE)))
- CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32r2 --with-fp-32=xx
+ CONFARGS += --with-arch-32=mips32r2 --with-fp-32=xx
ifeq ($(multilib),yes)
ifeq ($(biarchn32)-$(biarch64),yes-yes)
CONFARGS += --enable-targets=all
- CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64r2
+ CONFARGS += --with-arch-64=mips64r2
endif
endif
endif
@@ -647,8 +647,8 @@ ifneq (,$(findstring mips64el-linux-gnuabin32,$(DEB_TARGET_GNU_TYPE)))
ifeq ($(multilib),yes)
ifeq ($(biarchn32)-$(biarch32),yes-yes)
CONFARGS += --enable-targets=all
- CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
- CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx
+ CONFARGS += --with-arch-64=mips64r2
+ CONFARGS += --with-arch-32=mips32r2 --with-fp-32=xx
endif
endif
endif
@@ -657,8 +657,8 @@ ifneq (,$(findstring mips64-linux-gnuabin32,$(DEB_TARGET_GNU_TYPE)))
ifeq ($(multilib),yes)
ifeq ($(biarchn32)-$(biarch32),yes-yes)
CONFARGS += --enable-targets=all
- CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
- CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx
+ CONFARGS += --with-arch-64=mips64r2
+ CONFARGS += --with-arch-32=mips32r2 --with-fp-32=xx
endif
endif
endif
Reply to: