Bug#846872: gcc-7: FTBFS on m68k - fails to apply ada-m68k.diff patch

2016-12-05 Thread John Paul Adrian Glaubitz
On 12/05/2016 12:32 PM, John Paul Adrian Glaubitz wrote:
> On 12/04/2016 06:33 PM, John Paul Adrian Glaubitz wrote:
>> OK, attaching the updated patch which applies cleanly.
> 
> gcc upstream just merged the patch after I had to modify it [1].
> 
> 
>> [1] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=243247

Ah, there is no gcc-7 branch yet. So we actually won't need this
patch but just an updated gcc snapshot for the next upload :).

The patch can then be dropped from the Debian package.

Thanks,

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#846872: gcc-7: FTBFS on m68k - fails to apply ada-m68k.diff patch

2016-12-05 Thread John Paul Adrian Glaubitz
On 12/04/2016 06:33 PM, John Paul Adrian Glaubitz wrote:
> OK, attaching the updated patch which applies cleanly.

gcc upstream just merged the patch after I had to modify it [1].

Attaching the updated version.

Thanks,
Adrian

> [1] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=243247

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>From a781b869f0307566f58d372f6b1b28dd260dcf17 Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz 
Date: Mon, 5 Dec 2016 12:17:09 +0100
Subject: [PATCH] 2011-10-12  Mikael Pettersson  

PR ada/48835
* gcc-interface/Makefile.in: Add support for m68k-linux.
* system-linux-m68k.ads: New file based on system-linux-ppc.ads
and system-vxworks-m68k.ads.

2016-12-05 John Paul Adrian Glaubitz 

* Update for gcc-7.
---
 gcc/ada/gcc-interface/Makefile.in |  29 +++
 gcc/ada/system-linux-m68k.ads | 155 ++
 2 files changed, 184 insertions(+)
 create mode 100644 gcc/ada/system-linux-m68k.ads

diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
index ec8aa076cbb..98889c0f30f 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -2049,6 +2049,35 @@ ifeq ($(strip $(filter-out hppa% linux%,$(target_cpu) $(target_os))),)
   LIBRARY_VERSION := $(LIB_VERSION)
 endif
 
+# M68K Linux
+ifeq ($(strip $(filter-out m68k% linux%,$(target_cpu) $(target_os))),)
+  LIBGNAT_TARGET_PAIRS = \
+  a-intnam.adshttp://www.gnu.org/licenses/>.  --
+--  --
+-- GNAT was originally developed  by the GNAT team at  New York University. --
+-- Extensive contributions were provided by Ada Core Technologies Inc.  --
+--  --
+--
+
+package System is
+   pragma Pure;
+   --  Note that we take advantage of the implementation permission to make
+   --  this unit Pure instead of Preelaborable; see RM 13.7.1(15). In Ada
+   --  2005, this is Pure in any case (AI-362).
+
+   type Name is (SYSTEM_NAME_GNAT);
+   System_Name : constant Name := SYSTEM_NAME_GNAT;
+
+   --  System-Dependent Named Numbers
+
+   Min_Int   : constant := Long_Long_Integer'First;
+   Max_Int   : constant := Long_Long_Integer'Last;
+
+   Max_Binary_Modulus: constant := 2 ** Long_Long_Integer'Size;
+   Max_Nonbinary_Modulus : constant := 2 ** Integer'Size - 1;
+
+   Max_Base_Digits   : constant := Long_Long_Float'Digits;
+   Max_Digits: constant := Long_Long_Float'Digits;
+
+   Max_Mantissa  : constant := 63;
+   Fine_Delta: constant := 2.0 ** (-Max_Mantissa);
+
+   Tick  : constant := 0.000_001;
+
+   --  Storage-related Declarations
+
+   type Address is private;
+   pragma Preelaborable_Initialization (Address);
+   Null_Address : constant Address;
+
+   Storage_Unit : constant := 8;
+   Word_Size: constant := 32;
+   Memory_Size  : constant := 2 ** 32;
+
+   --  Address comparison
+
+   function "<"  (Left, Right : Address) return Boolean;
+   function "<=" (Left, Right : Address) return Boolean;
+   function ">"  (Left, Right : Address) return Boolean;
+   function ">=" (Left, Right : Address) return Boolean;
+   function "="  (Left, Right : Address) return Boolean;
+
+   pragma Import (Intrinsic, "<");
+   pragma Import (Intrinsic, "<=");
+   pragma Import (Intrinsic, ">");
+   pragma Import (Intrinsic, ">=");
+   pragma Import (Intrinsic, "=");
+
+   --  Other System-Dependent Declarations
+
+   type Bit_Order is (High_Order_First, Low_Order_First);
+   Default_Bit_Order : constant Bit_Order := High_Order_First;
+   pragma Warnings (Off, Default_Bit_Order); -- kill constant condition warning
+
+   --  Priority-related Declarations (RM D.1)
+
+   --  Is the following actually true for GNU/Linux/m68k?
+   --
+   --  0 .. 98 corresponds to the system priority range 1 .. 99.
+   --
+   --  If the scheduling policy is SCHED_FIFO or SCHED_RR the runtime makes use
+   --  of the entire range provided by the system.
+   --
+   --  If the scheduling policy is SCHED_OTHER the only valid system priority
+   --  is 1 and other values are simply ignored.
+
+   Max_Priority   : constant Positive := 97;
+   Max_Interrupt_Priority : constant Positive := 98;
+
+   subtype Any_Priority   is Integer  range  0 .. 98;
+   subtype Priority   is Any_Priority range  0 .. 97;
+   subtype Interrupt_Priority is Any_Priority range 98 .. 98;
+
+   Default_Priority : constant Priority := 48;
+
+private
+
+   type Address is mod Memory_Size;
+   Null_Address : constant Address := 0;
+
+   ---

Results for 5.4.1 20161202 (Debian 5.4.1-4) testsuite on x86_64-pc-kfreebsd-gnu

2016-12-05 Thread Matthias Klose
LAST_UPDATED: Fri Dec  2 18:51:34 UTC 2016 (revision 243202)

Target: x86_64-kfreebsd-gnu
gcc version 5.4.1 20161202 (Debian 5.4.1-4) 

Native configuration is x86_64-pc-kfreebsd-gnu

=== g++ tests ===


Running target unix
FAIL: g++.dg/abi/abi-tag19.C  -std=c++11  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/abi/abi-tag19.C  -std=c++14  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/abi/abi-tag19.C  -std=c++98  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++11  (test for errors, line 16)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++14  (test for errors, line 16)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -fomit-frame-pointer  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -g  line 23 p == 40
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++11 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++14 execution test

=== g++ Summary for unix ===

# of expected passes85006
# of unexpected failures10
# of unexpected successes   2
# of expected failures  286
# of unsupported tests  3607

Running target unix/-fstack-protector
FAIL: g++.dg/abi/abi-tag19.C  -std=c++11  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/abi/abi-tag19.C  -std=c++14  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/abi/abi-tag19.C  -std=c++98  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++11  (test for errors, line 16)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++14  (test for errors, line 16)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -fomit-frame-pointer  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -g  line 23 p == 40
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++11 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++14 execution test

=== g++ Summary for unix/-fstack-protector ===

# of expected passes85006
# of unexpected failures10
# of unexpected successes   2
# of expected failures  286
# of unsupported tests  3607

=== g++ Summary ===

# of expected passes170012
# of unexpected failures20
# of unexpected successes   4
# of expected failures  572
# of unsupported tests  7214
/build/gcc-5-DHwUJF/gcc-5-5.4.1/build/gcc/xg++  version 5.4.1 20161202 (Debian 
5.4.1-4) 

=== gcc tests ===


Running target unix
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/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 -fomit-frame-pointer  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.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   -O3 -fomit-frame-pointer  execution test
XPASS: gcc.dg/guality/inline-params.c   -O3 -g  execution test
XPASS: gcc.dg/guality/inline-params.c   -Os  execution test
XPASS: gcc.dg/guality/pr41353-1.c   -O0  line 28 j == 28 + 37
FAIL: gcc.dg/guality/pr41616-1.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
FAIL: gcc.dg/guality/pr43051-1.c   -O2  line 35 v == 1
FAIL: gcc.dg/guality/pr43051-1.c   -O2  line 36 e == &a[1]
FAIL: gcc.dg/guality/pr43051-1.c   -O2  line 39 c == &a[0]
FAIL: gcc.dg/guality/pr43051-1.c   -O2  line 40 v == 1
FAIL: gcc.dg/guality/pr43051-1.c   -O2  line 41 e == &a[1]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 35 v == 1
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 36 e == &a[1]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 39 c == &a[0]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 40 v == 1
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=no

Results for 5.4.1 20161202 (Debian 5.4.1-4) testsuite on i686-pc-gnu

2016-12-05 Thread Matthias Klose
LAST_UPDATED: Fri Dec  2 18:51:34 UTC 2016 (revision 243202)

Target: i686-gnu
gcc version 5.4.1 20161202 (Debian 5.4.1-4) 

Native configuration is i686-pc-gnu

=== g++ tests ===


Running target unix
FAIL: g++.dg/abi/abi-tag19.C  -std=c++98  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/abi/abi-tag19.C  -std=c++11  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/abi/abi-tag19.C  -std=c++14  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/cdce3.C  -std=gnu++98 execution test
FAIL: g++.dg/cdce3.C  -std=gnu++11 execution test
FAIL: g++.dg/cdce3.C  -std=gnu++14 execution test
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++11  (test for errors, line 16)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++14  (test for errors, line 16)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/eh/sighandle.C  -std=gnu++98 execution test
FAIL: g++.dg/eh/sighandle.C  -std=gnu++11 execution test
FAIL: g++.dg/eh/sighandle.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++14 execution test
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -fomit-frame-pointer  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -g  line 23 p == 40
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++11 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++14 execution test
FAIL: g++.dg/tls/thread_local3.C  -std=gnu++11 execution test
FAIL: g++.dg/tls/thread_local3.C  -std=gnu++14 execution test
FAIL: g++.dg/tls/thread_local3g.C  -std=gnu++11 execution test
FAIL: g++.dg/tls/thread_local3g.C  -std=gnu++14 execution test
FAIL: g++.dg/tls/thread_local4.C  -std=gnu++11 execution test
FAIL: g++.dg/tls/thread_local4.C  -std=gnu++14 execution test
FAIL: g++.dg/tls/thread_local4g.C  -std=gnu++11 execution test
FAIL: g++.dg/tls/thread_local4g.C  -std=gnu++14 execution test
FAIL: g++.dg/tls/thread_local5.C  -std=gnu++11 execution test
FAIL: g++.dg/tls/thread_local5.C  -std=gnu++14 execution test
FAIL: g++.dg/tls/thread_local5g.C  -std=gnu++11 execution test
FAIL: g++.dg/tls/thread_local5g.C  -std=gnu++14 execution test

=== g++ Summary for unix ===

# of expected passes84382
# of unexpected failures43
# of unexpected successes   2
# of expected failures  286
# of unsupported tests  3300

Running target unix/-fstack-protector
FAIL: g++.dg/abi/abi-tag19.C  -std=c++98  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/abi/abi-tag19.C  -std=c++11  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/abi/abi-tag19.C  -std=c++14  scan-assembler _ZN1YIiE1fB1aEv
FAIL: g++.dg/cdce3.C  -std=gnu++98 execution test
FAIL: g++.dg/cdce3.C  -std=gnu++11 execution test
FAIL: g++.dg/cdce3.C  -std=gnu++14 execution test
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++11  (test for errors, line 16)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++14  (test for errors, line 16)
FAIL: g++.dg/cpp0x/lambda/lambda-70218.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/eh/sighandle.C  -std=gnu++98 execution test
FAIL: g++.dg/eh/sighandle.C  -std=gnu++11 execution test
FAIL: g++.dg/eh/sighandle.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++14 execution 

Processed: mark autoconf2.64 Multi-Arch: foreign

2016-12-05 Thread Debian Bug Tracking System
Processing control commands:

> affects -1 + src:gcc-5 src:gcc-6 src:gcc-arm-none-eabi src:gcc-avr 
> src:gcc-snapshot src:kyototycoon
Bug #847123 [autoconf2.64] mark autoconf2.64 Multi-Arch: foreign
Added indication that 847123 affects src:gcc-5, src:gcc-6, 
src:gcc-arm-none-eabi, src:gcc-avr, src:gcc-snapshot, and src:kyototycoon

-- 
847123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847123
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#847123: mark autoconf2.64 Multi-Arch: foreign

2016-12-05 Thread Helmut Grohne
Package: autoconf2.64
Version: 2.64+dfsg-0.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:gcc-5 src:gcc-6 src:gcc-arm-none-eabi src:gcc-avr 
src:gcc-snapshot src:kyototycoon

The packages listed above fail to satisfy their cross build
dependencies, because their dependency on autoconf2.64 is unsatisfiable.
In general, Architecture: all packages can never satisfy cross
Build-Depends unless marked Multi-Arch: foreign. In this case, such a
marking is correct, because autoconf2.64 does not have any maintainer
scripts and it does not expose any of its dependencies:
 * m4 is Multi-Arch: foreign
 * debianutils is Multi-Arch: foreign
 * autoconf is Multi-Arch: foreign
 * perl is Multi-Arch: allowed
 * libfile-temp-perl is provided by perl-base, which is Multi-Arch: no
Thus it can only expose architecture awareness via perl, but perl is
only used for executing scripts as is done in e.g. autoconf.

Helmut
diff -u autoconf2.64-2.64+dfsg/debian/changelog 
autoconf2.64-2.64+dfsg/debian/changelog
--- autoconf2.64-2.64+dfsg/debian/changelog
+++ autoconf2.64-2.64+dfsg/debian/changelog
@@ -1,3 +1,10 @@
+autoconf2.64 (2.64+dfsg-0.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark autoconf2.64 Multi-Arch: foreign (Closes: #-1)
+
+ -- Helmut Grohne   Mon, 05 Dec 2016 20:39:56 +0100
+
 autoconf2.64 (2.64+dfsg-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u autoconf2.64-2.64+dfsg/debian/control 
autoconf2.64-2.64+dfsg/debian/control
--- autoconf2.64-2.64+dfsg/debian/control
+++ autoconf2.64-2.64+dfsg/debian/control
@@ -9,6 +9,7 @@
 
 Package: autoconf2.64
 Architecture: all
+Multi-Arch: foreign
 Depends: m4, debianutils (>= 1.8), autoconf (>= 2.50), perl, 
libfile-temp-perl, ${misc:Depends}
 Replaces: autoconf (<< 2.50)
 Conflicts: autoconf (<< 2.50)


cloog-ppl is marked for autoremoval from testing

2016-12-05 Thread Debian testing autoremoval watch
cloog-ppl 0.16.1-7 is marked for autoremoval from testing on 2017-01-04

It (build-)depends on packages with these RC bugs:
845030: swi-prolog: configure does not find libssl, builds without OpenSSL 
support