mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
48d92f116e
* Add libbacktrace to depends This is currently only useful to extract symbols. It fails to gather stacktraces when compiled with MinGW, so we can only use it to get symbol information from a stack trace which we gathered outside of libbacktrace. * Add -mbig-obj to CXXFLAGS for MinGW builds * Implement stacktraces for C++ exceptions This is a hack and should only be used for debugging. It works by wrapping the C++ ABI __wrap___cxa_allocate_exception. The wrapper records a backtrace and stores it in a global map. Later the stacktrace can be retrieved with GetExceptionStacktraceStr. This commit also adds handlers to pretty print uncaught exceptions and signals. * Use GetPrettyExceptionStr for all unhandled exceptions * Use --enable-stacktraces in CI for linux32/linux64 * Register exception translators to pretty print exceptions in unit tests * Catch and print python exceptions when stopping nodes Otherwise the code at the bottom is never executed when nodes crash, leading to no output of debug.log files on Travis. * Remove now unneeded/unused TestCrash methods
22 lines
624 B
Makefile
22 lines
624 B
Makefile
packages:=boost openssl libevent zeromq gmp chia_bls backtrace
|
|
native_packages := native_ccache
|
|
|
|
qt_native_packages = native_protobuf
|
|
qt_packages = qrencode protobuf zlib
|
|
|
|
qt_x86_64_linux_packages:=qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans
|
|
qt_i686_linux_packages:=$(qt_x86_64_linux_packages)
|
|
|
|
qt_darwin_packages=qt
|
|
qt_mingw32_packages=qt
|
|
|
|
wallet_packages=bdb
|
|
|
|
upnp_packages=miniupnpc
|
|
|
|
darwin_native_packages = native_biplist native_ds_store native_mac_alias
|
|
|
|
ifneq ($(build_os),darwin)
|
|
darwin_native_packages += native_cctools native_cdrkit native_libdmg-hfsplus
|
|
endif
|