I have tested enabling CLR_CMAKE_USE_SYSTEM_LIBUNWIND on dotnet8 in a PPA [0].
The build succeeds for amd64 and s390x. It fails for arm64 during crossgen: ``` crossgen2 -> /<<PKGBUILDDIR>>/src/runtime/artifacts/source-build/self/src/artifacts/bin/coreclr/linux.arm64.Release/crossgen2/crossgen2.dll /<<PKGBUILDDIR>>/previously-built-dotnet/sdk/8.0.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(470,5): error : /<<PKGBUILDDIR>>/src/runtime/artifacts/source-build/self/src//dotnet.sh: line 27: 56852 Segmentation fault (core dumped) ${dotnetPath} "$@" [/<<PKGBUILDDIR>>/src/runtime/artifacts/source-build/self/src/src/coreclr/tools/aot/crossgen2/crossgen2.csproj] /<<PKGBUILDDIR>>/previously-built-dotnet/sdk/8.0.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(358,5): error NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. [/<<PKGBUILDDIR>>/src/runtime/artifacts/source-build/self/src/src/coreclr/tools/aot/crossgen2/crossgen2.csproj] Build FAILED. ``` This is the ldd output on an amd64 machine for validation: $ ldd /usr/lib/dotnet/shared/Microsoft.NETCore.App/8.0.4/libcoreclr.so linux-vdso.so.1 (0x00007fffbc398000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000074a7fbdae000) libunwind-x86_64.so.8 => /lib/x86_64-linux-gnu/libunwind-x86_64.so.8 (0x000074a7fbd92000) libunwind.so.8 => /lib/x86_64-linux-gnu/libunwind.so.8 (0x000074a7fbd77000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x000074a7fb200000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000074a7fb517000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000074a7fae00000) /lib64/ld-linux-x86-64.so.2 (0x000074a7fbde2000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x000074a7fbd43000) [0] https://launchpad.net/~mateus-morais/+archive/ubuntu/dotnet- libunwind -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065178 Title: bundled libunwind is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dotnet7/+bug/2065178/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs