Commit 433cdc94 authored by Matthias Klose's avatar Matthias Klose

* GCC snapshot, taken from the trunk (20190216, r268955).

  * Fix libgo s390x biarch build.
  * Run test suite on the Hurd and KFreeBSD.
  * Fix linking libgphobos with the system zlib.
parent b0291f6f
gcc-9 (9-20190216-1) experimental; urgency=medium
* GCC snapshot, taken from the trunk (20190216, r268955).
* Fix libgo s390x biarch build.
* Run test suite on the Hurd and KFreeBSD.
* Fix linking libgphobos with the system zlib.
-- Matthias Klose <doko@debian.org> Sat, 16 Feb 2019 14:28:15 +0100
gcc-9 (9-20190215-1) experimental; urgency=medium
* GCC snapshot, taken from the trunk (20190215, r268943).
......
# DP: Fix libgo s390x biarch build
--- a/src/libgo/go/internal/cpu/cpu_gccgo.c
+++ b/src/libgo/go/internal/cpu/cpu_gccgo.c
@@ -71,7 +71,7 @@
#endif /* defined(__i386__) || defined(__x86_64__) */
-#ifdef __s390__
+#ifdef __s390x__
struct facilityList {
uint64_t bits[4];
@@ -184,4 +184,4 @@
return ret;
}
-#endif /* defined(__s390__) */
+#endif /* defined(__s390x__) */
......@@ -12,7 +12,7 @@
SPEC_PHOBOS_DEPS="$LIBS"
--- a/src/libphobos/m4/druntime/libraries.m4
+++ b/src/libphobos/m4/druntime/libraries.m4
@@ -52,19 +52,44 @@ AC_DEFUN([DRUNTIME_LIBRARIES_ZLIB],
@@ -52,19 +52,45 @@ AC_DEFUN([DRUNTIME_LIBRARIES_ZLIB],
[
AC_ARG_WITH(target-system-zlib,
AS_HELP_STRING([--with-target-system-zlib],
......@@ -54,15 +54,16 @@
+ )
+ ],
+ [system_zlib_found=no])
+ LIBS=$save_LIBS
+ if test x$system_zlib = xyes; then
+ if test x$system_zlib_found = xyes; then
+ AC_MSG_RESULT([found])
+ else
+ LIBS=$save_LIBS
+ AC_MSG_RESULT([not found, disabled])
+ system_zlib=no
+ fi
+ else
+ LIBS=$save_LIBS
+ AC_MSG_RESULT([not enabled])
+ fi
+ AC_LANG_POP
......
......@@ -19,10 +19,10 @@ Changelog gcc/
--- a/src/gcc/config/sparc/linux64.h
+++ b/src/gcc/config/sparc/linux64.h
@@ -154,9 +154,9 @@ extern const char *host_detect_local_cpu
@@ -156,9 +156,9 @@ extern const char *host_detect_local_cpu
#else
#define CC1_SPEC "%{profile:-p} \
%{m32:%{m64:%emay not use both -m32 and -m64}} \
#define CC1_SPEC GNU_USER_TARGET_CC1_SPEC ASAN_CC1_SPEC \
"%{m32:%{m64:%emay not use both -m32 and -m64}} \
-%{m32:-mptr32 -mno-stack-bias %{!mlong-double-128:-mlong-double-64} \
+%{m32:-mptr32 -mno-stack-bias \
%{!mcpu*:-mcpu=cypress}} \
......@@ -30,4 +30,4 @@ Changelog gcc/
+%{mv8plus:-mptr32 -mno-stack-bias \
%{!mcpu*:-mcpu=v9}} \
%{!m32:%{!mcpu*:-mcpu=ultrasparc}} \
%{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}} \
%{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}}"
......@@ -1455,14 +1455,9 @@ check_no_systems := gnu kfreebsd-gnu
ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(check_no_cpus)))
with_check := disabled for cpu $(DEB_TARGET_ARCH_CPU)
endif
ifneq (,$(findstring $(DEB_TARGET_GNU_SYSTEM),$(check_no_systems)))
with_check := disabled for system $(DEB_TARGET_GNU_SYSTEM)
endif
ifeq ($(derivative)-$(DEB_HOST_ARCH),Ubuntu-hppa)
ifneq ($(single_package),yes)
with_check := disabled, testsuite timeouts with expect
endif
endif
#ifneq (,$(findstring $(DEB_TARGET_GNU_SYSTEM),$(check_no_systems)))
# with_check := disabled for system $(DEB_TARGET_GNU_SYSTEM)
#endif
ifneq (,$(findstring gdc,$(PKGSOURCE)))
with_check := disabled for D
endif
......@@ -1473,11 +1468,11 @@ endif
ifneq ($(findstring nocheck, $(DEB_BUILD_OPTIONS)),)
with_check := disabled by DEB_BUILD_OPTIONS
endif
ifneq (,$(filter $(DEB_HOST_ARCH), hppa mips))
ifneq ($(single_package),yes)
with_check := disabled for $(DEB_HOST_ARCH), testsuite timeouts with expect
endif
endif
#ifneq (,$(filter $(DEB_HOST_ARCH), hppa mips))
# ifneq ($(single_package),yes)
# with_check := disabled for $(DEB_HOST_ARCH), testsuite timeouts with expect
# endif
#endif
#with_check := disabled for this upload
# not a dependency on all archs, but if available, use it for the testsuite
......
......@@ -71,6 +71,7 @@ debian_patches += \
gcc-force-cross-layout \
gcc-search-prefixed-as-ld \
kfreebsd-decimal-float \
libgo-s390x-biarch \
# TODO:
# pr81829 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment