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
2024-07-02 10:11:23 +00:00
@@ -48,9 +48,6 @@ rule mp-run-simple ( sources + : args * : input-files * : requirements * : targe
2023-10-05 14:40:05 +00:00
mp-run-simple has_backtrace.cpp : : : <library>backtrace : libbacktrace ;
explicit libbacktrace ;
2024-07-02 10:11:23 +00:00
2023-10-05 14:40:05 +00:00
-mp-run-simple has_addr2line.cpp : : : : addr2line ;
-explicit addr2line ;
-
mp-run-simple has_windbg.cpp : : : <library>Dbgeng <library>ole32 : WinDbg ;
explicit WinDbg ;
2024-07-02 10:11:23 +00:00
@@ -82,19 +79,6 @@ lib boost_stacktrace_backtrace
2023-10-05 14:40:05 +00:00
#<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
;
2024-07-02 10:11:23 +00:00
2023-10-05 14:40:05 +00:00
-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
2024-07-02 10:11:23 +00:00
@@ -152,4 +136,4 @@ lib boost_stacktrace_from_exception
2023-10-05 14:40:05 +00:00
#<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
;
2024-07-02 10:11:23 +00:00
-boost-install boost_stacktrace_noop boost_stacktrace_backtrace boost_stacktrace_addr2line boost_stacktrace_basic boost_stacktrace_windbg boost_stacktrace_windbg_cached boost_stacktrace_from_exception ;
+boost-install boost_stacktrace_noop boost_stacktrace_backtrace boost_stacktrace_basic boost_stacktrace_windbg boost_stacktrace_windbg_cached boost_stacktrace_from_exception ;