Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #708

Closed
Open
Opened Jun 01, 2023 by sherewood jene@caoshuai1 of 1 task completed1/1 task

编译报错

【问题分类】

  • 环境依赖

【问题描述】

  • 网络:solo模式
  • 合约:golang
  • stateDB:mysql

执行./build_release.sh 后报错 build_release_ERROR

尝试修复操作:

  • 1:go env -w GOPROXY="https://goproxy.cn,direct" 执行后问题仍然存在
  • 2:export CGO_CFLAGS="-g -O2 -Wno-return-local-addr" 执行后可以屏蔽改问题,但部署合约出错(Error: contract initial fail, contract engine client not connected)

【相关日志文件】

chainmaker-go 的 log/system.log部分如下(部署合约后): system_log

【系统信息】

  • chainmaker-go version * : [v2.3.0]
  • OS & version :centos 9
  • docker镜像 version :v2.3.0.1
  • gcc版本 : 11
  • golang版本 : 1.17
Edited Jun 01, 2023 by sherewood jene
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#708

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。