mirror of
https://github.com/libunwind/libunwind.git
synced 2026-01-12 00:04:03 +08:00
The MUSL libc setjmp/longjmp handling differs from the GNU libc setjmp/longjmp handling. It may not be possible to properly support sigsetjmp/siglongjmp on MUSL libc.
Testing libunwind
Testing in the build tree
Testing in a self-hosted build environment is as simple as make check
Testing staged builds
$ STAGINGDIR=/tmp/gh-705
$ make install DESTDIR=$STAGINGDIR
$ LIBUNWIND=$STAGINGDIR/usr/lib/libunwind.so LIBUNWIND_GENERIC=$STAGINGDIR/usr/lib/libunwind-x86_64.so LD_LIBRARY_PATH=$STAGINGDIR/usr/lib $STAGINGDIR/usr/libexec/libunwind/test-runner
Testing installed builds
$ /usr/libexec/libunwind/test-runner