Stream: wamr

Topic: Build help


view this post on Zulip Felix Lechner (Jun 19 2023 at 16:51):

Hi, do I have to issue cmake and make twice to build iwasm on Linux in addition to the libraries, or does it all happen from ./product-mini/platforms/linux?

view this post on Zulip Wenyong Huang (Jun 25 2023 at 02:32):

@Felix Lechner You can just issue cmake and make one time, the iwasm, libvmlib.a and libiwasm.so are all generated under the build folder.

view this post on Zulip Luis Linares (Oct 24 2023 at 12:56):

Hi! I have submitted issue #2665 to WAMR, but I think it must have surely have seen before by someone here in the community. Basically, I'm getting an empty libvmlib.a from a linux build for the x86-64 target.

Description When building WAMR-1.2.3 for the x86-64 target, I get libvmlib.a without symbols. Procedure Working on a git clone of this repo: $ git checkout WAMR-1.2.3 $ mkdir ${HOME}/wamr $ cmake -...

view this post on Zulip Wenyong Huang (Oct 25 2023 at 00:33):

Luis Linares said:

Hi! I have submitted issue #2665 to WAMR, but I think it must have surely have seen before by someone here in the community. Basically, I'm getting an empty libvmlib.a from a linux build for the x86-64 target.

@Luis Linares thanks for reporting the issue, a patch has been submitted to fix it:
https://github.com/bytecodealliance/wasm-micro-runtime/pull/2669

This reverts commit 7e3a29d. it doesn't work for macOS. ("unrecognized option: --strip-all") it doesn't work for ubuntu. #2665

view this post on Zulip Luis Linares (Oct 25 2023 at 05:21):

Thank you @Wenyong Huang !


Last updated: Dec 23 2024 at 12:05 UTC