-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
compile geth using gccgo not gc #22159
Comments
The hamming-dependency gets removed in #22044. fwiw |
|
I don't know if this has changed significantly in the past 6 months, but it doesn't seem like gccgo is trailing the Go compiler, as far as I can tell it's looking like it's become the de facto go compiler. This issue is still occurring even with a very recent build of |
Flashbots has an exciting use case for building Geth with One issue that we're currently experiencing is the not-so-optimal performance. A big performance issue is that Geth compiled with I've been trying to compile latest Geth with |
@lead4good looks to me like those failures mostly are dealing with generics. Perhaps your |
Yeah https://go.dev/doc/install/gccgo#Releases:
|
Thanks @holiman ! |
Hey @fnerdman, have you finally succeded to compile Geth with GCC 14 ? From my side, with command
with Ubuntu 24, go1.22.0 and GCC 14.02 This is because GCCGO is currently on go1.18 and cmp / slices have been introduced in go1.21 (https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1983288.html), and Go-Ethereum requires go1.22. |
No, sorry. I've moved on - not using geth anymore. |
System information
Geth version:
1.9.1
OS & Version: ubuntu 0.18.0
Expected behaviour
go build -o geth -compiler=gccgo -gccgoflags='-fuse-ld=gold' -v ./go-ethereum/cmd/geth/*go
Actual behaviour
I want to know how to compile geth using gccgo. please let me know ...
The text was updated successfully, but these errors were encountered: