[PATCH v2 0/2] sframe: Disable by default and support SFRAME_F_FDE_FUNC_START_PCREL

Andreas K. Huettel dilfridge@gentoo.org
Tue Jul 22 11:53:40 GMT 2025


Am Dienstag, 22. Juli 2025, 13:32:54 Mitteleuropäische Sommerzeit schrieb Adhemerval Zanella Netto:
> Andreas,
> 
> Would it be ok for 2.43? There is only only small issues Indu has found
> that I fixed locally.

Yes, sure, go ahead please  - and thank you very much.



> 
> On 21/07/25 20:41, Adhemerval Zanella wrote:
> > The SFrame prior binutils 2.45 is unstable on multiple architectures,
> > so upcoming binutils 2.45 should be considered the minimum required
> > version for SFrame backtracing. This version also includes an erratum,
> > SFRAME_F_FDE_FUNC_START_PCREL, which is not currently supported on
> > glibc. SFrame with this flag is currently ignored by glibc SFrame
> > handling.
> > 
> > Due to the experimental nature, the first patch disables SFrame by
> > default, adds extra checks to enable iff the architecture's explicit
> > enablement is on glibc, and fixes some other build issues.
> > 
> > The second patch adds support for the SFRAME_F_FDE_FUNC_START_PCREL
> > erratum, which adds SFrame support for binaries built with binutils
> > 2.45.
> > 
> > Adhemerval Zanella (1):
> >   Disable SFrame support by default
> > 
> > Claudiu Zissulescu (1):
> >   sframe: Add support for SFRAME_F_FDE_FUNC_START_PCREL flag
> > 
> >  INSTALL                                     |   9 +-
> >  aclocal.m4                                  |   4 +
> >  config.h.in                                 |   3 +
> >  config.make.in                              |   2 +-
> >  configure                                   |  62 ++++++----
> >  configure.ac                                |  26 ++--
> >  debug/Makefile                              |  16 ++-
> >  debug/backtrace.c                           |   8 ++
> >  {sysdeps/pthread => debug}/tst-backtrace1.c |   0
> >  elf/dl-find_object.h                        |  10 ++
> >  manual/install.texi                         |  11 +-
> >  sysdeps/aarch64/configure                   |   2 +
> >  sysdeps/aarch64/configure.ac                |   2 +
> >  sysdeps/generic/Makefile                    |   2 +
> >  sysdeps/generic/sframe-read.c               | 128 +++++++++++++++-----
> >  sysdeps/generic/sframe-read.h               |   6 +
> >  sysdeps/generic/sframe.h                    |  15 ++-
> >  sysdeps/pthread/Makefile                    |   1 -
> >  sysdeps/x86_64/configure                    |   2 +
> >  sysdeps/x86_64/configure.ac                 |   2 +
> >  20 files changed, 226 insertions(+), 85 deletions(-)
> >  rename {sysdeps/pthread => debug}/tst-backtrace1.c (100%)
> > 
> 
> 


-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 981 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250722/3c405afd/attachment.sig>


More information about the Libc-alpha mailing list