| art crash build with WITHOUT_HOST_CLANG=true | Carlos Estrague | 27/02/16 00:01 | [quote]out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_proxy_invoke_handler: error: unsupported reloc 42 out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_resolution_trampoline: error: unsupported reloc 42 out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_resolution_trampoline: error: unsupported reloc 42 out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_generic_jni_trampoline: error: unsupported reloc 42 out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_to_interpreter_bridge: error: unsupported reloc 42 out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_to_interpreter_bridge: error: unsupported reloc 42 out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_instrumentation_entry: error: unsupported reloc 42 out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_instrumentation_exit: error: unsupported reloc 42 out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_deoptimize: error: unsupported reloc 42 clang: error: linker command failed with exit code 1 (use -v to see invocation) build/core/host_shared_library_internal.mk:51: recipe for target 'out/host/linux-x86/obj/lib/libartd.so' failed make: *** [out/host/linux-x86/obj/lib/libartd.so] Error 1 make: *** Waiting for unfinished jobs.... clang: error: linker command failed with exit code 1 (use -v to see invocation) build/core/host_shared_library_internal.mk:51: recipe for target 'out/host/linux-x86/obj/lib/libart.so' failed make: *** [out/host/linux-x86/obj/lib/libart.so] Error 1[/quote] If you have this error Needs disable variable WITHOUT_HOST_CLANG in art/build/Android.common_build.mk WITHOUT_HOST_CLANG) to false and this problem no exist See for more information apply this patch http://review.cyanogenmod.org/#/c/120824/ |
| Re: art crash build with WITHOUT_HOST_CLANG=true | Carlos Estrague | 01/03/16 13:25 |
Temporaly better solution is Downgrade to GCC with lowers versions libc and binutils < 2.26 because apply this patch you no crash build but will always crash libart.so in the fist boot loop Regards Mrc. |
| Re: art crash build with WITHOUT_HOST_CLANG=true | Xuehui Chen | 16/11/16 19:30 | 在 2016年2月27日星期六 UTC+8下午4:01:13,Carlos Estrague写道:
The patch http://review.cyanogenmod.org/#/c/120824/ help me fix the problem. My OS is Ubuntu 16.04 |