mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-15 23:50:13 +00:00
arm: Fix softp-fp Implies (BZ #25635)
The commit "arm: Split BE/LE abilist" (1673ba87fe
) changed the soft-fp order for ARM selection when __SOFTFP__ is defined by the compiler. On 2.30 the sysdeps order is: 2.30 sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic While on master is: sysdeps/unix/sysv/linux/arm/le sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/le sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/ieee754 sysdeps/generic It make the build select some routines (fadd, fdiv, fmul, fsub, and fma) on ieee754/flt-32 and ieee754/dbl-64 that requires fenv support to be correctly rounded which in turns lead to math failures since the __SOFTFP__ does not have fenv support. With this patch the order is now: sysdeps/unix/sysv/linux/arm/le sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptlsysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/le/nofpu sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/arm/le sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic Checked on arm-linux-gnuaebi. (cherry picked from commitaf09e5e5d9
)
This commit is contained in:
parent
1ce16683d9
commit
4f0ae74135
1
NEWS
1
NEWS
@ -45,6 +45,7 @@ The following bugs are resolved with this release:
|
||||
[25401] Remove incorrect alloc_size attribute from pvalloc
|
||||
[25487] sinl() stack corruption from crafted input (CVE-2020-10029)
|
||||
[25523] MIPS/Linux inline syscall template is miscompiled
|
||||
[25635] arm: Wrong sysdep order selection for soft-fp
|
||||
|
||||
|
||||
Version 2.30
|
||||
|
1
sysdeps/arm/be/nofpu/Implies
Normal file
1
sysdeps/arm/be/nofpu/Implies
Normal file
@ -0,0 +1 @@
|
||||
arm/nofpu
|
1
sysdeps/arm/le/nofpu/Implies
Normal file
1
sysdeps/arm/le/nofpu/Implies
Normal file
@ -0,0 +1 @@
|
||||
arm/nofpu
|
Loading…
Reference in New Issue
Block a user