[llvm-bugs] [Bug 44071] New: "thunk creation not converged" error

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 19 21:39:29 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=44071

            Bug ID: 44071
           Summary: "thunk creation not converged" error
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ruiu at google.com
                CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org

It is reported by an internal user of lld that lld prints out "thunk creation
not converged" error when building Chromium Here is the error.

FAILED: libstandalonelibwebviewchromium.so
libstandalonelibwebviewchromium.so.TOC
lib.unstripped/libstandalonelibwebviewchromium.so 
python "../../build/toolchain/gcc_solink_wrapper.py"
--readelf="../../third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-readelf"
--nm="../../third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-nm"
--strip=../../buildtools/third_party/eu-strip/bin/eu-strip
--sofile="./lib.unstripped/libstandalonelibwebviewchromium.so"
--tocfile="./libstandalonelibwebviewchromium.so.TOC"
--output="./libstandalonelibwebviewchromium.so" --
../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared
-Wl,-soname="libstandalonelibwebviewchromium.so" -Wl,-shared,-Bsymbolic
-Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
-Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,-z,max-page-size=4096
-Wl,--color-diagnostics -Wl,--no-rosegment -Wl,--exclude-libs=libgcc.a
-Wl,--exclude-libs=libvpx_assembly_arm.a --target=aarch64-linux-android21
-Wl,-mllvm,-enable-machine-outliner=never -Werror -Wl,--warn-shared-textrel
-Wl,-O2 -Wl,--gc-sections -Wl,--strip-debug -nostdlib++
--sysroot=../../third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot
-B../../third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64
-Wl,--warn-shared-textrel -fprofile-instr-generate
-Wl,--version-script=../../build/android/android_only_jni_exports.lst
-Wl,-wrap,calloc -Wl,-wrap,free -Wl,-wrap,malloc -Wl,-wrap,memalign
-Wl,-wrap,posix_memalign -Wl,-wrap,pvalloc -Wl,-wrap,realloc -Wl,-wrap,valloc
-Wl,--dynamic-linker,/system/bin/linker64 -o
"./lib.unstripped/libstandalonelibwebviewchromium.so"
@"./libstandalonelibwebviewchromium.so.rsp"
ld.lld: error: thunk creation not converged
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
 "thunk creation not converged" lld error



Here is a build configuration.

gn args:
ffmpeg_branding = "Chrome"
is_component_build = false
is_debug = false
proprietary_codecs = true
strip_absolute_paths_from_debug_symbols = true
strip_debug_info = true
symbol_level = 1
target_cpu = "arm64"
target_os = "android"
use_goma = true
use_clang_coverage = true

autoninja -C out/Release android_webview/test:libstandalonelibwebviewchromium
or
autoninja -C out/Release webview_instrumentation_apk

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191120/3c367f1a/attachment-0001.html>


More information about the llvm-bugs mailing list