Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 99fcc222 authored by Yi Kong's avatar Yi Kong
Browse files

Add explicit dependency on libbase

The upcoming compiler update will start emitting error for the missing
definition for libbase symbols.

ld.lld: error: undefined symbol: android::base::GetProperty(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
>>> referenced by ashmem-dev.cpp:128 (system/core/libcutils/ashmem-dev.cpp:128)
>>>               ashmem-dev.o:(__has_memfd_support()) in archive out/soong/.intermediates/system/core/libcutils/libcutils/android_arm64_armv8-a_cortex-a73_core_static/libcutils.a

ld.lld: error: undefined symbol: android::base::GetBoolProperty(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)
>>> referenced by ashmem-dev.cpp:183 (system/core/libcutils/ashmem-dev.cpp:183)
>>>               ashmem-dev.o:(__has_memfd_support()) in archive out/soong/.intermediates/system/core/libcutils/libcutils/android_arm64_armv8-a_cortex-a73_core_static/libcutils.a
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)

Test: make with Clang r365631
Bug: 131328001
Change-Id: I397dc094a0e4f134e052dc671622b94e48499f2f
parent 1e916de9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment