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
  • #688

Closed
Open
Opened May 15, 2023 by meidan li@limeidan

vm-wasmer项目中libwasmer.so库来源问题

各位maintainer好,

我的架构平台是非amd64,非aarch64的,在构建chainmaker-go过程中,报错:

import_object.cgo2.c:(.text+0x4): undefined reference to `wasm_extern_vec_destroy'

我在chainmaker/vm-wasmer项目中发现,wasmer-go中有调用wasm_extern_vec_destroy函数(官方的vm-wasmer/wasmer-go中没有调用),看起来这个函数是从wasm.h引入,也就是wasmer-c-api库,但是我在wasmer-c-api的官方代码的任何版本中都没有发现这个api函数,不知道这个函数的实现者是谁呢?(没有在chainmaker中发现wasmer-c-api项目)

代码中嵌入的amd64和aarch的libwasmer.so中都有这个函数的实现,这两种架构的libwasmer.so是来自哪里的?(似乎不是wasmer-c-api官方),如果我要在我机器的架构上自己构建libwasmer.so,我可以怎么做呢?

谢谢

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#688

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