-
Notifications
You must be signed in to change notification settings - Fork 649
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
MinGW build failure #2003
Comments
https://digitalkarabela.com/mingw-w64-how-to-fix-file-too-big-too-many-sections/ It is similar to the /bigobj flag for MSVC |
It is similar and technically it is a related problem, but in this case the big-obj switch does not solve anything. In most cases, big-obj and a high optimization level ( say O3 ) helps, but here it it is simply too much for MinGW. We might also notice that MSVC does not have this problem, even though it generates object files in the same format. This is probably due to differences between MSVC and MinGW when it comes to what is being written to the string table. I guess MinGW is just more chatty. I don't know how to come around this, the solution I see is the splitting |
I am curious if anyone has input as to why the PIMPL idiom should be used here. I see an increase in complexity with no real benefit (how many applications link in wallet.cpp?). Am I missing something? I'd say ditch PIMPL + cut the file into logical classes that implement some portion of the wallet API. Any opposed? |
IMO PIMPL should be kept. |
Fixed by #2013 |
Build Error Description
Current develop branch fails to build with MinGW.
Note: examples below were on gitian build, but was reported originally by @crypto-ape for Linux and Windows, see #1706 (comment)
Build Environment
Steps To Reproduce
Steps to reproduce the behavior (example outlined below):
run-gitian -b -O win develop
cd build/bitshares/build; make cli_wallet
Console Logs (optional)
CORE TEAM TASK LIST
Build Error
Bug Report
The text was updated successfully, but these errors were encountered: