On Tue, Oct 21, 2025 at 10:12:20AM +0100, Andre Vieira wrote:
> --- a/libgcc/config/arm/libgcc-bpabi.ver
> +++ b/libgcc/config/arm/libgcc-bpabi.ver
> @@ -106,3 +106,14 @@ GCC_3.5 {
>  GCC_4.3.0 {
>    _Unwind_Backtrace
>  }
> +
> +%inherit GCC_14.0.0 GCC_4.3.0
> +GGC_14.0.0 {

No, this needs to be GCC_16.0.0.  Because while they were added
on x86 and aarch64 (little endian) in GCC 14, they are only being
added in GCC 16 for arm 32/s390x/loongarch and maybe aarch64 big endian.
So, it can't be exported in a symbol version associated with an already
released compiler.

> +    __fixsfbitint
> +    __fixdfbitint
> +    __floatbitinthf
> +    __floatbitintsf
> +    __floatbitintdf
> +    __mulbitint3
> +    __divmodbitint4
> +}

s390x also does
%ifdef __s390x__
%inherit GCC_16.0.0 GCC_4.1.0
GCC_16.0.0 {
  __mulbitint3
  __divmodbitint4
  __fixsfbitint
  __fixdfbitint
  __fixtfbitint
  __floatbitintsf
  __floatbitintdf
  __floatbitinttf
}
%endif
and loongarch
GCC_16.0.0 {
    __mulbitint3
    __divmodbitint4
    __fixsfbitint
    __fixdfbitint
    __fixtfbitint
    __floatbitintsf
    __floatbitintdf
    __floatbitinttf
}

        Jakub

Reply via email to