Processed: Re: libmpfr6: major formatted output function bugs with %c and the value 0

2023-12-14 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 fixed-upstream
Bug #1057355 [libmpfr6] libmpfr6: major formatted output function bugs with %c 
and the value 0
Added tag(s) fixed-upstream.

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



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

2023-12-14 Thread Vincent Lefevre
Control: tags -1 fixed-upstream

On 2023-12-03 22:13:03 +0100, Vincent Lefevre wrote:
> 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 gmp_vasprintf function is actually correct (but its documentation
is not; and it is gmp_sprintf that is incorrect, which is not a
problem for MPFR). I've fixed the remaining bugs in MPFR.

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



gcc-13_13.2.0-9_source.changes ACCEPTED into unstable

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



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Thu, 14 Dec 2023 19:55:12 +0100
Source: gcc-13
Architecture: source
Version: 13.2.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Closes: 1057433 1057635
Changes:
 gcc-13 (13.2.0-9) unstable; urgency=medium
 .
   * Update to git 20231214 from the gcc-13 branch.
 - Fix PR target/112891 (x86), PR target/112845 (x86),
   PR target/112837 (x86), PR target/112816 (x86), PR target/111408 (x86),
   PR tree-optimization/111967, PR c/112339, PR c++/110106, PR c++/112410,
   PR c++/109876, PR c++/112795, PR fortran/93762, PR fortran/100651,
   PR libgomp/111413, PR libstdc++/111826, PR libstdc++/111948,
   PR libstdc++/112480, PR libstdc++/112473, PR libstdc++/112832,
   PR libstdc++/110133.
   * Backport libiberty: Use x86 HW optimized sha1 and followup patch,
 needed for the combined build.
   * Use DEB_BUILD_OPTIONS='... gcc-ice=nodump' for turning off dumping
 the preprocessed source to stdout. Closes: #1057635.
   * Set DEB_BUILD_OPTIONS='... gcc-ice=nodump' when running the testsuite.
   * Default to pie on loong64. Closes: #1057433.
   * For Ubuntu 24.04 LTS and later, switch _FORTIFY_SOURCE to 3 by default
 instead of 2 when optimization is enabled. LP: #2012440.
Checksums-Sha1:
 f2b2a5c4d72bf678c8bc2a787504c9127c27b73b 27277 gcc-13_13.2.0-9.dsc
 92b657e69fef8a7b7e3cba4b857ef0998b796841 1745200 gcc-13_13.2.0-9.debian.tar.xz
 13904e4e43f619bb2c2942ec59640167e232b7da 8933 gcc-13_13.2.0-9_source.buildinfo
Checksums-Sha256:
 289749f4490b95cebca036359f8735b85d8119e9a8d0b2a89c31a6db8141ccf4 27277 
gcc-13_13.2.0-9.dsc
 aecc4e79ae7f6bff1982f0fb9dc3f925e6929d37f516566a5964029c00f28b6c 1745200 
gcc-13_13.2.0-9.debian.tar.xz
 80ad8703e4bed187a945f618a4eb26f1ad45131f9995adafa7d9baa780798e2f 8933 
gcc-13_13.2.0-9_source.buildinfo
Files:
 18a47d581d1c292411d01449e84bedfd 27277 devel optional gcc-13_13.2.0-9.dsc
 1b274a376be8fc3e74ecedd9f9f40a70 1745200 devel optional 
gcc-13_13.2.0-9.debian.tar.xz
 f131ed362e35e8694490d64d688b3793 8933 devel optional 
gcc-13_13.2.0-9_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmV7UFIQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9a/CD/9w7WUwuj3/BgY3CMDUYdQJY8qwekHwHw5d
KJwOLUfLVj5jJGA7qix4WMFFuLF5Om5jzJicWZg0+SRqQNjDrldAQsVNazezQ7LG
H+sJTd2yL+3L6o4iumUidlecMxS+NA6KOZbz/+S6v/zqbvQY3AZ8/1ZDZfQ0Y+fq
/halvroDQ6euMtoWFBp8jbJ+7F/tNVDiyXE/XHODUVNLfYZvgQKULSbhgRjqP/ed
QTXUUjuvohvglH1JunhB1MCGHJ5jmO7z9BhatjJ9NRKXlpF8VMPQG23darWhmhbY
5uO1VrxLV7ORl8zucAuQmDiLkkYKSfzS0mH40zXQ5OlvL7UShAEvj/OVolTpGcDe
f+v0d4pjkGFbswJNSjJEcErhlb23jszIN65vWLTZSc97RVWY2/+ydBsNO9IhF8f4
MwOboK9HYwrt0DAa42/Er8qOqNHa3z0hih7Zs4eeAwWACtB0ckkbjHoUKT1ZsI6s
+v+QQ/PFVDjD4Xx58SMaAUDlhDKka+R+A0Priari+JefCTpB9Cu2rOCmRMjjzoEH
v2Gq/y/jNu6SUw9S7aMw+1B86A3/t26Auf/4kdthWtOuJPTMxm5ENTiclFzsuIbF
x8EgQQbfoarZ1XJzyaCL11013MJj3Si5nurobPvsmr6yQSpCofKd5uO+0FFnZ/Ef
pUQ5cFvIxw==
=FYZS
-END PGP SIGNATURE-



Bug#1057433: marked as done (gcc-13: Enable default pie to loong64.)

2023-12-14 Thread Debian Bug Tracking System
Your message dated Thu, 14 Dec 2023 19:21:39 +
with message-id 
and subject line Bug#1057433: fixed in gcc-13 13.2.0-9
has caused the Debian Bug report #1057433,
regarding gcc-13: Enable default pie to loong64.
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.)


-- 
1057433: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057433
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-13
Version: 13.2.0-8
Severity: normal
X-Debbugs-Cc: fanp...@loongson.cn

Dear Maintainer,

When compiling the package 'dpkg' for loong64 in the Debian
Package Auto-Building environment, found not buillt pie. So
add --enable-default-pie for it.

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to POSIX), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages gcc-13 depends on:
ii  binutils   2.41-6
ii  cpp-13 13.2.0-8
ii  gcc-13-base13.2.0-8
ii  libc6  2.37-9+loong64
ii  libcc1-0   13.2.0-8
ii  libgcc-13-dev  13.2.0-8
ii  libgcc-s1  13.2.0-8
ii  libgmp10   2:6.3.0+dfsg-2
ii  libisl23   0.26-3
ii  libmpc31.3.1-1+b1
ii  libmpfr6   4.2.1-1
ii  libstdc++6 13.2.0-8
ii  libzstd1   1.5.5+dfsg2-2
ii  zlib1g 1:1.3.dfsg-3

Versions of packages gcc-13 recommends:
ii  libc6-dev  2.37-9+loong64

Versions of packages gcc-13 suggests:
pn  gcc-13-doc  
ii  gcc-13-locales  13.2.0-8

-- no debconf information
diff --git a/debian/rules.defs b/debian/rules.defs
index 54a3b84..ef03d3e 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -1474,7 +1474,7 @@ ifeq ($(distribution),Debian)
mips mipsel mips64 mips64el mipsn32 mipsn32el \
mipsr6 mipsr6el mips64r6 mips64r6el mipsn32r6 mipsn32r6el \
ppc64el s390x sparc sparc64 kfreebsd-amd64 kfreebsd-i386 \
-   hurd-amd64 hurd-i386 riscv64
+   hurd-amd64 hurd-i386 riscv64 loong64
   endif
   ifeq (,$(filter $(distrelease), jessie stretch))
 pie_archs += powerpc ppc64
--- End Message ---
--- Begin Message ---
Source: gcc-13
Source-Version: 13.2.0-9
Done: Matthias Klose 

We believe that the bug you reported is fixed in the latest version of
gcc-13, 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 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose  (supplier of updated gcc-13 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: Thu, 14 Dec 2023 19:55:12 +0100
Source: gcc-13
Architecture: source
Version: 13.2.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Closes: 1057433 1057635
Changes:
 gcc-13 (13.2.0-9) unstable; urgency=medium
 .
   * Update to git 20231214 from the gcc-13 branch.
 - Fix PR target/112891 (x86), PR target/112845 (x86),
   PR target/112837 (x86), PR target/112816 (x86), PR target/111408 (x86),
   PR tree-optimization/111967, PR c/112339, PR c++/110106, PR c++/112410,
   PR c++/109876, PR c++/112795, PR fortran/93762, PR fortran/100651,
   PR libgomp/111413, PR libstdc++/111826, PR libstdc++/111948,
   PR libstdc++/112480, PR libstdc++/112473, PR libstdc++/112832,
   PR libstdc++/110133.
   * Backport libiberty: Use x86 HW optimized sha1 and followup patch,
 needed for the combined build.
   * Use DEB_BUILD_OPTIONS='... gcc-ice=nodump' for turning off dumping
 the preprocessed source to stdout. Closes: #1057635.
   * Set DEB_BUILD_OPTIONS='... gcc-ice=nodump' when running the testsuite.
   * Default to pie on loong64. Closes: #1057433.
   * For Ubuntu 24.04 LTS and later, switch _FORTIFY_SOURCE to 3 by default
 instead of 2 when optimization is enabled. LP: #2012440.
Checksums-Sha1:
 f2b2a5c4d72bf678c8bc2a787504c9127c27b73b 27277 gcc-13_13.2.0-9.dsc

Bug#1057635: marked as done (Fix gcc-13 test failures during package build)

2023-12-14 Thread Debian Bug Tracking System
c1obj, cc1plus see if it is
 	   reproducible or not.  */
 	const char *p;
-	const char *deb_build_options = env.get("DEB_BUILD_OPTIONS");
+	const bool deb_build_options
+	  = has_deb_build_options ("gcc-ice=norepro");
 	if ((flag_report_bug || deb_build_options)
 		&& WEXITSTATUS (status) == ICE_EXIT_CODE
 		&& i == 0
@@ -7895,9 +7911,7 @@ do_report_bug (const char **new_argv, const int nargs,
 
   if (status == ATTEMPT_STATUS_SUCCESS)
 {
-  const char *deb_build_options = env.get("DEB_BUILD_OPTIONS");
-  const bool gcc_dump = deb_build_options &&
-	!strstr (deb_build_options, "gcc-ice=nodump");
+  const bool gcc_dump = has_deb_build_options ("gcc-ice=nodump");
   const bool gcc_apport = !env.get ("GCC_NOAPPORT") &&
 	!access ("/usr/share/apport/gcc_ice_hook", R_OK | X_OK);
 
-- 
2.39.2

From a2fa3b638c3e1acd58b16eb7079d8402e9dec958 Mon Sep 17 00:00:00 2001
From: Gwenole Beauchesne 
Date: Fri, 1 Dec 2023 22:01:48 +0100
Subject: [PATCH 1/2] gcc: no GCC dump if DEB_BUILD_OPTIONS contains
 gcc-ice=nodump.

Don't output GCC dump if the DEB_BUILD_OPTIONS environment variable
contains gcc-ice=nodump. This allows for the testsuite to run XFAIL
tests gracefully for dg-ice.

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-3.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-decompose-pr100400-1-4.c  -std=c++98 (test for excess errors)
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)

Signed-off-by: Gwenole Beauchesne 
---
 gcc/gcc.cc | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gcc/gcc.cc b/gcc/gcc.cc
index 4345a7ec3d6..28164c83c8f 100644
--- a/gcc/gcc.cc
+++ b/gcc/gcc.cc
@@ -7896,10 +7896,15 @@ do_report_bug (const char **new_argv, const int nargs,
   if (status == ATTEMPT_STATUS_SUCCESS)
 {
   const char *deb_build_options = env.get("DEB_BUILD_OPTIONS");
+  const bool gcc_dump = deb_build_options &&
+	!strstr (deb_build_options, "gcc-ice=nodump");
+  const bool gcc_apport = !env.get ("GCC_NOAPPORT") &&
+	!access ("/usr/share/apport/gcc_ice_hook", R_OK | X_OK);
 
-  fnotice (stderr, "Preprocessed source stored into %s file,"
+  if (gcc_dump || gcc_apport)
+	fnotice (stderr, "Preprocessed source stored into %s file,"
 	   " please attach this to your bugreport.\n", *out_file);
-  if (deb_build_options)
+  if (gcc_dump)
 	{
 	  char *cmd = XNEWVEC (char, 50 + strlen (*out_file));
 
@@ -7912,8 +7917,7 @@ do_report_bug (const char **new_argv, const int nargs,
 	  fflush(stderr);
 	  free(cmd);
 	}
-  if (!env.get ("GCC_NOAPPORT")
-	  && !access ("/usr/share/apport/gcc_ice_hook", R_OK | X_OK))
+  if (gcc_apport)
 	{
 	  char *cmd = XNEWVEC (char, 50 + strlen (*out_file)
 			   + strlen (new_argv[0]));
-- 
2.39.2

--- End Message ---
--- Begin Message ---
Source: gcc-13
Source-Version: 13.2.0-9
Done: Matthias Klose 

We believe that the bug you reported is fixed in the latest version of
gcc-13, 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 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose  (supplier of updated gcc-13 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: Thu, 14 Dec 2023 19:55:12 +0100
Source: gcc-13
Architecture: source
Version: 13.2.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: M

Processing of gcc-13_13.2.0-9_source.changes

2023-12-14 Thread Debian FTP Masters
gcc-13_13.2.0-9_source.changes uploaded successfully to localhost
along with the files:
  gcc-13_13.2.0-9.dsc
  gcc-13_13.2.0-9.debian.tar.xz
  gcc-13_13.2.0-9_source.buildinfo

Greetings,

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