-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #971 from bnb-chain/develop
fix: make BLST PORTABLE for release binary
- Loading branch information
Showing
4 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,15 @@ $ git clone [email protected]:bnb-chain/node.git | |
$ cd node && make build | ||
``` | ||
|
||
If you get such error when running the node with self built binary: | ||
```shell | ||
Caught SIGILL in blst_cgo_init, consult <blst>/bindinds/go/README.md. | ||
``` | ||
please try to add the following environment variables and build again: | ||
```shell | ||
export CGO_CFLAGS="-O -D__BLST_PORTABLE__" | ||
export CGO_CFLAGS_ALLOW="-O -D__BLST_PORTABLE__" | ||
``` | ||
|
||
To test that installation worked, try to run the cli tool: | ||
|
||
|