|
【Android】
Firefly-RK3399编译Android8.1失败
发表于 2019-5-20 09:43:55
浏览:2627
|
回复:1
打印
只看该作者
[复制链接]
楼主
- root@liuyu-virtual-machine:~/rk3399/Firefly-RK3399_Android8.1_git_SDK_20180901/Firefly-rk3399# ./FFTools/make.sh -a
- including device/rockchip/rk3399/vendorsetup.sh
- including sdk/bash_completion/adb.bash
- ============================================
- PLATFORM_VERSION_CODENAME=REL
- PLATFORM_VERSION=8.1.0
- TARGET_PRODUCT=rk3399_firefly_mid
- TARGET_BUILD_VARIANT=userdebug
- TARGET_BUILD_TYPE=release
- TARGET_PLATFORM_VERSION=OPM1
- TARGET_BUILD_APPS=
- TARGET_ARCH=arm64
- TARGET_ARCH_VARIANT=armv8-a
- TARGET_CPU_VARIANT=cortex-a53
- TARGET_2ND_ARCH=arm
- TARGET_2ND_ARCH_VARIANT=armv7-a-neon
- TARGET_2ND_CPU_VARIANT=cortex-a15
- HOST_ARCH=x86_64
- HOST_2ND_ARCH=x86
- HOST_OS=linux
- HOST_OS_EXTRA=Linux-4.10.0-28-generic-x86_64-with-Ubuntu-16.04-xenial
- HOST_CROSS_OS=windows
- HOST_CROSS_ARCH=x86
- HOST_CROSS_2ND_ARCH=x86_64
- HOST_BUILD_TYPE=release
- BUILD_ID=OPM6.171019.030.B1
- OUT_DIR=out
- AUX_OS_VARIANT_LIST=
- ============================================
- ============================================
- PLATFORM_VERSION_CODENAME=REL
- PLATFORM_VERSION=8.1.0
- TARGET_PRODUCT=rk3399_firefly_mid
- TARGET_BUILD_VARIANT=userdebug
- TARGET_BUILD_TYPE=release
- TARGET_ARCH=arm64
- TARGET_ARCH_VARIANT=armv8-a
- TARGET_CPU_VARIANT=cortex-a53
- TARGET_2ND_ARCH=arm
- TARGET_2ND_ARCH_VARIANT=armv7-a-neon
- TARGET_2ND_CPU_VARIANT=cortex-a15
- HOST_ARCH=x86_64
- HOST_2ND_ARCH=x86
- HOST_OS=linux
- HOST_OS_EXTRA=Linux-4.10.0-28-generic-x86_64-with-Ubuntu-16.04-xenial
- HOST_CROSS_OS=windows
- HOST_CROSS_ARCH=x86
- HOST_CROSS_2ND_ARCH=x86_64
- HOST_BUILD_TYPE=release
- BUILD_ID=OPM6.171019.030.B1
- OUT_DIR=out
- ============================================
- 09:40:01 Deleted images and staging directories.
- #### build completed successfully (1 seconds) ####
- ============================================
- PLATFORM_VERSION_CODENAME=REL
- PLATFORM_VERSION=8.1.0
- TARGET_PRODUCT=rk3399_firefly_mid
- TARGET_BUILD_VARIANT=userdebug
- TARGET_BUILD_TYPE=release
- TARGET_ARCH=arm64
- TARGET_ARCH_VARIANT=armv8-a
- TARGET_CPU_VARIANT=cortex-a53
- TARGET_2ND_ARCH=arm
- TARGET_2ND_ARCH_VARIANT=armv7-a-neon
- TARGET_2ND_CPU_VARIANT=cortex-a15
- HOST_ARCH=x86_64
- HOST_2ND_ARCH=x86
- HOST_OS=linux
- HOST_OS_EXTRA=Linux-4.10.0-28-generic-x86_64-with-Ubuntu-16.04-xenial
- HOST_CROSS_OS=windows
- HOST_CROSS_ARCH=x86
- HOST_CROSS_2ND_ARCH=x86_64
- HOST_BUILD_TYPE=release
- BUILD_ID=OPM6.171019.030.B1
- OUT_DIR=out
- ============================================
- ninja: no work to do.
- ninja: no work to do.
- No need to regenerate ninja file
- [ 66% 2/3] glob art
- [ 5% 333/5642] build out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil
- [ 5% 335/5642] build out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil.tmp
- [ 5% 336/5642] build out/target/product/rk3399_firefly_mid/obj/ETC/27.0.cil_intermediates/mapping/27.0.cil
- Parsing out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil
- [ 6% 341/5642] build out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil
- out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf
- out/host/linux-x86/bin/checkpolicy: policy configuration loaded
- out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp
- [ 6% 342/5642] build out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil
- Parsing out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil
- Parsing out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil
- [ 8% 504/5642] Ensuring Jack server is installed and started
- Jack server already installed in "/home/liuyu/.jack-server"
- Server is already running
- [ 22% 1261/5642] target SharedLib: libsurfaceflinger (out/target/pro...BRARIES/libsurfaceflinger_intermediates/LINKED/libsurfaceflinger.so)
- FAILED: out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LINKED/libsurfaceflinger.so
- /bin/bash -c "prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ -nostdlib -Wl,-soname,libsurfaceflinger.so -Wl,--gc-sections -shared out/target/product/rk3399_firefly_mid/obj/lib/crtbegin_so.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Client.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayDevice.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DispSync.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/EventControlThread.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/StartPropertySetThread.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/EventThread.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/FrameTracker.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/GpuService.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Layer.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LayerDim.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LayerRejecter.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LayerVector.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/MessageQueue.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/MonitoredProducer.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceFlingerConsumer.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceInterceptor.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Transform.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/ComposerHal.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/FramebufferSurface.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWC2.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWComposerBufferCache.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/PowerHAL.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/VirtualDisplaySurface.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Effects/Daltonizer.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/EventLog/EventLog.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/Description.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/Mesh.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/Program.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/ProgramCache.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/GLExtensions.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/RenderEngine.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/Texture.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/GLES20RenderEngine.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceFlinger.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWComposer.o -Wl,--whole-archive -Wl,--no-whole-archive out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libhwcomposer-command-buffer_intermediates/libhwcomposer-command-buffer.a out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libtrace_proto_intermediates/libtrace_proto.a out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libvkjson_intermediates/libvkjson.a out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libvr_manager_intermediates/libvr_manager.a out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libvrflinger_intermediates/libvrflinger.a out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,-maarch64linux -Wl,--hash-style=gnu -Wl,--fix-cortex-a53-843419 -fuse-ld=gold -Wl,--icf=safe -Wl,--no-undefined-version -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wl,--no-undefined out/target/product/rk3399_firefly_mid/obj/lib/android.frameworks.vr.composer@1.0.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.graphics.allocator@2.0.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.graphics.composer@2.1.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.configstore@1.0.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.configstore-utils.so out/target/product/rk3399_firefly_mid/obj/lib/libcutils.so out/target/product/rk3399_firefly_mid/obj/lib/liblog.so out/target/product/rk3399_firefly_mid/obj/lib/libfmq.so out/target/product/rk3399_firefly_mid/obj/lib/libhardware.so out/target/product/rk3399_firefly_mid/obj/lib/libhidlbase.so out/target/product/rk3399_firefly_mid/obj/lib/libhidltransport.so out/target/product/rk3399_firefly_mid/obj/lib/libhwbinder.so out/target/product/rk3399_firefly_mid/obj/lib/libutils.so out/target/product/rk3399_firefly_mid/obj/lib/libEGL.so out/target/product/rk3399_firefly_mid/obj/lib/libGLESv1_CM.so out/target/product/rk3399_firefly_mid/obj/lib/libGLESv2.so out/target/product/rk3399_firefly_mid/obj/lib/libbinder.so out/target/product/rk3399_firefly_mid/obj/lib/libui.so out/target/product/rk3399_firefly_mid/obj/lib/libgui.so out/target/product/rk3399_firefly_mid/obj/lib/libpowermanager.so out/target/product/rk3399_firefly_mid/obj/lib/libvulkan.so out/target/product/rk3399_firefly_mid/obj/lib/libsync.so out/target/product/rk3399_firefly_mid/obj/lib/libprotobuf-cpp-lite.so out/target/product/rk3399_firefly_mid/obj/lib/libbase.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.power@1.0.so out/target/product/rk3399_firefly_mid/obj/lib/librga.so out/target/product/rk3399_firefly_mid/obj/lib/libc++.so out/target/product/rk3399_firefly_mid/obj/lib/libc.so out/target/product/rk3399_firefly_mid/obj/lib/libm.so out/target/product/rk3399_firefly_mid/obj/lib/libdl.so -o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LINKED/libsurfaceflinger.so out/target/product/rk3399_firefly_mid/obj/lib/crtend_so.o"
- prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: error: out/target/product/rk3399_firefly_mid/obj/lib/libvulkan.so: file is empty
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:77: error: undefined reference to 'vkGetInstanceProcAddr'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:83: error: undefined reference to 'vkEnumerateDeviceExtensionProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:87: error: undefined reference to 'vkEnumerateDeviceExtensionProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:92: error: undefined reference to 'vkEnumerateDeviceLayerProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:95: error: undefined reference to 'vkEnumerateDeviceLayerProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:99: error: undefined reference to 'vkGetPhysicalDeviceProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:116: error: undefined reference to 'vkGetPhysicalDeviceFeatures'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:118: error: undefined reference to 'vkGetPhysicalDeviceMemoryProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:121: error: undefined reference to 'vkGetPhysicalDeviceQueueFamilyProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:125: error: undefined reference to 'vkGetPhysicalDeviceQueueFamilyProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:133: error: undefined reference to 'vkGetPhysicalDeviceFormatProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:150: error: undefined reference to 'vkEnumerateInstanceLayerProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:155: error: undefined reference to 'vkEnumerateInstanceLayerProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:34: error: undefined reference to 'vkEnumerateInstanceExtensionProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:38: error: undefined reference to 'vkEnumerateInstanceExtensionProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:34: error: undefined reference to 'vkEnumerateInstanceExtensionProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:38: error: undefined reference to 'vkEnumerateInstanceExtensionProperties'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:193: error: undefined reference to 'vkCreateInstance'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:198: error: undefined reference to 'vkEnumeratePhysicalDevices'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:200: error: undefined reference to 'vkDestroyInstance'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:204: error: undefined reference to 'vkEnumeratePhysicalDevices'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:206: error: undefined reference to 'vkDestroyInstance'
- external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:216: error: undefined reference to 'vkDestroyInstance'
- clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
- ninja: build stopped: subcommand failed.
- 09:40:44 ninja failed with: exit status 1
复制代码 |
|