Merge #6037: fix: bump version of libbacktrace library

0e82bf46d2 fix: bump version of libbacktrace library (Konstantin Akimov)

Pull request description:

  ## Issue being fixed or feature implemented
  Old version of `libbacktrace` library 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

  ## What was done?
  Bump version of `libbacktraces` to the current master. It doesn't seems as it has any releases anymore, so, I chose the latest revision.

  ## How Has This Been Tested?
  With old version:
  ```
  No debug information available for stacktrace. You should add debug information and then run
  dashd -printcrashinfo=bvcgc43iinzgc43ijfxgm3ybaacwiyltnbsfw43umq5du5dfojwws3tborssqkjamnqwy3dfmqqgi5lfeb2g6idvnzugc3tenrswiidfpbrwk4dunfxw4csfpbrwk4dunfxw4oraor4xazj5mnugc4ramnxw443ufiwca53imf2d2isiiveekiqed56acaaaaaaaaucrlszzcfaaaaevexftsekaaafvmqbaaaaaaaaaa===
  ```

  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>            - ???
  ```

  ## Breaking Changes
  n/a

  ## Checklist:
  - [x] I have performed a self-review of my own code
  - [ ] I have commented my code, particularly in hard-to-understand areas
  - [ ] I have added or updated relevant unit/integration/functional/e2e tests
  - [ ] I have made corresponding changes to the documentation
  - [x] I have assigned this pull request to a milestone

ACKs for top commit:
  PastaPastaPasta:
    utACK 0e82bf46d2

Tree-SHA512: d133d166251bb12b4dbba8e7f0802943cc7ce98f8d6b322fc547a4da37d51ee8599ef3714c6e07aab35e04416b2b492816bd4b505a52137f432c0a935ac40196
This commit is contained in:
pasta 2024-05-29 11:20:37 -05:00
commit 74a10a87ea
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -1,8 +1,9 @@
package=backtrace
$(package)_version=rust-snapshot-2018-05-22
$(package)_download_path=https://github.com/rust-lang-nursery/libbacktrace/archive
$(package)_file_name=$($(package)_version).tar.gz
$(package)_sha256_hash=8da6daa0a582c9bbd1f2933501168b4c43664700f604f43e922e85b99e5049bc
$(package)_version=11427f31a64b11583fec94b4c2a265c7dafb1ab3
$(package)_download_path=https://github.com/ianlancetaylor/libbacktrace/archive
$(package)_download_file=$($(package)_version).tar.gz
$(package)_file_name=$(package)_$($(package)_version).tar.gz
$(package)_sha256_hash=76a8348ff04d80141aeb1c0e55879f17f241f38238def0eb1df7c6d1ac1a2c26
define $(package)_set_vars
$(package)_config_opts=--disable-shared --enable-host-shared --prefix=$(host_prefix)