-
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
4.0 binaries are large #2090
Comments
One suspect may be TMP. Look for over-generation of a template. Symptom would include increased compile time. And for a size change that large, I would guess the compile time difference would be noticeable. Another obvious and higher probability suspect is something getting statically linked. As I believe you are implying, that should be diagnosed by looking at the CMakeLists.txt file. The tool |
I've run One possible reason is the BSIP40 implementation which heavily uses templates. |
It's clear that the main reason is the BSIP40 (custom active authorities) implementation. Among the intermediate files generated during building, the new Here listed the sizes of the
I guess we have to accept it. |
Description
When building with
cmake -DCMAKE_BUILD_TYPE=Release . && make
, the produced binaries oftest-4.0.x
are much larger than thetest-3.x
ones.I think it's abnormal.
It's probably caused by some CMake changes applied in 4.0.
Build Environment
Details about the build environment, including the relevant required libraries. Much of this information can be found in the
CMakeFiles/CMakeOutput.log
.CORE TEAM TASK LIST
Build Error
Bug Report
The text was updated successfully, but these errors were encountered: