cmc编译失败
【问题分类】
- bug
- P2P网络相关(包含libp2p,liquid)
- 链账户身份与权限相关(证书问题、public、多签投票问题)
- 核心交易引擎相关(交易池、DAG)
- 共识相关
- 智能合约相关
- 存储相关
- SDK相关
- 长安链CMC工具
- 长安链管理台
- 长安链浏览器
- 长安链合约IDE
- 长安链web签名插件
- 跨链相关
- 轻节点相关
- 隐私计算相关
- 密码学相关
- 环境依赖
- 其他补充:
【问题描述】(请对问题进行描述,方便定位问题)
无法编译cmc可执行文件,官方能否提供相关版本的cmc可执行文件
具体的现象,操作步骤,前置条件等,尽可能描述清楚,有截图说明更佳
【相关日志文件】(如果有报错日志请贴图,或者上传附件)
chainmaker-go 的 log/system.log & bin/panic.log file *
SDK 的 sdk.log file
# chainmaker.org/chainmaker/common/v2/opencrypto/tencentsm/tencentsm
/usr/bin/ld: /data/code/Go/pkg/mod/chainmaker.org/chainmaker/common/v2@v2.3.0/opencrypto/tencentsm/tencentsm/lib/arm64/libTencentSM.a(sm.c.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /data/code/Go/pkg/mod/chainmaker.org/chainmaker/common/v2@v2.3.0/opencrypto/tencentsm/tencentsm/lib/arm64/libTencentSM.a(sm.c.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /data/code/Go/pkg/mod/chainmaker.org/chainmaker/common/v2@v2.3.0/opencrypto/tencentsm/tencentsm/lib/arm64/libTencentSM.a: error adding symbols: file in wrong format
collect2: 错误:ld 返回 1
# github.com/pingcap/parser/mysql
/data/code/Go/pkg/mod/github.com/pingcap/parser@v0.0.0-20200623164729-3a18f1e5dceb/mysql/const.go:634:2: cannot use 1 << iota (untyped int constant 2147483648) as SQLMode value in constant declaration (overflows)
/data/code/Go/pkg/mod/github.com/pingcap/parser@v0.0.0-20200623164729-3a18f1e5dceb/mysql/const.go:635:2: cannot use 1 << iota (untyped int constant 4294967296) as SQLMode value in constant declaration (overflows)
/data/code/Go/pkg/mod/github.com/pingcap/parser@v0.0.0-20200623164729-3a18f1e5dceb/mysql/const.go:636:2: cannot use 1 << iota (untyped int constant 8589934592) as SQLMode value in constant declaration (overflows)
/data/code/Go/pkg/mod/github.com/pingcap/parser@v0.0.0-20200623164729-3a18f1e5dceb/mysql/util.go:44:19: cannot use 4294967295 (untyped int constant) as int value in struct literal (overflows)
/data/code/Go/pkg/mod/github.com/pingcap/parser@v0.0.0-20200623164729-3a18f1e5dceb/mysql/util.go:45:19: cannot use 4294967295 (untyped int constant) as int value in struct literal (overflows)
# chainmaker.org/chainmaker/common/v2/crypto/pkcs11
/data/code/Go/pkg/mod/chainmaker.org/chainmaker/common/v2@v2.3.0/crypto/pkcs11/common.go:204:45: cannot use CKK_SM2 (untyped int constant 2147483652) as int value in argument to pkcs11.NewAttribute (overflows)
# chainmaker.org/chainmaker/common/v2/opencrypto/gmssl/gmssl
/usr/bin/ld: /data/code/Go/pkg/mod/chainmaker.org/chainmaker/common/v2@v2.3.0/opencrypto/gmssl/gmssl/lib/arm64/libssl.a(bio_ssl.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /data/code/Go/pkg/mod/chainmaker.org/chainmaker/common/v2@v2.3.0/opencrypto/gmssl/gmssl/lib/arm64/libssl.a(bio_ssl.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /data/code/Go/pkg/mod/chainmaker.org/chainmaker/common/v2@v2.3.0/opencrypto/gmssl/gmssl/lib/arm64/libssl.a(bio_ssl.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /data/code/Go/pkg/mod/chainmaker.org/chainmaker/common/v2@v2.3.0/opencrypto/gmssl/gmssl/lib/arm64/libssl.a: error adding symbols: file in wrong format
collect2: 错误:ld 返回 1
【系统信息】(请填写系统信息,方便定位问题)
- chainmaker-go version * : [v2.3.0]
- **OS & version * :manjaro 15的内核 go 18 16均失败
- docker镜像 version:
-
管理台 version:
- 如果是管理台的相关问题,请附带管理台版本,如果不是可忽略。
-
区块浏览器 version:
- 如果是浏览器的相关问题,请附带浏览器版本,如果不是可忽略。
-
合约IDE version:
- 如果是合约IDE的相关问题,请附带合约IDE版本,如果不是可忽略。
-
web签名插件 version:
- 如果是web签名插件的相关问题,请附带web签名插件版本,如果不是可忽略。
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information