From 7db49db7779d894ca4f5a09643c7905eaed62604 Mon Sep 17 00:00:00 2001 From: Wenyong Huang Date: Fri, 16 Dec 2022 14:16:58 +0800 Subject: [PATCH] Update release notes and fix issues reported by Coverity (#1813) --- .github/workflows/build_docker_images.yml | 4 ++-- RELEASE_NOTES.md | 3 +++ core/iwasm/libraries/debug-engine/handler.c | 4 ++-- test-tools/wamr-ide/README.md | 8 ++++---- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_docker_images.yml b/.github/workflows/build_docker_images.yml index b9892279..819bf94c 100644 --- a/.github/workflows/build_docker_images.yml +++ b/.github/workflows/build_docker_images.yml @@ -28,7 +28,7 @@ jobs: docker build -t wasm-debug-server:${{ inputs.ver_num }} . docker save -o wasm-debug-server.tar wasm-debug-server:${{ inputs.ver_num }} working-directory: test-tools/wamr-ide/WASM-Debug-Server/Docker - + - name: compress the tar file run: | tar czf wasm-debug-server-${{ inputs.ver_num }}.tar.gz wasm-debug-server.tar @@ -86,4 +86,4 @@ jobs: asset_path: test-tools/wamr-ide/WASM-Toolchain/Docker/wasm-toolchain-${{ inputs.ver_num }}.zip asset_name: wasm-toolchain-${{ inputs.ver_num }}.zip asset_content_type: application/zip - + diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 9bc76ed4..a0cfe7a8 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -32,6 +32,8 @@ Fix sample ref-types/wasm-c-api build error with wat2wasm low version Fix zephyr sample build errors Fix source debugger error handling: continue executing when detached Fix scenario where the timeout for atomic wait is set to negative number +Fix link cxx object file error when building wamrc for docker image +Fix XIP issue of handling 64-bit const in 32-bit target ### Enhancements Refactor the layout of interpreter and AOT module instance @@ -75,6 +77,7 @@ Fix warnings in the posix socket implementation Update document for MacOS compilation Install patched LLDB on vscode extension activation Add ARM aeabi memcpy/memmove/memset symbols for AOT bulk memory ops +Enable wasm cache loading in wasm-c-api ### Others Add CIs to release new version and publish binary files diff --git a/core/iwasm/libraries/debug-engine/handler.c b/core/iwasm/libraries/debug-engine/handler.c index cf1a87c5..8d451b1a 100644 --- a/core/iwasm/libraries/debug-engine/handler.c +++ b/core/iwasm/libraries/debug-engine/handler.c @@ -731,7 +731,7 @@ handle_add_break(WASMGDBServer *server, char *payload) handle_watchpoint_read_add(server, addr, length); break; default: - LOG_ERROR("Unsupported breakpoint type %d", type); + LOG_ERROR("Unsupported breakpoint type %zu", type); write_packet(server, ""); break; } @@ -766,7 +766,7 @@ handle_remove_break(WASMGDBServer *server, char *payload) handle_watchpoint_read_remove(server, addr, length); break; default: - LOG_ERROR("Unsupported breakpoint type %d", type); + LOG_ERROR("Unsupported breakpoint type %zu", type); write_packet(server, ""); break; } diff --git a/test-tools/wamr-ide/README.md b/test-tools/wamr-ide/README.md index 7e2c05ce..d33f53f7 100644 --- a/test-tools/wamr-ide/README.md +++ b/test-tools/wamr-ide/README.md @@ -46,7 +46,7 @@ From now on, for each release, we have the same version tagged docker image save You could download the tar archive files for docker images from the release, and then load them using the following commands: ```sh -# download the zip or tar.gz from release depending on your platform +# download the zip or tar.gz from release depending on your platform # decompress and get the tar file # on Linux/MacOS, you could use tar @@ -55,14 +55,14 @@ tar xf wasm-debug-server-{version number}.tar.gz # or you could use unzip unzip wasm-toolchain-{version number}.zip unzip wasm-debug-server-{version number}.zip -# load wasm-toolchain +# load wasm-toolchain docker load --input wasm-toolchain.tar # load wasm-debug-server docker load --input wasm-debug-server.tar -# on Windows, you could use any unzip software you like +# on Windows, you could use any unzip software you like # then loading docker images using powershell or git bash -# load wasm-toolchain +# load wasm-toolchain docker load --input ./wasm-toolchain.tar # load wasm-debug-server docker load --input ./wasm-debug-server.tar