my first test build android 9 Pie for meizu m6 note(bicot, named for it *-*) , almost clone/fork edit from xiaomi mi a1. I just recognized i cant, android v9 need kernel 4.4.107 or higher(wrong) :(. So i will try to build lower ver - 14.1. Hope everything be okeyyy. Have a nice dayyy
9
stars
1
forks
source link
error: undefined reference to 'set_cpuset_policy' #23
FAILED: /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/LINKED/update_engine_sideload /bin/bash -c "prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++ -nostdlib -Bstatic -static -Wl,--gc-sections -o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/LINKED/update_engine_sideload /home/thanhdatpd/lineage/out/target/product/bicot/obj/lib/crtbegin_static.o -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined-version -Wl,-m,aarch64_elf64_le_vec -Wl,--hash-style=gnu -fuse-ld=gold -Wl,--icf=safe -Wl,--fix-cortex-a53-843419 -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wl,--gc-sections -Wl,--exclude-libs,libclang_rt.ubsan_minimal-aarch64-android.a -Wl,--no-undefined /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/boot_control_recovery.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/hardware_android.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/metrics_reporter_stub.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/metrics_utils.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/network_selector_stub.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/proxy_resolver.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/sideload_main.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/update_attempter_android.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/update_status_utils.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/utils_android.o /home/thanhdatpd/lineage/out/target/product/bicot/obj/EXECUTABLES/update_engine_sideload_intermediates/boot_control_recovery_stub.o -Wl,--whole-archive -Wl,--no-whole-archive /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libfs_mgr_intermediates/libfs_mgr.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libbase_intermediates/libbase.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/liblog_intermediates/liblog.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libpayload_consumer_intermediates/libpayload_consumer.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/update_metadata-protos_intermediates/update_metadata-protos.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libgtest_prod_intermediates/libgtest_prod.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/update_metadata-protos_intermediates/update_metadata-protos.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libxz_intermediates/libxz.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libbz_intermediates/libbz.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libbspatch_intermediates/libbspatch.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libbrotli_intermediates/libbrotli.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libpuffpatch_intermediates/libpuffpatch.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/update_metadata-protos_intermediates/update_metadata-protos.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/update_metadata-protos_intermediates/update_metadata-protos.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libbrillo-stream_intermediates/libbrillo-stream.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libbrillo_intermediates/libbrillo.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libchrome_intermediates/libchrome.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libbase_intermediates/libbase.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/liblog_intermediates/liblog.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libcrypto_intermediates/libcrypto.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libprotobuf-cpp-lite_intermediates/libprotobuf-cpp-lite.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libprotobuf-cpp-lite_intermediates/libprotobuf-cpp-lite.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libevent_intermediates/libevent.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libmodpb64_intermediates/libmodpb64.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libgtest_prod_intermediates/libgtest_prod.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libc++_static_intermediates/libc++_static.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libm_intermediates/libm.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libdl_intermediates/libdl.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libclang_rt.ubsan_minimal-aarch64-android_intermediates/libclang_rt.ubsan_minimal-aarch64-android.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a -Wl,--start-group /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libc_intermediates/libc.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,--end-group /home/thanhdatpd/lineage/out/target/product/bicot/obj/lib/crtend_android.o" system/update_engine/update_attempter_android.cc:113: error: undefined reference to 'set_cpuset_policy' system/update_engine/update_attempter_android.cc:437: error: undefined reference to 'set_cpuset_policy' clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)