[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#622696: gcc-4.5: Please enable sh4 in libstdc++-no-testsuite.diff



Package: gcc-4.5
Version: 4.5.2-8
Severity: wishlist
Tags: patch

Hi,

sh4 needs much time in a test of gcc.
It is a test of libstdc++ to spend much time in that (about 28 hour).
I want to disable sh4's test of libstdc++ in the same way as arm and mipsel.

Please Please enable sh4 in libstdc++-no-testsuite.diff.

I attached 2 patch in this mail.
- libstdc++-no-testsuite_sh4.patch
  This patch fix this bug.
- libstdc++-no-testsuite_cleanup.patch
  This patch cleanup and drop hppa from patches/libstdc++-no-testsuite.diff,
  because this does not use in debian/rules.patch.
  Currently, this is enable in arm, mipsel and sh4.

Best regards,
  Nobuhiro

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.5 depends on:
ii  binutils               2.21.0.20110302-2 The GNU assembler, linker and bina
ii  cpp-4.5                4.5.2-8          The GNU C preprocessor
ii  gcc-4.5-base           4.5.2-8           The GNU Compiler Collection (base 
ii  libc6                  2.11.2-13         Embedded GNU C Library: Shared lib
ii  libcloog-ppl0          0.15.9-2          the Chunky Loop Generator (runtime
ii  libelfg0               0.8.13-1          an ELF object file access library
ii  libgcc1                1:4.5.2-8         GCC support library
ii  libgmp3c2              2:4.3.2+dfsg-1    Multiprecision arithmetic library
ii  libgmpxx4ldbl          2:5.0.1+dfsg-6    Multiprecision arithmetic library 
ii  libgomp1               4.5.2-8           GCC OpenMP (GOMP) support library
ii  libmpc2                0.9-2             multiple precision complex floatin
ii  libmpfr4               3.0.0-9           multiple precision floating-point 
ii  libppl-c2              0.10.2-9          Parma Polyhedra Library (C interfa
ii  libppl7                0.10.2-9          Parma Polyhedra Library (runtime l
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages gcc-4.5 recommends:
ii  libc6-dev                     2.11.2-13  Embedded GNU C Library: Developmen

Versions of packages gcc-4.5 suggests:
ii  binutils-gold          2.21.0.20110302-2 The (experimental) GNU gold linker
pn  gcc-4.5-doc            <none>            (no description available)
pn  gcc-4.5-locales        <none>            (no description available)
pn  gcc-4.5-multilib       <none>            (no description available)
pn  libgcc1-dbg            <none>            (no description available)
pn  libgomp1-dbg           <none>            (no description available)
pn  libmudflap0-4.5-dev    <none>            (no description available)
pn  libmudflap0-dbg        <none>            (no description available)

-- no debconf information
diff --git a/debian/patches/libstdc++-no-testsuite.diff b/debian/patches/libstdc++-no-testsuite.diff
index 572a03b..af95331 100644
--- a/debian/patches/libstdc++-no-testsuite.diff
+++ b/debian/patches/libstdc++-no-testsuite.diff
@@ -1,5 +1,5 @@
 ## DP: Don't run the libstdc++ testsuite on arm and ia64 (timeouts on the buildds)
-# DP: Don't run the libstdc++ testsuite on hppa and mipsel (timeouts on the buildds)
+# DP: Don't run the libstdc++ testsuite on hppa, mipsel and sh4 (timeouts on the buildds)
 
 --- a/src/libstdc++-v3/testsuite/Makefile.in~	2010-02-23 02:43:51.522335339 +0100
 +++ b/src/libstdc++-v3/testsuite/Makefile.in	2010-02-23 08:34:41.691086441 +0100
@@ -7,7 +7,7 @@
  
  # Run the testsuite in normal mode.
  check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
-+	case "$(target)" in arm*|hppa*|mipsel*) exit 0;; esac; \
++	case "$(target)" in arm*|hppa*|mipsel*|sh4*) exit 0;; esac; \
  	AR="$(AR)"; export AR; \
  	RANLIB="$(RANLIB)"; export RANLIB; \
  	if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
diff --git a/debian/rules.patch b/debian/rules.patch
index e5e6686..121d5cc 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -221,7 +221,7 @@ endif
 debian_patches += libjava-disable-static libjava-fixed-symlinks
 debian_patches += libstdc++-arm-wno-abi
 
-ifneq (,$(filter $(DEB_TARGET_ARCH), armel mipsel))
+ifneq (,$(filter $(DEB_TARGET_ARCH), armel mipsel sh4))
   # timeouts on the buildd's, (armel on both Debian and Ubuntu)
   debian_patches += libstdc++-no-testsuite
 endif
diff --git a/debian/patches/libstdc++-no-testsuite.diff b/debian/patches/libstdc++-no-testsuite.diff
index af95331..550dece 100644
--- a/debian/patches/libstdc++-no-testsuite.diff
+++ b/debian/patches/libstdc++-no-testsuite.diff
@@ -1,5 +1,4 @@
-## DP: Don't run the libstdc++ testsuite on arm and ia64 (timeouts on the buildds)
-# DP: Don't run the libstdc++ testsuite on hppa, mipsel and sh4 (timeouts on the buildds)
+# DP: Don't run the libstdc++ testsuite on arm, mipsel and sh4 (timeouts on the buildds)
 
 --- a/src/libstdc++-v3/testsuite/Makefile.in~	2010-02-23 02:43:51.522335339 +0100
 +++ b/src/libstdc++-v3/testsuite/Makefile.in	2010-02-23 08:34:41.691086441 +0100
@@ -7,7 +6,7 @@
  
  # Run the testsuite in normal mode.
  check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
-+	case "$(target)" in arm*|hppa*|mipsel*|sh4*) exit 0;; esac; \
++	case "$(target)" in arm*|mipsel*|sh4*) exit 0;; esac; \
  	AR="$(AR)"; export AR; \
  	RANLIB="$(RANLIB)"; export RANLIB; \
  	if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \

Reply to: