-
Notifications
You must be signed in to change notification settings - Fork 35.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false> #6113
Comments
Mmm, I might've read a bit too quickly. @itoffshore could you please try cherry-picking 8b08d95 into 0.10, building without BOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT, and seeing if that fixes the crash? |
Yes building with the latest (it wasn't possible to cherry pick the patch as there is no |
Thanks for testing. In 0.10, it's just src/rpcwallet.cpp. The change is trivial if you'd like to apply it by hand. Probably safe to conclude that 8b08d95 is enough to fix the problem, though. |
I looked at |
@itoffshore I went ahead and PR'd the backport as #6114. Thank you very much for reporting the issue and testing. |
Quick manual copy over of bitcoin/bitcoin#6114 which is necessary to compile with boost 1.58, the default with Ubuntu 15.10 Relevant: bitcoin/bitcoin#6113
According to the same issue on bitcoin: bitcoin/bitcoin#6113 Helped and working well on my Ubuntu 15.10 with boost version 1.58
Getting this when building on 16.04. |
Have a look at
and search for this line
It should work after changed to
as seen in 8b08d95. |
Thank you lacksfish ! This is also impacting devcoin and making the change resolved my build issue as well. |
Fix build issue on Linux 16.04LTS as seen in bitcoin/bitcoin@8b08d95 and bitcoin/bitcoin#6113
Updated rpcrawtransactions.cpp to allow for compiling of CLI client on Ubuntu 16.04 (per bitcoin/bitcoin#6113) Credit: recklessop
Fixes building in newer linux distros Based on: bitcoin#6113
Have a look at rpcrawtransaction.cpp and search for this line const CScriptID& hash = boost::get<const CScriptID&>(address); Changed as per bitcoin/bitcoin#6113 It should work after changed to const CScriptID& hash = boost::get<CScriptID>(address);
Fixes building in newer linux distros Based on: bitcoin#6113
Fixes building in newer linux distros Based on: bitcoin#6113
Since 0.10 I've been seeing segfaults in Alpine Linux. I first checked the permissions were correctly set in
~/.bitcoin
& set~/.bitcoin/bitcoin.conf
tochmod 0600
. This didn't make any difference, runningbitcoind
as a normal user still gave a segfault.To trace the segfault with
gdb
I tried building with debug symbols included--enable-debug
& this is the error thrown:(with
boost-1.58
&gcc-4.9.2
)Bitcoin builds successfully if I don't
--enable-debug
& setCXXFLAGS="$CXXFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1"
(but still segfaults)The text was updated successfully, but these errors were encountered: