Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libbacktrace for openSUSE:Factory 
checked in at 2026-06-22 18:05:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbacktrace (Old)
 and      /work/SRC/openSUSE:Factory/.libbacktrace.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libbacktrace"

Mon Jun 22 18:05:31 2026 rev:9 rq:1360632 version:1.0+git20260601

Changes:
--------
--- /work/SRC/openSUSE:Factory/libbacktrace/libbacktrace.changes        
2025-03-16 18:58:20.659861213 +0100
+++ /work/SRC/openSUSE:Factory/.libbacktrace.new.1956/libbacktrace.changes      
2026-06-22 18:05:51.502117890 +0200
@@ -1,0 +2,16 @@
+Fri Jun 19 14:36:42 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 1.0+git20260601:
+  * libbacktrace: support compressed block with no sequences
+  * libbacktrace: Fix typos in various files
+  * libbacktrace: support multiple zstd frames
+  * libbacktrace: don't use ZSTD_CLEVEL_DEFAULT
+  * Update copyright years.
+  * Update copyright years.
+  * libbacktrace: use correct names in #undef of ELF macros
+  * libbacktrace: recognize PE bigobj objects at configure time
+  * libbacktrace: Add hpux fileline support
+  * bootstrap/119680 - fix cross-compiler build with --enable-host-shared
+  * libbacktrace: Use correct type in backtrace_atomic_store_int
+
+-------------------------------------------------------------------

Old:
----
  libbacktrace-1.0+git20250210.obscpio

New:
----
  libbacktrace-1.0+git20260601.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libbacktrace.spec ++++++
--- /var/tmp/diff_new_pack.5g3VMn/_old  2026-06-22 18:05:53.390183765 +0200
+++ /var/tmp/diff_new_pack.5g3VMn/_new  2026-06-22 18:05:53.390183765 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libbacktrace
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define soname 0
 Name:           libbacktrace
-Version:        1.0+git20250210
+Version:        1.0+git20260601
 Release:        0
 Summary:        Backtrace C library
 License:        BSD-3-Clause

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.5g3VMn/_old  2026-06-22 18:05:53.474186697 +0200
+++ /var/tmp/diff_new_pack.5g3VMn/_new  2026-06-22 18:05:53.482186975 +0200
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">https://github.com/ianlancetaylor/libbacktrace.git</param>
-    <param 
name="changesrevision">0034e33946824057b48c5e686a3aefc761b37384</param>
+    <param 
name="changesrevision">549b81b43b46c0f361680561a626bf0e7b79dcbd</param>
   </service>
 </servicedata>
 (No newline at EOF)

++++++ libbacktrace-1.0+git20250210.obscpio -> 
libbacktrace-1.0+git20260601.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/Makefile.am 
new/libbacktrace-1.0+git20260601/Makefile.am
--- old/libbacktrace-1.0+git20250210/Makefile.am        2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/Makefile.am        2026-06-02 
06:39:35.000000000 +0200
@@ -1,5 +1,5 @@
 # Makefile.am -- Backtrace Makefile.
-# Copyright (C) 2012-2024 Free Software Foundation, Inc.
+# Copyright (C) 2012-2026 Free Software Foundation, Inc.
 
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/alloc.c 
new/libbacktrace-1.0+git20260601/alloc.c
--- old/libbacktrace-1.0+git20250210/alloc.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/alloc.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* alloc.c -- Memory allocation without mmap.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/allocfail.c 
new/libbacktrace-1.0+git20260601/allocfail.c
--- old/libbacktrace-1.0+git20250210/allocfail.c        2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/allocfail.c        2026-06-02 
06:39:35.000000000 +0200
@@ -1,5 +1,5 @@
 /* allocfail.c -- Test for libbacktrace library
-   Copyright (C) 2018-2024 Free Software Foundation, Inc.
+   Copyright (C) 2018-2026 Free Software Foundation, Inc.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/allocfail.sh 
new/libbacktrace-1.0+git20260601/allocfail.sh
--- old/libbacktrace-1.0+git20250210/allocfail.sh       2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/allocfail.sh       2026-06-02 
06:39:35.000000000 +0200
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # allocfail.sh -- Test for libbacktrace library.
-# Copyright (C) 2018-2024 Free Software Foundation, Inc.
+# Copyright (C) 2018-2026 Free Software Foundation, Inc.
 
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions are
@@ -77,7 +77,7 @@
        exit 1
     fi
 
-    # The test-case would run too long if we would excercise all allocs.
+    # The test-case would run too long if we would exercise all allocs.
     # So, run with step 1 initially, and increase the step once we have 10
     # subsequent passes, and drop back to step 1 once we encounter another
     # failure.  This takes ~2.6 seconds on an i7-6600U CPU @ 2.60GHz.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/atomic.c 
new/libbacktrace-1.0+git20260601/atomic.c
--- old/libbacktrace-1.0+git20250210/atomic.c   2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/atomic.c   2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* atomic.c -- Support for atomic functions if not present.
-   Copyright (C) 2013-2024 Free Software Foundation, Inc.
+   Copyright (C) 2013-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
@@ -103,7 +103,7 @@
 void
 backtrace_atomic_store_int (int *p, int v)
 {
-  size_t old;
+  int old;
 
   old = *p;
   while (!__sync_bool_compare_and_swap (p, old, v))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbacktrace-1.0+git20250210/backtrace-supported.h.in 
new/libbacktrace-1.0+git20260601/backtrace-supported.h.in
--- old/libbacktrace-1.0+git20250210/backtrace-supported.h.in   2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/backtrace-supported.h.in   2026-06-02 
06:39:35.000000000 +0200
@@ -1,5 +1,5 @@
 /* backtrace-supported.h.in -- Whether stack backtrace is supported.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/backtrace.c 
new/libbacktrace-1.0+git20260601/backtrace.c
--- old/libbacktrace-1.0+git20250210/backtrace.c        2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/backtrace.c        2026-06-02 
06:39:35.000000000 +0200
@@ -1,5 +1,5 @@
 /* backtrace.c -- Entry point for stack backtrace library.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/backtrace.h 
new/libbacktrace-1.0+git20260601/backtrace.h
--- old/libbacktrace-1.0+git20250210/backtrace.h        2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/backtrace.h        2026-06-02 
06:39:35.000000000 +0200
@@ -1,5 +1,5 @@
 /* backtrace.h -- Public header file for stack backtrace library.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/btest.c 
new/libbacktrace-1.0+git20260601/btest.c
--- old/libbacktrace-1.0+git20250210/btest.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/btest.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* btest.c -- Test for libbacktrace library
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/configure 
new/libbacktrace-1.0+git20260601/configure
--- old/libbacktrace-1.0+git20250210/configure  2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/configure  2026-06-02 06:39:35.000000000 
+0200
@@ -812,6 +812,7 @@
 enable_largefile
 enable_werror
 with_system_libunwind
+enable_host_pie
 enable_host_shared
 '
       ac_precious_vars='build_alias
@@ -1461,6 +1462,7 @@
                           rpaths to be added to executables
   --disable-largefile     omit support for large files
   --disable-werror        disable building with -Werror
+  --enable-host-pie       build host code as PIE
   --enable-host-shared    build host code as shared libraries
 
 Optional Packages:
@@ -11395,7 +11397,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11398 "configure"
+#line 11400 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11501,7 +11503,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11504 "configure"
+#line 11506 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12190,12 +12192,18 @@
   fi
 fi
 
+# Enable --enable-host-pie.
+# Check whether --enable-host-pie was given.
+if test "${enable_host_pie+set}" = set; then :
+  enableval=$enable_host_pie; PIC_FLAG=-fPIE
+else
+  PIC_FLAG=
+fi
+
 # Enable --enable-host-shared.
 # Check whether --enable-host-shared was given.
 if test "${enable_host_shared+set}" = set; then :
   enableval=$enable_host_shared; PIC_FLAG=-fPIC
-else
-  PIC_FLAG=
 fi
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/configure.ac 
new/libbacktrace-1.0+git20260601/configure.ac
--- old/libbacktrace-1.0+git20250210/configure.ac       2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/configure.ac       2026-06-02 
06:39:35.000000000 +0200
@@ -1,5 +1,5 @@
 # configure.ac -- Backtrace configure script.
-# Copyright (C) 2012-2024 Free Software Foundation, Inc.
+# Copyright (C) 2012-2026 Free Software Foundation, Inc.
 
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions are
@@ -176,11 +176,16 @@
   fi
 fi
 
+# Enable --enable-host-pie.
+AC_ARG_ENABLE(host-pie,
+[AS_HELP_STRING([--enable-host-pie],
+                [build host code as PIE])],
+[PIC_FLAG=-fPIE], [PIC_FLAG=])
 # Enable --enable-host-shared.
 AC_ARG_ENABLE(host-shared,
 [AS_HELP_STRING([--enable-host-shared],
                [build host code as shared libraries])],
-[PIC_FLAG=-fPIC], [PIC_FLAG=])
+[PIC_FLAG=-fPIC])
 AC_SUBST(PIC_FLAG)
 
 # Test for __sync support.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/dwarf.c 
new/libbacktrace-1.0+git20260601/dwarf.c
--- old/libbacktrace-1.0+git20250210/dwarf.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/dwarf.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* dwarf.c -- Get file/line information from DWARF for backtraces.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/edtest.c 
new/libbacktrace-1.0+git20260601/edtest.c
--- old/libbacktrace-1.0+git20250210/edtest.c   2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/edtest.c   2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* edtest.c -- Test for libbacktrace storage allocation stress handling
-   Copyright (C) 2017-2024 Free Software Foundation, Inc.
+   Copyright (C) 2017-2026 Free Software Foundation, Inc.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/edtest2.c 
new/libbacktrace-1.0+git20260601/edtest2.c
--- old/libbacktrace-1.0+git20250210/edtest2.c  2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/edtest2.c  2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* edtest2.c -- Test for libbacktrace storage allocation stress handling (p2)
-   Copyright (C) 2017-2024 Free Software Foundation, Inc.
+   Copyright (C) 2017-2026 Free Software Foundation, Inc.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/elf.c 
new/libbacktrace-1.0+git20260601/elf.c
--- old/libbacktrace-1.0+git20250210/elf.c      2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/elf.c      2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* elf.c -- Get debug data from an ELF file for backtraces.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
@@ -160,10 +160,10 @@
 #undef EI_CLASS
 #undef EI_DATA
 #undef EI_VERSION
-#undef ELF_MAG0
-#undef ELF_MAG1
-#undef ELF_MAG2
-#undef ELF_MAG3
+#undef ELFMAG0
+#undef ELFMAG1
+#undef ELFMAG2
+#undef ELFMAG3
 #undef ELFCLASS32
 #undef ELFCLASS64
 #undef ELFDATA2LSB
@@ -1166,7 +1166,7 @@
   return 1;
 }
 
-/* This is like elf_fetch_bits, but it fetchs the bits backward, and ensures at
+/* This is like elf_fetch_bits, but it fetches the bits backward, and ensures 
at
    least 16 bits.  This is for zstd.  */
 
 static int
@@ -4338,15 +4338,17 @@
   return 1;
 }
 
-/* Decompress a zstd stream from PIN/SIN to POUT/SOUT.  Code based on RFC 8878.
+/* Decompress a single zstd frame from *PPIN, ending at PINEND, to *PPOUT/SOUT.
    Return 1 on success, 0 on error.  */
 
 static int
-elf_zstd_decompress (const unsigned char *pin, size_t sin,
-                    unsigned char *zdebug_table, unsigned char *pout,
-                    size_t sout)
+elf_zstd_decompress_frame (const unsigned char **ppin,
+                          const unsigned char *pinend,
+                          unsigned char *zdebug_table, unsigned char **ppout,
+                          size_t sout)
 {
-  const unsigned char *pinend;
+  const unsigned char *pin;
+  unsigned char *pout;
   unsigned char *poutstart;
   unsigned char *poutend;
   struct elf_zstd_seq_decode literal_decode;
@@ -4366,9 +4368,9 @@
   uint64_t content_size;
   int last_block;
 
-  pinend = pin + sin;
+  pin = *ppin;
+  pout = *ppout;
   poutstart = pout;
-  poutend = pout + sout;
 
   literal_decode.table = NULL;
   literal_decode.table_bits = -1;
@@ -4394,7 +4396,7 @@
   repeated_offset2 = 4;
   repeated_offset3 = 8;
 
-  if (unlikely (sin < 4))
+  if (unlikely (pinend - pin < 4))
     {
       elf_uncompress_failed ();
       return 0;
@@ -4492,12 +4494,14 @@
     }
 
   if (unlikely (content_size != (size_t) content_size
-               || (size_t) content_size != sout))
+               || (size_t) content_size > sout))
     {
       elf_uncompress_failed ();
       return 0;
     }
 
+  poutend = pout + content_size;
+
   last_block = 0;
   while (!last_block)
     {
@@ -4616,6 +4620,11 @@
                pin += 2;
              }
 
+           pback = NULL;
+           bits = 0;
+           literal_state = 0;
+           offset_state = 0;
+           match_state = 0;
            if (seq_count > 0)
              {
                int (*pfn)(const struct elf_zstd_fse_entry *,
@@ -4655,27 +4664,27 @@
                                                 match_fse_table, 9, pfn,
                                                 &match_decode))
                  return 0;
-             }
 
-           pback = pblockend - 1;
-           if (!elf_fetch_backward_init (&pback, pin, &val, &bits))
-             return 0;
+               pback = pblockend - 1;
+               if (!elf_fetch_backward_init (&pback, pin, &val, &bits))
+                 return 0;
 
-           bits -= literal_decode.table_bits;
-           literal_state = ((val >> bits)
-                            & ((1U << literal_decode.table_bits) - 1));
+               bits -= literal_decode.table_bits;
+               literal_state = ((val >> bits)
+                                & ((1U << literal_decode.table_bits) - 1));
 
-           if (!elf_fetch_bits_backward (&pback, pin, &val, &bits))
-             return 0;
-           bits -= offset_decode.table_bits;
-           offset_state = ((val >> bits)
-                           & ((1U << offset_decode.table_bits) - 1));
+               if (!elf_fetch_bits_backward (&pback, pin, &val, &bits))
+                 return 0;
+               bits -= offset_decode.table_bits;
+               offset_state = ((val >> bits)
+                               & ((1U << offset_decode.table_bits) - 1));
 
-           if (!elf_fetch_bits_backward (&pback, pin, &val, &bits))
-             return 0;
-           bits -= match_decode.table_bits;
-           match_state = ((val >> bits)
-                          & ((1U << match_decode.table_bits) - 1));
+               if (!elf_fetch_bits_backward (&pback, pin, &val, &bits))
+                 return 0;
+               bits -= match_decode.table_bits;
+               match_state = ((val >> bits)
+                              & ((1U << match_decode.table_bits) - 1));
+             }
 
            seq = 0;
            while (1)
@@ -4697,6 +4706,40 @@
                uint32_t need;
                uint32_t add;
 
+               if (unlikely (seq >= seq_count))
+                 {
+                   /* Copy remaining literals.  */
+                   if (literal_count > 0 && plit != pout)
+                     {
+                       if (unlikely ((size_t)(poutend - pout)
+                                     < literal_count))
+                         {
+                           elf_uncompress_failed ();
+                           return 0;
+                         }
+
+                       if ((size_t)(plit - pout) < literal_count)
+                         {
+                           uint32_t move;
+
+                           move = plit - pout;
+                           while (literal_count > move)
+                             {
+                               memcpy (pout, plit, move);
+                               pout += move;
+                               plit += move;
+                               literal_count -= move;
+                             }
+                         }
+
+                       memcpy (pout, plit, literal_count);
+                     }
+
+                   pout += literal_count;
+
+                   break;
+                 }
+
                pt = &offset_decode.table[offset_state];
                offset_basebits = pt->basebits;
                offset_baseline = pt->baseline;
@@ -4934,40 +4977,6 @@
                          }
                      }
                  }
-
-               if (unlikely (seq >= seq_count))
-                 {
-                   /* Copy remaining literals.  */
-                   if (literal_count > 0 && plit != pout)
-                     {
-                       if (unlikely ((size_t)(poutend - pout)
-                                     < literal_count))
-                         {
-                           elf_uncompress_failed ();
-                           return 0;
-                         }
-
-                       if ((size_t)(plit - pout) < literal_count)
-                         {
-                           uint32_t move;
-
-                           move = plit - pout;
-                           while (literal_count > move)
-                             {
-                               memcpy (pout, plit, move);
-                               pout += move;
-                               plit += move;
-                               literal_count -= move;
-                             }
-                         }
-
-                       memcpy (pout, plit, literal_count);
-                     }
-
-                   pout += literal_count;
-
-                   break;
-                 }
              }
 
            pin = pblockend;
@@ -4996,7 +5005,42 @@
       pin += 4;
     }
 
-  if (pin != pinend)
+  *ppin = pin;
+  *ppout = pout;
+
+  return 1;
+}
+
+/* Decompress a zstd stream from PIN/SIN to POUT/SOUT.  Code based on RFC 8878.
+   Return 1 on success, 0 on error.  */
+
+static int
+elf_zstd_decompress (const unsigned char *pin, size_t sin,
+                    unsigned char *zdebug_table, unsigned char *pout,
+                    size_t sout)
+{
+  const unsigned char *pinend;
+
+  pinend = pin + sin;
+
+  while (sin > 0)
+    {
+      const unsigned char *pin_frame;
+      unsigned char *pout_frame;
+
+      pin_frame = pin;
+      pout_frame = pout;
+      if (!elf_zstd_decompress_frame (&pin_frame, pinend, zdebug_table,
+                                     &pout_frame, sout))
+       return 0;
+
+      sin -= pin_frame - pin;
+      pin = pin_frame;
+      sout -= pout_frame - pout;
+      pout = pout_frame;
+    }
+
+  if (sout > 0)
     {
       elf_uncompress_failed ();
       return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/fileline.c 
new/libbacktrace-1.0+git20260601/fileline.c
--- old/libbacktrace-1.0+git20250210/fileline.c 2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/fileline.c 2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* fileline.c -- Get file and line number information in a backtrace.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
@@ -47,6 +47,10 @@
 #include <mach-o/dyld.h>
 #endif
 
+#ifdef __hpux__
+#include <dl.h>
+#endif
+
 #ifdef HAVE_WINDOWS_H
 #ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN
@@ -66,6 +70,33 @@
 #define getexecname() NULL
 #endif
 
+#ifdef __hpux__
+static char *
+hpux_get_executable_path (struct backtrace_state *state,
+                         backtrace_error_callback error_callback, void *data)
+{
+  struct shl_descriptor *desc;
+  size_t len = sizeof (struct shl_descriptor);
+
+  desc = backtrace_alloc (state, len, error_callback, data);
+  if (desc == NULL)
+    return NULL;
+
+  if (shl_get_r (0, desc) == -1)
+    {
+      backtrace_free (state, desc, len, error_callback, data);
+      return NULL;
+    }
+
+  return desc->filename;
+}
+
+#else
+
+#define hpux_get_executable_path(state, error_callback, data) NULL
+
+#endif
+
 #if !defined (HAVE_KERN_PROC_ARGS) && !defined (HAVE_KERN_PROC)
 
 #define sysctl_exec_name1(state, error_callback, data) NULL
@@ -245,7 +276,7 @@
 
   descriptor = -1;
   called_error_callback = 0;
-  for (pass = 0; pass < 10; ++pass)
+  for (pass = 0; pass < 11; ++pass)
     {
       int does_not_exist;
 
@@ -285,6 +316,9 @@
        case 9:
          filename = windows_get_executable_path (buf, error_callback, data);
          break;
+       case 10:
+         filename = hpux_get_executable_path (state, error_callback, data);
+         break;
        default:
          abort ();
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/filetype.awk 
new/libbacktrace-1.0+git20260601/filetype.awk
--- old/libbacktrace-1.0+git20250210/filetype.awk       2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/filetype.awk       2026-06-02 
06:39:35.000000000 +0200
@@ -3,6 +3,7 @@
 /^\177ELF\002/      { if (NR == 1) { print "elf64"; exit } }
 /^\114\001/         { if (NR == 1) { print "pecoff"; exit } }
 /^\144\206/         { if (NR == 1) { print "pecoff"; exit } }
+/^\000\000\377\377/ { if (NR == 1) { print "pecoff"; exit } }
 /^\001\337/         { if (NR == 1) { print "xcoff32"; exit } }
 /^\001\367/         { if (NR == 1) { print "xcoff64"; exit } }
 /^\376\355\372\316/ { if (NR == 1) { print "macho"; exit } }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbacktrace-1.0+git20250210/install-debuginfo-for-buildid.sh.in 
new/libbacktrace-1.0+git20260601/install-debuginfo-for-buildid.sh.in
--- old/libbacktrace-1.0+git20250210/install-debuginfo-for-buildid.sh.in        
2025-02-11 00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/install-debuginfo-for-buildid.sh.in        
2026-06-02 06:39:35.000000000 +0200
@@ -2,7 +2,7 @@
 
 # install-debug-info-for-buildid.sh -- Helper script for libbacktrace library
 # testing.
-# Copyright (C) 2019-2024 Free Software Foundation, Inc.
+# Copyright (C) 2019-2026 Free Software Foundation, Inc.
 
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/instrumented_alloc.c 
new/libbacktrace-1.0+git20260601/instrumented_alloc.c
--- old/libbacktrace-1.0+git20250210/instrumented_alloc.c       2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/instrumented_alloc.c       2026-06-02 
06:39:35.000000000 +0200
@@ -1,6 +1,6 @@
 /* instrumented_alloc.c -- Memory allocation instrumented to fail when
    requested, for testing purposes.
-   Copyright (C) 2018-2024 Free Software Foundation, Inc.
+   Copyright (C) 2018-2026 Free Software Foundation, Inc.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/internal.h 
new/libbacktrace-1.0+git20260601/internal.h
--- old/libbacktrace-1.0+git20250210/internal.h 2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/internal.h 2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* internal.h -- Internal header file for stack backtrace library.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/macho.c 
new/libbacktrace-1.0+git20260601/macho.c
--- old/libbacktrace-1.0+git20250210/macho.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/macho.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* elf.c -- Get debug data from a Mach-O file for backtraces.
-   Copyright (C) 2020-2024 Free Software Foundation, Inc.
+   Copyright (C) 2020-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/mmap.c 
new/libbacktrace-1.0+git20260601/mmap.c
--- old/libbacktrace-1.0+git20250210/mmap.c     2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/mmap.c     2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* mmap.c -- Memory allocation with mmap.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/mmapio.c 
new/libbacktrace-1.0+git20260601/mmapio.c
--- old/libbacktrace-1.0+git20250210/mmapio.c   2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/mmapio.c   2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* mmapio.c -- File views using mmap.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/mtest.c 
new/libbacktrace-1.0+git20260601/mtest.c
--- old/libbacktrace-1.0+git20250210/mtest.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/mtest.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* mtest.c -- Minidebug test for libbacktrace library
-   Copyright (C) 2020-2024 Free Software Foundation, Inc.
+   Copyright (C) 2020-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/nounwind.c 
new/libbacktrace-1.0+git20260601/nounwind.c
--- old/libbacktrace-1.0+git20250210/nounwind.c 2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/nounwind.c 2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* backtrace.c -- Entry point for stack backtrace library.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/pecoff.c 
new/libbacktrace-1.0+git20260601/pecoff.c
--- old/libbacktrace-1.0+git20250210/pecoff.c   2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/pecoff.c   2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* pecoff.c -- Get debug data from a PE/COFFF file for backtraces.
-   Copyright (C) 2015-2024 Free Software Foundation, Inc.
+   Copyright (C) 2015-2026 Free Software Foundation, Inc.
    Adapted from elf.c by Tristan Gingold, AdaCore.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/posix.c 
new/libbacktrace-1.0+git20260601/posix.c
--- old/libbacktrace-1.0+git20250210/posix.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/posix.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* posix.c -- POSIX file I/O routines for the backtrace library.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/print.c 
new/libbacktrace-1.0+git20260601/print.c
--- old/libbacktrace-1.0+git20250210/print.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/print.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* print.c -- Print the current backtrace.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/read.c 
new/libbacktrace-1.0+git20260601/read.c
--- old/libbacktrace-1.0+git20250210/read.c     2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/read.c     2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* read.c -- File views without mmap.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/simple.c 
new/libbacktrace-1.0+git20260601/simple.c
--- old/libbacktrace-1.0+git20250210/simple.c   2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/simple.c   2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* simple.c -- The backtrace_simple function.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/sort.c 
new/libbacktrace-1.0+git20260601/sort.c
--- old/libbacktrace-1.0+git20250210/sort.c     2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/sort.c     2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* sort.c -- Sort without allocating memory
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/state.c 
new/libbacktrace-1.0+git20260601/state.c
--- old/libbacktrace-1.0+git20250210/state.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/state.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* state.c -- Create the backtrace state.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/stest.c 
new/libbacktrace-1.0+git20260601/stest.c
--- old/libbacktrace-1.0+git20250210/stest.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/stest.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* stest.c -- Test for libbacktrace internal sort function
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/test_format.c 
new/libbacktrace-1.0+git20260601/test_format.c
--- old/libbacktrace-1.0+git20250210/test_format.c      2025-02-11 
00:04:43.000000000 +0100
+++ new/libbacktrace-1.0+git20260601/test_format.c      2026-06-02 
06:39:35.000000000 +0200
@@ -1,5 +1,5 @@
 /* test_format.c -- Test for libbacktrace library
-   Copyright (C) 2018-2024 Free Software Foundation, Inc.
+   Copyright (C) 2018-2026 Free Software Foundation, Inc.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/testlib.c 
new/libbacktrace-1.0+git20260601/testlib.c
--- old/libbacktrace-1.0+git20250210/testlib.c  2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/testlib.c  2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* testlib.c -- test functions for libbacktrace library
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/testlib.h 
new/libbacktrace-1.0+git20260601/testlib.h
--- old/libbacktrace-1.0+git20250210/testlib.h  2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/testlib.h  2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* testlib.h -- Header for test functions for libbacktrace library
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/ttest.c 
new/libbacktrace-1.0+git20260601/ttest.c
--- old/libbacktrace-1.0+git20250210/ttest.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/ttest.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* ttest.c -- Test for libbacktrace library
-   Copyright (C) 2017-2024 Free Software Foundation, Inc.
+   Copyright (C) 2017-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/unittest.c 
new/libbacktrace-1.0+git20260601/unittest.c
--- old/libbacktrace-1.0+git20250210/unittest.c 2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/unittest.c 2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* unittest.c -- Test for libbacktrace library
-   Copyright (C) 2018-2024 Free Software Foundation, Inc.
+   Copyright (C) 2018-2026 Free Software Foundation, Inc.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/unknown.c 
new/libbacktrace-1.0+git20260601/unknown.c
--- old/libbacktrace-1.0+git20250210/unknown.c  2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/unknown.c  2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* unknown.c -- used when backtrace configury does not know file format.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/xcoff.c 
new/libbacktrace-1.0+git20260601/xcoff.c
--- old/libbacktrace-1.0+git20250210/xcoff.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/xcoff.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* xcoff.c -- Get debug data from an XCOFF file for backtraces.
-   Copyright (C) 2012-2024 Free Software Foundation, Inc.
+   Copyright (C) 2012-2026 Free Software Foundation, Inc.
    Adapted from elf.c.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/xztest.c 
new/libbacktrace-1.0+git20260601/xztest.c
--- old/libbacktrace-1.0+git20250210/xztest.c   2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/xztest.c   2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* xztest.c -- Test for libbacktrace LZMA decoder.
-   Copyright (C) 2020-2024 Free Software Foundation, Inc.
+   Copyright (C) 2020-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/zstdtest.c 
new/libbacktrace-1.0+git20260601/zstdtest.c
--- old/libbacktrace-1.0+git20250210/zstdtest.c 2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/zstdtest.c 2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* ztest.c -- Test for libbacktrace zstd code.
-   Copyright (C) 2022-2024 Free Software Foundation, Inc.
+   Copyright (C) 2022-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
@@ -297,8 +297,8 @@
   size_t orig_bufsize;
   size_t i;
   char *compressed_buf;
-  size_t compressed_bufsize;
   size_t compressed_size;
+  size_t chunk_size;
   unsigned char *uncompressed_buf;
   size_t r;
   clockid_t cid;
@@ -370,23 +370,39 @@
       return;
     }
 
-  compressed_bufsize = ZSTD_compressBound (orig_bufsize);
-  compressed_buf = malloc (compressed_bufsize);
-  if (compressed_buf == NULL)
-    {
-      perror ("malloc");
-      goto fail;
-    }
+  /* Split the input into 100K chunks. This is to approximate the fact that lld
+     splits the input into 1M shards. */
 
-  r = ZSTD_compress (compressed_buf, compressed_bufsize,
-                    orig_buf, orig_bufsize,
-                    ZSTD_CLEVEL_DEFAULT);
-  if (ZSTD_isError (r))
+  compressed_size = 0;
+  compressed_buf = NULL;
+  chunk_size = 100 << 10;
+  for (i = 0; i < orig_bufsize; i += chunk_size)
     {
-      fprintf (stderr, "zstd compress failed: %s\n", ZSTD_getErrorName (r));
-      goto fail;
+      size_t chunk_input_size;
+      size_t chunk_compressed_size;
+
+      chunk_input_size = orig_bufsize - i;
+      if (chunk_input_size > chunk_size)
+       chunk_input_size = chunk_size;
+
+      chunk_compressed_size = ZSTD_compressBound (chunk_input_size);
+      compressed_buf = realloc (compressed_buf, compressed_size + 
chunk_compressed_size);
+      if (compressed_buf == NULL)
+       {
+         perror ("realloc");
+         goto fail;
+       }
+
+      r = ZSTD_compress (compressed_buf + compressed_size,
+                        chunk_compressed_size,
+                        orig_buf + i, chunk_input_size, 3);
+      if (ZSTD_isError (r))
+       {
+         fprintf (stderr, "zstd compress failed: %s\n", ZSTD_getErrorName (r));
+         goto fail;
+       }
+      compressed_size += r;
     }
-  compressed_size = r;
 
   uncompressed_buf = malloc (orig_bufsize);
   if (uncompressed_buf == NULL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbacktrace-1.0+git20250210/ztest.c 
new/libbacktrace-1.0+git20260601/ztest.c
--- old/libbacktrace-1.0+git20250210/ztest.c    2025-02-11 00:04:43.000000000 
+0100
+++ new/libbacktrace-1.0+git20260601/ztest.c    2026-06-02 06:39:35.000000000 
+0200
@@ -1,5 +1,5 @@
 /* ztest.c -- Test for libbacktrace inflate code.
-   Copyright (C) 2017-2024 Free Software Foundation, Inc.
+   Copyright (C) 2017-2026 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without

++++++ libbacktrace.obsinfo ++++++
--- /var/tmp/diff_new_pack.5g3VMn/_old  2026-06-22 18:05:53.878200793 +0200
+++ /var/tmp/diff_new_pack.5g3VMn/_new  2026-06-22 18:05:53.886201072 +0200
@@ -1,5 +1,5 @@
 name: libbacktrace
-version: 1.0+git20250210
-mtime: 1739228683
-commit: 0034e33946824057b48c5e686a3aefc761b37384
+version: 1.0+git20260601
+mtime: 1780375175
+commit: 549b81b43b46c0f361680561a626bf0e7b79dcbd
 

Reply via email to