--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gcc-4.4: Please disable libstdc++- testsuite on sh4
- From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
- Date: Thu, 14 Apr 2011 09:26:49 +0900
- Message-id: <20110414002649.29578.68519.reportbug@chimagu>
Package: gcc-4.4
Version: 4.4.5-14
Severity: wishlist
Tags: patch
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*(Ubuntu).
Please disable libstdc++- testsuite on 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.4 depends on:
ii binutils 2.21.0.20110302-2 The GNU assembler, linker and bina
ii cpp-4.4 4.4.5-14 The GNU C preprocessor
ii gcc-4.4-base 4.4.5-14 The GNU Compiler Collection (base
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.5.2-8 GCC support library
ii libgomp1 4.5.2-8 GCC OpenMP (GOMP) support library
Versions of packages gcc-4.4 recommends:
ii libc6-dev 2.11.2-13 Embedded GNU C Library: Developmen
Versions of packages gcc-4.4 suggests:
pn gcc-4.4-doc <none> (no description available)
pn gcc-4.4-locales <none> (no description available)
ii gcc-4.4-multilib 4.4.5-14 The GNU C compiler (multilib files
ii libcloog-ppl0 0.15.9-2 the Chunky Loop Generator (runtime
pn libgcc1-dbg <none> (no description available)
pn libgomp1-dbg <none> (no description available)
pn libmudflap0-4.4-dev <none> (no description available)
pn libmudflap0-dbg <none> (no description available)
ii libppl-c2 0.10.2-9 Parma Polyhedra Library (C interfa
ii libppl7 0.10.2-9 Parma Polyhedra Library (runtime l
-- no debconf information
diff --git a/debian/patches/libstdc++-sh4-no-check.diff b/debian/patches/libstdc++-sh4-no-check.diff
new file mode 100644
index 0000000..ba182a1
--- /dev/null
+++ b/debian/patches/libstdc++-sh4-no-check.diff
@@ -0,0 +1,12 @@
+# DP: Don't run the libstdc++-v3 testsuite on sh4*
+
+--- a/src/libstdc++-v3/testsuite/Makefile.in
++++ b/src/libstdc++-v3/testsuite/Makefile.in
+@@ -556,6 +556,7 @@
+
+ # Run the testsuite in normal mode.
+ check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
++ case "${target}" in 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 ef56bec..9d5610a 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -256,6 +256,8 @@ endif
ifneq (,$(findstring sh4,$(DEB_TARGET_ARCH)))
debian_patches += sh4-mode-switching
+ # times out on the buildd
+ debian_patches += libstdc++-sh4-no-check
endif
ifeq ($(DEB_CROSS),yes)
--- End Message ---