did you find a solution ?

On Monday, February 19, 2018 at 10:23:06 AM UTC-8, Farhan Masood wrote:
>
> I am trying to build aosp_car_x86_64 on MacOS High Sierra 10.13.3 and 
> getting the following error:
>
> Farhans-MacBook-Pro:AOSP farhan$ lunch aosp_car_x86_64-userdebug
>
>
> ============================================
>
> PLATFORM_VERSION_CODENAME=P
>
> PLATFORM_VERSION=P
>
> TARGET_PRODUCT=aosp_car_x86_64
>
> TARGET_BUILD_VARIANT=userdebug
>
> TARGET_BUILD_TYPE=release
>
> TARGET_ARCH=x86_64
>
> TARGET_ARCH_VARIANT=x86_64
>
> TARGET_2ND_ARCH=x86
>
> TARGET_2ND_ARCH_VARIANT=x86_64
>
> HOST_ARCH=x86_64
>
> HOST_2ND_ARCH=x86
>
> HOST_OS=darwin
>
> HOST_OS_EXTRA=Darwin-17.4.0-x86_64-10.13.3
>
> HOST_BUILD_TYPE=release
>
> BUILD_ID=OC-MR1
>
> OUT_DIR=out
>
> ============================================
>
> Farhans-MacBook-Pro:AOSP farhan$ make -j8
>
> ld: warning: direct access in function 
> 'art::linker::ElfWriterQuick<ElfTypes64>::~ElfWriterQuick()' from file 
> 'out/soong/.intermediates/art/dex2oat/libartd-dex2oat/darwin_x86_64_static/libartd-dex2oat.a(elf_writer_quick.o)'
>  
> to global weak symbol 'vtable for art::linker::ElfWriterQuick<ElfTypes64>' 
> from file 
> 'out/soong/.intermediates/art/dex2oat/libartd-dex2oat/darwin_x86_64_static/libartd-dex2oat.a(elf_writer_quick.o)'
>  
> means the weak symbol cannot be overridden at runtime. This was likely 
> caused by different translation units being compiled with different 
> visibility settings.
>
> ld: warning: direct access in function 
> 'art::linker::ElfWriterQuick<ElfTypes64>::~ElfWriterQuick()' from file 
> 'out/soong/.intermediates/art/dex2oat/libartd-dex2oat/darwin_x86_64_static/libartd-dex2oat.a(elf_writer_quick.o)'
>  
> to global weak symbol 'vtable for art::linker::ElfWriterQuick<ElfTypes64>' 
> from file 
> 'out/soong/.intermediates/art/dex2oat/libartd-dex2oat/darwin_x86_64_static/libartd-dex2oat.a(elf_writer_quick.o)'
>  
> means the weak symbol cannot be overridden at runtime. This was likely 
> caused by different translation units being compiled with different 
> visibility settings.
>
> ld: warning: direct access in function 
> 'art::linker::ElfWriterQuick<ElfTypes64>::~ElfWriterQuick()' from file 
> 'out/soong/.intermediates/art/dex2oat/libartd-dex2oat/darwin_x86_64_static/libartd-dex2oat.a(elf_writer_quick.o)'
>  
> to global weak symbol 'vtable for art::linker::ElfWriterQuick<ElfTypes64>' 
> from file 
> 'out/soong/.intermediates/art/dex2oat/libartd-dex2oat/darwin_x86_64_static/libartd-dex2oat.a(elf_writer_quick.o)'
>  
> means the weak symbol cannot be overridden at runtime. This was likely 
> caused by different translation units being compiled with different 
> visibility settings.
>
> [ 73% 55236/75390] build 
> out/target/product/gen...ETC/sepolicy_tests_intermediates/sepolicy_tests
>
> FAILED: 
> out/target/product/generic_x86_64/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
>  
>
> /bin/bash -c "(out/host/darwin-x86/bin/sepolicy_tests -l 
> out/host/darwin-x86/lib64/libsepolwrap.dylib  -f 
> out/target/product/generic_x86_64/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts
>   
> -f 
> out/target/product/generic_x86_64/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts
>   
> -p 
> out/target/product/generic_x86_64/obj/ETC/sepolicy_intermediates/sepolicy ) 
> && (touch 
> out/target/product/generic_x86_64/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
>  
> )"
>
> The following types on /vendor/ must be associated with the 
> "vendor_file_type" attribute: hal_vehicle_default_exec
>
>
> [ 73% 55243/75390] //external/protobuf:libprotobuf-java-lite javac [darwin 
> common]
>
> ninja: build stopped: subcommand failed.
>
> 13:33:02 ninja failed with: exit status 1
>
>
> #### failed to build some targets (02:30:07 (hh:mm:ss)) ####
>
>
> Can anyone help me on this??
>
>
> Thanks,
>
> Farhan
>
>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/0ed6c615-feac-40c1-b809-543e2555b87c%40googlegroups.com.

Reply via email to