Reduce windows executable size by excluding unused libs #1678
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-22#1678
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "windows-min-format"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello!
I formatted bitmessagemain.spec and excluded unused libraries. This should slightly reduce the size of windows exe.
Looks OK, builds succeed. In the future, windows builds will be done automatically for every PR, you can't download the resulting binaries but at least you'll have the build log available.
It fails to run on Windows 10. So I don't merge, it needs investigation.
64 bit builds for windows 10 aren't working. This is a separate issue and a developer is working on it: #1622
I read it and tested i386 build.
Hmm... Today it runs:
And Bitmessage_x64.exe from https://download2.bitmessage.org/tmp/20200928/ also runs on that machine.
The current 64bit binaries don't crash on Windows 10, but they can't send/receive messages because pyelliptic is broken. I still haven't tried running the binaries from this PR.
I see. The date/status of sent message is "Waiting for their encryption key...".
Yes, that's how the problem manifests. It can't decode the pubkey object.
i386 build behaves in the same way on my machine.
It's possible the bug affects other combinations of OS and CPU. However, to get a full test, you have to empty the
inventory
table between trying different versions of the binary / code, or always use an empty config directory. Maybe you haven't done that when switching from 64bit to 32bit binary?I removed messages.dat and created support request for all three exes: Bitmessage_x64 and _x86 from https://download2.bitmessage.org/tmp/20200928 and my build with these changes. The same result: nothing is sent.
ok then, I recommend you can postpone this PR until after pyelliptic is fixed.