Package: android-platform-external-libunwind / 10.0.0+r36-1

Metadata

Package Version Patches format
android-platform-external-libunwind 10.0.0+r36-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
user_pt_regs.patch | (download)

src/ptrace/_UPT_access_reg.c | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 manual definition of struct user_pt_regs
 On ARM64, libunwind uses struct user_pt_regs which is not defined in
 anywhere, which causes FTBFS.

legacy_built in_sync_functions.patch | (download)

include/libunwind_i.h | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 replace the legacy __sync built-in functions with __atomic ones
 libunwind uses the built-in __sync_* functions which are deprecated by GCC and
 should be replaced by __atomic_* ones. See the official manuals [1].
 .
 The legacy __sync functions do not require to specify the memory order but
 __atomic ones do, so we choose the strongest one: __ATOMIC_SEQ_CST.
 .
 We do this because __sync_fetch_and_add() is not supported on armel.
 .
 [1]: https://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html
20150704 CVE 2015 3239_dwarf_i.h.patch | (download)

include/dwarf_i.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fixes "20150704-cve-2015-3239"