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