From 9851712dc799d5f63ae5a434ca71adf9938e2055 Mon Sep 17 00:00:00 2001 From: Sam Cao Date: Tue, 20 Aug 2024 12:01:18 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20Fixed=20undefined=20symbo?= =?UTF-8?q?l=20=5FZTIN12v8=5Finspector17V8InspectorClientE=20for=20Linux?= =?UTF-8?q?=20x86=5F64=20(temporarily)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/linux_x86_64_build.yml | 1 + cpp/jni/version_script.map | 1 + docs/release_notes/release_notes_3_1.rst | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/linux_x86_64_build.yml b/.github/workflows/linux_x86_64_build.yml index 28f187d48..a9f64d2eb 100644 --- a/.github/workflows/linux_x86_64_build.yml +++ b/.github/workflows/linux_x86_64_build.yml @@ -72,6 +72,7 @@ jobs: run: | cd ${{ env.ROOT }}/Javet/cpp sh ./build-linux-x86_64.sh -DV8_DIR=${{ env.ROOT }}/google/v8 + sed -i 's/_ZTIN12v8_inspector17V8InspectorClientE/_ZTVN12v8_inspector17V8InspectorClientE/g' ../src/main/resources/libjavet-v8-linux-x86_64.v.${{ env.JAVET_VERSION }}.so - name: Upload the Artifact uses: actions/upload-artifact@v4 diff --git a/cpp/jni/version_script.map b/cpp/jni/version_script.map index 59167329e..7d67d3831 100644 --- a/cpp/jni/version_script.map +++ b/cpp/jni/version_script.map @@ -5,6 +5,7 @@ Java_com_caoccao_javet_*; napi_*; node_*; + _*v8_inspector*V8InspectorClient*; local: *; }; diff --git a/docs/release_notes/release_notes_3_1.rst b/docs/release_notes/release_notes_3_1.rst index 39ce8f995..40fc794ec 100644 --- a/docs/release_notes/release_notes_3_1.rst +++ b/docs/release_notes/release_notes_3_1.rst @@ -8,6 +8,7 @@ Release Notes 3.1.x * Upgraded V8 to ``v12.8.374.17`` (2024-08-19) * Fixed a bug of the default export in ``JavetBuiltInModuleResolver`` * Adjust JS type conversion priority for better performance +* Fixed undefined symbol ``_ZTIN12v8_inspector17V8InspectorClientE`` for Linux x86_64 (temporarily) 3.1.4 V8 v12.7 --------------