little_rock
Lurker
Hi, guys
I am trying to build the android under the PORTABLE mode.
I downloaded the latest version of Android using
repo init -u https://android.googlesource.com/platform/manifest
After that, I go to the directory "art/build/", and modified the file "Android.common_build.mk". In this file, there is something like "ART_USE_PORTABLE_COMPILER := false", and in order to use the PORTABLE mode, I changed it to "ART_USE_PORTABLE_COMPILER := true". This is the only change I have done.
I just want to run the emulator, so I do not include any proprietary binaries for devices(like Nexus 5).
When I am trying to build it, there are some errors, I do not know what happened.
Export includes file: art/runtime/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libart_intermediates/export_includes
Export includes file: art/compiler/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/export_includes
target Generated: libart_32 <= art/runtime/arch/x86_64/registers_x86_64.h
target Generated: libart_32 <= art/runtime/base/allocator.h
target Generated: libart_32 <= art/runtime/base/mutex.h
target Generated: libart_32 <= art/runtime/dex_file.h
target Generated: libart_32 <= art/runtime/dex_instruction.h
target Generated: libart_32 <= art/runtime/gc/collector/gc_type.h
target Generated: libart_32 <= art/runtime/gc/collector_type.h
target Generated: libart_32 <= art/runtime/gc/space/space.h
target Generated: libart_32 <= art/runtime/gc/heap.h
target Generated: libart_32 <= art/runtime/indirect_reference_table.h
target Generated: libart_32 <= art/runtime/instruction_set.h
target Generated: libart_32 <= art/runtime/invoke_type.h
target Generated: libart_32 <= art/runtime/jdwp/jdwp.h
target Generated: libart_32 <= art/runtime/lock_word.h
target Generated: libart_32 <= art/runtime/mirror/class.h
target Generated: libart_32 <= art/runtime/oat.h
target Generated: libart_32 <= art/runtime/object_callbacks.h
target Generated: libart_32 <= art/runtime/quick/inline_method_analyser.h
target Generated: libart_32 <= art/runtime/thread.h
target Generated: libart_32 <= art/runtime/thread_state.h
target Generated: libart_32 <= art/runtime/verifier/method_verifier.h
Export includes file: system/core/libbacktrace/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libbacktrace_libc++_intermediates/export_includes
Export includes file: system/core/libnativebridge/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libnativebridge_intermediates/export_includes
Export includes file: art/sigchainlib/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libsigchain_intermediates/export_includes
Import includes file: out/host/darwin-x86/obj/SHARED_LIBRARIES/libbacktrace_libc++_intermediates/import_includes
Import includes file: out/host/darwin-x86/obj/SHARED_LIBRARIES/libnativebridge_intermediates/import_includes
Import includes file: out/host/darwin-x86/obj/SHARED_LIBRARIES/libsigchain_intermediates/import_includes
Import includes file: out/host/darwin-x86/obj/STATIC_LIBRARIES/libz_intermediates/import_includes
make: *** No rule to make target `out/host/darwin-x86/obj/SHARED_LIBRARIES/libLLVM_intermediates/export_includes', needed by `out/host/darwin-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
target Generated: libart-compiler_32 <= art/compiler/dex/compiler_enums.h
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
\e[0;31m#### make failed to build some targets (03:05 (mm:ss)) ####\e[00
Have I screwed it up? How can I solve this errors? Can anyone help?
By the way, If I change the file back to "ART_USE_PORTABLE_COMPILER := false", which is not the PORTABLE mode, and then build the source code successfully.
Thanks
Little_rock
I am trying to build the android under the PORTABLE mode.
I downloaded the latest version of Android using
repo init -u https://android.googlesource.com/platform/manifest
After that, I go to the directory "art/build/", and modified the file "Android.common_build.mk". In this file, there is something like "ART_USE_PORTABLE_COMPILER := false", and in order to use the PORTABLE mode, I changed it to "ART_USE_PORTABLE_COMPILER := true". This is the only change I have done.
I just want to run the emulator, so I do not include any proprietary binaries for devices(like Nexus 5).
When I am trying to build it, there are some errors, I do not know what happened.
Export includes file: art/runtime/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libart_intermediates/export_includes
Export includes file: art/compiler/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/export_includes
target Generated: libart_32 <= art/runtime/arch/x86_64/registers_x86_64.h
target Generated: libart_32 <= art/runtime/base/allocator.h
target Generated: libart_32 <= art/runtime/base/mutex.h
target Generated: libart_32 <= art/runtime/dex_file.h
target Generated: libart_32 <= art/runtime/dex_instruction.h
target Generated: libart_32 <= art/runtime/gc/collector/gc_type.h
target Generated: libart_32 <= art/runtime/gc/collector_type.h
target Generated: libart_32 <= art/runtime/gc/space/space.h
target Generated: libart_32 <= art/runtime/gc/heap.h
target Generated: libart_32 <= art/runtime/indirect_reference_table.h
target Generated: libart_32 <= art/runtime/instruction_set.h
target Generated: libart_32 <= art/runtime/invoke_type.h
target Generated: libart_32 <= art/runtime/jdwp/jdwp.h
target Generated: libart_32 <= art/runtime/lock_word.h
target Generated: libart_32 <= art/runtime/mirror/class.h
target Generated: libart_32 <= art/runtime/oat.h
target Generated: libart_32 <= art/runtime/object_callbacks.h
target Generated: libart_32 <= art/runtime/quick/inline_method_analyser.h
target Generated: libart_32 <= art/runtime/thread.h
target Generated: libart_32 <= art/runtime/thread_state.h
target Generated: libart_32 <= art/runtime/verifier/method_verifier.h
Export includes file: system/core/libbacktrace/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libbacktrace_libc++_intermediates/export_includes
Export includes file: system/core/libnativebridge/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libnativebridge_intermediates/export_includes
Export includes file: art/sigchainlib/Android.mk -- out/host/darwin-x86/obj/SHARED_LIBRARIES/libsigchain_intermediates/export_includes
Import includes file: out/host/darwin-x86/obj/SHARED_LIBRARIES/libbacktrace_libc++_intermediates/import_includes
Import includes file: out/host/darwin-x86/obj/SHARED_LIBRARIES/libnativebridge_intermediates/import_includes
Import includes file: out/host/darwin-x86/obj/SHARED_LIBRARIES/libsigchain_intermediates/import_includes
Import includes file: out/host/darwin-x86/obj/STATIC_LIBRARIES/libz_intermediates/import_includes
make: *** No rule to make target `out/host/darwin-x86/obj/SHARED_LIBRARIES/libLLVM_intermediates/export_includes', needed by `out/host/darwin-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
target Generated: libart-compiler_32 <= art/compiler/dex/compiler_enums.h
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
\e[0;31m#### make failed to build some targets (03:05 (mm:ss)) ####\e[00
Have I screwed it up? How can I solve this errors? Can anyone help?
By the way, If I change the file back to "ART_USE_PORTABLE_COMPILER := false", which is not the PORTABLE mode, and then build the source code successfully.
Thanks
Little_rock