Bug#877824: marked as done (gcc-snapshot build depends on removed transitional package realpath)

2017-10-18 Thread Debian Bug Tracking System
Your message dated Wed, 18 Oct 2017 10:38:03 +0300
with message-id <20171018073802.p2pp3ohegae7xo4u@localhost>
and subject line Fixed in 20171017-1
has caused the Debian Bug report #877824,
regarding gcc-snapshot build depends on removed transitional package realpath
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
877824: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877824
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-snapshot
Version: 20170923-1
Severity: serious

gcc-snapshot build depends on the transitional package realpath, 
removed in coreutils 8.28-1.

The realpath program is part of the
(essential) coreutils package.
--- End Message ---
--- Begin Message ---
Version: 20171017-1

20171017-1 has
  coreutils (>= 2.26) | realpath (>= 1.9.12)

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed--- End Message ---


Results for 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) testsuite on aarch64-unknown-linux-gnu

2017-10-18 Thread Matthias Klose
LAST_UPDATED: Tue Oct 17 13:29:12 UTC 2017 (revision 253812)

Native configuration is aarch64-unknown-linux-gnu

=== libatomic tests ===


Running target unix

=== libatomic Summary ===

# of expected passes54
=== libffi tests ===


Running target unix

=== libffi Summary ===

# of expected passes2214
=== libgo tests ===


Running target unix

=== libgo Summary ===

# of expected passes155
/build/gcc-snapshot-UKnvm8/gcc-snapshot-20171017/build/./gcc/gccgo version 
8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1)

=== libgomp tests ===


Running target unix

=== libgomp Summary ===

# of expected passes5207
# of unsupported tests  353
=== libitm tests ===


Running target unix

=== libitm Summary ===

# of expected passes42
# of expected failures  3
# of unsupported tests  1
=== libstdc++ tests ===


Running target unix

=== libstdc++ Summary ===

# of expected passes12188
# of expected failures  70
# of unsupported tests  296
=== g++ tests ===


Running target unix
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/vect/slp-pr56812.cc  -std=c++11  scan-tree-dump-times slp1 "basic 
block vectorized" 1 (found 0 times)
FAIL: g++.dg/vect/slp-pr56812.cc  -std=c++14  scan-tree-dump-times slp1 "basic 
block vectorized" 1 (found 0 times)
FAIL: g++.dg/vect/slp-pr56812.cc  -std=c++98  scan-tree-dump-times slp1 "basic 
block vectorized" 1 (found 0 times)

=== g++ Summary ===

# of expected passes114335
# of unexpected failures4
# of expected failures  374
# of unsupported tests  4971
/build/gcc-snapshot-UKnvm8/gcc-snapshot-20171017/build/gcc/xg++  version 8.0.0 
20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) 

=== gcc tests ===


Running target unix
XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O2  execution test
XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/example.c   -O3 -g  execution test
XPASS: gcc.dg/guality/example.c   -Os  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/guality.c   -O3 -g  execution test
XPASS: gcc.dg/guality/guality.c   -Os  execution test
XPASS: gcc.dg/guality/inline-params-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/inline-params.c   -O2  execution test
XPASS: gcc.dg/guality/inline-params.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/inline-params.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/inline-params.c   -O3 -g  execution test
XPASS: gcc.dg/guality/inline-params.c   -Os  execution test
FAIL: gcc.dg/guality/nrv-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 20 a2.i[0] == 42
FAIL: gcc.dg/guality/pr36728-1.c   -O2  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O2  line 18 *x == (char) 25
FAIL: gcc.dg/guality/pr36728-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 18 *x == (char) 25
FAIL: gcc.dg/guality/pr36728-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O3 -g  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O3 -g  line 18 *x == (char) 25
FAIL: gcc.dg/guality/pr36728-2.c   -O2  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2  line 18 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 18 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg1 == 1
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg2 == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg3 == 3
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg4 == 4
FAIL: 

Results for 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) testsuite on arm-unknown-linux-gnueabi

2017-10-18 Thread Matthias Klose
LAST_UPDATED: Tue Oct 17 13:29:12 UTC 2017 (revision 253812)

Native configuration is arm-unknown-linux-gnueabi

=== libatomic tests ===


Running target unix

=== libatomic Summary ===

# of expected passes44
# of unsupported tests  5
=== libffi tests ===


Running target unix

=== libffi Summary ===

# of expected passes2214
=== libgo tests ===


Running target unix
FAIL: io
FAIL: log
FAIL: runtime
FAIL: runtime/internal/atomic
FAIL: runtime/pprof
FAIL: sync/atomic

=== libgo Summary ===

# of expected passes149
# of unexpected failures6
/build/gcc-snapshot-lGsX0O/gcc-snapshot-20171017/build/./gcc/gccgo version 
8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1)

=== libgomp tests ===


Running target unix

=== libgomp Summary ===

# of expected passes5207
# of unsupported tests  353
=== libstdc++ tests ===


Running target unix
FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test
FAIL: 26_numerics/headers/cmath/hypot.cc execution test

=== libstdc++ Summary ===

# of expected passes12167
# of unexpected failures2
# of expected failures  70
# of unsupported tests  306
=== g++ tests ===


Running target unix
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -O1 -fcilkplus execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -O3 -fcilkplus execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -g -O2 -fcilkplus execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -g -fcilkplus execution test
FAIL: g++.dg/pr53037-2.C  -std=gnu++11  (test for warnings, line 16)
FAIL: g++.dg/pr53037-2.C  -std=gnu++11  (test for warnings, line 29)
FAIL: g++.dg/pr53037-2.C  -std=gnu++11  (test for warnings, line 6)
FAIL: g++.dg/pr53037-2.C  -std=gnu++14  (test for warnings, line 16)
FAIL: g++.dg/pr53037-2.C  -std=gnu++14  (test for warnings, line 29)
FAIL: g++.dg/pr53037-2.C  -std=gnu++14  (test for warnings, line 6)
FAIL: g++.dg/pr53037-2.C  -std=gnu++98  (test for warnings, line 16)
FAIL: g++.dg/pr53037-2.C  -std=gnu++98  (test for warnings, line 29)
FAIL: g++.dg/pr53037-2.C  -std=gnu++98  (test for warnings, line 6)
FAIL: g++.dg/pr53037-3.C  -std=gnu++11  (test for warnings, line 16)
FAIL: g++.dg/pr53037-3.C  -std=gnu++11  (test for warnings, line 29)
FAIL: g++.dg/pr53037-3.C  -std=gnu++11  (test for warnings, line 6)
FAIL: g++.dg/pr53037-3.C  -std=gnu++14  (test for warnings, line 16)
FAIL: g++.dg/pr53037-3.C  -std=gnu++14  (test for warnings, line 29)
FAIL: g++.dg/pr53037-3.C  -std=gnu++14  (test for warnings, line 6)
FAIL: g++.dg/pr53037-3.C  -std=gnu++98  (test for warnings, line 16)
FAIL: g++.dg/pr53037-3.C  -std=gnu++98  (test for warnings, line 29)
FAIL: g++.dg/pr53037-3.C  -std=gnu++98  (test for warnings, line 6)
FAIL: g++.dg/template/nontype10.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++98 (test for excess errors)
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
UNRESOLVED: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o execute 
-flto -O0 -std=c++11
FAIL: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o link, -flto -O0 
-std=c++11
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O0   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O1   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O2   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O3 -g   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -Os   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)

=== g++ Summary ===

# of expected passes116018
# of unexpected failures32
# of expected failures  382
# of unresolved testcases   1
# of unsupported tests  5058
/build/gcc-snapshot-lGsX0O/gcc-snapshot-20171017/build/gcc/xg++  version 8.0.0 
20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) 

=== gcc tests ===


Running target unix
FAIL: gcc.dg/pr53037-2.c  (test for warnings, line 16)
FAIL: gcc.dg/pr53037-2.c  (test for warnings, line 32)
FAIL: gcc.dg/pr53037-2.c  (test for warnings, line 8)
FAIL: gcc.dg/pr53037-3.c  (test for warnings, line 16)
FAIL: gcc.dg/pr53037-3.c  (test for warnings, line 32)
FAIL: gcc.dg/pr53037-3.c  (test for warnings, line 8)
XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)

Results for 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) testsuite on i686-pc-linux-gnu

2017-10-18 Thread Matthias Klose
LAST_UPDATED: Tue Oct 17 13:29:12 UTC 2017 (revision 253812)

Native configuration is i686-pc-linux-gnu

=== brig tests ===


Running target unix

=== brig Summary for unix ===

# of unsupported tests  1

Running target unix

=== brig Summary for unix ===

# of unsupported tests  1

=== brig Summary ===

# of unsupported tests  2
=== g++ tests ===


Running target unix
FAIL: g++.dg/pr62079.C   (internal compiler error)
FAIL: g++.dg/pr62079.C   (internal compiler error)
FAIL: g++.dg/pr62079.C   (test for excess errors)
FAIL: g++.dg/pr62079.C   (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++98 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++98 (test for excess errors)
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: c-c++-common/torture/vector-shift1.c   -O3 -g  (internal compiler error)
FAIL: c-c++-common/torture/vector-shift1.c   -O3 -g  (internal compiler error)
FAIL: c-c++-common/torture/vector-shift1.c   -O3 -g  (test for excess errors)
FAIL: c-c++-common/torture/vector-shift1.c   -O3 -g  (test for excess errors)
UNRESOLVED: c-c++-common/torture/vector-shift1.c   -O3 -g  compilation failed 
to produce executable
UNRESOLVED: c-c++-common/torture/vector-shift1.c   -O3 -g  compilation failed 
to produce executable
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O0   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O0   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O1   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O1   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O2   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O2   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O3 -g   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -O3 -g   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -Os   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)
FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c   -Os   
scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 
times)

=== g++ Summary ===

# of expected passes237194
# of unexpected failures26
# of expected failures  760
# of unresolved testcases   2
# of unsupported tests  8644
/build/gcc-snapshot-c1c0NW/gcc-snapshot-20171017/build/gcc/xg++  version 8.0.0 
20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) 

=== gcc tests ===


Running target unix
FAIL: gcc.dg/20050503-1.c scan-assembler-not call
FAIL: gcc.dg/20050503-1.c scan-assembler-not call
XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)
XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O3 -fomit-frame-pointer -funroll-loops 
-fpeel-loops -ftracer -finline-functions  execution test
XPASS: gcc.dg/guality/example.c   -O3 -fomit-frame-pointer -funroll-loops 
-fpeel-loops -ftracer -finline-functions  execution test
XPASS: gcc.dg/guality/example.c   -O3 -g  execution test
XPASS: gcc.dg/guality/example.c   -O3 -g  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 

Results for 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) testsuite on powerpc-unknown-linux-gnu

2017-10-18 Thread Matthias Klose
LAST_UPDATED: Tue Oct 17 13:29:12 UTC 2017 (revision 253812)

Native configuration is powerpc-unknown-linux-gnu

=== g++ tests ===


Running target unix
FAIL: c-c++-common/asan/heap-overflow-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2 -flto 
-fno-use-linker-plugin -flto-partition=none  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2 -flto 
-fno-use-linker-plugin -flto-partition=none  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -Os  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O0  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O0  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O1  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O1  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O2  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O2  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O3 -g  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O3 -g  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -Os  output pattern test

Results for 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) testsuite on s390x-ibm-linux-gnu

2017-10-18 Thread Matthias Klose
LAST_UPDATED: Tue Oct 17 13:29:12 UTC 2017 (revision 253812)

Native configuration is s390x-ibm-linux-gnu

=== g++ tests ===


Running target unix
FAIL: c-c++-common/patchable_function_entry-decl.c  -std=gnu++11  
scan-assembler-times nop 2 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-decl.c  -std=gnu++11  
scan-assembler-times nop 2 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-decl.c  -std=gnu++14  
scan-assembler-times nop 2 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-decl.c  -std=gnu++14  
scan-assembler-times nop 2 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-decl.c  -std=gnu++98  
scan-assembler-times nop 2 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-decl.c  -std=gnu++98  
scan-assembler-times nop 2 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-default.c  -std=gnu++11  
scan-assembler-times nop 3 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-default.c  -std=gnu++11  
scan-assembler-times nop 3 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-default.c  -std=gnu++14  
scan-assembler-times nop 3 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-default.c  -std=gnu++14  
scan-assembler-times nop 3 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-default.c  -std=gnu++98  
scan-assembler-times nop 3 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-default.c  -std=gnu++98  
scan-assembler-times nop 3 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-definition.c  -std=gnu++11  
scan-assembler-times nop 1 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-definition.c  -std=gnu++11  
scan-assembler-times nop 1 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-definition.c  -std=gnu++14  
scan-assembler-times nop 1 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-definition.c  -std=gnu++14  
scan-assembler-times nop 1 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-definition.c  -std=gnu++98  
scan-assembler-times nop 1 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-definition.c  -std=gnu++98  
scan-assembler-times nop 1 (found 0 times)
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40

=== g++ Summary ===

# of expected passes218006
# of unexpected failures20
# of expected failures  742
# of unsupported tests  9210
/build/gcc-snapshot-aM1r6Y/gcc-snapshot-20171017/build/gcc/xg++  version 8.0.0 
20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) 

=== gcc tests ===


Running target unix
FAIL: c-c++-common/patchable_function_entry-decl.c  -Wc++-compat   
scan-assembler-times nop 2 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-decl.c  -Wc++-compat   
scan-assembler-times nop 2 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-default.c  -Wc++-compat   
scan-assembler-times nop 3 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-default.c  -Wc++-compat   
scan-assembler-times nop 3 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-definition.c  -Wc++-compat   
scan-assembler-times nop 1 (found 0 times)
FAIL: c-c++-common/patchable_function_entry-definition.c  -Wc++-compat   
scan-assembler-times nop 1 (found 0 times)
FAIL: gcc.dg/loop-9.c scan-rtl-dump loop2_invariant "Decided"
FAIL: gcc.dg/loop-9.c scan-rtl-dump loop2_invariant "Decided"
FAIL: gcc.dg/loop-9.c scan-rtl-dump loop2_invariant "without introducing a new 
temporary register"
FAIL: gcc.dg/loop-9.c scan-rtl-dump loop2_invariant "without introducing a new 
temporary register"
FAIL: gcc.dg/pr21643.c scan-tree-dump-times reassoc1 "Optimizing range tests 
c_[0-9]*.D. -.0, 31. and -.32, 32.[\\n\\r]* into" 6 (found 5 times)
FAIL: gcc.dg/pr21643.c scan-tree-dump-times reassoc1 "Optimizing range tests 
c_[0-9]*.D. -.0, 31. and -.32, 32.[\\n\\r]* into" 6 (found 5 times)
XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)
XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O2  execution test
XPASS: gcc.dg/guality/example.c   -O2  execution test
XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test

Results for 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) testsuite on arm-unknown-linux-gnueabihf

2017-10-18 Thread Matthias Klose
LAST_UPDATED: Tue Oct 17 13:29:12 UTC 2017 (revision 253812)

Native configuration is arm-unknown-linux-gnueabihf

=== libatomic tests ===


Running target unix

=== libatomic Summary ===

# of expected passes44
# of unsupported tests  5
=== libffi tests ===


Running target unix

=== libffi Summary ===

# of expected passes2214
=== libgo tests ===


Running target unix
FAIL: io
FAIL: log
FAIL: runtime
FAIL: runtime/pprof
FAIL: sync/atomic

=== libgo Summary ===

# of expected passes150
# of unexpected failures5
/build/gcc-snapshot-ApDBLK/gcc-snapshot-20171017/build/./gcc/gccgo version 
8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1)

=== libgomp tests ===


Running target unix

=== libgomp Summary ===

# of expected passes5207
# of unsupported tests  353
=== libstdc++ tests ===


Running target unix
FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test
FAIL: 26_numerics/headers/cmath/hypot.cc execution test

=== libstdc++ Summary ===

# of expected passes12186
# of unexpected failures2
# of expected failures  70
# of unsupported tests  296
=== g++ tests ===


Running target unix
FAIL: c-c++-common/asan/heap-overflow-1.c   -O0  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/pr70541.c   -O0  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O0  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2 -flto 
-fno-use-linker-plugin -flto-partition=none  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/sanity-check-pure-c-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O0  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/strncpy-overflow-1.c   -Os  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O0  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -O3 -g  output pattern test
FAIL: c-c++-common/asan/use-after-free-1.c   -Os  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O0  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O1  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O2  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O3 -g  output pattern test
FAIL: g++.dg/asan/deep-stack-uaf-1.C   -Os  output pattern test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -O1 -fcilkplus execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -O3 -fcilkplus execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -g -O2 -fcilkplus execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -g -fcilkplus execution test
FAIL: g++.dg/pr53037-2.C  -std=gnu++11  (test for warnings, line 16)
FAIL: g++.dg/pr53037-2.C  -std=gnu++11  (test for warnings, line 29)
FAIL: g++.dg/pr53037-2.C  -std=gnu++11  (test for warnings, line 6)
FAIL: g++.dg/pr53037-2.C  -std=gnu++14  (test for warnings, line 16)
FAIL: g++.dg/pr53037-2.C  -std=gnu++14  (test for warnings, line 29)
FAIL: g++.dg/pr53037-2.C  -std=gnu++14  (test for warnings, line 6)
FAIL: g++.dg/pr53037-2.C  -std=gnu++98  (test for warnings, line 16)
FAIL: g++.dg/pr53037-2.C  

Results for 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) testsuite on powerpc64le-unknown-linux-gnu

2017-10-18 Thread Matthias Klose
LAST_UPDATED: Tue Oct 17 13:29:12 UTC 2017 (revision 253812)

Native configuration is powerpc64le-unknown-linux-gnu

=== g++ tests ===


Running target unix
FAIL: g++.dg/vect/slp-pr56812.cc  -std=c++11  scan-tree-dump-times slp1 "basic 
block vectorized" 1 (found 0 times)
FAIL: g++.dg/vect/slp-pr56812.cc  -std=c++14  scan-tree-dump-times slp1 "basic 
block vectorized" 1 (found 0 times)
FAIL: g++.dg/vect/slp-pr56812.cc  -std=c++98  scan-tree-dump-times slp1 "basic 
block vectorized" 1 (found 0 times)

=== g++ Summary ===

# of expected passes116573
# of unexpected failures3
# of expected failures  371
# of unsupported tests  4843
/build/gcc-snapshot-jLMGqg/gcc-snapshot-20171017/build/gcc/xg++  version 8.0.0 
20171017 (experimental) [trunk revision 253812] (Debian 20171017-1) 

=== gcc tests ===


Running target unix
XPASS: gcc.dg/Wtrampolines.c standard descriptors (test for warnings, line 29)
FAIL: gcc.dg/pr21643.c scan-tree-dump-times reassoc1 "Optimizing range tests 
c_[0-9]*.D. -.0, 31. and -.32, 32.[\\n\\r]* into" 6 (found 5 times)
FAIL: gcc.dg/pr56727-2.c scan-assembler @(PLT|plt)
XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)
FAIL: gcc.dg/sms-1.c scan-rtl-dump-times sms "SMS succeeded" 1 (found 0 times)
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/guality.c   -O3 -g  execution test
XPASS: gcc.dg/guality/guality.c   -Os  execution test
XPASS: gcc.dg/guality/inline-params-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/inline-params.c   -O2  execution test
XPASS: gcc.dg/guality/inline-params.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/inline-params.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/inline-params.c   -O3 -g  execution test
XPASS: gcc.dg/guality/inline-params.c   -Os  execution test
FAIL: gcc.dg/guality/nrv-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 20 a2.i[0] == 42
FAIL: gcc.dg/guality/param-2.c   -O1  line 20 str.pa == 31415927
FAIL: gcc.dg/guality/param-2.c   -O1  line 20 str.pb == 27182818
FAIL: gcc.dg/guality/param-3.c   -O1  line 20 str.pa == 31415927
FAIL: gcc.dg/guality/param-3.c   -O1  line 20 str.pb == 27182818
FAIL: gcc.dg/guality/pr36728-1.c   -O2  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O2  line 18 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 18 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O3 -g  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-1.c   -O3 -g  line 18 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2  line 18 *x == (char) 25
FAIL: gcc.dg/guality/pr36728-2.c   -O2  line 18 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 16 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 18 *x == (char) 25
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 18 y == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg1 == 1
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg2 == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg3 == 3
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg4 == 4
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg5 == 5
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg6 == 6
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 16 arg7 == 30
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 18 arg1 == 1
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 18 arg2 == 2
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 18 arg3 == 3
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  line 18 arg4 == 4
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  

Bug#879054: gcc-8 DEB_STAGE=rtlibs FTBFS: dh_installdirs: All requested packages have been excluded (e.g. via a Build-Profile).

2017-10-18 Thread Helmut Grohne
Source: gcc-8,gcc-7
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Hi Matthias,

since debhelper 10.9.1, more specifically
https://anonscm.debian.org/git/debhelper/debhelper.git/commit/?id=93d8fdfc5dfc994af53fc6fed7f36f271b3abee5
the DEB_STAGE=rtlibs build of gcc fails. Such builds use an environment
where DEB_BUILD_ARCH=DEB_HOST_ARCH=DEB_TARGET_ARCH, but internally set a
different TARGET and try to produce binaries for that TARGET. When
various dh_commands are instructed to operate on such packages, they now
figure that they are not enabled for DEB_HOST_ARCH and thus skip them:

| dh_installdirs -plibgcc1 usr/share/doc/libgcc1 /lib/x86_64-linux-gnux32
| dh_installdirs: All requested packages have been excluded (e.g. via a 
Build-Profile).

Turning some helpers into noops quickly makes the build fail.

I think that the cure is to call those helpers in an environment where
DEB_HOST_ARCH is set to the TARGET. The attached patch thus introduces a
$(for_target) prefix for affected commands and identifies which commands
need the prefix. After applying it DEB_STAGE=rtlibs does build.

Of course the other question is: What does the patch break? Whenever
DEB_HOST_ARCH is equal to the TARGET, the prefix does not actually
change anything, so native builds and cross builds are completely
unaffected. We only need to look at cross compiler builds (such as
DEB_STAGE=rtlibs, but also other stages). With the exception of
DEB_STAGE=rtlibs, the affected packages become Architecture: all (in the
typical dpkg-cross suffixed notation). Thus the change in DEB_HOST_ARCH
is mostly irrelevant there as well (and I did perform the full 4-stage
cross compiler bootstrap with the patch). For these reasons, I believe
that the attached patch has a low risk of introducing regressions.

I do note that Niels Thykier has been working on an alternative solution
involving support from debhelper:
https://anonscm.debian.org/git/debhelper/debhelper.git/log/?h=dh-cross-target
That branch enables tagging binary packages in debian/control to use
DEB_TARGET_ARCH whenever debhelper normally thinks DEB_HOST_ARCH. Using
this debhelper branch would allow tagging binary packages rather than
dh_commands, which generally means less tagging and thus a smaller risk
of mistakes. The approach would also allow building updates packages on
jessie and stretch, because their debhelper lacks ignores the new header
and lacks the breaking commit above. Please tell if you prefer that
approach.

Helmut
--- a/debian/rules.d/binary-fortran.mk
+++ b/debian/rules.d/binary-fortran.mk
@@ -86,8 +86,8 @@
 	mv $(install_stamp) $(install_stamp)-tmp

 	rm -rf $(d_l) $(d_d)
-	dh_installdirs -p$(p_l) $(usr_lib$(2))
-	$(dh_compat2) dh_movefiles -p$(p_l) $(usr_lib$(2))/libgfortran.so.*
+	$(for_target) dh_installdirs -p$(p_l) $(usr_lib$(2))
+	$(for_target) $(dh_compat2) dh_movefiles -p$(p_l) $(usr_lib$(2))/libgfortran.so.*

 	debian/dh_doclink -p$(p_l) $(p_lbase)
 	debian/dh_doclink -p$(p_d) $(p_lbase)
@@ -97,7 +97,7 @@
 		cp debian/$(p_l).overrides debian/$(p_l)/usr/share/lintian/overrides/$(p_l); \
 	fi

-	dh_strip -p$(p_l) --dbg-package=$(p_d)
+	$(for_target) dh_strip -p$(p_l) --dbg-package=$(p_d)
 	ln -sf libgfortran.symbols debian/$(p_l).symbols
 	$(cross_makeshlibs) dh_makeshlibs -p$(p_l)
 	$(call cross_mangle_shlibs,$(p_l))
@@ -130,7 +130,7 @@
 	debian/dh_doclink -p$(p_l) $(p_lbase)
 	debian/dh_rmemptydirs -p$(p_l)

-	dh_strip -p$(p_l)
+	$(for_target) dh_strip -p$(p_l)
 	$(cross_shlibdeps) dh_shlibdeps -p$(p_l)
 	$(call cross_mangle_substvars,$(p_l))
 	echo $(p_l) >> debian/$(lib_binaries)
--- a/debian/rules.d/binary-libatomic.mk
+++ b/debian/rules.d/binary-libatomic.mk
@@ -30,7 +30,7 @@
 	debian/dh_doclink -p$(p_l) $(p_lbase)
 	debian/dh_doclink -p$(p_d) $(p_lbase)

-	dh_strip -p$(p_l) --dbg-package=$(p_d)
+	$(for_target) dh_strip -p$(p_l) --dbg-package=$(p_d)
 	ln -sf libatomic.symbols debian/$(p_l).symbols
 	$(cross_makeshlibs) dh_makeshlibs -p$(p_l)
 	$(call cross_mangle_shlibs,$(p_l))
--- a/debian/rules.d/binary-libgcc.mk
+++ b/debian/rules.d/binary-libgcc.mk
@@ -161,7 +161,7 @@
 	debian/dh_doclink -p$(2) $(p_lbase)
 	debian/dh_rmemptydirs -p$(2)

-	dh_strip -p$(2)
+	$(for_target) dh_strip -p$(2)
 	$(cross_shlibdeps) dh_shlibdeps -p$(2)
 	$(call cross_mangle_substvars,$(2))
 	echo $(2) >> debian/$(lib_binaries)
@@ -281,7 +281,7 @@

 	rm -rf $(d_l) $(d_d)

-	dh_installdirs -p$(p_l) \
+	$(for_target) dh_installdirs -p$(p_l) \
 		$(docdir)/$(p_l) \
 		$(libgcc_dir$(2))

@@ -289,7 +289,7 @@
 	debian/dh_doclink -p$(p_d) $(if $(3),$(3),$(p_lbase))
 	debian/dh_rmemptydirs -p$(p_l)
 	debian/dh_rmemptydirs -p$(p_d)
-	dh_strip -p$(p_l) --dbg-package=$(p_d)
+	$(for_target) dh_strip -p$(p_l) --dbg-package=$(p_d)

 	# see Debian #533843 for the __aeabi symbol handling; this construct is
 	# just to include the symbols for dpkg versions older than 1.15.3 which
--- a/debian/rules.d/binary-libgomp.mk
+++ b/debian/rules.d/binary-libgomp.mk
@@ -24,13 +24,13 @@
 	mv