feather/contrib/depends/patches/boost/disable_addr2line.patch

43 lines
1.6 KiB
Diff
Raw Normal View History

2023-10-05 14:40:05 +00:00
Fixes a reproducibility defect. We don't need the library.
diff --git a/libs/stacktrace/build/Jamfile.v2 b/libs/stacktrace/build/Jamfile.v2
index 230d5a8b4..d3d74599b 100644
--- a/libs/stacktrace/build/Jamfile.v2
+++ b/libs/stacktrace/build/Jamfile.v2
@@ -42,9 +42,6 @@ rule mp-run-simple ( sources + : args * : input-files * : requirements * : targe
mp-run-simple has_backtrace.cpp : : : <library>backtrace : libbacktrace ;
explicit libbacktrace ;
-mp-run-simple has_addr2line.cpp : : : : addr2line ;
-explicit addr2line ;
-
mp-run-simple has_windbg.cpp : : : <library>Dbgeng <library>ole32 : WinDbg ;
explicit WinDbg ;
@@ -76,19 +73,6 @@ lib boost_stacktrace_backtrace
#<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
;
-lib boost_stacktrace_addr2line
- : # sources
- ../src/addr2line.cpp
- : # requirements
- <warnings>all
- <target-os>linux:<library>dl
- <link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
- [ check-target-builds ../build//addr2line : : <build>no ]
- : # default build
- : # usage-requirements
- #<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
- ;
-
lib boost_stacktrace_basic
: # sources
../src/basic.cpp
@@ -128,4 +112,4 @@ lib boost_stacktrace_windbg_cached
#<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
;
-boost-install boost_stacktrace_noop boost_stacktrace_backtrace boost_stacktrace_addr2line boost_stacktrace_basic boost_stacktrace_windbg boost_stacktrace_windbg_cached ;
+boost-install boost_stacktrace_noop boost_stacktrace_backtrace boost_stacktrace_basic boost_stacktrace_windbg boost_stacktrace_windbg_cached ;