--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: glibc/mips o32: please use the default march level for mips o32
- From: YunQiang Su <wzssyqa@gmail.com>
- Date: Tue, 21 Jun 2016 17:23:34 +0800
- Message-id: <CAKcpw6WFkLdvgpBosnRXQ4Pf2q8i9DX6_030pC=DeKKwOnC4uA@mail.gmail.com>
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.
--
YunQiang Su
diff --git a/debian/sysdeps/mips64el.mk b/debian/sysdeps/mips64el.mk
index d6fffbe..b80230e 100644
--- a/debian/sysdeps/mips64el.mk
+++ b/debian/sysdeps/mips64el.mk
@@ -3,16 +3,14 @@ extra_cflags = -mno-plt
# main library
libc_rtlddir = /lib64
-libc_CC = $(CC) -march=mips3 -mtune=mips64r2
-libc_CXX = $(CXX) -march=mips3 -mtune=mips64r2
# build 32-bit (n32) alternative library
GLIBC_MULTILIB_PASSES += mipsn32
DEB_ARCH_MULTILIB_PACKAGES += libc6-mipsn32 libc6-dev-mipsn32
libc6-mipsn32_shlib_dep = libc6-mipsn32 (>= $(shlib_dep_ver))
mipsn32_configure_target = mips64el-linux-gnuabin32
-mipsn32_CC = $(CC) -mabi=n32 -march=mips3 -mtune=mips64r2
-mipsn32_CXX = $(CXX) -mabi=n32 -march=mips3 -mtune=mips64r2
+mipsn32_CC = $(CC) -mabi=n32
+mipsn32_CXX = $(CXX) -mabi=n32
mipsn32_rtlddir = /lib32
mipsn32_slibdir = /lib32
mipsn32_libdir = /usr/lib32
diff --git a/debian/sysdeps/mipsel.mk b/debian/sysdeps/mipsel.mk
index d573d97..8571734 100644
--- a/debian/sysdeps/mipsel.mk
+++ b/debian/sysdeps/mipsel.mk
@@ -1,17 +1,13 @@
# configuration options for all flavours
extra_cflags = -mno-plt
-# main library
-libc_CC = $(CC) -march=mips2 -mtune=mips32r2
-libc_CXX = $(CXX) -march=mips2 -mtune=mips32r2
-
# build 32-bit (n32) alternative library
GLIBC_MULTILIB_PASSES += mipsn32
DEB_ARCH_MULTILIB_PACKAGES += libc6-mipsn32 libc6-dev-mipsn32
libc6-mipsn32_shlib_dep = libc6-mipsn32 (>= $(shlib_dep_ver))
mipsn32_configure_target = mips64el-linux-gnuabin32
-mipsn32_CC = $(CC) -mabi=n32 -march=mips3 -mtune=mips64r2
-mipsn32_CXX = $(CXX) -mabi=n32 -march=mips3 -mtune=mips64r2
+mipsn32_CC = $(CC) -mabi=n32
+mipsn32_CXX = $(CXX) -mabi=n32
mipsn32_rtlddir = /lib32
mipsn32_slibdir = /lib32
mipsn32_libdir = /usr/lib32
@@ -21,8 +17,8 @@ GLIBC_MULTILIB_PASSES += mips64
DEB_ARCH_MULTILIB_PACKAGES += libc6-mips64 libc6-dev-mips64
libc6-mips64_shlib_dep = libc6-mips64 (>= $(shlib_dep_ver))
mips64_configure_target = mips64el-linux-gnuabi64
-mips64_CC = $(CC) -mabi=64 -march=mips3 -mtune=mips64r2
-mips64_CXX = $(CXX) -mabi=64 -march=mips3 -mtune=mips64r2
+mips64_CC = $(CC) -mabi=64
+mips64_CXX = $(CXX) -mabi=64
mips64_rtlddir = /lib64
mips64_slibdir = /lib64
mips64_libdir = /usr/lib64
--- End Message ---
--- Begin Message ---
- To: YunQiang Su <wzssyqa@gmail.com>, 827802-done@bugs.debian.org
- Subject: Re: Bug#827802: glibc/mips o32: please use the default march level for mips o32
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Mon, 31 Jul 2017 16:25:25 +0200
- Message-id: <20170731142525.2h44kdufp6jdmbwi@aurel32.net>
- In-reply-to: <CAKcpw6WFkLdvgpBosnRXQ4Pf2q8i9DX6_030pC=DeKKwOnC4uA@mail.gmail.com>
- References: <CAKcpw6WFkLdvgpBosnRXQ4Pf2q8i9DX6_030pC=DeKKwOnC4uA@mail.gmail.com>
Version: 2.24-12
On 2016-06-21 17:23, YunQiang Su 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.
Note that handling those failure and blacklisting the corresponding
packages is still a pain to do.
> So it is time for us to upgrade to mips32r2.
Anyway this has been done in version 2.24-12. Closing the bug.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
--- End Message ---