diff --git a/debian/patches/optional/fix-missing-symbols.patch b/debian/patches/optional/fix-missing-symbols.patch new file mode 100644 index 000000000..4d0ddd90e --- /dev/null +++ b/debian/patches/optional/fix-missing-symbols.patch @@ -0,0 +1,17 @@ +--- a/build/config/compiler/BUILD.gn ++++ b/build/config/compiler/BUILD.gn +@@ -520,6 +520,14 @@ + } + } + ++ if (use_lld) { ++ # Workaround for missing symbol link errors similar in form to the one at ++ # https://github.com/llvm/llvm-project/issues/59660 and described at ++ # https://reviews.llvm.org/D140591#4014995. ++ ldflags += [ "-Wl,--undefined-version" ] ++ } ++ ++ + # Enable text section splitting only on linux when using lld for now. Other + # platforms can be added later if needed. + if ((is_linux || is_chromeos) && use_lld && use_text_section_splitting) { diff --git a/debian/patches/series.debian b/debian/patches/series.debian index 4f8679d30..be6cb0af8 100644 --- a/debian/patches/series.debian +++ b/debian/patches/series.debian @@ -131,3 +131,4 @@ various/vanadium/disable-article-suggestions-feature-by-default.patch #optional/system/unstable/roll-src-third_party-ffmpeg-102.patch #optional/system/unstable/roll-src-third_party-ffmpeg-106.patch #optional/system/unstable/v8-enhance-Date-parser-to-take-Unicode-SPACE.patch +#optional/fix-missing-symbols.patch