Bug#1057355: libmpfr6: major formatted output function bugs with %c and the value 0

2023-12-03 Thread Vincent Lefevre
Package: libmpfr6
Version: 4.2.0-1
Severity: grave
Tags: security upstream
Justification: user security hole
Forwarded: https://sympa.inria.fr/sympa/arc/mpfr/2023-12/msg0.html
X-Debbugs-Cc: Debian Security Team 

I've reported the following bug in the MPFR mailing-list. I think
I've fixed the issues on the MPFR side in master, but MPFR is still
affected by the bug on the GMP side (gmp_vasprintf):

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057344

The vasprintf.c code (for the formatted output functions) does not
handle null characters correctly. These characters can occur by
using %c with the value 0.

This is shown by the check_null tsprintf.c test:

  
https://gitlab.inria.fr/mpfr/mpfr/-/commit/78e72e6538fabc1b720d97e862ec45354e5c9c3f

The possible consequences are:
  - possible memory corruption with custom memory allocators that
do not ignore the size parameter of the "free" function;
  - a part of the buffer fails to be overwritten (with possible
security issues if the buffer contains sensitive data that
were expected to be overwritten);
  - an assertion failure when GNU MPFR has been configured with
assertion checking (--enable-assert).

Note that some of these issues partly come from a bug in gmp_vasprintf
(such as the incorrect return value), which I've reported here:

  https://gmplib.org/list-archives/gmp-bugs/2023-December/005420.html

I think that I have fixed these issues on the MPFR side with

  
https://gitlab.inria.fr/mpfr/mpfr/-/commit/390e51ef8570da4e338e9806ecaf2d022210d951

but the first two consequences remain due to the gmp_vasprintf bug.

-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-13-amd64 (SMP w/1 CPU thread; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libmpfr6 depends on:
ii  libc6 2.36-9+deb12u3
ii  libgmp10  2:6.2.1+dfsg1-1.1

libmpfr6 recommends no packages.

libmpfr6 suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Results for 13.2.0 (Debian 13.2.0-8) testsuite on s390x-ibm-linux-gnu

2023-12-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-13.2.0 revision 
c891d8dc23e1a46ad9f3e757d09e57b500d40044

=== acats tests ===
FAIL:   cb1010a

=== acats Summary ===
# of expected passes2327
# of unexpected failures1
Native configuration is s390x-ibm-linux-gnu

=== g++ tests ===


Running target unix
FAIL: g++.dg/asan/function-argument-3.C   -O0  execution test
FAIL: g++.dg/asan/function-argument-3.C   -O1  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -O2  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -O3 -g  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -Os  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: g++.dg/contracts/contracts-tmpl-spec2.C   output pattern test
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++20 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++20 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++20 (test for 
excess errors)
FAIL: g++.dg/gomp/tls-5.C  -std=c++14  scan-assembler-not .data
FAIL: g++.dg/gomp/tls-5.C  -std=c++17  scan-assembler-not .data
FAIL: g++.dg/gomp/tls-5.C  -std=c++20  scan-assembler-not .data
FAIL: g++.dg/guality/pr55665.C   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 23 p == 40
FAIL: g++.dg/tls/thread_local7.C  -std=c++14  scan-assembler-not .data
FAIL: g++.dg/tls/thread_local7.C  -std=c++17  scan-assembler-not .data
FAIL: g++.dg/tls/thread_local7.C  -std=c++20  scan-assembler-not .data
FAIL: g++.dg/tls/thread_local7g.C  -std=c++14  scan-assembler-not .data
FAIL: g++.dg/tls/thread_local7g.C  -std=c++17  scan-assembler-not .data
FAIL: g++.dg/tls/thread_local7g.C  -std=c++20  scan-assembler-not .data
FAIL: c-c++-common/tsan/tls_race.c   -O0  output pattern test
FAIL: c-c++-common/tsan/tls_race.c   -O2  output pattern test

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

# of expected passes234608
# of unexpected failures34
# of expected failures  1952
# of unsupported tests  11046

Running target unix/-fstack-protector
FAIL: g++.dg/asan/function-argument-3.C   -O0  execution test
FAIL: g++.dg/asan/function-argument-3.C   -O1  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -O2  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -O3 -g  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -Os  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  output pattern test
FAIL: g++.dg/asan/function-argument-3.C   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  output pattern test
FAIL: g++.dg/contracts/contracts-tmpl-spec2.C   output pattern test
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++20 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++20 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++17 (test for 
excess 

Results for 13.2.0 (Debian 13.2.0-8) testsuite on powerpc64le-unknown-linux-gnu

2023-12-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-13.2.0 revision 
c891d8dc23e1a46ad9f3e757d09e57b500d40044

=== acats tests ===

=== acats Summary ===
# of expected passes2328
# of unexpected failures0
Native configuration is powerpc64le-unknown-linux-gnu

=== g++ tests ===


Running target unix
FAIL: g++.dg/contracts/contracts-tmpl-spec2.C   output pattern test
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++20 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++20 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++20 (test for 
excess errors)

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

# of expected passes234783
# of unexpected failures15
# of expected failures  1953
# of unsupported tests  11022

Running target unix/-fstack-protector
FAIL: g++.dg/contracts/contracts-tmpl-spec2.C   output pattern test
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++20 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++20 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++20 (test for 
excess errors)

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

# of expected passes234783
# of unexpected failures15
# of expected failures  1953
# of unsupported tests  11022

=== g++ Summary ===

# of expected passes469566
# of unexpected failures30
# of expected failures  3906
# of unsupported tests  22044
/build/reproducible-path/gcc-13-13.2.0/build/gcc/xg++  version 13.2.0 (Debian 
13.2.0-8) 

=== gcc tests ===


Running target unix
XPASS: gcc.dg/Wtrampolines.c standard descriptors (test for warnings, line 29)
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O1  -DPREVENT_OPTIMIZATION  execution test
XPASS: gcc.dg/guality/example.c  -Og -DPREVENT_OPTIMIZATION  execution test
XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  -DPREVENT_OPTIMIZATION execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O1  -DPREVENT_OPTIMIZATION  execution test
XPASS: gcc.dg/guality/guality.c   -O2  -DPREVENT_OPTIMIZATION  execution test
XPASS: gcc.dg/guality/guality.c   -O3 -g  -DPREVENT_OPTIMIZATION  execution test
XPASS: gcc.dg/guality/guality.c   -Os  -DPREVENT_OPTIMIZATION  execution test
XPASS: gcc.dg/guality/guality.c  -Og -DPREVENT_OPTIMIZATION  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  -DPREVENT_OPTIMIZATION execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  -DPREVENT_OPTIMIZATION execution test
XPASS: gcc.dg/guality/inline-params.c   -O2  -DPREVENT_OPTIMIZATION  execution 
test
XPASS: gcc.dg/guality/inline-params.c   -O3 -g  -DPREVENT_OPTIMIZATION  
execution test
XPASS: gcc.dg/guality/inline-params.c   -Os  -DPREVENT_OPTIMIZATION  execution 
test

Results for 13.2.0 (Debian 13.2.0-8) testsuite on i686-pc-linux-gnu

2023-12-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-13.2.0 revision 
c891d8dc23e1a46ad9f3e757d09e57b500d40044

=== acats tests ===
FAIL:   cxaa009

=== acats Summary ===
# of expected passes2327
# of unexpected failures1
Native configuration is i686-pc-linux-gnu

=== g++ tests ===


Running target unix
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/pr58245-1.C  -std=gnu++98  scan-assembler-times stack_chk_fail 1
FAIL: g++.dg/pr58245-1.C  -std=gnu++14  scan-assembler-times stack_chk_fail 1
FAIL: g++.dg/pr58245-1.C  -std=gnu++17  scan-assembler-times stack_chk_fail 1
FAIL: g++.dg/pr58245-1.C  -std=gnu++20  scan-assembler-times stack_chk_fail 1
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++20 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++20 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-loop-g.c  -std=c++98 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-loop-g.c  -std=c++14 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-loop-g.c  -std=c++17 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-loop-g.c  -std=c++20 (test for excess errors)
FAIL: g++.dg/guality/pr55665.C   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 23 p == 40

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

# of expected passes235217
# of unexpected failures23
# of expected failures  2064
# of unsupported tests  10418

Running target unix/-fstack-protector
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp0x/vt-88982.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp1y/auto-fn61.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/pr58245-1.C  -std=gnu++98  scan-assembler-times stack_chk_fail 1
FAIL: g++.dg/pr58245-1.C  -std=gnu++14  scan-assembler-times stack_chk_fail 1
FAIL: g++.dg/pr58245-1.C  -std=gnu++17  scan-assembler-times stack_chk_fail 1
FAIL: g++.dg/pr58245-1.C  -std=gnu++20  scan-assembler-times stack_chk_fail 1
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-3.c  -std=c++20 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++98 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++14 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++17 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-4.c  -std=c++20 (test for 
excess errors)
FAIL: c-c++-common/goacc/kernels-loop-g.c  -std=c++98 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-loop-g.c  -std=c++14 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-loop-g.c  -std=c++17 (test for excess errors)
FAIL: c-c++-common/goacc/kernels-loop-g.c  -std=c++20 (test for excess errors)
FAIL: g++.dg/guality/pr55665.C   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  line 23 p == 40

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

# of expected passes235217
# of unexpected failures23
# of expected failures  2064
# of unsupported tests  10418

=== g++ Summary ===

# of expected passes470434
# of unexpected failures46
# of expected failures  4128
# of unsupported tests  20836
/build/reproducible-path/gcc-13-13.2.0/build/gcc/xg++  version 13.2.0 (Debian 
13.2.0-8) 

=== gcc tests ===


Running target unix
FAIL: gcc.dg/memcpy-6.c  (test for 

Results for 13.2.0 (Debian 13.2.0-8) testsuite on arm-unknown-linux-gnueabihf

2023-12-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-13.2.0 revision 
c891d8dc23e1a46ad9f3e757d09e57b500d40044

Native configuration is arm-unknown-linux-gnueabihf

=== libatomic tests ===


Running target unix

=== libatomic Summary for unix ===

# of expected passes44
# of unsupported tests  5

Running target unix/-fstack-protector

=== libatomic Summary for unix/-fstack-protector ===

# of expected passes44
# of unsupported tests  5

=== libatomic Summary ===

# of expected passes88
# of unsupported tests  10
=== libffi tests ===


Running target unix

=== libffi Summary for unix ===

# of expected passes1574

Running target unix/-fstack-protector

=== libffi Summary for unix/-fstack-protector ===

# of expected passes1574

=== libffi Summary ===

# of expected passes3148
=== libgo tests ===


Running target unix
FAIL: go/types
FAIL: os
FAIL: os/signal
FAIL: runtime
FAIL: runtime/debug
FAIL: runtime/pprof

=== libgo Summary ===

# of expected passes190
# of unexpected failures6
/build/reproducible-path/gcc-13-13.2.0/build/./gcc/gccgo version 13.2.0 (Debian 
13.2.0-8)

=== libgomp tests ===


Running target unix
FAIL: libgomp.c++/../libgomp.c-c++-common/icv-8.c output pattern test
FAIL: libgomp.c/../libgomp.c-c++-common/icv-8.c output pattern test

=== libgomp Summary for unix ===

# of expected passes15139
# of unexpected failures2
# of expected failures  285
# of unsupported tests  676

Running target unix/-fstack-protector
FAIL: libgomp.c++/../libgomp.c-c++-common/icv-8.c output pattern test
FAIL: libgomp.c/../libgomp.c-c++-common/icv-8.c output pattern test

=== libgomp Summary for unix/-fstack-protector ===

# of expected passes15139
# of unexpected failures2
# of expected failures  285
# of unsupported tests  676

=== libgomp Summary ===

# of expected passes30278
# of unexpected failures4
# of expected failures  570
# of unsupported tests  1352
=== libphobos tests ===


Running target unix
FAIL: libphobos.exceptions/rt_trap_exceptions.d output pattern test
FAIL: libphobos.phobos/std/complex.d execution test
FAIL: 
libphobos.phobos/std/experimental/allocator/building_blocks/kernighan_ritchie.d 
execution test
FAIL: libphobos.phobos/std/experimental/allocator/mmap_allocator.d execution 
test
FAIL: libphobos.phobos/std/format/internal/floats.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/format/internal/floats.d compilation failed to 
produce executable
FAIL: libphobos.phobos/std/format/internal/write.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/format/internal/write.d compilation failed to 
produce executable
FAIL: libphobos.phobos/std/math/hardware.d execution test
FAIL: libphobos.phobos/std/math/operations.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/math/operations.d compilation failed to 
produce executable
FAIL: libphobos.phobos_shared/std/complex.d execution test
FAIL: 
libphobos.phobos_shared/std/experimental/allocator/building_blocks/kernighan_ritchie.d
 execution test
FAIL: libphobos.phobos_shared/std/experimental/allocator/mmap_allocator.d 
execution test
FAIL: libphobos.phobos_shared/std/experimental/allocator/showcase.d execution 
test
FAIL: libphobos.phobos_shared/std/format/internal/floats.d (test for excess 
errors)
UNRESOLVED: libphobos.phobos_shared/std/format/internal/floats.d compilation 
failed to produce executable
FAIL: libphobos.phobos_shared/std/format/internal/write.d (test for excess 
errors)
UNRESOLVED: libphobos.phobos_shared/std/format/internal/write.d compilation 
failed to produce executable
FAIL: libphobos.phobos_shared/std/math/hardware.d execution test
FAIL: libphobos.phobos_shared/std/math/operations.d (test for excess errors)
UNRESOLVED: libphobos.phobos_shared/std/math/operations.d compilation failed to 
produce executable

=== libphobos Summary for unix ===

# of expected passes1035
# of unexpected failures16
# of unresolved testcases   6
# of unsupported tests  2

Running target unix/-fstack-protector
FAIL: libphobos.exceptions/rt_trap_exceptions.d output pattern test
FAIL: libphobos.phobos/std/complex.d execution test
FAIL: 
libphobos.phobos/std/experimental/allocator/building_blocks/kernighan_ritchie.d 
execution test
FAIL: libphobos.phobos/std/experimental/allocator/mmap_allocator.d execution 
test
FAIL: libphobos.phobos/std/format/internal/floats.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/format/internal/floats.d compilation failed to 
produce executable
FAIL: 

Results for 13.2.0 (Debian 13.2.0-8) testsuite on arm-unknown-linux-gnueabi

2023-12-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-13.2.0 revision 
c891d8dc23e1a46ad9f3e757d09e57b500d40044

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 passes1574
=== libgo tests ===


Running target unix
FAIL: go/types
FAIL: os
FAIL: sync/atomic

=== libgo Summary ===

# of expected passes193
# of unexpected failures3
/build/reproducible-path/gcc-13-13.2.0/build/./gcc/gccgo version 13.2.0 (Debian 
13.2.0-8)

=== libgomp tests ===


Running target unix
FAIL: libgomp.c++/../libgomp.c-c++-common/icv-8.c output pattern test
FAIL: libgomp.c/../libgomp.c-c++-common/icv-8.c output pattern test

=== libgomp Summary ===

# of expected passes15139
# of unexpected failures2
# of expected failures  285
# of unsupported tests  676
=== libphobos tests ===


Running target unix
FAIL: libphobos.druntime/object.d (test for excess errors)
FAIL: libphobos.druntime_shared/object.d (test for excess errors)
FAIL: libphobos.exceptions/rt_trap_exceptions.d output pattern test
FAIL: libphobos.phobos/std/algorithm/searching.d (test for excess errors)
FAIL: libphobos.phobos/std/algorithm/sorting.d (test for excess errors)
FAIL: libphobos.phobos/std/complex.d execution test
FAIL: libphobos.phobos/std/concurrency.d (test for excess errors)
FAIL: libphobos.phobos/std/encoding.d (test for excess errors)
FAIL: 
libphobos.phobos/std/experimental/allocator/building_blocks/bitmapped_block.d 
(test for excess errors)
FAIL: 
libphobos.phobos/std/experimental/allocator/building_blocks/fallback_allocator.d
 (test for excess errors)
FAIL: libphobos.phobos/std/experimental/allocator/building_blocks/free_list.d 
(test for excess errors)
FAIL: libphobos.phobos/std/experimental/allocator/building_blocks/free_tree.d 
(test for excess errors)
FAIL: 
libphobos.phobos/std/experimental/allocator/building_blocks/kernighan_ritchie.d 
execution test
FAIL: libphobos.phobos/std/experimental/allocator/gc_allocator.d (test for 
excess errors)
FAIL: libphobos.phobos/std/experimental/allocator/package.d (test for excess 
errors)
FAIL: libphobos.phobos/std/format/internal/floats.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/format/internal/floats.d compilation failed to 
produce executable
FAIL: libphobos.phobos/std/format/internal/write.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/format/internal/write.d compilation failed to 
produce executable
FAIL: libphobos.phobos/std/functional.d (test for excess errors)
FAIL: libphobos.phobos/std/math/exponential.d execution test
FAIL: libphobos.phobos/std/math/operations.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/math/operations.d compilation failed to 
produce executable
FAIL: libphobos.phobos/std/math/traits.d execution test
FAIL: libphobos.phobos/std/random.d (test for excess errors)
FAIL: libphobos.phobos/std/range/package.d (test for excess errors)
FAIL: libphobos.phobos/std/regex/internal/ir.d (test for excess errors)
FAIL: libphobos.phobos/std/regex/package.d (test for excess errors)
FAIL: libphobos.phobos/std/stdio.d (test for excess errors)
FAIL: libphobos.phobos/std/typecons.d (test for excess errors)
FAIL: libphobos.phobos/std/uni/package.d (test for excess errors)
FAIL: libphobos.phobos_shared/std/algorithm/searching.d (test for excess errors)
FAIL: libphobos.phobos_shared/std/algorithm/sorting.d (test for excess errors)
FAIL: libphobos.phobos_shared/std/complex.d execution test
FAIL: libphobos.phobos_shared/std/concurrency.d (test for excess errors)
FAIL: libphobos.phobos_shared/std/encoding.d (test for excess errors)
FAIL: 
libphobos.phobos_shared/std/experimental/allocator/building_blocks/bitmapped_block.d
 (test for excess errors)
FAIL: 
libphobos.phobos_shared/std/experimental/allocator/building_blocks/fallback_allocator.d
 (test for excess errors)
FAIL: 
libphobos.phobos_shared/std/experimental/allocator/building_blocks/free_list.d 
(test for excess errors)
FAIL: 
libphobos.phobos_shared/std/experimental/allocator/building_blocks/free_tree.d 
(test for excess errors)
FAIL: 
libphobos.phobos_shared/std/experimental/allocator/building_blocks/kernighan_ritchie.d
 execution test
FAIL: libphobos.phobos_shared/std/experimental/allocator/gc_allocator.d (test 
for excess errors)
FAIL: libphobos.phobos_shared/std/experimental/allocator/mmap_allocator.d 
execution test
FAIL: libphobos.phobos_shared/std/experimental/allocator/package.d (test for 
excess errors)
FAIL: libphobos.phobos_shared/std/experimental/allocator/showcase.d execution 
test
FAIL: libphobos.phobos_shared/std/format/internal/floats.d (test for excess 
errors)

gcc-12_12.3.0-12_source.changes ACCEPTED into unstable

2023-12-03 Thread Debian FTP Masters
Thank you for your contribution to Debian.



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 03 Dec 2023 15:44:44 +0100
Source: gcc-12
Architecture: source
Version: 12.3.0-12
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Closes: 1056768
Changes:
 gcc-12 (12.3.0-12) unstable; urgency=medium
 .
   * Update to git 20231203 from the gcc-12 branch.
 - Fix PR tree-optimization/111917, PR middle-end/111818,
   PR tree-optimization/111614, PR tree-optimization/111764,
   PR tree-optimization/111445, PR tree-optimization/111019,
   PR tree-optimization/110702, PR tree-optimization/110556,
   PR tree-optimization/110515, PR debug/110295, PR ipa/109983,
   PR tree-optimization/109143, PR target/112672 (x86),
   PR target/111815 (vax), PR target/111828 (PPC), PR target/112443 (x86),
   PR c++/111703, PR c++/107939, PR c++/112269, PR c++/112301,
   PR c++/102191, PR c++/33799, PR d/110712, PR d/112270,
   PR fortran/111880, PR libstdc++/112491, PR libstdc++/112348,
   PR libstdc++/112491, PR libbacktrace/111315, PR libbacktrace/112263.
   * Add support to build from a combined binutils/GCC tree.
   * Remove references to obsolete CPUs m32r and tilegx. Closes: #1056768.
Checksums-Sha1:
 d53ddca1468e3400b3ea497761cc2b8f632a363b 21870 gcc-12_12.3.0-12.dsc
 f7e940ca9c6e58e46b73990c4cd7d38ca9122975 854644 gcc-12_12.3.0-12.debian.tar.xz
 f5566ac7b0baf0962823d862d07033dd33aa4f31 9637 gcc-12_12.3.0-12_source.buildinfo
Checksums-Sha256:
 e4cfc5d85b2530a198495f424cb111c20c150ac2e7531a1641cdf3a93a9a9584 21870 
gcc-12_12.3.0-12.dsc
 d7402ca44b6318efe90414234de11fad35a2b7ad443e8550cf945a8a23133ef0 854644 
gcc-12_12.3.0-12.debian.tar.xz
 f8e28d9ae69f0ec54e9287f8807a9a8f7832585ef9f342806c1540e40eeb4cb9 9637 
gcc-12_12.3.0-12_source.buildinfo
Files:
 0c7189536dad0d66cea62907cbdada1e 21870 devel optional gcc-12_12.3.0-12.dsc
 1e9df406e639c36d405b00479486d55a 854644 devel optional 
gcc-12_12.3.0-12.debian.tar.xz
 f82289df0fdb31e01270287beaaf4a79 9637 devel optional 
gcc-12_12.3.0-12_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmVsmYcQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9Z4eEACWJuen5zbu20IzK+wHi7sUJhib2hNB104y
sPdTrNrWtqSDoMrfQ2kHz4UbjsKxkJnhaO0Zwouou18QMHm95D0VtanFTC3Rq4w6
nPWND2YaRE+NiK3G8dD4df2dFp0B+zsGTC8WVN+96DzJXwCvipwURzzB9W27Fpky
PpZPIqZADRD4UckjAQzIiWPYhzyMGJjXQfIOULyWtR1oe7ghEcnQ9R62JcNiZFPu
D+oFqxO2cpVG1AyC2ytEjZZJBtvhT2npyT08JhJ0VBve3mDexAS9eF7k8fQ0W0xM
hFcETbFjULzDsFiFdGRKcyKZvmLukgIGVYyQOG/AtZVgxV1kNZ9zRwZav7vJE4fV
DuWKCDyCXTIOYbCIxG6+J0atqPfym/BcpWSL2PKFO/jTnAbwkgFQTHTiXLtDVBH6
iYemKoPy9iAwYEE9lj90D8YjF761kTlFeyiO1AnD7hv177Q+V6r/NRtZQMOylpy6
DFA2NY+5mx8Um3jIEkXAF5kGMmVpyA7qAXBgWaG8JywPbw/4X26TpiZztsz9gH4n
Ipen/yebiedsuGGG0P74MYN6iB9eVclE3QKJ+U7u/0hR31XMm0V+6dYhnKut7gbx
q2r+aes32Y5Iu+t7JC0YSbl8KqErrrvcCcZH4dc/Wjcfq6NodxNfD/z4GE+kIm3c
V/C8JqPj0A==
=mDFZ
-END PGP SIGNATURE-



Bug#1056768: marked as done (gcc-12: Remove references to obsolete dpkg m32r and tilegx arches)

2023-12-03 Thread Debian Bug Tracking System
-12 (12.3.0-12) unstable; urgency=medium
 .
   * Update to git 20231203 from the gcc-12 branch.
 - Fix PR tree-optimization/111917, PR middle-end/111818,
   PR tree-optimization/111614, PR tree-optimization/111764,
   PR tree-optimization/111445, PR tree-optimization/111019,
   PR tree-optimization/110702, PR tree-optimization/110556,
   PR tree-optimization/110515, PR debug/110295, PR ipa/109983,
   PR tree-optimization/109143, PR target/112672 (x86),
   PR target/111815 (vax), PR target/111828 (PPC), PR target/112443 (x86),
   PR c++/111703, PR c++/107939, PR c++/112269, PR c++/112301,
   PR c++/102191, PR c++/33799, PR d/110712, PR d/112270,
   PR fortran/111880, PR libstdc++/112491, PR libstdc++/112348,
   PR libstdc++/112491, PR libbacktrace/111315, PR libbacktrace/112263.
   * Add support to build from a combined binutils/GCC tree.
   * Remove references to obsolete CPUs m32r and tilegx. Closes: #1056768.
Checksums-Sha1:
 d53ddca1468e3400b3ea497761cc2b8f632a363b 21870 gcc-12_12.3.0-12.dsc
 f7e940ca9c6e58e46b73990c4cd7d38ca9122975 854644 gcc-12_12.3.0-12.debian.tar.xz
 f5566ac7b0baf0962823d862d07033dd33aa4f31 9637 gcc-12_12.3.0-12_source.buildinfo
Checksums-Sha256:
 e4cfc5d85b2530a198495f424cb111c20c150ac2e7531a1641cdf3a93a9a9584 21870 
gcc-12_12.3.0-12.dsc
 d7402ca44b6318efe90414234de11fad35a2b7ad443e8550cf945a8a23133ef0 854644 
gcc-12_12.3.0-12.debian.tar.xz
 f8e28d9ae69f0ec54e9287f8807a9a8f7832585ef9f342806c1540e40eeb4cb9 9637 
gcc-12_12.3.0-12_source.buildinfo
Files:
 0c7189536dad0d66cea62907cbdada1e 21870 devel optional gcc-12_12.3.0-12.dsc
 1e9df406e639c36d405b00479486d55a 854644 devel optional 
gcc-12_12.3.0-12.debian.tar.xz
 f82289df0fdb31e01270287beaaf4a79 9637 devel optional 
gcc-12_12.3.0-12_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmVsmYcQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9Z4eEACWJuen5zbu20IzK+wHi7sUJhib2hNB104y
sPdTrNrWtqSDoMrfQ2kHz4UbjsKxkJnhaO0Zwouou18QMHm95D0VtanFTC3Rq4w6
nPWND2YaRE+NiK3G8dD4df2dFp0B+zsGTC8WVN+96DzJXwCvipwURzzB9W27Fpky
PpZPIqZADRD4UckjAQzIiWPYhzyMGJjXQfIOULyWtR1oe7ghEcnQ9R62JcNiZFPu
D+oFqxO2cpVG1AyC2ytEjZZJBtvhT2npyT08JhJ0VBve3mDexAS9eF7k8fQ0W0xM
hFcETbFjULzDsFiFdGRKcyKZvmLukgIGVYyQOG/AtZVgxV1kNZ9zRwZav7vJE4fV
DuWKCDyCXTIOYbCIxG6+J0atqPfym/BcpWSL2PKFO/jTnAbwkgFQTHTiXLtDVBH6
iYemKoPy9iAwYEE9lj90D8YjF761kTlFeyiO1AnD7hv177Q+V6r/NRtZQMOylpy6
DFA2NY+5mx8Um3jIEkXAF5kGMmVpyA7qAXBgWaG8JywPbw/4X26TpiZztsz9gH4n
Ipen/yebiedsuGGG0P74MYN6iB9eVclE3QKJ+U7u/0hR31XMm0V+6dYhnKut7gbx
q2r+aes32Y5Iu+t7JC0YSbl8KqErrrvcCcZH4dc/Wjcfq6NodxNfD/z4GE+kIm3c
V/C8JqPj0A==
=mDFZ
-END PGP SIGNATURE End Message ---


Processing of gcc-12_12.3.0-12_source.changes

2023-12-03 Thread Debian FTP Masters
gcc-12_12.3.0-12_source.changes uploaded successfully to localhost
along with the files:
  gcc-12_12.3.0-12.dsc
  gcc-12_12.3.0-12.debian.tar.xz
  gcc-12_12.3.0-12_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



gcc-11_11.4.0-6_source.changes ACCEPTED into unstable

2023-12-03 Thread Debian FTP Masters
Thank you for your contribution to Debian.



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 03 Dec 2023 15:19:11 +0100
Source: gcc-11
Architecture: source
Version: 11.4.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Closes: 1056767
Changes:
 gcc-11 (11.4.0-6) unstable; urgency=medium
 .
   * Update to git 20231203 from the gcc-11 branch.
 - Fix PR target/112672 (x86), PR target/111815 (vax), PR fortran/111880,
   PR libstdc++/112491, PR libstdc++/112491.
   * Add support to build from a combined binutils/GCC tree.
   * Remove references to obsolete CPUs m32r and tilegx. Closes: #1056767.
Checksums-Sha1:
 d27a2dd74d45231978cd9aed4255270d145a0921 22382 gcc-11_11.4.0-6.dsc
 d3bb558aa33dc571c96f4eab762bd28d26a8bd9c 606312 gcc-11_11.4.0-6.debian.tar.xz
 b9285637f8ccecc96e172f156093c9e7c79afed4 9492 gcc-11_11.4.0-6_source.buildinfo
Checksums-Sha256:
 ae00fd3b67335e22cb9dc6cc52748f33256cefdb936d7f95a6ae4d0702ac81d0 22382 
gcc-11_11.4.0-6.dsc
 d5bc51b48977abf3de853c207891be5bf1dd8375f20b57b26c7b5f6a1fb75e2f 606312 
gcc-11_11.4.0-6.debian.tar.xz
 faba1b256f7ff0302de31530282080305197ee83f2245e2fe3c17677d41efe8e 9492 
gcc-11_11.4.0-6_source.buildinfo
Files:
 7106c4954679a6563be0bcbfc6771850 22382 devel optional gcc-11_11.4.0-6.dsc
 d6265edd06776a2ef1744841acc0c974 606312 devel optional 
gcc-11_11.4.0-6.debian.tar.xz
 50cbd8209e3f001fb1a45684ac96994b 9492 devel optional 
gcc-11_11.4.0-6_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmVsktkQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9UaQD/0SExLyI8ljnJS05PAdl3okHPTdKM9PIITo
C3P1LyFLYCasLsq7jQKD5xakLqDUr8kNy13un8zBgwDujioHiFji6rDGRpSCCTbe
Wqv0KzZ6PQmr9QAZsAfK5dZ7/csAlL8qnHV1QmcEFSn1O2MrYJXpDE19rXES0nbB
F0ZeNH5uW7uAcIulx0zMwILF9dgqXxlIvYEVakUcUceri8KkeDBhpJup9wimZcVG
zYiDRkXNlj46VV2abKts/7RPKTORDJgt2EUztQ+MGTa7STiA798lDjdpU2MQ0y5I
UGJG9rTiOu7cUpek9LRmOACkC8co8ke55M1uZqU/udZ93KKHPprTHSCZ9vONhkf+
qc/QLAGLpao87AgoivjfCVZ0t+H6UpMekDcv8BMJ4DcLuNvdOgs2rcRZofRT/lpw
jrhUQk7BTrXlrHgZqNkH1HQFikXZd+AWp2rPrWbidoq4pnFAW0405+5IAQgNVOuo
9zV/Q5MQFqJk22nnXnqXJBSaWOOBqP7cy3iqmTQhKN4x8++gJvnWeZKFWDZO9dH6
izpj8wKP7gA8U3wuWOBFFh0xvPC/27EwZOJvNc5uO2v7eyBthyMKRFPP82HSxLkw
Kr6rw+FRml8CLmBWCtRdSDfYuyxLqHzfUkrvXPB8k5v5CWno39QgWltzvug4o8Mg
BLUejNPLsw==
=AFYr
-END PGP SIGNATURE-



Bug#1056767: marked as done (gcc-11: Remove references to obsolete dpkg m32r and tilegx arches)

2023-12-03 Thread Debian Bug Tracking System
Your message dated Sun, 03 Dec 2023 15:12:02 +
with message-id 
and subject line Bug#1056767: fixed in gcc-11 11.4.0-6
has caused the Debian Bug report #1056767,
regarding gcc-11: Remove references to obsolete dpkg m32r and tilegx arches
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.)


-- 
1056767: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056767
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-11
Source-Version: 11.4.0-5
Severity: important
Tags: patch

Hi!

Support for these arches got removed in dpkg 1.22.0, which means that
once the host running dak gets its dpkg upgraded to that version it
might start being unhappy about the unknown architectures.

Attached an untested patch that removes references to these obsolete
arches.

Thanks,
Guillem
From 774a10b382999154a50710417e1721805fea0fd0 Mon Sep 17 00:00:00 2001
From: Guillem Jover 
Date: Sun, 26 Nov 2023 00:16:51 +0100
Subject: [PATCH] Remove references to obsolete m32r and tilegx arches

Support for these arches got removed in dpkg 1.22.0, which means
that once the host running dak gets its dpkg upgraded to that version
it might start being unhappy about the unknown architectures.
---
 debian/control| 2 +-
 debian/rules.defs | 2 +-
 debian/rules2 | 4 
 3 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index cc329cd..d751261 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 9.20141010), dpkg-dev (>= 1.17.14), g++-multilib [a
   gperf (>= 3.0.1), bison (>= 1:2.3), flex, gettext, 
   gdb:native [!riscv64 !mipsel !mips64el], nvptx-tools [amd64 ppc64el], amdgcn-tools [amd64], 
   texinfo (>= 4.3), locales-all, sharutils, 
-  procps, gnat-11:native [!arc !ia64 !loong64 !m32r !sh3 !sh3eb !sh4eb !m68k], g++-11:native, netbase, python3:any, 
+  procps, gnat-11:native [!arc !ia64 !loong64 !sh3 !sh3eb !sh4eb !m68k], g++-11:native, netbase, python3:any, 
   libisl-dev (>= 0.20), libmpc-dev (>= 1.0), libmpfr-dev (>= 3.0.0-9~), libgmp-dev (>= 2:5.0.1~), lib32z1-dev [amd64 kfreebsd-amd64], lib64z1-dev [i386], unzip , 
   dejagnu  [!alpha !hurd-alpha] , coreutils (>= 2.26) | realpath (>= 1.9.12), chrpath, lsb-release, quilt, time, 
   pkg-config, libgc-dev, 
diff --git a/debian/rules.defs b/debian/rules.defs
index 494cfd1..4291a83 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -845,7 +845,7 @@ endif
 
 ifeq (,$(filter $(DEB_STAGE),stage1 stage2))
 # Ada 
-ada_no_cpus	:= arc ia64 loong64 m32r sh3 sh3eb sh4eb
+ada_no_cpus	:= arc ia64 loong64 sh3 sh3eb sh4eb
 ada_no_cpus	+= m68k   # https://gcc.gnu.org/PR98341
 ada_no_systems	:= 
 ada_no_cross	:= no
diff --git a/debian/rules2 b/debian/rules2
index 1a151c1..6b5f77a 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -545,10 +545,6 @@ ifneq (,$(findstring m68k-linux,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --disable-multilib
 endif
 
-ifneq (,$(filter tilegx,$(DEB_TARGET_GNU_CPU)))
-  CONFARGS += --disable-multilib
-endif
-
 ifneq (,$(findstring riscv64-linux,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --disable-multilib
   CONFARGS += --with-arch=rv64gc --with-abi=lp64d
-- 
2.42.0

--- End Message ---
--- Begin Message ---
Source: gcc-11
Source-Version: 11.4.0-6
Done: Matthias Klose 

We believe that the bug you reported is fixed in the latest version of
gcc-11, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1056...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose  (supplier of updated gcc-11 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 03 Dec 2023 15:19:11 +0100
Source: gcc-11
Architecture: source
Version: 11.4.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Closes: 1056767
Changes:
 gcc-11 (11.4.0-6) unstable; urgency=medium
 .
   * Update to git 20231203 from the gcc-11 branch.
 - Fix PR target/112672 (x86), PR target/111815 (vax), PR fortran/111880,
   PR libstdc++/112491, PR libstdc++/112491.
   * Add support to build from a combin

Processing of gcc-11_11.4.0-6_source.changes

2023-12-03 Thread Debian FTP Masters
gcc-11_11.4.0-6_source.changes uploaded successfully to localhost
along with the files:
  gcc-11_11.4.0-6.dsc
  gcc-11_11.4.0-6.debian.tar.xz
  gcc-11_11.4.0-6_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



Re: Enabling PAC/BTI support on arm64

2023-12-03 Thread Aurelien Jarno
Hi Emanuele,

On 2023-11-29 09:56, Emanuele Rocca wrote:
> Hi!
> 
> I would like to ask for suggestions about the best way to enable PAC/BTI
> support in glibc and GCC on Debian.
> 
> PAC and BTI are two useful Arm security features, see this recent
> presentation at the Mini Debconf for all details: [0]
> 
> In order to properly support PAC/BTI in Debian we need to enable support
> in both GCC and glibc. An executable is marked as BTI compatible only if
> all the execution units of the program are BTI compatible. See pages
> 10-11 on the presentation slides. [1]
> 
> One can easily verify if things work fine by building a test program as
> follows:
> 
>  gcc -mbranch-protection=standard -z force-bti /tmp/test.c
> 
> On systems where both GCC and glibc support PAC/BTI, the command above
> returns no output, and the resulting executable has "BTI, PAC" listed in
> the output of readelf -n:
> 
>  readelf -n a.out | grep Properties
> Properties: AArch64 feature: BTI, PAC
> 
> If PAC/BTI support is not enabled in GCC/glibc, building the program
> with -z force-bti returns something like:
> 
>   /usr/bin/ld: 
> /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/Scrt1.o: 
> warning: BTI turned on by -z force-bti when all inputs do not have BTI in 
> NOTE section.
>   /usr/bin/ld: 
> /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/crti.o: warning: 
> BTI turned on by -z force-bti when all inputs do not have BTI in NOTE section.
>   /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/crtbeginS.o: warning: BTI 
> turned on by -z force-bti when all inputs do not have BTI in NOTE section.
>   /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/crtendS.o: warning: BTI 
> turned on by -z force-bti when all inputs do not have BTI in NOTE section.
>   /usr/bin/ld: 
> /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/crtn.o: warning: 
> BTI turned on by -z force-bti when all inputs do not have BTI in NOTE section.
> 
> To add BTI to the NOTE section of the above, we would need to build both
> GCC and glibc with -mbranch-protection=standard. For gcc-13 I have
> proposed https://bugs.debian.org/1055711. Given that glibc in Debian is
> built with gcc-12, we will also need to build gcc-12 with
> -mbranch-protection=standard.

The plan is to switch to gcc-13 once we have glibc 2.38 in testing. I
hope to be able to push glibc 2.38 to unstable in the next weeks.

> When it comes to glibc itself, there is a configure check to enable BTI
> support [2], and it uses CFLAGS as passed to ./configure. I have done
> the following here on my arm64 machine:
> 
> - built gcc-12 with PAC/BTI (see #1055711)
> - built glibc with the PAC/BTI enabled gcc-12 and the attached patch

I have some comments about this patch (see below), but once I understand
it, I do no see any issue to enable this feature on the glibc side, and
I can propose a patch.

Is it necessary to wait for gcc-12 to be fixed before doing the change
on the glibc side?

> diff -Nru glibc-2.37/debian/rules glibc-2.37/debian/rules
> --- glibc-2.37/debian/rules   2023-10-02 22:29:12.0 +0200
> +++ glibc-2.37/debian/rules   2023-11-28 10:35:40.0 +0100
> @@ -112,6 +112,11 @@
>  BUILD_CFLAGS = -O2 -g -fdebug-prefix-map=$(CURDIR)=.
>  HOST_CFLAGS = -pipe -O2 -g -fdebug-prefix-map=$(CURDIR)=. $(call 
> xx,extra_cflags)
>  
> +ifeq ($(DEB_BUILD_ARCH),arm64)
> +HOST_CFLAGS += -mbranch-protection=standard
> +HOST_CXXFLAGS += -mbranch-protection=standard
> +endif

Given this change is arm64 specific, it would be better to move it to
debian/sysdeps/arm64.mk instead.

> diff -Nru glibc-2.37/debian/rules.d/build.mk 
> glibc-2.37/debian/rules.d/build.mk
> --- glibc-2.37/debian/rules.d/build.mk2023-10-02 22:29:12.0 
> +0200
> +++ glibc-2.37/debian/rules.d/build.mk2023-11-28 10:35:40.0 
> +0100
> @@ -97,6 +97,7 @@
>   echo -n "Build started: " ; date --rfc-2822; \
>   echo "---"; \
>   cd $(DEB_BUILDDIR) && \
> + $(if $(filter -mbranch-protection=standard,$(shell 
> dpkg-buildflags --get CFLAGS)),CFLAGS=-mbranch-protection=standard) \

I don't get why this is necessary with the changes in debian/rules. Also
here the branch protection is enabled depending on dpkg-buildflags while
in the debian/rules change, this is done unconditionally. Any reason for
that?

Also I am concerned with the use of dpkg-buildflags in the cross build
context, given that feature is arm64 specific. Is there any drawback in
enabling branch protection unconditionally?

Regards
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://aurel32.net



Bug#1032118: marked as done (riscv64: error: too few arguments to function 'long unsigned int __riscv_vsetvlmax_e8mf8(void)')

2023-12-03 Thread Debian Bug Tracking System
Your message dated Sun, 3 Dec 2023 11:46:14 +0100
with message-id <47b2fd31-a79b-46af-b169-9b5e5cd14...@debian.org>
and subject line fixed in recent uploads
has caused the Debian Bug report #1032118,
regarding riscv64: error: too few arguments to function 'long unsigned int 
__riscv_vsetvlmax_e8mf8(void)'
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.)


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

riscv64 intrisincs are currently broken.

% cat t.c
#include 

int main()
{
   size_t vl = __riscv_vsetvlmax_e8mf8();
   return vl;
}

Gives:

g++  -march=rv64gcv1p0   t.c
t.c: In function 'int main()':
t.c:5:39: error: too few arguments to function 'long unsigned int
__riscv_vsetvlmax_e8mf8(void)'
5 |size_t vl = __riscv_vsetvlmax_e8mf8();
  |~~~^~
In file included from t.c:1:
/usr/lib/gcc-snapshot/lib/gcc/riscv64-linux-gnu/13/include/riscv_vector.h:94:25:
note: declared here
   94 | #pragma riscv intrinsic "vector"
  | ^~~~
--- End Message ---
--- Begin Message ---

fixed in recent uploads--- End Message ---


Bug#988305: marked as done ([12 Regression] trunk 20210508 fails to build ada on x86_64-linux-gnux32)

2023-12-03 Thread Debian Bug Tracking System
Your message dated Sun, 3 Dec 2023 11:44:55 +0100
with message-id <9d69e9f1-1310-4c34-9749-ca07c3dd6...@debian.org>
and subject line fixed in recent builds
has caused the Debian Bug report #988305,
regarding [12 Regression] trunk 20210508 fails to build ada on 
x86_64-linux-gnux32
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.)


-- 
988305: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988305
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:gcc-snapshot
Version: 1:20210508-1
Severity: important
Forwarded: https://gcc.gnu.org/PR100488

trunk 20210508 fails to build ada on x86_64-linux-gnux32. See the upstream issue
for the details.
--- End Message ---
--- Begin Message ---

fixed in recent builds--- End Message ---