Error was: Failed to mmap at expected address, mapped at 0x7f11e5400000 instead of 0x705f8000 FAILED: out/target/product/sdm660_64/dex_bootjars/system/framework/arm64/boot.art
https://android-review.googlesource.com/c/platform/art/+/2226578/2/runtime/mem_map.cc
flags |= MAP_FIXED;
+ #if !defined(ART_TARGET)
+ } else if (expected_ptr) {
+ #define MAP_FIXED_NOREPLACE 0x100000
+ flags |= MAP_FIXED_NOREPLACE;
+ #endif
failed: out/taros/&r9oust/ad277e
64/obj/APPS/TeleService_intermediates/oat/arm64/package.odex
/bin/bash: line 1: build: command not foundmake: *** [ABL_FV_IMG] Error 127
make: *** [makefile:133: ABL_FV_IMG] Error 1
make: Leaving directory
https://stackoverflow.com/questions/53056922/ubuntu14-04-first-time-make-whole-android-8-1-or-9-project-on-qcom-platform-fail
bootable/bootloader/edk2/makefile
— a/makefile 2019-09-25 13:00:28.064160817 -0500
+++ b/makefile 2019-09-25 13:00:34.957369325 -0500
@@ -129,7 +129,7 @@
$(MAKEPATH)make -C $(EDK_TOOLS) $(PREBUILT_HOST_TOOLS) -j1
ABL_FV_IMG: EDK_TOOLS_BIN
- @. ./edksetup.sh BaseTools && \
- +@. ./edksetup.sh BaseTools &&
build -p $(WORKSPACE)/QcomModulePkg/QcomModulePkg.dsc
-a $(ARCHITECTURE)
-t $(TARGET_TOOLS) \
flex-2.5.39: loadlocale.c:130:_nl_intern_locale_data: ?? ‘cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))’ ???
解决方法:
在~/.bashrc最后添加export LC_ALL=C
解决方法 : 在编译脚本中执行
export LC_ALL=C
(android9):ubuntu22编译,上面方式不起作用:
需要用下面方法:
https://blog.csdn.net/qq_32607609/article/details/128318438
最终的解决方式是重新编译下AOSP/prebuilts/misc/linux-x86下的flex库