I compiled it into a VMWare environment on two computers, but the same build result was derived. What's the problem?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-112-generic-x86_64-Ubuntu-16.04.7-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ2A.190405.003
OUT_DIR=out
============================================
[ 73% 55222/75441] target thumb C++: gralloc.goldfish <= device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
In file included from device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:27:
In file included from device/generic/goldfish-opengl/system/OpenglSystemCommon/HostConnection.h:19:
In file included from device/generic/goldfish-opengl/host/include/libOpenglRender/IOStream.h:22:
In file included from device/generic/goldfish-opengl/shared/OpenglCodecCommon/ErrorLog.h:20:
system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
#warning "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h"
^
In file included from device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:27:
In file included from device/generic/goldfish-opengl/system/OpenglSystemCommon/HostConnection.h:20:
device/generic/goldfish-opengl/system/renderControl_enc/renderControl_enc.h:22:41: warning: unused parameter 'data' [-Wunused-parameter]
virtual uint64_t lockAndWriteDma(void* data, uint32_t sz) { return 0; }
^
device/generic/goldfish-opengl/system/renderControl_enc/renderControl_enc.h:22:56: warning: unused parameter 'sz' [-Wunused-parameter]
virtual uint64_t lockAndWriteDma(void* data, uint32_t sz) { return 0; }
^
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:456:10: warning: unused variable 'hw_write' [-Wunused-variable]
bool hw_write = (usage & GRALLOC_USAGE_HW_RENDER);
^
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1064:15: warning: unused variable 'vaddr' [-Wunused-variable]
void *vaddr;
^
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1270:53: warning: unused parameter 'usage' [-Wunused-parameter]
buffer_handle_t handle, int usage,
^
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1495:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
open: gralloc_device_open
^~~~~
.open =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1499:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
base: {
^~~~~
.base =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1500:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
common: {
^~~~~~~
.common =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1501:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
tag: HARDWARE_MODULE_TAG,
^~~~
.tag =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1503:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
module_api_version: GRALLOC_MODULE_API_VERSION_0_2,
^~~~~~~~~~~~~~~~~~~
.module_api_version =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1504:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
hal_api_version: 0,
^~~~~~~~~~~~~~~~
.hal_api_version =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1512:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
id: GRALLOC_HARDWARE_MODULE_ID,
^~~
.id =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1513:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
name: "Graphics Memory Allocator Module",
^~~~~
.name =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1514:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
author: "The Android Open Source Project",
^~~~~~~
.author =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1515:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
methods: &gralloc_module_methods,
^~~~~~~~
.methods =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1516:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
dso: NULL,
^~~~
.dso =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1517:13: warning: use of GNU old-style field designator extension [-Wgnu-designator]
reserved: {0, }
^~~~~~~~~
.reserved =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1519:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
registerBuffer: gralloc_register_buffer,
^~~~~~~~~~~~~~~
.registerBuffer =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1520:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
unregisterBuffer: gralloc_unregister_buffer,
^~~~~~~~~~~~~~~~~
.unregisterBuffer =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1521:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
lock: gralloc_lock,
^~~~~
.lock =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1522:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
unlock: gralloc_unlock,
^~~~~~~
.unlock =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1523:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
perform: NULL,
^~~~~~~~
.perform =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:1525:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
lock_ycbcr: gralloc_lock_ycbcr,
^~~~~~~~~~~
.lock_ycbcr =
device/generic/goldfish-opengl/system/gralloc/gralloc.cpp:899:12: warning: unused function 'fb_setUpdateRect' [-Wunused-function]
static int fb_setUpdateRect(struct framebuffer_device_t* dev,
^
25 warnings generated.
ninja: build stopped: subcommand failed.