Bug#1027840: gcc-11: FTBFS on hurd-i386

2023-01-03 Thread Svante Signell
Source: gcc-11
Version: 11.3.0-10
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd
Affects: gcc-11, gcc-snapshot
X-Debbugs-CC: debian-h...@lists.debian.org

Hi,

gcc-11-11.3.0-10 in sid FTBFS on hurd-i386 due to failing linkage of
pthread_once (same error already fixed in gcc-12 and gcc-13):
/<>/build/i686-gnu/libstdc++-v3/include/i686-gnu/bits/gthr-
default.h:700: undefined reference to `pthread_once'
and more.

The patch at hand is: libstdc++-hurd.diff, attached here for convenience.

Thanks!

This is notably needed because in glibc 2.34, the move of pthread functions
into libc.so happened for Linux only, not GNU/Hurd.

The pthread_self() function can also always be used fine as it is on
GNU/Hurd.

libstdc++-v3/ChangeLog:

* config/os/gnu-linux/os_defines.h [!__linux__]
  (_GLIBCXX_NATIVE_THREAD_ID, _GLIBCXX_GTHREAD_USE_WEAK): Do not define.

--- a/libstdc++-v3/config/os/gnu-linux/os_defines.h
+++ b/libstdc++-v3/config/os/gnu-linux/os_defines.h
@@ -49,22 +49,24 @@
 // version dynamically in case it has changed since libstdc++ was configured.
 #define _GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC __GLIBC_PREREQ(2,23)
 
-#if __GLIBC_PREREQ(2, 27)
-// Since glibc 2.27 pthread_self() is usable without linking to libpthread.
-# define _GLIBCXX_NATIVE_THREAD_ID pthread_self()
-#else
+#ifdef __linux__
+# if __GLIBC_PREREQ(2, 27)
+// Since glibc 2.27 Linux' pthread_self() is usable without linking to libpthread.
+#  define _GLIBCXX_NATIVE_THREAD_ID pthread_self()
+# else
 // Before then it was in libc.so.6 but not libc.a, and always returns 0,
 // which breaks the invariant this_thread::get_id() != thread::id{}.
 // So only use it if we know the libpthread version is available.
 // Otherwise use (__gthread_t)1 as the ID of the main (and only) thread.
-# define _GLIBCXX_NATIVE_THREAD_ID \
-  (__gthread_active_p() ? __gthread_self() : (__gthread_t)1)
-#endif
+#  define _GLIBCXX_NATIVE_THREAD_ID \
+   (__gthread_active_p() ? __gthread_self() : (__gthread_t)1)
+# endif
 
-#if __GLIBC_PREREQ(2, 34)
-// Since glibc 2.34 all pthreads functions are usable without linking to
+# if __GLIBC_PREREQ(2, 34)
+// Since glibc 2.34 all Linux pthreads functions are usable without linking to
 // libpthread.
-# define _GLIBCXX_GTHREAD_USE_WEAK 0
+#  define _GLIBCXX_GTHREAD_USE_WEAK 0
+# endif
 #endif
 
 #endif


Intent to NMU elfutils to fix longstanding l10n bugs

2023-01-03 Thread Helge Kreutzmann
Hello Matthias,
hello Sergio,
I intend to NMU elfutils end of next week to fix longstanding l10n
bugs[1]. The changelog would be something like the following:

 elfutils (0.188-2.1) UNRELEASED; urgency=medium
 .
   * Non-maintainer upload.
   * Add debconf template translation
 - Dutch translation.
   Thanks to Frans Spiesschaert (Closes: #930953)
 - French translation.
   Thanks Jean-Pierre Giraud (Closes: #994667)
 - German translation.
   Thanks Helge Kreutzmann (Closes: #997891)
 - Portuguese translation.
   Thanks Américo Monteiro (Closes: #1001920)
 - Spanish translation.
   Thanks Camaleón (Closes: #1003517)
 - Brazilian Portuguese translation.
   Thanks Paulo Henrique de Lima Santana (Closes: #1025512)

Please tell me if you are currently preparing a new release yourself
and would like me to skip the NMU.

Greetings

 Helge

[1] https://i18n.debian.org/nmu-radar/nmu_bypackage.html

-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: PGP signature


Results for 10.4.0 (Debian 10.4.0-6) testsuite on powerpc64le-unknown-linux-gnu

2023-01-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-10.4.0 revision 
7ff47281ce4f3699185b06a3430968eac2a5b0c6

=== acats tests ===

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

=== g++ tests ===


Running target unix

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

# of expected passes193710
# of expected failures  914
# of unsupported tests  8709

Running target unix/-fstack-protector

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

# of expected passes193710
# of expected failures  914
# of unsupported tests  8709

=== g++ Summary ===

# of expected passes387420
# of expected failures  1828
# of unsupported tests  17418
/build/gcc-10-skBgJE/gcc-10-10.4.0/build/gcc/xg++  version 10.4.0 (Debian 
10.4.0-6) 

=== gcc tests ===


Running target unix
FAIL: gcc.dg/debug/dwarf2/pr97060.c scan-assembler-times DW_AT_declaration 2
XPASS: gcc.dg/Wtrampolines.c standard descriptors (test for warnings, line 29)
XPASS: gcc.dg/graphite/pr69728.c scan-tree-dump graphite "loop nest optimized"
FAIL: gcc.dg/torture/pr52451.c   -O0  execution test
FAIL: gcc.dg/torture/pr52451.c   -O1  execution test
FAIL: gcc.dg/torture/pr52451.c   -O2  execution test
FAIL: gcc.dg/torture/pr52451.c   -O3 -g  execution test
FAIL: gcc.dg/torture/pr52451.c   -Os  execution test
FAIL: gcc.dg/torture/pr52451.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
FAIL: gcc.dg/torture/pr52451.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
FAIL: gcc.dg/torture/pr91323.c   -O0  execution test
FAIL: gcc.dg/torture/pr91323.c   -O1  execution test
FAIL: gcc.dg/torture/pr91323.c   -O2  execution test
FAIL: gcc.dg/torture/pr91323.c   -O3 -g  execution test
FAIL: gcc.dg/torture/pr91323.c   -Os  execution test
FAIL: gcc.dg/torture/pr91323.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
FAIL: gcc.dg/torture/pr91323.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/tree-ssa/ssa-dom-cse-2.c scan-tree-dump optimized "return 28;"
FAIL: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times 
maddiM 6
FAIL: gcc.target/powerpc/rlwimi-2.c scan-assembler-times (?n)^s+[a-z] 20217
FAIL: gcc.target/powerpc/rlwimi-2.c scan-assembler-times (?n)^s+rldicl 6728
FAIL: gcc.target/powerpc/rlwimi-2.c scan-assembler-times (?n)^s+rlwimi 1692
FAIL: gcc.target/powerpc/rs6000-fpint.c scan-assembler-not stfiwx
FAIL: gcc.target/powerpc/vec-rlmi-rlnm.c scan-assembler-times xxlor 2
FAIL: gcc.target/powerpc/vsx-builtin-7.c scan-assembler-times xxpermdi 6
XPASS: gcc.target/powerpc/ppc-fortran/ieee128-math.f90   -O  (test for excess 
errors)

=== gcc Summary for unix ===

# of expected passes137087
# of unexpected failures26
# of unexpected successes   4
# of expected failures  784
# of unsupported tests  2684

Running target unix/-fstack-protector
FAIL: gcc.dg/debug/dwarf2/pr97060.c scan-assembler-times DW_AT_declaration 2
XPASS: gcc.dg/Wtrampolines.c standard descriptors (test for warnings, line 29)
FAIL: gcc.dg/stack-usage-1.c scan-stack-usage foo\\t(256|264)\\tstatic
FAIL: gcc.dg/superblock.c scan-rtl-dump-times sched2 "ADVANCING TO" 2
XPASS: gcc.dg/graphite/pr69728.c scan-tree-dump graphite "loop nest optimized"
FAIL: gcc.dg/torture/pr52451.c   -O0  execution test
FAIL: gcc.dg/torture/pr52451.c   -O1  execution test
FAIL: gcc.dg/torture/pr52451.c   -O2  execution test
FAIL: gcc.dg/torture/pr52451.c   -O3 -g  execution test
FAIL: gcc.dg/torture/pr52451.c   -Os  execution test
FAIL: gcc.dg/torture/pr52451.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
FAIL: gcc.dg/torture/pr52451.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
FAIL: gcc.dg/torture/pr91323.c   -O0  execution test
FAIL: gcc.dg/torture/pr91323.c   -O1  execution test
FAIL: gcc.dg/torture/pr91323.c   -O2  execution test
FAIL: gcc.dg/torture/pr91323.c   -O3 -g  execution test
FAIL: gcc.dg/torture/pr91323.c   -Os  execution test
FAIL: gcc.dg/torture/pr91323.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
FAIL: gcc.dg/torture/pr91323.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/tree-ssa/ssa-dom-cse-2.c scan-tree-dump optimized "return 28;"
FAIL: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times 
maddiM 6
FAIL: gcc.target/powerpc/fold-vec-extract-double.p7.c scan-assembler-times 
maddiM|maddM 2
FAIL: gcc.target/powerpc/fold-vec-extract-float.p7.c scan-assembler-times 
maddiM|maddM 2
FAIL: gcc.target/powerpc/fold-vec-extract-int.p7.c scan-assembler-times 
maddiM|maddM 9
FAIL: 

Results for 10.4.0 (Debian 10.4.0-6) testsuite on i686-pc-linux-gnu

2023-01-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-10.4.0 revision 
7ff47281ce4f3699185b06a3430968eac2a5b0c6

=== acats tests ===

=== acats Summary ===
# of expected passes2320
# of unexpected failures0
Native configuration is i686-pc-linux-gnu

=== brig tests ===


Running target unix

=== brig Summary ===

# of unsupported tests  1
=== g++ tests ===


Running target unix
FAIL: g++.dg/abi/anon1.C  -std=c++98  scan-assembler-not globl
FAIL: g++.dg/abi/anon1.C  -std=c++14  scan-assembler-not globl
FAIL: g++.dg/abi/anon1.C  -std=c++17  scan-assembler-not globl
FAIL: g++.dg/abi/anon1.C  -std=c++2a  scan-assembler-not globl
FAIL: g++.dg/abi/anon4.C  -std=c++98  scan-assembler-not comdat
FAIL: g++.dg/abi/anon4.C  -std=c++14  scan-assembler-not comdat
FAIL: g++.dg/abi/anon4.C  -std=c++17  scan-assembler-not comdat
FAIL: g++.dg/abi/anon4.C  -std=c++2a  scan-assembler-not comdat
FAIL: g++.dg/pr71694.C  -std=gnu++98  scan-assembler-not movl
FAIL: g++.dg/pr71694.C  -std=gnu++14  scan-assembler-not movl
FAIL: g++.dg/pr71694.C  -std=gnu++17  scan-assembler-not movl
FAIL: g++.dg/pr71694.C  -std=gnu++2a  scan-assembler-not movl
FAIL: g++.dg/stackprotectexplicit2.C  -std=gnu++98  scan-assembler-times 
stack_chk_fail 2
FAIL: g++.dg/stackprotectexplicit2.C  -std=gnu++14  scan-assembler-times 
stack_chk_fail 2
FAIL: g++.dg/stackprotectexplicit2.C  -std=gnu++17  scan-assembler-times 
stack_chk_fail 2
FAIL: g++.dg/stackprotectexplicit2.C  -std=gnu++2a  scan-assembler-times 
stack_chk_fail 2
FAIL: g++.dg/ubsan/vla-1.C   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
 execution test

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

# of expected passes193236
# of unexpected failures17
# of expected failures  910
# of unsupported tests  8190

Running target unix/-fstack-protector
FAIL: g++.dg/abi/anon1.C  -std=c++98  scan-assembler-not globl
FAIL: g++.dg/abi/anon1.C  -std=c++14  scan-assembler-not globl
FAIL: g++.dg/abi/anon1.C  -std=c++17  scan-assembler-not globl
FAIL: g++.dg/abi/anon1.C  -std=c++2a  scan-assembler-not globl
FAIL: g++.dg/abi/anon4.C  -std=c++98  scan-assembler-not comdat
FAIL: g++.dg/abi/anon4.C  -std=c++14  scan-assembler-not comdat
FAIL: g++.dg/abi/anon4.C  -std=c++17  scan-assembler-not comdat
FAIL: g++.dg/abi/anon4.C  -std=c++2a  scan-assembler-not comdat
FAIL: g++.dg/pr71694.C  -std=gnu++98  scan-assembler-not movl
FAIL: g++.dg/pr71694.C  -std=gnu++14  scan-assembler-not movl
FAIL: g++.dg/pr71694.C  -std=gnu++17  scan-assembler-not movl
FAIL: g++.dg/pr71694.C  -std=gnu++2a  scan-assembler-not movl
FAIL: g++.dg/stackprotectexplicit2.C  -std=gnu++98  scan-assembler-times 
stack_chk_fail 2
FAIL: g++.dg/stackprotectexplicit2.C  -std=gnu++14  scan-assembler-times 
stack_chk_fail 2
FAIL: g++.dg/stackprotectexplicit2.C  -std=gnu++17  scan-assembler-times 
stack_chk_fail 2
FAIL: g++.dg/stackprotectexplicit2.C  -std=gnu++2a  scan-assembler-times 
stack_chk_fail 2
FAIL: g++.dg/ubsan/vla-1.C   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
 execution test

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

# of expected passes193236
# of unexpected failures17
# of expected failures  910
# of unsupported tests  8190

=== g++ Summary ===

# of expected passes386472
# of unexpected failures34
# of expected failures  1820
# of unsupported tests  16380
/build/gcc-10-EPEatT/gcc-10-10.4.0/build/gcc/xg++  version 10.4.0 (Debian 
10.4.0-6) 

=== gcc tests ===


Running target unix
FAIL: gcc.dg/debug/dwarf2/pr97060.c scan-assembler-times DW_AT_declaration 2
FAIL: gcc.dg/sibcall-11.c scan-assembler jmp
FAIL: gcc.dg/torture/builtin-self.c   -O0   scan-assembler-not \\tcall
FAIL: gcc.target/i386/interrupt-11.c scan-assembler-not pushl[t ]*%ebx
FAIL: gcc.target/i386/interrupt-12.c scan-assembler-not (push|pop)(l|q)[t 
]*%(r|e)(b|c|d)x
FAIL: gcc.target/i386/interrupt-12.c scan-assembler-times movl[t 
]*-4(%ebp),[t ]*%eax 1
FAIL: gcc.target/i386/interrupt-13.c scan-assembler-not (push|pop)(l|q)[t 
]*%(r|e)(b|c|d)x
FAIL: gcc.target/i386/interrupt-13.c scan-assembler-times movl[t 
]*-4(%ebp),[t ]*%eax 1
FAIL: gcc.target/i386/interrupt-15.c scan-assembler-not (push|pop)(l|q)[t 
]*%(r|e)(b|c|d)x
FAIL: gcc.target/i386/interrupt-15.c scan-assembler-times movl[t 
]*-4(%ebp),[t ]*%eax 2
FAIL: gcc.target/i386/interrupt-16.c scan-assembler-not (push|pop)(l|q)[t 
]*%(r|e)(a|b|c|d)x
FAIL: gcc.target/i386/interrupt-17.c scan-assembler-not (push|pop)(l|q)[t 
]*%(r|e)(a|b|c|d)x
FAIL: gcc.target/i386/interrupt-8.c scan-assembler-not pushl[t ]*%ebx
FAIL: gcc.target/i386/mvc10.c (test for excess errors)
UNRESOLVED: gcc.target/i386/mvc10.c compilation failed to produce executable
FAIL: gcc.target/i386/pad-10.c 

Results for 10.4.0 (Debian 10.4.0-6) testsuite on arm-unknown-linux-gnueabihf

2023-01-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-10.4.0 revision 
7ff47281ce4f3699185b06a3430968eac2a5b0c6

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 passes2229

Running target unix/-fstack-protector

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

# of expected passes2229

=== libffi Summary ===

# of expected passes4458
=== libgo tests ===


Running target unix
FAIL: os
FAIL: runtime
FAIL: runtime/pprof

=== libgo Summary ===

# of expected passes170
# of unexpected failures3
/build/gcc-10-JKGTKJ/gcc-10-10.4.0/build/./gcc/gccgo version 10.4.0 (Debian 
10.4.0-6)

=== libgomp tests ===


Running target unix

=== libgomp Summary for unix ===

# of expected passes7708
# of expected failures  4
# of unsupported tests  602

Running target unix/-fstack-protector

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

# of expected passes7708
# of expected failures  4
# of unsupported tests  602

=== libgomp Summary ===

# of expected passes15416
# of expected failures  8
# of unsupported tests  1204
=== libphobos tests ===


Running target unix
FAIL: libphobos.druntime/core/thread.d execution test
FAIL: libphobos.phobos/std/math.d execution test
FAIL: libphobos.phobos_shared/std/math.d execution test

=== libphobos Summary for unix ===

# of expected passes749
# of unexpected failures3
# of unsupported tests  2

Running target unix/-fstack-protector
FAIL: libphobos.phobos/std/math.d execution test
FAIL: libphobos.phobos_shared/std/math.d execution test

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

# of expected passes750
# of unexpected failures2
# of unsupported tests  2

=== libphobos Summary ===

# of expected passes1499
# of unexpected failures5
# of unsupported tests  4
=== libstdc++ tests ===


Running target unix
FAIL: 22_locale/numpunct/members/char/3.cc execution test
FAIL: 22_locale/time_get/get_time/char/2.cc execution test
FAIL: 22_locale/time_get/get_time/char/wrapped_env.cc execution test
FAIL: 22_locale/time_get/get_time/char/wrapped_locale.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/2.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/wrapped_env.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc execution test

=== libstdc++ Summary for unix ===

# of expected passes14129
# of unexpected failures7
# of expected failures  112
# of unsupported tests  385

Running target unix/-fstack-protector
FAIL: 22_locale/numpunct/members/char/3.cc execution test
FAIL: 22_locale/time_get/get_time/char/2.cc execution test
FAIL: 22_locale/time_get/get_time/char/wrapped_env.cc execution test
FAIL: 22_locale/time_get/get_time/char/wrapped_locale.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/2.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/wrapped_env.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc execution test

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

# of expected passes14129
# of unexpected failures7
# of expected failures  112
# of unsupported tests  385

=== libstdc++ Summary ===

# of expected passes28258
# of unexpected failures14
# of expected failures  224
# of unsupported tests  770
=== acats tests ===

=== acats Summary ===
# of expected passes2320
# of unexpected failures0

=== 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   -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   -O2 -flto -fno-use-linker-plugin 

Results for 10.4.0 (Debian 10.4.0-6) testsuite on arm-unknown-linux-gnueabi

2023-01-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-10.4.0 revision 
7ff47281ce4f3699185b06a3430968eac2a5b0c6

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


Running target unix
FAIL: os
FAIL: runtime
FAIL: sync/atomic

=== libgo Summary ===

# of expected passes170
# of unexpected failures3
/build/gcc-10-WPdr6i/gcc-10-10.4.0/build/./gcc/gccgo version 10.4.0 (Debian 
10.4.0-6)

=== libgomp tests ===


Running target unix

=== libgomp Summary ===

# of expected passes7708
# of expected failures  4
# of unsupported tests  602
=== libphobos tests ===


Running target unix
FAIL: libphobos.druntime/object.d (test for excess errors)
FAIL: libphobos.druntime_shared/object.d (test for excess errors)
WARNING: libphobos.phobos/std/algorithm/searching.d (test for excess errors) 
program timed out.
FAIL: libphobos.phobos/std/algorithm/searching.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/algorithm/searching.d compilation failed to 
produce executable
FAIL: libphobos.phobos/std/algorithm/sorting.d (test for excess errors)
WARNING: libphobos.phobos/std/array.d (test for excess errors) program timed 
out.
FAIL: libphobos.phobos/std/array.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/array.d compilation failed to produce 
executable
WARNING: libphobos.phobos/std/conv.d (test for excess errors) program timed out.
FAIL: libphobos.phobos/std/conv.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/conv.d compilation failed to produce executable
WARNING: libphobos.phobos/std/datetime/date.d (test for excess errors) program 
timed out.
FAIL: libphobos.phobos/std/datetime/date.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/datetime/date.d compilation failed to produce 
executable
WARNING: libphobos.phobos/std/datetime/systime.d (test for excess errors) 
program timed out.
FAIL: libphobos.phobos/std/datetime/systime.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/datetime/systime.d compilation failed to 
produce executable
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/free_tree.d 
(test for excess errors)
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)
WARNING: libphobos.phobos/std/format.d (test for excess errors) program timed 
out.
FAIL: libphobos.phobos/std/format.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/format.d compilation failed to produce 
executable
FAIL: libphobos.phobos/std/functional.d (test for excess errors)
FAIL: libphobos.phobos/std/math.d execution test
FAIL: libphobos.phobos/std/net/isemail.d (test for excess errors)
FAIL: libphobos.phobos/std/random.d (test for excess errors)
WARNING: libphobos.phobos/std/range/package.d (test for excess errors) program 
timed out.
FAIL: libphobos.phobos/std/range/package.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/range/package.d compilation failed to produce 
executable
WARNING: libphobos.phobos/std/regex/internal/tests.d (test for excess errors) 
program timed out.
FAIL: libphobos.phobos/std/regex/internal/tests.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/regex/internal/tests.d compilation failed to 
produce executable
WARNING: libphobos.phobos/std/regex/package.d (test for excess errors) program 
timed out.
FAIL: libphobos.phobos/std/regex/package.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/regex/package.d compilation failed to produce 
executable
FAIL: libphobos.phobos/std/stdio.d (test for excess errors)
WARNING: libphobos.phobos/std/string.d (test for excess errors) program timed 
out.
FAIL: libphobos.phobos/std/string.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/string.d compilation failed to produce 
executable
WARNING: libphobos.phobos/std/uni.d (test for excess errors) program timed out.
FAIL: libphobos.phobos/std/uni.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/uni.d compilation failed to produce executable
WARNING: libphobos.phobos_shared/std/algorithm/searching.d (test for excess 
errors) program timed out.
FAIL: libphobos.phobos_shared/std/algorithm/searching.d (test for excess errors)
UNRESOLVED: libphobos.phobos_shared/std/algorithm/searching.d compilation 
failed to produce executable
FAIL: 

Results for 10.4.0 (Debian 10.4.0-6) testsuite on x86_64-pc-linux-gnu

2023-01-03 Thread Matthias Klose
LAST_UPDATED: Obtained from git: releases/gcc-10.4.0 revision 
7ff47281ce4f3699185b06a3430968eac2a5b0c6

=== acats tests ===

=== acats Summary ===
# of expected passes2320
# of unexpected failures0
Native configuration is x86_64-pc-linux-gnu

=== brig tests ===


Running target unix

=== brig Summary for unix ===

# of unsupported tests  1

Running target unix/-fstack-protector

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

# of unsupported tests  1

=== brig Summary ===

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


Running target unix
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-2.c  -std=c++98  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-2.c  -std=c++14  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-2.c  -std=c++17  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-2.c  -std=c++2a  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++98  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++98  
scan-tree-dump-times optimized "(?n)= *_[0-9];\$" 0
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++14  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++14  
scan-tree-dump-times optimized "(?n)= *_[0-9];\$" 0
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++17  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++17  
scan-tree-dump-times optimized "(?n)= *_[0-9];\$" 0
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++2a  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++2a  
scan-tree-dump-times optimized "(?n)= *_[0-9];\$" 0
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta.c  -std=c++98  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta.c  -std=c++14  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta.c  -std=c++17  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta.c  -std=c++2a  
scan-tree-dump-times optimized "(?n)= 0;\$" 2

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

# of expected passes195747
# of unexpected successes   16
# of expected failures  914
# of unsupported tests  8336

Running target unix/-fstack-protector
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-2.c  -std=c++98  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-2.c  -std=c++14  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-2.c  -std=c++17  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-2.c  -std=c++2a  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++98  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++98  
scan-tree-dump-times optimized "(?n)= *_[0-9];\$" 0
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++14  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++14  
scan-tree-dump-times optimized "(?n)= *_[0-9];\$" 0
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++17  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++17  
scan-tree-dump-times optimized "(?n)= *_[0-9];\$" 0
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++2a  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta-4.c  -std=c++2a  
scan-tree-dump-times optimized "(?n)= *_[0-9];\$" 0
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta.c  -std=c++98  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta.c  -std=c++14  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta.c  -std=c++17  
scan-tree-dump-times optimized "(?n)= 0;\$" 2
XPASS: c-c++-common/goacc/kernels-alias-ipa-pta.c  -std=c++2a  
scan-tree-dump-times optimized "(?n)= 0;\$" 2

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

# of expected passes195747
# of unexpected successes   16
# of expected failures  914
# of unsupported tests  8336

=== g++ Summary ===

# of expected passes391494
# of unexpected successes   32
# of expected failures  1828
# of unsupported tests  16672

Bug#1027456: gcc-10: gcc segfaults when compiling drivers/media/pci/cx18/cx18-i2c.c in Linux kernel 6.1.2

2023-01-03 Thread Mauro Meloni
On Sun, 1 Jan 2023 10:39:48 +0100 Fabien R wrote:
> I see the same symptom with kernel 6.0.16
>

I've been able to replicate it with the following Dockerfile and script:

```
FROM debian:bullseye
ARG KERNEL_VERSION=6.1.2

RUN apt update && apt install --no-install-recommends -y ca-certificates
wget xz-utils

WORKDIR /app
RUN wget -nc --progress=dot:giga "
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${KERNEL_VERSION}.tar.xz;
RUN tar xaf "linux-${KERNEL_VERSION}.tar.xz" --checkpoint=.5000

RUN apt install -y --no-install-recommends build-essential make kmod cpio \
dpkg-dev libc6-dev libelf-dev libssl-dev time fakeroot bc bison flex
lz4 \
rsync sbsigntool zstd python3-minimal

# get debian config (you should update this if required)
# see
https://packages.debian.org/experimental/amd64/linux-config-6.1/download
RUN wget -nc
http://ftp.us.debian.org/debian/pool/main/l/linux/linux-config-6.1_6.1.2-1~exp1_amd64.deb
&& \
dpkg -i linux-config-*_amd64.deb

WORKDIR "/app/linux-${KERNEL_VERSION}"

# uncompress debian config over the default one
RUN /bin/bash -c "unxz < /usr/src/linux-config-*/config.amd64_none_amd64.xz
> .config"
RUN sed -i 's/ANDROID_BINDER_IPC=m/ANDROID_BINDER_IPC=n/' .config

RUN make olddefconfig
CMD make -j2 bindeb-pkg
```

Then

```
#!/bin/sh
docker build --memory="4g" -t kernel-gcc-test .
docker run --memory="4g" kernel-gcc-test
docker logs $(docker ps -lq) > stdout.log 2> stderr.log
```

Leaving aside my syntax errors and lack of refinement, hope this helps.


gcc-11_11.3.0-10_source.changes ACCEPTED into unstable

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



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 03 Jan 2023 08:37:56 +0100
Source: gcc-11
Architecture: source
Version: 11.3.0-10
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Changes:
 gcc-11 (11.3.0-10) unstable; urgency=medium
 .
   * Ignore the outcome of the check_ali_update check.
Checksums-Sha1:
 067feaf036d29903dfb39cd54f9e48d0c466b984 22383 gcc-11_11.3.0-10.dsc
 6ab4f3c4662ca1f4160747a8735c8a738586cb6e 707304 gcc-11_11.3.0-10.debian.tar.xz
 6799de1e4f30930cbd49025d961ebb79574bbb58 9757 gcc-11_11.3.0-10_source.buildinfo
Checksums-Sha256:
 3551e65b5037b4bf343d06eba683a58d52f0c38972a2960942d326a35b73a03e 22383 
gcc-11_11.3.0-10.dsc
 44475b985be0e34c92f3f63550a344e270d698eda9eddad277d0790ea714b055 707304 
gcc-11_11.3.0-10.debian.tar.xz
 a10cc1827d253357e04aef2aebc97d5cf9195f0ca6284e68f79d00348005aa41 9757 
gcc-11_11.3.0-10_source.buildinfo
Files:
 cda90467974b5f0ea1784e6b9e85cee1 22383 devel optional gcc-11_11.3.0-10.dsc
 f173d582b31c856e81409e77bd76dde7 707304 devel optional 
gcc-11_11.3.0-10.debian.tar.xz
 614aa4ac88235092d8a71e957df24b10 9757 devel optional 
gcc-11_11.3.0-10_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmOz2/kQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9RUDEADKapwb1HJQv5j5lklxyfFYsVQ/MzqoCd0S
Tx24pnvlULPvj5ib5wu2KjodkCed4vxKGWARXq0Jf0EJabYmpKWDHrO+XlR0FJpG
lPA5nV/C+CidLJdb2A1+flPkOl8waZ0tSy6/oTTREBG5ivPwgFqAQdyniwM++Dfo
q+t2EaI/20jnO6aDNHqYRmMWoax12xO/kt6sQv5E0+ZM9Su9fqO3WwkwgpWgiQaJ
6bWseQNPV8zx/nXJNMipLQTc+bOfR6Kn0RakkBk/A1CnVlK40ktoaOO3lPWGnyIX
ioeS0PJbZe5cp+9D6dq/MZIjByo0Nsi9Y+kgUcnuwYWS3Oz6to/zRr2ycqn7EkEe
NHPU1TKaXDyOOhI/Ig/ILaSDee1n3iJbQ0bd6/Z7G4BBdbC7VUcnq+7/6g6DkvBs
lhTN9SHAY80ImpfUD5JNKfjKB/W+IeolkbcvLyEgKucasNhvgQzOhMevklYAmoyg
IDDQx87aqqjfykZq7fKmGCwbKl+VPH5YbdV+EogsGO4WNKvTuhiUbZTKzbstrkAT
UnapLbAM8Ij7sSqgeg9KCYOYPrEtK1whA5tKUQte+l7C8FpfWfiTYQPj4XvSyiYD
6tEKmQ003Jp6j64+FLIulIGou55nrgAP4yaDrTTQHQjt330JpponZ6h+js5oHWj0
vj0cfT4xIw==
=77KM
-END PGP SIGNATURE-



Processing of gcc-11_11.3.0-10_source.changes

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

Greetings,

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