Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gcc14 for openSUSE:Factory checked in at 2025-05-03 20:57:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc14 (Old) and /work/SRC/openSUSE:Factory/.gcc14.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc14" Sat May 3 20:57:49 2025 rev:16 rq:1273971 version:14.2.1+git11702 Changes: -------- --- /work/SRC/openSUSE:Factory/gcc14/gcc14.changes 2025-04-10 21:57:10.267395937 +0200 +++ /work/SRC/openSUSE:Factory/.gcc14.new.30101/gcc14.changes 2025-05-03 20:57:53.682899762 +0200 @@ -1,0 +2,12 @@ +Fri May 2 08:58:43 UTC 2025 - Richard Biener <rguent...@suse.com> + +- Add gcc14-pr108900.patch to revert it, fixing libqt6webengine build. + +------------------------------------------------------------------- +Wed Apr 30 06:32:16 UTC 2025 - Richard Biener <rguent...@suse.com> + +- Update to gcc-14 branch head, 3418d740b344e0ba38022f3be, git11702 + * Remove gcc14-pr118780.patch now on the upstream branch +- Fix build on s390x [bsc#1241549] + +------------------------------------------------------------------- Old: ---- gcc-14.2.1+git11321.tar.xz gcc14-pr118780.patch New: ---- gcc-14.2.1+git11702.tar.xz gcc14-pr108900.patch BETA DEBUG BEGIN: Old:- Update to gcc-14 branch head, 3418d740b344e0ba38022f3be, git11702 * Remove gcc14-pr118780.patch now on the upstream branch - Fix build on s390x [bsc#1241549] BETA DEBUG END: BETA DEBUG BEGIN: New: - Add gcc14-pr108900.patch to revert it, fixing libqt6webengine build. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc14-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.0Qpne4/_old 2025-05-03 20:57:56.771029934 +0200 +++ /var/tmp/diff_new_pack.0Qpne4/_new 2025-05-03 20:57:56.771029934 +0200 @@ -101,7 +101,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 14.2.1+git11321 +Version: 14.2.1+git11702 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -123,11 +123,11 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch -Patch22: gcc14-pr118780.patch Patch23: gcc13-bsc1239566.patch Patch24: gcc14-bsc1239938.patch Patch25: gcc14-rs6000-msplit-patch-nops.patch Patch26: gcc14-pr119680.patch +Patch27: gcc14-pr108900.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -325,7 +325,8 @@ %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 22 -P 23 -P 24 -P 25 -P 26 +%patch -p1 -P 20 -P 23 -P 24 -P 25 -P 26 +%patch -p1 -R -P 27 %patch -P 51 %patch -p1 -P 60 -P 61 cross-aarch64-gcc14.spec: same change cross-amdgcn-gcc14.spec: same change cross-arm-gcc14.spec: same change cross-arm-none-gcc14-bootstrap.spec: same change cross-arm-none-gcc14.spec: same change cross-avr-gcc14-bootstrap.spec: same change cross-avr-gcc14.spec: same change cross-bpf-gcc14.spec: same change cross-hppa-gcc14-bootstrap.spec: same change cross-hppa-gcc14.spec: same change cross-loongarch64-gcc14-bootstrap.spec: same change cross-loongarch64-gcc14.spec: same change cross-m68k-gcc14.spec: same change cross-mips-gcc14.spec: same change cross-nvptx-gcc14.spec: same change cross-ppc64-gcc14.spec: same change cross-ppc64le-gcc14-bootstrap.spec: same change cross-ppc64le-gcc14.spec: same change cross-pru-gcc14-bootstrap.spec: same change cross-pru-gcc14.spec: same change cross-riscv64-elf-gcc14-bootstrap.spec: same change cross-riscv64-elf-gcc14.spec: same change cross-riscv64-gcc14-bootstrap.spec: same change cross-riscv64-gcc14.spec: same change cross-rx-gcc14-bootstrap.spec: same change cross-rx-gcc14.spec: same change cross-s390x-gcc14-bootstrap.spec: same change cross-s390x-gcc14.spec: same change cross-sparc-gcc14.spec: same change cross-sparc64-gcc14.spec: same change cross-x86_64-gcc14.spec: same change gcc14-testresults.spec: same change ++++++ gcc14.spec ++++++ --- /var/tmp/diff_new_pack.0Qpne4/_old 2025-05-03 20:57:57.959080013 +0200 +++ /var/tmp/diff_new_pack.0Qpne4/_new 2025-05-03 20:57:57.959080013 +0200 @@ -205,7 +205,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 14.2.1+git11321 +Version: 14.2.1+git11702 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -370,11 +370,11 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch -Patch22: gcc14-pr118780.patch Patch23: gcc13-bsc1239566.patch Patch24: gcc14-bsc1239938.patch Patch25: gcc14-rs6000-msplit-patch-nops.patch Patch26: gcc14-pr119680.patch +Patch27: gcc14-pr108900.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -2376,7 +2376,8 @@ %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 22 -P 23 -P 24 -P 25 -P 26 +%patch -p1 -P 20 -P 23 -P 24 -P 25 -P 26 +%patch -p1 -R -P 27 %patch -P 51 %patch -p1 -P 60 -P 61 @@ -3500,8 +3501,7 @@ %versmainlib *crt*.o %versmainlib libgcc*.a %versmainlib libgcov.a -%versmainlib libgcc_s*.so -%versmainlib libgcc_s.so.%{libgcc_s} +%versmainlib libgcc_s*.so* %versmainlib libgomp.so %versmainlib libgomp.a %versmainlib libgomp.spec @@ -3567,8 +3567,7 @@ %versbiarchlib *crt*.o %versbiarchlib libgcc*.a %versbiarchlib libgcov.a -%versbiarchlib libgcc_s*.so -%versbiarchlib libgcc_s.so.%{libgcc_s} +%versbiarchlib libgcc_s*.so* %versbiarchlib libgomp.so %versbiarchlib libgomp.a %versbiarchlib libgomp.spec ++++++ gcc-14.2.1+git11321.tar.xz -> gcc-14.2.1+git11702.tar.xz ++++++ /work/SRC/openSUSE:Factory/gcc14/gcc-14.2.1+git11321.tar.xz /work/SRC/openSUSE:Factory/.gcc14.new.30101/gcc-14.2.1+git11702.tar.xz differ: char 15, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.0Qpne4/_old 2025-05-03 20:57:58.211090636 +0200 +++ /var/tmp/diff_new_pack.0Qpne4/_new 2025-05-03 20:57:58.219090973 +0200 @@ -209,7 +209,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 14.2.1+git11321 +Version: 14.2.1+git11702 Release: 1 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -375,11 +375,11 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch -Patch22: gcc14-pr118780.patch Patch23: gcc13-bsc1239566.patch Patch24: gcc14-bsc1239938.patch Patch25: gcc14-rs6000-msplit-patch-nops.patch Patch26: gcc14-pr119680.patch +Patch27: gcc14-pr108900.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1350,7 +1350,8 @@ %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 22 -P 23 -P 24 -P 25 -P 26 +%patch -p1 -P 20 -P 23 -P 24 -P 25 -P 26 +%patch -p1 -R -P 27 %patch -P 51 %patch -p1 -P 60 -P 61 @@ -2480,8 +2481,7 @@ %versmainlib *crt*.o %versmainlib libgcc*.a %versmainlib libgcov.a -%versmainlib libgcc_s*.so -%versmainlib libgcc_s.so.%{libgcc_s} +%versmainlib libgcc_s*.so* %versmainlib libgomp.so %versmainlib libgomp.a %versmainlib libgomp.spec @@ -2547,8 +2547,7 @@ %versbiarchlib *crt*.o %versbiarchlib libgcc*.a %versbiarchlib libgcov.a -%versbiarchlib libgcc_s*.so -%versbiarchlib libgcc_s.so.%{libgcc_s} +%versbiarchlib libgcc_s*.so* %versbiarchlib libgomp.so %versbiarchlib libgomp.a %versbiarchlib libgomp.spec ++++++ gcc14-pr118780.patch -> gcc14-pr108900.patch ++++++ --- /work/SRC/openSUSE:Factory/gcc14/gcc14-pr118780.patch 2025-03-02 12:20:20.356786666 +0100 +++ /work/SRC/openSUSE:Factory/.gcc14.new.30101/gcc14-pr108900.patch 2025-05-03 20:57:53.622897233 +0200 @@ -1,79 +1,58 @@ -From e22962538f64bb6e5ac87977ec8a5d86f4ef21cb Mon Sep 17 00:00:00 2001 +From 8a884140c2bcb738122e71d8d1c680f234de9843 Mon Sep 17 00:00:00 2001 From: Richard Biener <rguent...@suse.de> -Date: Fri, 7 Feb 2025 14:42:23 +0100 -Subject: [PATCH] jit/118780 - make sure to include dlfcn.h when plugin support - is disabled +Date: Wed, 16 Apr 2025 21:00:00 -0700 +Subject: [PATCH] libcpp: Fix incorrect line numbers in large files [PR108900] To: gcc-patc...@gcc.gnu.org -The following makes the dlfcn.h explicitly requested which avoids -build failure when JIT is enabled but plugin support disabled as -currently the include is conditional on plugin support. - - PR jit/118780 -gcc/ - * system.h: Check INCLUDE_DLFCN_H for including dlfcn.h instead - of ENABLE_PLUGIN. - * plugin.cc: Define INCLUDE_DLFCN_H. - -gcc/jit/ - * jit-playback.cc: Define INCLUDE_DLFCN_H. - * jit-result.cc: Likewise. +From: Jeremy Bettis <jbet...@google.com> + +This patch addresses an issue in the C preprocessor where incorrect +line number information is generated when processing files with a +large number of lines. The problem arises from improper handling +of location intervals in the line map, particularly when locations +exceed LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES. + +By ensuring that the highest location is not decremented if it +would move to a different ordinary map, this fix resolves +the line number discrepancies observed in certain test cases. +This change improves the accuracy of line number reporting, benefiting +users relying on precise code coverage and debugging information. + +Tested x86_64-linux. + +libcpp/ChangeLog: + + PR preprocessor/108900 + * files.cc (_cpp_stack_file): Do not decrement highest_location + across distinct maps. + +Signed-off-by: Jeremy Bettis <jbet...@google.com> +Signed-off-by: Yash Shinde <yash.shi...@windriver.com> +(cherry picked from commit d9b56c65a2697e0d7a6c0f15f1977803dc94579b) --- - gcc/jit/jit-playback.cc | 1 + - gcc/jit/jit-result.cc | 1 + - gcc/plugin.cc | 1 + - gcc/system.h | 2 +- - 4 files changed, 4 insertions(+), 1 deletion(-) - -diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc -index c9fcebc4730..6946f100d5c 100644 ---- a/gcc/jit/jit-playback.cc -+++ b/gcc/jit/jit-playback.cc -@@ -20,6 +20,7 @@ along with GCC; see the file COPYING3. If not see - - #include "config.h" - #define INCLUDE_MUTEX -+#define INCLUDE_DLFCN_H - #include "libgccjit.h" - #include "system.h" - #include "coretypes.h" -diff --git a/gcc/jit/jit-result.cc b/gcc/jit/jit-result.cc -index 1c793aef062..2ad6deb1da8 100644 ---- a/gcc/jit/jit-result.cc -+++ b/gcc/jit/jit-result.cc -@@ -19,6 +19,7 @@ along with GCC; see the file COPYING3. If not see - <http://www.gnu.org/licenses/>. */ - - #include "config.h" -+#define INCLUDE_DLFCN_H - #include "system.h" - #include "coretypes.h" - -diff --git a/gcc/plugin.cc b/gcc/plugin.cc -index 6d3394908fc..0de2cc2dd2c 100644 ---- a/gcc/plugin.cc -+++ b/gcc/plugin.cc -@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see - APIs described in doc/plugin.texi. */ - - #include "config.h" -+#define INCLUDE_DLFCN_H - #include "system.h" - #include "coretypes.h" - #include "options.h" -diff --git a/gcc/system.h b/gcc/system.h -index 39d28ba0bb4..e516b49d04a 100644 ---- a/gcc/system.h -+++ b/gcc/system.h -@@ -694,7 +694,7 @@ extern int vsnprintf (char *, size_t, const char *, va_list); - # endif - #endif + libcpp/files.cc | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/libcpp/files.cc b/libcpp/files.cc +index c61df339e20..5d53d7f6279 100644 +--- a/libcpp/files.cc ++++ b/libcpp/files.cc +@@ -1005,6 +1005,15 @@ _cpp_stack_file (cpp_reader *pfile, _cpp_file *file, include_type type, + && type < IT_DIRECTIVE_HWM + && (pfile->line_table->highest_location + != LINE_MAP_MAX_LOCATION - 1)); ++ ++ if (decrement && LINEMAPS_ORDINARY_USED (pfile->line_table)) ++ { ++ const line_map_ordinary *map ++ = LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table); ++ if (map && map->start_location == pfile->line_table->highest_location) ++ decrement = false; ++ } ++ + if (decrement) + pfile->line_table->highest_location--; --#if defined (ENABLE_PLUGIN) && defined (HAVE_DLFCN_H) -+#if defined (INCLUDE_DLFCN_H) && defined (HAVE_DLFCN_H) - /* If plugin support is enabled, we could use libdl. */ - #include <dlfcn.h> - #endif -- 2.43.0