[PATCH v3 1/3] Disable SFrame support by default
Claudiu Zissulescu-Ianculescu
claudiu.zissulescu-ianculescu@oracle.com
Thu Jul 24 08:25:51 GMT 2025
> -# Glibc stacktracer supports SFrame v2 or newer
> -libc_cv_readelf_version_ok=yes
> -# SFrame is supported from 2.41 or higher
> -AC_CHECK_PROG_VER(READELF_SFRAME, $READELF, --version,
> - [GNU readelf.* \([0-9][0-9]*\.[0-9.]*\)],
> - [2.4[1-9]*|2.[5-9][0-9]*|[3-9].*|[1-9][0-9][0-9]*],
> - libc_cv_readelf_version_ok=no)
> +enable_gsframe=no
> +if test $use_sframe = yes; then
> + # SFrame requires to be explicit enabled by the architecture
> + if test -z $libc_cv_support_sframe; then
> + AC_MSG_FAILURE([the architecture doesn't support SFrame])
> + fi
A small observation, the sframe will be enable also when
$libc_cv_support_sframe=no.
LGTM, and thank you,
Claudiu
More information about the Libc-alpha
mailing list