Skip to content
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

Windows binary #78

Closed
sergeevabc opened this issue Jan 17, 2024 · 9 comments
Closed

Windows binary #78

sergeevabc opened this issue Jan 17, 2024 · 9 comments

Comments

@sergeevabc
Copy link

sergeevabc commented Jan 17, 2024

Dear @drand, Windows 7 x64 user here. Could you be so kind to generate .exe for the rest of us who are ordinary users without compilers?

@AnomalRoil
Copy link
Member

Sounds like a good idea. I'll release a v1.1.0 soon and will include binaries for Windows, Linux and Macos.

@AnomalRoil
Copy link
Member

You can now find a Windows binary in our latest release!
https://github.com/drand/tlock/releases

I'll have to tweak the releaser a bit to avoid packaging binaries in .tar.gz archives, but these can be extracted using 7Zip and probably many other Archive tools on Windows.

@sergeevabc
Copy link
Author

@AnomalRoil, I am a Windows 7 x64 user (mentioned in the first message), but it seems you built an executable using the latest version of a compiler, from which the ability to build for that OS was treacherously removed. This is what I see on the screen:

$ tle.exe

Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall()
        $GOROOT/src/runtime/sys_windows_amd64.s:65 +0x75 fp=0x22fca0 sp=0x22fc80 pc=0x46da75
rax     0x0
rbx     0xfe2c80
rcx     0x1036dc0
rdi     0x7fffffde000
rsi     0x22fea0
rbp     0x22fde0
rsp     0x22fc78
r8      0x0
r9      0x22fee0
r10     0x1008818
r11     0x21
r12     0x22fec0
r13     0x1
r14     0xfe2620
r15     0x0
rip     0x0
rflags  0x10293
cs      0x33
fs      0x53
gs      0x2b

@AnomalRoil
Copy link
Member

I guess this might be caused by issues in our goreleaser script. Let me re-open the issue.

@AnomalRoil AnomalRoil reopened this Jan 18, 2024
@AnomalRoil
Copy link
Member

Could you try with these 2 binaries and let me know if either work for you?

Just running ./releasetle.exe -v and ./localtle.exe -v should be enough to check if they work:
tle-win.zip

@sergeevabc
Copy link
Author

sergeevabc commented Jan 18, 2024

@AnomalRoil, none of them work (on my end), alas.

@AnomalRoil
Copy link
Member

AnomalRoil commented Jan 18, 2024

It seems Windows 7 might not be supported anymore since Go 1.21 (golang/go#57003), that's an unfortunate decision given the current market penetration of Windows 7 and seems a bit quick given how Windows XP is currently still supported by MS for paid customers, AFAIK.

Could you try with this binary compiled with Go1.20 which should still support Windows 7 ?
tle-1.20.zip

(That's the last trial, promised, and if it's not working, I'll setup a VM to try it locally. Sorry for the bother.)

@sergeevabc
Copy link
Author

sergeevabc commented Jan 19, 2024

@AnomalRoil, this binary works as expected, thank you.

That's why I used the word 'treacherously' in relation to what @golang did. Those folks from California lost touch with reality and stopped taking into account which OS people like me outside the golden billion use and will use for a foreseeable future. It's especially ridiculous when they cite OS distribution statistics taken from a site like StatCounter, given that it has been distorted for many years by the fact that tracker scripts are blocked at the browser level, even without extensions like uBlock. I do not remember such betrayal, for example, by C++ devs. And now we are forced to negotiate with app developers like you to compile, let’s say, legacy versions. Recently, @shenwei356 and I were working on improving bRename, a file renaming app, and faced the same situation. Indeed, the word 'segregation' fits here, not 'progress'.

@AnomalRoil
Copy link
Member

This should now be fixed in https://github.com/drand/tlock/releases/tag/v1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants