[PATCH v3 1/3] Disable SFrame support by default
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Thu Jul 24 12:08:41 GMT 2025
On 24/07/25 05:25, Claudiu Zissulescu-Ianculescu wrote:
>> -# 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.
Yeah, I though about it but I think either ABIs will always set
libc_cv_support_sframe=yes on configure.ac or let as it. I think iff
some ABI decided to conditionality enable SFrame we can tune this test
more.
More information about the Libc-alpha
mailing list