Yggdrasil icon indicating copy to clipboard operation
Yggdrasil copied to clipboard

Update Libundwind to 1.6.2, ABI breakage

Open mkitti opened this issue 3 years ago • 4 comments

See: JuliaLang/julia#43520

ABI breakage: https://abi-laboratory.pro/index.php?view=timeline&l=libunwind

Arch Linux patch to Julia: https://github.com/archlinux/svntogit-community/blob/4d9e973e1ed5753966229f40aea2dc7ac77bb889/trunk/julia-libunwind-1.6.patch

mkitti avatar Feb 16 '22 15:02 mkitti

It looks like you have to fix the patches

Yes, I'm working through that. Thanks for the help.

mkitti avatar Feb 16 '22 18:02 mkitti

Remove libunwind-static-arm.patch, integrated upstream https://github.com/libunwind/libunwind/commit/1dd0b64fa9d0be66252f7f66e530fffbd59dde86

Remove libunwind-configure-ppc641e.patch https://github.com/libunwind/libunwind/commit/0af7e7a53480ce8e1cf6cfb4e9fe071c1185ef31

Apply patch via git (updated libunwind-dwarf-table.patch cc: @ararslan ) https://github.com/libunwind/libunwind/commit/8b3832fea8a343ec0888545088c859074aaee20f

mkitti avatar Feb 16 '22 19:02 mkitti

And now only the FreeBSD build is successful. @ararslan is this your doing?

giordano avatar Feb 16 '22 19:02 giordano

I'm guessing that this is the root our current problems on aarch-linux-musl:

[00:47:19] /opt/aarch64-linux-musl/aarch64-linux-musl/sys-root/usr/include/asm/sigcontext.h:28:8: error: redefinition of ‘struct sigcontext’
[00:47:19]  struct sigcontext {

This seem to be similar to other issues: https://bugs.gentoo.org/677098

mkitti avatar Feb 19 '22 01:02 mkitti

Julia is now on 1.7.2, so closing this.

imciner2 avatar Apr 03 '24 20:04 imciner2