svn commit: r522327 - branches/2020Q1/net-p2p/monero-cli
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jan 7 11:46:24 UTC 2020
Author: pkubaj
Date: Tue Jan 7 11:46:24 2020
New Revision: 522327
URL: https://svnweb.freebsd.org/changeset/ports/522327
Log:
MFH: r522326
net-p2p/monero-cli: fix build on non-x86
Architectures that don't have libunwind available should disable stack trace.
Otherwise, the following linking error is encountered:
/usr/local/bin/ld: src/common/libcommon.a(stack_trace.cpp.o): in function `tools::log_stack_trace(char const*)':
stack_trace.cpp:(.text+0x71c): undefined reference to `el::base::debug::StackTrace::generateNew()'
/usr/local/bin/ld: stack_trace.cpp:(.text+0x72c): undefined reference to `el::base::debug::operator<<(std::ostream&, el::base::debug::StackTrace const&)'
collect2: error: ld returned 1 exit status
PR: 242846
Approved by: vd (maintainer timeout)
Approved by: portmgr (fix build blanket)
Modified:
branches/2020Q1/net-p2p/monero-cli/Makefile
Directory Properties:
branches/2020Q1/ (props changed)
Modified: branches/2020Q1/net-p2p/monero-cli/Makefile
==============================================================================
--- branches/2020Q1/net-p2p/monero-cli/Makefile Tue Jan 7 11:45:07 2020 (r522326)
+++ branches/2020Q1/net-p2p/monero-cli/Makefile Tue Jan 7 11:46:24 2020 (r522327)
@@ -82,6 +82,8 @@ CMAKE_ARGS+= -DLD_RAW_FLAGS:STRING=-m${LD_EMULATION}
# keep in sync with all platforms where libunwind is available
.if (${ARCH} == amd64 || ${ARCH} == i386)
LIB_DEPENDS+= libunwind.so:devel/libunwind
+.else
+CMAKE_ARGS+= -DSTACK_TRACE:BOOL=OFF
.endif
CMAKE_ARGS+= -DMANUAL_SUBMODULES:BOOL=ON
More information about the svn-ports-all
mailing list