Closed m1iktea closed 1 year ago
hi @m1iktea,
Tried on my end, did not get the same error.
Please try chmod -v u+x geth_linux and ./geth_linux -h again.
Also please note that this version is not recommend for mainnet to use this version, especially validator, since more test is needed to make sure it is stable.
The same problem here:
$ uname -a
Linux testhost 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
$ wget https://github.com/bnb-chain/bsc/releases/download/v1.2.0/geth_linux
$ chmod +x geth_linux
$ sha256sum geth_linux
75f50ce27b8ea080d6adfb18b223d355f42298f740f734c1e40d0134c409847c geth_linux
$ ./geth_linux version
Caught SIGILL in blst_cgo_init, consult <blst>/bindinds/go/README.md.
Hi @zoulja Please refer to this https://github.com/bnb-chain/bsc/issues/1521#issuecomment-1521025294
Pls try with the below env set and try again
export CGO_CFLAGS="-O -DBLST_PORTABLE" export CGO_CFLAGS_ALLOW="-O -DBLST_PORTABLE"
Hi @kris-ss, thanks for cheking this
$ export CGO_CFLAGS="-O -D__BLST_PORTABLE__"
$ export CGO_CFLAGS_ALLOW="-O -D__BLST_PORTABLE__"
$ ./geth_v1.2.0 version
Caught SIGILL in blst_cgo_init, consult <blst>/bindinds/go/README.md.
Previous version is working fine on this host. Also I'm just wondering why binary size has increased from 54262990 to 91568768, it's pretty big difference which could contain all the dependencies
Ok, right now it work for me when delete last golang-go version and downgrade it and check last release of BSC last 4 hours ago do this :
Normaly it gonna be : 1.18
And it look like this when running :
@banlieu451 This is ok. You can ignore the warning messages. It will be resolved here - https://github.com/bnb-chain/bsc/pull/1527
wait a second, This means that i cant just download the geth_linux in release page and use it? Do i have to download the build file and build the geth_linux by myself?
Do like this dear friend : (i use server linux unbuntu)
git clone https://github.com/bnb-chain/bsc
cd bsc
make all
cd build/bin
wget https://github.com/binance-chain/bsc/releases/download/v1.2.0/mainnet.zip
unzip mainnet.zip
./geth --datadir node init genesis.json
(here if you get the same error as up; downgrade golang-go as i explain)
./geth .... yours commands ... (ex: ./geth --config ./config.toml --datadir ./node --cache 18000 --rpc.allow-unprotected-txs --txlookuplimit 0 --maxpeers 60000 --syncmode snap --ws --ws.port 8546 --ws.addr localhost console )
Thanks for the workaround @banlieu451 but it doesn't solve the initial issue - broken official binary published in Release area, so typical upgrade procedure (just by replacing binary) can't be used anymore
Read my issue: https://github.com/bnb-chain/bsc/issues/1562
I managed to fix this issue. Please see my comment here: https://github.com/bnb-chain/bsc/issues/1521#issuecomment-1532850937
Thank you for your concern, this issue has been resolved, I cant download geth_linux form release page and it works! 😊😊
wget https://github.com/bnb-chain/bsc/releases/download/v1.2.4/geth_linux
chmod +x geth_linux
./geth_linux -help
NAME:
geth_linux - the go-ethereum command line interface
Copyright 2013-2021 The go-ethereum Authors
USAGE:
geth_linux [options] [command] [command options] [arguments...]
VERSION:
1.2.4-3c5f54fc-20230523
...
Expected behaviour
geth ok
Actual behaviour
i download it from release page