iost-official / go-iost

Official Go implementation of the IOST blockchain
https://developers.iost.io/
GNU Lesser General Public License v3.0
564 stars 112 forks source link

make image error #1217

Open 18600294832 opened 11 months ago

18600294832 commented 11 months ago

docker run --rm -v pwd:/go-iost iostio/iost-dev:3.9.0 go build -ldflags "-X github.com/iost-official/go-iost/v3/core/global.BuildTime=20231215_061032+0000 -X github.com/iost-official/go-iost/v3/core/global.GitHash=9bdfcdafcc651099f4da6f7d9898566196954a15 -X github.com/iost-official/go-iost/v3/core/global.CodeVersion=3.9.1" -o target/iserver ./cmd/iserver

github.com/iost-official/go-iost/v3/cmd/iserver

/goroot/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld:/go-iost/vm/v8vm/v8/libv8/_linux_amd64/libvm.so: file format not recognized; treating as linker script /usr/bin/ld:/go-iost/vm/v8vm/v8/libv8/_linux_amd64/libvm.so:1: syntax error collect2: error: ld returned 1 exit status

make: *** [Makefile:45: iserver] Error 2