-
Notifications
You must be signed in to change notification settings - Fork 576
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
Update winbuild.sh #1933
Update winbuild.sh #1933
Conversation
@@ -134,27 +134,27 @@ function build_dll(){ | |||
cd src/bitmsghash || exit 1 | |||
if [ "${MACHINE_TYPE}" == 'x86_64' ]; then | |||
echo "Create dll" | |||
x86_64-w64-mingw32-g++ -D_WIN32 -Wall -O3 -march=native \ | |||
x86_64-w64-mingw32-g++ -D_WIN32 -Wall -O3 -march=x86-64 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that not what the minus signs indicate?
I sure didn't intend to leave "march=native" so hopefully github is not doing that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, aren't those values the defaults, that will be applied if you just remove the -march=native
? Though maybe it's better to set that explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It turns out that there is no default value for the march option.
There is no default in general, because it's platform-specific.
https://gcc-help.gcc.gnu.narkive.com/Z259fPcD/default-value-for-march-option
Though you can find what your platform will use as default (if it is not specified) with the command:
gcc -Q --help=target
https://stackoverflow.com/questions/27786932/what-is-the-default-for-gcc-march-option
You might want to add something like "(closes: #1919)" into the commit message. |
I thought you could just download a build, because |
https://download.bitmessage.org/snapshots/ is available and there is a new build for today there but I am uncertain whether that build incorporates this pull request as it has not yet been merged. |
snapshots are for merges into |
I can tell buildbot to build a debug binary and it will then be available for upload |
Binary from this PR: https://storage.bitmessage.org/binaries/Bitmessage_x86_7652.exe |
Wonderful. Tested on the machines that displayed the C PoW missing message in the status and that were (effectively) unable to send messages due to proof of work taking forever. They no longer display the C PoW missing message and messages are sent as expected. Pending merge, this closes #1919. |
@BeholdersEye What's left to do is to sign the commit and rebase the PR. If you're having problems with that, I can assign someone to do that instead. |
@PeterSurda By all means do so. |
I added a gpg signature to my account but if you require email verification to fix bugs then I will let someone else do it. Feels like having a state funeral for a mosquito. |
The signatures are mainly used to maintain the integrity of the repository rather than verifying the identity of contributors. If I make an exception then some automated scripts will stop working (i.e. it will look like someone is trying to change the repository without authorisation). I understand it's is a bit of a hassle for new contributors, I plan on adding it to the introductory videos so that it's easier. |
You might rebase and sign by your own.
Чт, 24 лют. 2022 14:01 користувач BeholdersEye ***@***.***>
пише:
… By all means do so.
—
Reply to this email directly, view it on GitHub
<#1933 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6TVHAWHLHOKTJFKGWC2D3U4YMZFANCNFSM5PBSDIFQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
@PeterSurda please do so. |
This reverts commit a816103.
I get the impression that the problem is that my gpg signature is not associated with a verified email address. Too bad it is not possible to verify with a bitmessage address. |
I would rather not share any more information on github. Let me know if you need any more help from me to get this implemented in a release build. |
@BeholdersEye no need for you to do anything, I assigned a developer to the task, it may just take a couple of days |
Closed with #1937 |
changes proof of work gcc machine architecture setting from "native" to "x86-64" and "i686" as appropriate to allow the resultant binary to run on CPU's other than the on which the binary was compiled.
#1919