Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2016 21:40:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207110] net-p2p/bitcoin fails to build
Message-ID:  <bug-207110-13-muo3gBfPfS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207110-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207110-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207110

--- Comment #17 from Thierry Thomas <thierry@FreeBSD.org> ---
Since r411050, the previous error with SSLv23_method has been fixed, and but
now it fails at linking:

/bin/sh ../libtool  --tag CXX  --mode=3Dlink g++  -O2 -pipe -march=3Dcorei7
-fstack-protector -fno-strict-aliasing  -I/usr/local/include/db48=20
-Wstack-protector -fstack-protector-all -fPIE  -D_THREAD_SAFE -pthread=20=
=20=20
-Wl,-rpath,/usr/local/lib -fstack-protector  -Wl,-z,relro -Wl,-z,now -pie -o
qt/bitcoin-qt qt/qt_bitcoin_qt-bitcoin.o   qt/libbitcoinqt.a
libbitcoin_server.a libbitcoin_wallet.a libbitcoin_cli.a libbitcoin_common.a
libbitcoin_util.a crypto/libbitcoin_crypto.a univalue/libbitcoin_univalue.a
./leveldb/libleveldb.a ./leveldb/libmemenv.a -pthread -L/usr/local/lib
-lboost_system -lboost_filesystem -lboost_program_options -lboost_thread
-lboost_chrono -L/usr/local/lib/qt4 -lQtGui -lQtNetwork -lQtCore=20=20=20
-L/usr/local/lib -lqrencode -pthread   -L/usr/local/lib -lprotobuf
-D_THREAD_SAFE -pthread  -lpthread   -ldb_cxx-4.8 -L/usr/local/lib -lssl
-L/usr/local/lib -lcrypto  secp256k1/libsecp256k1.la -lcrypto
-L/usr/local/lib/db48
libtool: link: g++ -O2 -pipe -march=3Dcorei7 -fstack-protector
-fno-strict-aliasing -I/usr/local/include/db48 -Wstack-protector
-fstack-protector-all -fPIE -D_THREAD_SAFE -pthread -Wl,-rpath
-Wl,/usr/local/lib -fstack-protector -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o
qt/bitcoin-qt qt/qt_bitcoin_qt-bitcoin.o -pthread -pthread -D_THREAD_SAFE
-pthread  qt/libbitcoinqt.a libbitcoin_server.a libbitcoin_wallet.a
libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a
crypto/libbitcoin_crypto.a univalue/libbitcoin_univalue.a
./leveldb/libleveldb.a ./leveldb/libmemenv.a -L/usr/local/lib -lboost_system
-lboost_filesystem -lboost_program_options -lboost_thread -lboost_chrono
-L/usr/local/lib/qt4 -lQtGui -lQtNetwork -lQtCore -lqrencode -lprotobuf
-lpthread -ldb_cxx-4.8 -lssl secp256k1/.libs/libsecp256k1.a
-L/usr/local/lib/db48 -lcrypto -pthread
/usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMI=
C'
can not be used when making a shared object; recompile with -fPIC
/usr/lib/crt1.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status

I have not yet tried to recompile with -fPIC

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207110-13-muo3gBfPfS>