[Bug 242846] net-p2p/monero-cli: fix build on non-x86
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 23 23:15:55 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242846
Bug ID: 242846
Summary: net-p2p/monero-cli: fix build on non-x86
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: vd at FreeBSD.org
Reporter: pkubaj at FreeBSD.org
Flags: maintainer-feedback?(vd at FreeBSD.org)
Assignee: vd at FreeBSD.org
Created attachment 210186
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210186&action=edit
patch
Architectures that don't have libunwind available should disable stack trace.
Otherwise, the following linking error is encountered:
FAILED: bin/monero-gen-ssl-cert
: && /usr/local/bin/g++9 -O2 -pipe -D_WANT_SEMUN -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9 -Wl,-rpath=/usr/local/lib/gcc9 -pthread
-mcpu=970 -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -Wall -Wextra
-Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra
-Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-variable
-Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized
-Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=cpp -Wno-reorder
-Wno-missing-field-initializers -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
-Wformat -Wformat-security -fstack-protector -fstack-protector-strong
-fstack-clash-protection -fno-strict-aliasing -ftemplate-depth=900 -DNDEBUG -O2
-L/usr/local/lib -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-L/usr/local/lib/gcc9 -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack
src/gen_ssl_cert/CMakeFiles/gen_ssl_cert.dir/gen_ssl_cert.cpp.o -o
bin/monero-gen-ssl-cert -Wl,-rpath,/usr/local/lib: -lexecinfo
src/common/libcommon.a contrib/epee/src/libepee.a src/libversion.a
contrib/epee/src/libepee_readline.a /usr/local/lib/libboost_program_options.so
/usr/local/lib/libboost_filesystem.so -pthread -lexecinfo
src/crypto/libcncrypto.a contrib/epee/src/libepee.a
external/randomx/librandomx.a /usr/local/lib/libsodium.so
/usr/local/lib/libunbound.so /usr/local/lib/libboost_date_time.so
/usr/local/lib/libboost_system.so /usr/local/lib/libboost_thread.so
/usr/local/lib/libboost_regex.so /usr/local/lib/libboost_chrono.so -lssl
-lcrypto external/easylogging++/libeasylogging.a -pthread -lexecinfo
/usr/local/lib/libreadline.so /usr/local/lib/libboost_filesystem.so -lexecinfo
&& :
/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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list