Skip to content

Commit 0e82bf4

Browse files
committed
fix: bump version of libbacktrace library
Old version doesn't support debug information for ELF produced by modern compilers It appears like an error: > unrecognized DWARF version in .debug_info at 6 > no debug info in ELF executable which causes: > No debug information available for stacktrace. You should add debug information and then run And backtraces are not shown on linux even if debug infos here. With this fixes output as expected: ``` std::terminate() called due to unhandled exception Exception: type=char const*, what="HEHE" 0#: (0x5D7C19364C3F) bitcoind.cpp:114 - AppInit 1#: (0x5D7C19364C3F) bitcoind.cpp:273 - main 2#: (0x7B0B19C28150) libc_start_call_main.h:74 - __libc_start_call_main 3#: (0x7B0B19C28209) libc-start.c:128 - call_init 4#: (0x7B0B19C28209) libc-start.c:347 - __libc_start_main_impl 5#: (0x5D7C193734D5) <unknown-file> - ??? ```
1 parent cb352c5 commit 0e82bf4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

depends/packages/backtrace.mk

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package=backtrace
2-
$(package)_version=rust-snapshot-2018-05-22
3-
$(package)_download_path=https://github.com/rust-lang-nursery/libbacktrace/archive
4-
$(package)_file_name=$($(package)_version).tar.gz
5-
$(package)_sha256_hash=8da6daa0a582c9bbd1f2933501168b4c43664700f604f43e922e85b99e5049bc
2+
$(package)_version=11427f31a64b11583fec94b4c2a265c7dafb1ab3
3+
$(package)_download_path=https://github.com/ianlancetaylor/libbacktrace/archive
4+
$(package)_download_file=$($(package)_version).tar.gz
5+
$(package)_file_name=$(package)_$($(package)_version).tar.gz
6+
$(package)_sha256_hash=76a8348ff04d80141aeb1c0e55879f17f241f38238def0eb1df7c6d1ac1a2c26
67

78
define $(package)_set_vars
89
$(package)_config_opts=--disable-shared --enable-host-shared --prefix=$(host_prefix)

0 commit comments

Comments
 (0)