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

Failed to build (go version 1.17) #21

Closed
laoshaw opened this issue Dec 4, 2021 · 2 comments
Closed

Failed to build (go version 1.17) #21

laoshaw opened this issue Dec 4, 2021 · 2 comments

Comments

@laoshaw
Copy link

laoshaw commented Dec 4, 2021

make GOARCH=amd64 GOOS=linux CGO_ENABLED=0

go build -a -trimpath -mod=vendor -buildmode=exe -gcflags="all=-smallframes -json=0,/tmp/pique/dump/foo.json -trimpath=/tmp/pique" -asmflags=-trimpath=/tmp/pique -ldflags "-buildid= -s -w -X main.goversion=1.17.3 -X main.AppVersion=Ver.2.2.x" -o bin/repique ./repique
# github.com/AZ-X/pique/repique
github.com/AZ-X/pique/repique/protocols/socks5.(*SocksDialer).Connect: relocation target github.com/AZ-X/pique/repique/protocols/socks5.(*SocksDialer).connect not defined
github.com/AZ-X/pique/repique/protocols/socks5.(*SocksDialer).Connect: relocation target github.com/AZ-X/pique/repique/protocols/socks5.SocksCommand.String not defined
github.com/AZ-X/pique/repique/protocols/socks5.(*SocksAddr).Network: relocation target github.com/AZ-X/pique/repique/protocols/socks5.(*socksAddr).Network not defined
github.com/AZ-X/pique/repique/protocols/socks5.(*SocksAddr).String: relocation target github.com/AZ-X/pique/repique/protocols/socks5.(*socksAddr).String not defined
github.com/AZ-X/pique/repique/conceptions.NewCache: relocation target github.com/AZ-X/pique/repique/conceptions.(*poolDequeue).pack not defined
github.com/AZ-X/pique/repique/conceptions.NewCache.func1: relocation target github.com/AZ-X/pique/repique/conceptions.(*poolDequeue).pushHead not defined
github.com/AZ-X/pique/repique/conceptions.(*CloakCache).Get: relocation target github.com/AZ-X/pique/repique/conceptions.(*entry).load not defined
github.com/AZ-X/pique/repique/conceptions.(*Cache).Get: relocation target github.com/AZ-X/pique/repique/conceptions.(*entry).load not defined
github.com/AZ-X/pique/repique/conceptions.(*Cache).Add: relocation target github.com/AZ-X/pique/repique/conceptions.(*entry).tryStore not defined
github.com/AZ-X/pique/repique/conceptions.(*Cache).Add: relocation target github.com/AZ-X/pique/repique/conceptions.(*poolDequeue).popTail not defined
github.com/AZ-X/pique/repique/conceptions.(*Cache).Add: relocation target github.com/AZ-X/pique/repique/conceptions.(*entry).delete not defined
github.com/AZ-X/pique/repique/conceptions.(*NestedProxy).GetDialContext.func1.2: relocation target github.com/AZ-X/pique/repique/protocols/socks5.(*socksAddr).String not defined
github.com/AZ-X/pique/repique/protocols/socks5.(*SocksUsernamePassword).Authenticate-fm: relocation target github.com/AZ-X/pique/repique/protocols/socks5.(*SocksUsernamePassword).Authenticate not defined
github.com/AZ-X/pique/repique/features/dns/channels.Sum512_256s: relocation target github.com/AZ-X/pique/repique/features/dns/channels.(*digest).Reset not defined
github.com/AZ-X/pique/repique/features/dns/channels.Sum512_256s: relocation target github.com/AZ-X/pique/repique/features/dns/channels.(*digest).checkSum not defined
github.com/AZ-X/pique/repique/features/dns/channels.Sum512_256s: relocation target github.com/AZ-X/pique/repique/features/dns/channels.(*digest).Write not defined
github.com/AZ-X/pique/repique/unclassified.Seal: relocation target github.com/AZ-X/pique/repique/unclassified.(*MAC).Write not defined
github.com/AZ-X/pique/repique/unclassified.Seal: relocation target github.com/AZ-X/pique/repique/unclassified.(*MAC).Sum not defined
github.com/AZ-X/pique/repique/unclassified.Open: relocation target github.com/AZ-X/pique/repique/unclassified.(*MAC).Write not defined
github.com/AZ-X/pique/repique/unclassified.Open: relocation target github.com/AZ-X/pique/repique/unclassified.(*MAC).Verify not defined
github.com/AZ-X/pique/repique/unclassified.SealX: relocation target github.com/AZ-X/pique/repique/unclassified.(*Cipher).XORKeyStream not defined
/home/xx/.gvm/gos/go1.17.3/pkg/tool/linux_amd64/link: too many errors
unexpected fault address 0x7f455f991000
fatal error: fault
unexpected fault address 0x7f455faa3000
fatal error: fault
make: *** [Makefile:18: build] Error 2
@AZ-X AZ-X changed the title Failed to build Failed to build (go version 1.17) Dec 6, 2021
@AZ-X
Copy link
Owner

AZ-X commented Dec 6, 2021

Hi xx,

Did you make a search for your problem with the keyword like golang 1.17.3?

Did you find an issue like this?

Did you know the quick answer is NOT to use golang 1.17.x for repique?

Yes, I think you already know that I am the MAKER of this exclusive mod of the 1.17 based compilers who never release it publicly.

I am glad to see this kind of issues since maybe I am one of few in the world who made an announcement and can get rid of such things.

You have been a github user since 2016. So I expect you to share your experience in golang or create a real source project.

Just built a new release:

TRY IT! https://github.com/AZ-X/pique/releases/tag/v1.2.7

Do NOT forget to star repique if it genuinely helps you for your own interest.

Why not Go 1.17?

There's no compelling feature being added in Go 1.17.
Using Go 1.16 as the new bootstrap toolchain gives packagers the chance to test the changes they'd need to make using Go 1.17, which would still work with Go 1.4.
Go 1.17 will be the first release to use the new register-based ABI, which will likely have some lingering bugs that take a while to shake out.

@laoshaw
Copy link
Author

laoshaw commented Dec 6, 2021

Thanks. I'm not a go developer just a user, whole experience with golang is less than 2 weeks combined. Will use 1.16.

@laoshaw laoshaw closed this as completed Dec 6, 2021
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