[Mesa-dev] Check about recent changes in amdgpu

Mauro Rossi issor.oruam at gmail.com
Fri Sep 9 23:30:27 UTC 2016


Hi Dave,

while checking mesa-dev with android build,
I'm porting the necessary changes to to have amd/addrlib in Android build,

but I have also encountered a building error related to commit
https://cgit.freedesktop.org/mesa/mesa/commit/?id=1add3562e33f0234da50e54dda8cfa6dac613125

In the attachment the full build log, under my signatue short error log.

If I revert 1add3562e33f0234da50e54dda8cfa6dac613125
and after that I modify src/amd/common/amdgpu_id.h
in this way...

-#include "util/u_endian.h"
+#include "pipe/p_config.h"

...I can build mesa and complete Android 7.0, build,
so there may be some part missing in the new util/u_endian.h
header compared to the old one.

Would you like to check when you have time, please?

Pardon me if I may have wrote something wrong, beacuse I'm more involved
android  build system than in coding.

After your feedback, I will submit the final version of patch to fix
android build for review,
while in the following brach I have the workaround I've mentioned:
https://github.com/maurossi/mesa/commits/12.1.0devel_nougat-x86_10-sep-2016

Mauro Rossi
issor.oruam at gmail.com


In file included from external/mesa/src/amd/addrlib/r800/ciaddrlib.cpp:36:
external/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:36:2: error:
"BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined"
#error "BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined"
 ^
external/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:91:6: error:
unknown type name 'GB_ADDR_CONFIG_T'
     GB_ADDR_CONFIG_T f;
     ^
external/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:146:6: error:
unknown type name 'GB_TILE_MODE_T'
     GB_TILE_MODE_T f;
     ^
external/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:151:6: error:
unknown type name 'GB_MACROTILE_MODE_T'
     GB_MACROTILE_MODE_T f;
     ^
4 errors generated.
[ 20% 391/1939] target  C++: libmesa_amdgpu_addrlib <=
external/mesa/src/amd/addrlib/r800/egbaddrlib.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (01:33 (mm:ss)) ####
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160910/1c5cb160/attachment-0001.html>
-------------- next part --------------
utente at utente-MS-7576:~/nougat-x86$ make -j5 iso_img TARGET_KERNEL_CONFIG=480_defconfig FOR_RELEASE=1
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
TARGET_PRODUCT=android_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
TARGET_CPU_VARIANT=
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-38-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=NRD90M
OUT_DIR=out
============================================
Running kati to generate build-android_x86.ninja...
external/mesa/src/gallium/winsys/amdgpu/drm/Android.mk was modified, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
TARGET_PRODUCT=android_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
TARGET_CPU_VARIANT=
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-38-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=NRD90M
OUT_DIR=out
============================================
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/newinstaller/Android.mk ...
including ./bootable/recovery/Android.mk ...
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/target/product/security/Android.mk ...
including ./build/tools/Android.mk ...
including ./dalvik/Android.mk ...
including ./development/apps/BluetoothDebug/Android.mk ...
including ./development/apps/BuildWidget/Android.mk ...
including ./development/apps/CustomLocale/Android.mk ...
including ./development/apps/Development/Android.mk ...
including ./development/apps/DevelopmentSettings/Android.mk ...
including ./development/apps/Fallback/Android.mk ...
including ./development/apps/GestureBuilder/Android.mk ...
including ./development/apps/NinePatchLab/Android.mk ...
including ./development/apps/OBJViewer/Android.mk ...
including ./development/apps/SdkSetup/Android.mk ...
including ./development/apps/SettingInjectorSample/Android.mk ...
including ./development/apps/WidgetPreview/Android.mk ...
including ./development/apps/launchperf/Android.mk ...
including ./development/build/Android.mk ...
including ./development/cmds/monkey/Android.mk ...
including ./development/host/windows/prebuilt/usb/Android.mk ...
including ./development/ndk/Android.mk ...
including ./development/perftests/panorama/Android.mk ...
including ./development/samples/AccelerometerPlay/Android.mk ...
including ./development/samples/AliasActivity/Android.mk ...
including ./development/samples/AndroidBeamDemo/Android.mk ...
including ./development/samples/ApiDemos/Android.mk ...
including ./development/samples/AppNavigation/Android.mk ...
including ./development/samples/BackupRestore/Android.mk ...
including ./development/samples/BasicGLSurfaceView/Android.mk ...
including ./development/samples/BluetoothChat/Android.mk ...
including ./development/samples/BluetoothHDP/Android.mk ...
including ./development/samples/BrokenKeyDerivation/Android.mk ...
including ./development/samples/BusinessCard/Android.mk ...
including ./development/samples/Compass/Android.mk ...
including ./development/samples/ContactManager/Android.mk ...
including ./development/samples/CubeLiveWallpaper/Android.mk ...
including ./development/samples/FixedGridLayout/Android.mk ...
including ./development/samples/HeavyWeight/Android.mk ...
including ./development/samples/HelloActivity/Android.mk ...
including ./development/samples/HelloEffects/Android.mk ...
including ./development/samples/Home/Android.mk ...
including ./development/samples/HoneycombGallery/Android.mk ...
including ./development/samples/JetBoy/Android.mk ...
including ./development/samples/KeyChainDemo/Android.mk ...
including ./development/samples/LceDemo/Android.mk ...
including ./development/samples/LunarLander/Android.mk ...
including ./development/samples/MultiResolution/Android.mk ...
including ./development/samples/MultiWindow/Android.mk ...
including ./development/samples/MySampleRss/Android.mk ...
including ./development/samples/NotePad/Android.mk ...
including ./development/samples/Obb/Android.mk ...
including ./development/samples/RSSReader/Android.mk ...
including ./development/samples/RandomMusicPlayer/Android.mk ...
including ./development/samples/ReceiveShareDemo/Android.mk ...
including ./development/samples/RenderScript/Android.mk ...
including ./development/samples/SampleSyncAdapter/Android.mk ...
including ./development/samples/SearchableDictionary/Android.mk ...
including ./development/samples/SimpleJNI/Android.mk ...
including ./development/samples/SipDemo/Android.mk ...
including ./development/samples/SkeletonApp/Android.mk ...
including ./development/samples/Snake/Android.mk ...
including ./development/samples/SoftKeyboard/Android.mk ...
including ./development/samples/SpellChecker/Android.mk ...
including ./development/samples/StackWidget/Android.mk ...
including ./development/samples/Support13Demos/Android.mk ...
including ./development/samples/Support4Demos/Android.mk ...
including ./development/samples/Support7Demos/Android.mk ...
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
including ./development/samples/SupportAppNavigation/Android.mk ...
including ./development/samples/SupportDesignDemos/Android.mk ...
including ./development/samples/SupportLeanbackDemos/Android.mk ...
including ./development/samples/SupportLeanbackShowcase/app/src/main/Android.mk ...
including ./development/samples/SupportPercentDemos/Android.mk ...
including ./development/samples/SupportVectorDrawable/animated/Android.mk ...
including ./development/samples/SupportVectorDrawable/static/Android.mk ...
including ./development/samples/ToyVpn/Android.mk ...
including ./development/samples/TtsEngine/Android.mk ...
including ./development/samples/USB/Android.mk ...
including ./development/samples/UiAutomator/Android.mk ...
including ./development/samples/Vault/Android.mk ...
including ./development/samples/VoiceRecognitionService/Android.mk ...
including ./development/samples/VoicemailProviderDemo/Android.mk ...
including ./development/samples/WeatherListWidget/Android.mk ...
including ./development/samples/WiFiDirectDemo/Android.mk ...
including ./development/samples/WiFiDirectServiceDiscovery/Android.mk ...
including ./development/samples/Wiktionary/Android.mk ...
including ./development/samples/WiktionarySimple/Android.mk ...
including ./development/samples/XmlAdapters/Android.mk ...
including ./development/samples/training/NsdChat/Android.mk ...
including ./development/testrunner/Android.mk ...
including ./development/tools/apkcheck/Android.mk ...
including ./development/tools/emulator/test-apps/SmokeTests/Android.mk ...
including ./development/tools/etc1tool/Android.mk ...
including ./development/tools/hosttestlib/Android.mk ...
including ./development/tools/idegen/Android.mk ...
including ./development/tools/line_endings/Android.mk ...
including ./development/tools/mkstubs/Android.mk ...
including ./development/tools/rmtypedefs/Android.mk ...
including ./development/tools/yuv420sp2rgb/Android.mk ...
including ./development/tutorials/MoarRam/Android.mk ...
including ./development/tutorials/NotepadCodeLab/Notepadv1/Android.mk ...
including ./development/tutorials/NotepadCodeLab/Notepadv1Solution/Android.mk ...
including ./development/tutorials/NotepadCodeLab/Notepadv2/Android.mk ...
including ./development/tutorials/NotepadCodeLab/Notepadv2Solution/Android.mk ...
including ./development/tutorials/NotepadCodeLab/Notepadv3/Android.mk ...
including ./development/tutorials/NotepadCodeLab/Notepadv3Solution/Android.mk ...
including ./development/tutorials/ReverseDebug/Android.mk ...
including ./device/generic/common/Android.mk ...
including ./device/generic/firmware/Android.mk ...
including ./device/sample/Android.mk ...
including ./external/aac/Android.mk ...
including ./external/alsa-lib/Android.mk ...
including ./external/alsa-utils/Android.mk ...
including ./external/android-clat/Android.mk ...
including ./external/androidplot/Android.mk ...
including ./external/ant-glob/Android.mk ...
including ./external/antlr/Android.mk ...
including ./external/apache-commons-math/Android.mk ...
including ./external/apache-harmony/Android.mk ...
including ./external/apache-http/Android.mk ...
including ./external/apache-xml/Android.mk ...
including ./external/avahi/Android.mk ...
including ./external/bison/Android.mk ...
including ./external/blktrace/Android.mk ...
including ./external/bluetooth/glib/Android.mk ...
including ./external/boringssl/Android.mk ...
including ./external/bouncycastle/Android.mk ...
including ./external/bsdiff/Android.mk ...
including ./external/busybox/Android.mk ...
including ./external/bzip2/Android.mk ...
including ./external/c-ares/Android.mk ...
including ./external/caliper/Android.mk ...
including ./external/cblas/Android.mk ...
including ./external/ceres-solver/Android.mk ...
including ./external/chromium-libpac/Android.mk ...
including ./external/chromium-webview/Android.mk ...
including ./external/clang/Android.mk ...
including ./external/compiler-rt/Android.mk ...
including ./external/conscrypt/Android.mk ...
including ./external/crcalc/Android.mk ...
including ./external/curl/Android.mk ...
including ./external/dagger2/Android.mk ...
including ./external/dbus-binding-generator/Android.mk ...
including ./external/dbus/Android.mk ...
including ./external/deqp/Android.mk ...
build/core/binary.mk:1196: external/deqp/Android.mk: libdeqp: Unused source files: \
including ./external/dexmaker/Android.mk ...
including ./external/dhcpcd-6.8.2/Android.mk ...
including ./external/dng_sdk/Android.mk ...
including ./external/dnsmasq/Android.mk ...
including ./external/doclava/Android.mk ...
including ./external/drm_gralloc/Android.mk ...
including ./external/drm_hwcomposer/Android.mk ...
including ./external/droiddriver/Android.mk ...
including ./external/e2fsprogs/Android.mk ...
including ./external/easymock/Android.mk ...
including ./external/eigen/Android.mk ...
including ./external/eject/Android.mk ...
including ./external/elfutils/Android.mk ...
including ./external/emma/Android.mk ...
including ./external/exfat/Android.mk ...
including ./external/expat/Android.mk ...
including ./external/eyes-free/Android.mk ...
including ./external/f2fs-tools/Android.mk ...
including ./external/fdlibm/Android.mk ...
including ./external/fec/Android.mk ...
including ./external/ffmpeg/Android.mk ...
including ./external/fio/Android.mk ...
including ./external/flac/Android.mk ...
including ./external/freetype/Android.mk ...
including ./external/fsck_msdos/Android.mk ...
including ./external/gemmlowp/Android.mk ...
including ./external/giflib/Android.mk ...
including ./external/glide/Android.mk ...
including ./external/gmock/Android.mk ...
including ./external/google-benchmark/Android.mk ...
including ./external/google-breakpad/Android.mk ...
including ./external/google-fonts/carrois-gothic-sc/Android.mk ...
including ./external/google-fonts/coming-soon/Android.mk ...
including ./external/google-fonts/cutive-mono/Android.mk ...
including ./external/google-fonts/dancing-script/Android.mk ...
including ./external/google-tv-pairing-protocol/Android.mk ...
including ./external/googleanalytics/Android.mk ...
including ./external/gptfdisk/Android.mk ...
including ./external/gtest/Android.mk ...
including ./external/guava/Android.mk ...
including ./external/guice/Android.mk ...
including ./external/hamcrest/Android.mk ...
including ./external/harfbuzz_ng/Android.mk ...
including ./external/hyphenation-patterns/Android.mk ...
including ./external/icu/Android.mk ...
including ./external/iproute2/Android.mk ...
including ./external/ipsec-tools/Android.mk ...
including ./external/iptables/Android.mk ...
including ./external/iputils/Android.mk ...
including ./external/iw/Android.mk ...
including ./external/jacoco/Android.mk ...
including ./external/jarjar/Android.mk ...
including ./external/javasqlite/Android.mk ...
including ./external/javassist/Android.mk ...
including ./external/jcommander/Android.mk ...
including ./external/jdiff/Android.mk ...
including ./external/jemalloc/Android.mk ...
including ./external/jetty/Android.mk ...
including ./external/jhead/Android.mk ...
including ./external/jmdns/Android.mk ...
including ./external/jsilver/Android.mk ...
including ./external/jsmn/Android.mk ...
including ./external/jsoncpp/Android.mk ...
including ./external/jsr305/Android.mk ...
including ./external/jsr330/Android.mk ...
including ./external/junit/Android.mk ...
including ./external/koush/Superuser/Android.mk ...
including ./external/ksoap2/Android.mk ...
including ./external/libavc/Android.mk ...
including ./external/libbrillo/Android.mk ...
including ./external/libcap-ng/Android.mk ...
including ./external/libcap/Android.mk ...
including ./external/libchrome/Android.mk ...
including ./external/libcxx/Android.mk ...
including ./external/libcxxabi/Android.mk ...
including ./external/libdaemon/Android.mk ...
including ./external/libdivsufsort/Android.mk ...
including ./external/libdrm/Android.mk ...
including ./external/libedit/Android.mk ...
including ./external/libevent/Android.mk ...
including ./external/libexif/Android.mk ...
including ./external/libgsm/Android.mk ...
including ./external/libhevc/Android.mk ...
including ./external/libjpeg-turbo/Android.mk ...
including ./external/liblzf/Android.mk ...
including ./external/libmicrohttpd/Android.mk ...
including ./external/libmpeg2/Android.mk ...
including ./external/libnl/Android.mk ...
including ./external/libogg/Android.mk ...
including ./external/libopus/Android.mk ...
including ./external/libpcap/Android.mk ...
including ./external/libphonenumber/Android.mk ...
including ./external/libpng/Android.mk ...
including ./external/libselinux/Android.mk ...
including ./external/libtruezip/Android.mk ...
including ./external/libunwind/Android.mk ...
including ./external/libunwind_llvm/Android.mk ...
including ./external/libutf/Android.mk ...
including ./external/libvncserver/Android.mk ...
including ./external/libvorbis/Android.mk ...
including ./external/libvpx/Android.mk ...
including ./external/libvterm/Android.mk ...
including ./external/libweave/Android.mk ...
including ./external/libxml2/Android.mk ...
including ./external/libyuv/Android.mk ...
including ./external/littlemock/Android.mk ...
including ./external/llvm/Android.mk ...
including ./external/ltrace/Android.mk ...
including ./external/lz4/Android.mk ...
including ./external/lzma/C/Android.mk ...
including ./external/lzma/Java/Tukaani/Android.mk ...
including ./external/lzma/xz-embedded/Android.mk ...
including ./external/markdown/Android.mk ...
including ./external/mdnsresponder/Android.mk ...
including ./external/mesa/Android.mk ...
including ./external/messageformat/Android.mk ...
including ./external/minijail/Android.mk ...
including ./external/mksh/Android.mk ...
including ./external/mmc-utils/Android.mk ...
including ./external/mockito/Android.mk ...
including ./external/mockwebserver/Android.mk ...
including ./external/modp_b64/Android.mk ...
including ./external/mp4parser/Android.mk ...
including ./external/mtpd/Android.mk ...
including ./external/nanohttpd/Android.mk ...
including ./external/nanopb-c/Android.mk ...
including ./external/netcat/Android.mk ...
including ./external/netperf/Android.mk ...
including ./external/neven/Android.mk ...
including ./external/nfacct/Android.mk ...
including ./external/nist-pkits/Android.mk ...
including ./external/noto-fonts/Android.mk ...
including ./external/ntfs-3g/Android.mk ...
including ./external/oauth/core/src/main/java/Android.mk ...
including ./external/objenesis/Android.mk ...
including ./external/okhttp/Android.mk ...
including ./external/opencv/Android.mk ...
including ./external/opencv3/Android.mk ...
including ./external/owasp/sanitizer/Android.mk ...
including ./external/parameter-framework/Android.mk ...
including ./external/pcre/Android.mk ...
including ./external/pdfium/core/Android.mk ...
including ./external/pdfium/fpdfsdk/Android.mk ...
including ./external/pdfium/third_party/Android.mk ...
build/core/binary.mk:1196: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
including ./external/piex/Android.mk ...
including ./external/ppp/pppd/Android.mk ...
including ./external/proguard/Android.mk ...
including ./external/protobuf/Android.mk ...
including ./external/regex-re2/Android.mk ...
including ./external/replicaisland/Android.mk ...
including ./external/rmi4utils/Android.mk ...
including ./external/robolectric/v1/Android.mk ...
including ./external/roboto-fonts/Android.mk ...
including ./external/rootdev/Android.mk ...
including ./external/s2tc/Android.mk ...
including ./external/safe-iop/Android.mk ...
including ./external/scrypt/Android.mk ...
including ./external/selinux/Android.mk ...
including ./external/sfntly/Android.mk ...
including ./external/shflags/Android.mk ...
including ./external/skia/Android.mk ...
including ./external/sl4a/Android.mk ...
including ./external/smali/baksmali/Android.mk ...
including ./external/smali/deodexerant/Android.mk ...
including ./external/smali/dexlib2/Android.mk ...
including ./external/smali/smali/Android.mk ...
including ./external/snakeyaml/Android.mk ...
including ./external/sonic/Android.mk ...
including ./external/sonivox/Android.mk ...
including ./external/speex/Android.mk ...
including ./external/sqlite/android/Android.mk ...
including ./external/sqlite/dist/Android.mk ...
including ./external/squashfs-tools/Android.mk ...
including ./external/srtp/Android.mk ...
including ./external/stagefright-plugins/Android.mk ...
including ./external/strace/Android.mk ...
including ./external/svox/Android.mk ...
including ./external/tagsoup/Android.mk ...
including ./external/tcpdump/Android.mk ...
including ./external/testng/Android.mk ...
including ./external/tinyalsa/Android.mk ...
including ./external/tinycompress/Android.mk ...
including ./external/tinyxml/Android.mk ...
including ./external/tinyxml2/Android.mk ...
including ./external/tlsdate/Android.mk ...
including ./external/toybox/Android.mk ...
awk: line 1: syntax error at or near ,
including ./external/tpm2/Android.mk ...
including ./external/tremolo/Android.mk ...
including ./external/v8/Android.mk ...
including ./external/v86d/Android.mk ...
including ./external/valgrind/Android.mk ...
including ./external/vboot_reference/Android.mk ...
including ./external/vixl/Android.mk ...
including ./external/vogar/Android.mk ...
including ./external/vulkan-validation-layers/Android.mk ...
including ./external/webp/Android.mk ...
including ./external/webrtc/Android.mk ...
including ./external/wpa_supplicant_8/Android.mk ...
including ./external/xmlrpcpp/Android.mk ...
including ./external/xmp_toolkit/Android.mk ...
including ./external/zlib/Android.mk ...
including ./external/zopfli/Android.mk ...
including ./external/zxing/Android.mk ...
including ./frameworks/av/camera/Android.mk ...
including ./frameworks/av/cmds/screenrecord/Android.mk ...
including ./frameworks/av/cmds/stagefright/Android.mk ...
including ./frameworks/av/drm/common/Android.mk ...
including ./frameworks/av/drm/drmserver/Android.mk ...
including ./frameworks/av/drm/libdrmframework/Android.mk ...
including ./frameworks/av/drm/libmediadrm/Android.mk ...
including ./frameworks/av/drm/mediadrm/plugins/clearkey/Android.mk ...
including ./frameworks/av/drm/mediadrm/plugins/mock/Android.mk ...
including ./frameworks/av/media/audioserver/Android.mk ...
including ./frameworks/av/media/common_time/Android.mk ...
including ./frameworks/av/media/img_utils/Android.mk ...
including ./frameworks/av/media/libcpustats/Android.mk ...
including ./frameworks/av/media/libeffects/downmix/Android.mk ...
including ./frameworks/av/media/libeffects/factory/Android.mk ...
including ./frameworks/av/media/libeffects/loudness/Android.mk ...
including ./frameworks/av/media/libeffects/lvm/lib/Android.mk ...
including ./frameworks/av/media/libeffects/lvm/wrapper/Android.mk ...
including ./frameworks/av/media/libeffects/preprocessing/Android.mk ...
including ./frameworks/av/media/libeffects/proxy/Android.mk ...
including ./frameworks/av/media/libeffects/visualizer/Android.mk ...
including ./frameworks/av/media/libmedia/Android.mk ...
including ./frameworks/av/media/libmediaplayerservice/Android.mk ...
including ./frameworks/av/media/libnbaio/Android.mk ...
including ./frameworks/av/media/libstagefright/Android.mk ...
including ./frameworks/av/media/mediaserver/Android.mk ...
including ./frameworks/av/media/mtp/Android.mk ...
including ./frameworks/av/media/ndk/Android.mk ...
including ./frameworks/av/media/utils/Android.mk ...
including ./frameworks/av/radio/Android.mk ...
including ./frameworks/av/services/audioflinger/Android.mk ...
including ./frameworks/av/services/audiopolicy/Android.mk ...
including ./frameworks/av/services/camera/libcameraservice/Android.mk ...
including ./frameworks/av/services/mediacodec/Android.mk ...
including ./frameworks/av/services/mediadrm/Android.mk ...
including ./frameworks/av/services/mediaextractor/Android.mk ...
including ./frameworks/av/services/medialog/Android.mk ...
including ./frameworks/av/services/mediaresourcemanager/Android.mk ...
including ./frameworks/av/services/radio/Android.mk ...
including ./frameworks/av/services/soundtrigger/Android.mk ...
including ./frameworks/av/soundtrigger/Android.mk ...
including ./frameworks/av/tools/resampler_tools/Android.mk ...
including ./frameworks/base/Android.mk ...
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
including ./frameworks/compile/libbcc/Android.mk ...
including ./frameworks/compile/mclinker/Android.mk ...
including ./frameworks/compile/slang/Android.mk ...
including ./frameworks/data-binding/Android.mk ...
including ./frameworks/ex/camera2/Android.mk ...
including ./frameworks/ex/common/Android.mk ...
including ./frameworks/ex/framesequence/Android.mk ...
including ./frameworks/minikin/app/Android.mk ...
including ./frameworks/minikin/libs/minikin/Android.mk ...
including ./frameworks/minikin/sample/Android.mk ...
including ./frameworks/minikin/tests/Android.mk ...
including ./frameworks/ml/Android.mk ...
including ./frameworks/multidex/Android.mk ...
including ./frameworks/native/cmds/atrace/Android.mk ...
including ./frameworks/native/cmds/bugreport/Android.mk ...
including ./frameworks/native/cmds/bugreportz/Android.mk ...
including ./frameworks/native/cmds/cmd/Android.mk ...
including ./frameworks/native/cmds/dumpstate/Android.mk ...
including ./frameworks/native/cmds/dumpsys/Android.mk ...
including ./frameworks/native/cmds/flatland/Android.mk ...
including ./frameworks/native/cmds/installd/Android.mk ...
including ./frameworks/native/cmds/ip-up-vpn/Android.mk ...
including ./frameworks/native/cmds/rawbu/Android.mk ...
including ./frameworks/native/cmds/service/Android.mk ...
including ./frameworks/native/cmds/servicemanager/Android.mk ...
including ./frameworks/native/libs/binder/Android.mk ...
including ./frameworks/native/libs/diskusage/Android.mk ...
including ./frameworks/native/libs/gui/Android.mk ...
including ./frameworks/native/libs/input/Android.mk ...
including ./frameworks/native/libs/ui/Android.mk ...
including ./frameworks/native/opengl/libagl/Android.mk ...
including ./frameworks/native/opengl/libs/Android.mk ...
including ./frameworks/native/opengl/tests/Android.mk ...
including ./frameworks/native/services/batteryservice/Android.mk ...
including ./frameworks/native/services/inputflinger/Android.mk ...
including ./frameworks/native/services/powermanager/Android.mk ...
including ./frameworks/native/services/sensorservice/Android.mk ...
including ./frameworks/native/services/surfaceflinger/Android.mk ...
including ./frameworks/native/vulkan/Android.mk ...
including ./frameworks/opt/bitmap/Android.mk ...
including ./frameworks/opt/bluetooth/Android.mk ...
FindEmulator: find: `frameworks/opt/bluetooth/src/android/bluetooth/client/pbap': No such file or directory
including ./frameworks/opt/calendar/Android.mk ...
including ./frameworks/opt/chips/Android.mk ...
including ./frameworks/opt/colorpicker/Android.mk ...
including ./frameworks/opt/datetimepicker/Android.mk ...
including ./frameworks/opt/inputmethodcommon/Android.mk ...
including ./frameworks/opt/net/ethernet/Android.mk ...
including ./frameworks/opt/net/ims/Android.mk ...
including ./frameworks/opt/net/voip/Android.mk ...
including ./frameworks/opt/net/wifi/service/Android.mk ...
including ./frameworks/opt/net/wifi/tests/Android.mk ...
find: ‘out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
including ./frameworks/opt/photoviewer/Android.mk ...
including ./frameworks/opt/setupwizard/library/Android.mk ...
including ./frameworks/opt/setupwizard/navigationbar/Android.mk ...
including ./frameworks/opt/telephony/Android.mk ...
including ./frameworks/opt/timezonepicker/Android.mk ...
including ./frameworks/opt/vcard/Android.mk ...
including ./frameworks/rs/Android.mk ...
including ./frameworks/support/Android.mk ...
FindEmulator: find: `frameworks/support/design/dummy': No such file or directory
FindEmulator: find: `frameworks/support/v17/leanback/dummy': No such file or directory
FindEmulator: find: `frameworks/support/v17/preference-leanback/dummy': No such file or directory
including ./frameworks/volley/Android.mk ...
including ./frameworks/webview/Android.mk ...
including ./frameworks/wilhelm/src/Android.mk ...
including ./frameworks/wilhelm/tests/Android.mk ...
including ./hardware/broadcom/wlan/bcmdhd/Android.mk ...
including ./hardware/bsp/intel/peripheral/bluetooth/bcm43340/Android.mk ...
including ./hardware/bsp/intel/peripheral/displays/Grove_LCD_RGB/Android.mk ...
including ./hardware/bsp/intel/peripheral/displays/SparkFun_OLED/Android.mk ...
including ./hardware/bsp/intel/peripheral/examples/mraa/gpio_output/Android.mk ...
including ./hardware/bsp/intel/peripheral/libmraa/Android.mk ...
including ./hardware/bsp/intel/peripheral/libupm/Android.mk ...
including ./hardware/bsp/intel/peripheral/wifi/bcm43340/Android.mk ...
including ./hardware/bsp/intel/soc/common/bootctrl/Android.mk ...
including ./hardware/bsp/intel/soc/common/tools/Android.mk ...
including ./hardware/gps/Android.mk ...
including ./hardware/intel/audio_media/hdmi/Android.mk ...
including ./hardware/intel/common/libmix/Android.mk ...
including ./hardware/intel/common/libstagefrighthw/Android.mk ...
including ./hardware/intel/common/libva/Android.mk ...
including ./hardware/intel/common/libwsbm/src/Android.mk ...
including ./hardware/intel/common/omx-components/Android.mk ...
including ./hardware/intel/common/utils/ISV/Android.mk ...
including ./hardware/intel/common/utils/ituxd/Android.mk ...
including ./hardware/intel/common/utils/media_resource_manager/Android.mk ...
including ./hardware/intel/common/wrs_omxil_core/Android.mk ...
including ./hardware/intel/libsensors/Android.mk ...
including ./hardware/libaudio/Android.mk ...
including ./hardware/libcamera/Android.mk ...
including ./hardware/libhardware/Android.mk ...
including ./hardware/libhardware_legacy/Android.mk ...
including ./hardware/liblights/Android.mk ...
including ./hardware/libsensors/Android.mk ...
including ./hardware/ril/libril/Android.mk ...
including ./hardware/ril/librilutils/Android.mk ...
including ./hardware/ril/reference-ril/Android.mk ...
including ./hardware/ril/rild/Android.mk ...
including ./hardware/x86power/Android.mk ...
including ./libcore/Android.mk ...
including ./libnativehelper/Android.mk ...
including ./ndk/Android.mk ...
including ./packages/apps/BasicSmsReceiver/Android.mk ...
including ./packages/apps/Bluetooth/Android.mk ...
including ./packages/apps/Browser2/Android.mk ...
including ./packages/apps/CMFileManager/Android.mk ...
including ./packages/apps/Calculator/Android.mk ...
including ./packages/apps/Calendar/Android.mk ...
including ./packages/apps/Camera2/Android.mk ...
including ./packages/apps/CarrierConfig/Android.mk ...
including ./packages/apps/CellBroadcastReceiver/Android.mk ...
including ./packages/apps/CertInstaller/Android.mk ...
including ./packages/apps/Contacts/Android.mk ...
FindEmulator: find: `packages/apps/Contacts/src-N': No such file or directory
FindEmulator: find: `packages/apps/PhoneCommon/src-N': No such file or directory
including ./packages/apps/DeskClock/Android.mk ...
including ./packages/apps/DevCamera/Android.mk ...
including ./packages/apps/Dialer/Android.mk ...
FindEmulator: find: `packages/apps/Dialer/InCallUI/src-N': No such file or directory
FindEmulator: find: `packages/apps/PhoneCommon/src-N': No such file or directory
including ./packages/apps/Email/Android.mk ...
including ./packages/apps/EmergencyInfo/Android.mk ...
including ./packages/apps/ExactCalculator/Android.mk ...
including ./packages/apps/Gallery2/Android.mk ...
including ./packages/apps/HTMLViewer/Android.mk ...
including ./packages/apps/KeyChain/Android.mk ...
including ./packages/apps/Launcher3/Android.mk ...
including ./packages/apps/ManagedProvisioning/Android.mk ...
including ./packages/apps/Messaging/Android.mk ...
including ./packages/apps/OneTimeInitializer/Android.mk ...
including ./packages/apps/PackageInstaller/Android.mk ...
including ./packages/apps/PhoneCommon/Android.mk ...
including ./packages/apps/Protips/Android.mk ...
including ./packages/apps/Provision/Android.mk ...
including ./packages/apps/QuickSearchBox/Android.mk ...
including ./packages/apps/Settings/Android.mk ...
including ./packages/apps/SoundRecorder/Android.mk ...
including ./packages/apps/SpareParts/Android.mk ...
including ./packages/apps/SpeechRecorder/Android.mk ...
including ./packages/apps/Stk/Android.mk ...
including ./packages/apps/TSCalibration2/Android.mk ...
including ./packages/apps/TV/Android.mk ...
including ./packages/apps/Terminal/Android.mk ...
including ./packages/apps/Test/connectivity/sl4n/Android.mk ...
including ./packages/apps/TvSettings/QuickSettings/Android.mk ...
including ./packages/apps/TvSettings/Settings/Android.mk ...
including ./packages/apps/UnifiedEmail/Android.mk ...
including ./packages/inputmethods/LatinIME/Android.mk ...
including ./packages/providers/BlockedNumberProvider/Android.mk ...
including ./packages/providers/BookmarkProvider/Android.mk ...
including ./packages/providers/CalendarProvider/Android.mk ...
including ./packages/providers/CallLogProvider/Android.mk ...
including ./packages/providers/ContactsProvider/Android.mk ...
including ./packages/providers/DownloadProvider/Android.mk ...
including ./packages/providers/MediaProvider/Android.mk ...
including ./packages/providers/PartnerBookmarksProvider/Android.mk ...
including ./packages/providers/TelephonyProvider/Android.mk ...
including ./packages/providers/TvProvider/Android.mk ...
including ./packages/providers/UserDictionaryProvider/Android.mk ...
including ./packages/screensavers/Basic/Android.mk ...
including ./packages/screensavers/PhotoTable/Android.mk ...
including ./packages/screensavers/WebView/Android.mk ...
including ./packages/services/Analytics/Android.mk ...
FindEmulator: find: `packages/services/Analytics/Service/protos': No such file or directory
including ./packages/services/Car/Android.mk ...
FindEmulator: find: `packages/services/Car/car-support-lib/dummy': No such file or directory
including ./packages/services/Mms/Android.mk ...
including ./packages/services/Telecomm/Android.mk ...
including ./packages/services/Telephony/Android.mk ...
including ./packages/wallpapers/LivePicker/Android.mk ...
including ./platform_testing/libraries/annotations/Android.mk ...
including ./platform_testing/libraries/app-helpers/Android.mk ...
FindEmulator: find: `platform_testing/libraries/app-helpers/src': No such file or directory
FindEmulator: find: `platform_testing/libraries/app-helpers/src': No such file or directory
including ./platform_testing/libraries/aupt-lib/Android.mk ...
including ./platform_testing/libraries/base-app-helpers/Android.mk ...
including ./platform_testing/libraries/chrome-app-helper/Android.mk ...
including ./platform_testing/libraries/facebook-app-helper/Android.mk ...
including ./platform_testing/libraries/flightdemo-app-helper/Android.mk ...
including ./platform_testing/libraries/gmail-app-helper/Android.mk ...
including ./platform_testing/libraries/google-app-camera-helper/Android.mk ...
including ./platform_testing/libraries/google-docs-app-helper/Android.mk ...
including ./platform_testing/libraries/google-keyboard-app-helper/Android.mk ...
including ./platform_testing/libraries/google-messenger-app-helper/Android.mk ...
including ./platform_testing/libraries/launcher-helper/Android.mk ...
including ./platform_testing/libraries/maps-app-helper/Android.mk ...
including ./platform_testing/libraries/photos-app-helper/Android.mk ...
including ./platform_testing/libraries/play-books-app-helper/Android.mk ...
including ./platform_testing/libraries/play-movies-app-helper/Android.mk ...
including ./platform_testing/libraries/play-music-app-helper/Android.mk ...
including ./platform_testing/libraries/play-store-app-helper/Android.mk ...
including ./platform_testing/libraries/power-helper/Android.mk ...
including ./platform_testing/libraries/recents-app-helper/Android.mk ...
including ./platform_testing/libraries/reddit-app-helper/Android.mk ...
including ./platform_testing/libraries/settings-app-helper/Android.mk ...
including ./platform_testing/libraries/timeresult-helper/Android.mk ...
including ./platform_testing/libraries/tunein-app-helper/Android.mk ...
including ./platform_testing/libraries/youtube-app-helper/Android.mk ...
including ./platform_testing/scripts/perf-setup/Android.mk ...
including ./platform_testing/tests/androidbvt/Android.mk ...
including ./platform_testing/tests/camera/aupt-profile/Android.mk ...
including ./platform_testing/tests/functional/applinktests/Android.mk ...
including ./platform_testing/tests/functional/appsmoke/Android.mk ...
including ./platform_testing/tests/functional/downloadapp/Android.mk ...
including ./platform_testing/tests/functional/externalstorage/Android.mk ...
including ./platform_testing/tests/functional/launchertests/Android.mk ...
including ./platform_testing/tests/functional/notificationtests/Android.mk ...
including ./platform_testing/tests/functional/otatests/Android.mk ...
including ./platform_testing/tests/functional/permission/Android.mk ...
including ./platform_testing/tests/functional/settingstests/Android.mk ...
including ./platform_testing/tests/functional/testapks/applinktestapp/Android.mk ...
including ./platform_testing/tests/functional/testapks/permissiontestappmv1/Android.mk ...
including ./platform_testing/tests/jank/UbSystemUiJankTests/Android.mk ...
including ./platform_testing/tests/jank/androidtvjanktests/Android.mk ...
including ./platform_testing/tests/jank/dialer/Android.mk ...
including ./platform_testing/tests/jank/jankmicrobenchmark/Android.mk ...
including ./platform_testing/tests/jank/sysapp/Android.mk ...
including ./platform_testing/tests/jank/sysapp_wear/Android.mk ...
including ./platform_testing/tests/jank/uibench/Android.mk ...
including ./platform_testing/tests/jank/uibench_wear/Android.mk ...
including ./platform_testing/tests/jank/webview/Android.mk ...
including ./platform_testing/tests/perf/PerformanceAppTest/Android.mk ...
including ./platform_testing/tests/perf/PerformanceLaunch/Android.mk ...
including ./platform_testing/tests/perf/PowerPerfTest/Android.mk ...
including ./platform_testing/tests/smokefast/Android.mk ...
including ./platform_testing/utils/crashcollector/Android.mk ...
including ./platform_testing/utils/dialogs/Android.mk ...
including ./platform_testing/utils/permissions/Android.mk ...
including ./prebuilts/clang/host/linux-x86/Android.mk ...
including ./prebuilts/misc/Android.mk ...
including ./prebuilts/ndk/Android.mk ...
including ./prebuilts/sdk/Android.mk ...
including ./prebuilts/tools/Android.mk ...
FindEmulator: find: `prebuilts/tools/android-x86': No such file or directory
including ./sdk/annotations/Android.mk ...
including ./sdk/avdlauncher/Android.mk ...
including ./sdk/dumpeventlog/Android.mk ...
including ./sdk/emulator/mksdcard/Android.mk ...
including ./sdk/eventanalyzer/Android.mk ...
including ./sdk/find_java/Android.mk ...
including ./sdk/find_lock/Android.mk ...
including ./sdk/hierarchyviewer/etc/Android.mk ...
including ./sdk/hierarchyviewer/src/Android.mk ...
including ./sdk/sdklauncher/Android.mk ...
including ./system/ca-certificates/Android.mk ...
including ./system/connectivity/apmanager/Android.mk ...
including ./system/connectivity/shill/Android.mk ...
including ./system/core/Android.mk ...
including ./system/extras/Android.mk ...
including ./system/firewalld/Android.mk ...
including ./system/gatekeeper/Android.mk ...
including ./system/keymaster/Android.mk ...
including ./system/media/alsa_utils/Android.mk ...
including ./system/media/audio_route/Android.mk ...
including ./system/media/audio_utils/Android.mk ...
including ./system/media/brillo/audio/audioservice/Android.mk ...
including ./system/media/camera/src/Android.mk ...
including ./system/media/camera/tests/Android.mk ...
including ./system/media/radio/src/Android.mk ...
including ./system/nativepower/Android.mk ...
including ./system/netd/Android.mk ...
including ./system/security/keystore-engine/Android.mk ...
including ./system/security/keystore/Android.mk ...
including ./system/security/softkeymaster/Android.mk ...
including ./system/sepolicy/Android.mk ...
including ./system/tools/aidl/Android.mk ...
including ./system/tpm/trunks/Android.mk ...
including ./system/update_engine/Android.mk ...
including ./system/vold/Android.mk ...
including ./system/weaved/Android.mk ...
including ./system/webservd/Android.mk ...
including ./vendor/google/Android.mk ...
build/core/binary.mk:928: warning: overriding commands for target `out/target/product/x86/obj/STATIC_LIBRARIES/libv8_intermediates/src/base/atomicops_internals_x86_gcc.o'
build/core/binary.mk:928: warning: ignoring old commands for target `out/target/product/x86/obj/STATIC_LIBRARIES/libv8_intermediates/src/base/atomicops_internals_x86_gcc.o'
build/core/binary.mk:664: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:664: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:668: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/binary.mk:668: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
Starting build with ninja
ninja: Entering directory `.'
[  2% 40/1939] Ensure Jack server is installed and started
Jack server already installed in "/home/utente/.jack-server"
Server is already running
[  3% 68/1939] target  C: gallium_dri <= external/mesa/src/gallium/targets/dri/target.c
In file included from external/mesa/src/gallium/targets/dri/target.c:1:
In file included from external/mesa/src/gallium/auxiliary/target-helpers/drm_helper.h:142:
external/mesa/src/gallium/winsys/amdgpu/drm/amdgpu_public.h:35:31: warning: redefinition of typedef 'radeon_screen_create_t' is a C11 feature [-Wtypedef-redefinition]
typedef struct pipe_screen *(*radeon_screen_create_t)(struct radeon_winsys *);
                              ^
external/mesa/src/gallium/winsys/radeon/drm/radeon_drm_public.h:9:31: note: previous definition is here
typedef struct pipe_screen *(*radeon_screen_create_t)(struct radeon_winsys *);
                              ^
1 warning generated.
[  4% 79/1939] target  C: libdrm_nouveau <= external/libdrm/nouveau/nouveau.c
external/libdrm/nouveau/nouveau.c:101:24: warning: field 'ioctl' with variable sized type 'struct nvif_ioctl_v0' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
                struct nvif_ioctl_v0 ioctl;
                                     ^
external/libdrm/nouveau/nouveau.c:143:24: warning: field 'ioctl' with variable sized type 'struct nvif_ioctl_v0' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
                struct nvif_ioctl_v0 ioctl;
                                     ^
external/libdrm/nouveau/nouveau.c:218:24: warning: field 'ioctl' with variable sized type 'struct nvif_ioctl_v0' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
                struct nvif_ioctl_v0 ioctl;
                                     ^
external/libdrm/nouveau/nouveau.c:241:24: warning: field 'ioctl' with variable sized type 'struct nvif_ioctl_v0' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
                struct nvif_ioctl_v0 ioctl;
                                     ^
external/libdrm/nouveau/nouveau.c:361:54: warning: unused parameter 'pdev' [-Wunused-parameter]
nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd,
                                                     ^
external/libdrm/nouveau/nouveau.c:361:64: warning: unused parameter 'close' [-Wunused-parameter]
nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd,
                                                               ^
external/libdrm/nouveau/nouveau.c:361:75: warning: unused parameter 'fd' [-Wunused-parameter]
nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd,
                                                                          ^
external/libdrm/nouveau/nouveau.c:362:23: warning: unused parameter 'ctx' [-Wunused-parameter]
                             drm_context_t ctx)
                                           ^
8 warnings generated.
[  4% 87/1939] target  C: libdrm_amdgpu <= external/libdrm/amdgpu/amdgpu_bo.c
external/libdrm/amdgpu/amdgpu_bo.c:682:17: warning: unused parameter 'flags' [-Wunused-parameter]
                     uint64_t flags,
                              ^
1 warning generated.
[  4% 93/1939] target  C: libdrm_amdgpu <= external/libdrm/amdgpu/amdgpu_cs.c
external/libdrm/amdgpu/amdgpu_cs.c:326:17: warning: unused parameter 'flags' [-Wunused-parameter]
                     uint64_t flags,
                              ^
1 warning generated.
[  5% 105/1939] target  C: libdrm_radeon <= external/libdrm/radeon/radeon_surface.c
external/libdrm/radeon/radeon_surface.c:469:59: warning: unused parameter 'surf_man' [-Wunused-parameter]
static int r6_surface_best(struct radeon_surface_manager *surf_man,
                                                          ^
external/libdrm/radeon/radeon_surface.c:470:51: warning: unused parameter 'surf' [-Wunused-parameter]
                           struct radeon_surface *surf)
                                                  ^
external/libdrm/radeon/radeon_surface.c:2464:43: warning: unused parameter 'mode' [-Wunused-parameter]
                                 unsigned mode)
                                          ^
3 warnings generated.
[  5% 106/1939] target  C: libdrm_radeon <= external/libdrm/radeon/radeon_bo_gem.c
external/libdrm/radeon/radeon_bo_gem.c:124:42: warning: unused parameter 'boi' [-Wunused-parameter]
static void bo_ref(struct radeon_bo_int *boi)
                                         ^
external/libdrm/radeon/radeon_bo_gem.c:151:50: warning: unused parameter 'write' [-Wunused-parameter]
static int bo_map(struct radeon_bo_int *boi, int write)
                                                 ^
2 warnings generated.
[  5% 108/1939] target  C: libdrm_radeon <= external/libdrm/radeon/radeon_cs_gem.c
external/libdrm/radeon/radeon_cs_gem.c:500:52: warning: unused parameter 'cs' [-Wunused-parameter]
static int cs_gem_need_flush(struct radeon_cs_int *cs)
                                                   ^
1 warning generated.
[  5% 110/1939] target  C: libdrm_radeon <= external/libdrm/radeon/radeon_bo.c
external/libdrm/radeon/radeon_bo.c:124:71: warning: unused parameter 'cs' [-Wunused-parameter]
radeon_bo_is_referenced_by_cs(struct radeon_bo *bo, struct radeon_cs *cs)
                                                                      ^
1 warning generated.
[  7% 136/1939] target  C++: libmesa_pipe_nouveau <= exter...a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1384:7: warning: comparison of constant 65535 with expression of type 'int16_t' (aka 'short') is always false [-Wtautological-constant-out-of-range-compare]
      CASE(TYPE_U16, u16, 0, UINT16_MAX, 0, UINT16_MAX, 0, UINT16_MAX);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1370:25: note: expanded from macro 'CASE'
                        CLAMP(imm0.reg.data.s16, imin, imax) : \
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/auxiliary/util/u_math.h:599:57: note: expanded from macro 'CLAMP'
#define CLAMP( X, MIN, MAX )  ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
                                                     ~~~^~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1386:7: warning: comparison of constant 2147483647 with expression of type 'int16_t' (aka 'short') is always false [-Wtautological-constant-out-of-range-compare]
      CASE(TYPE_U32, u32, 0, UINT32_MAX, 0, INT32_MAX, 0, UINT32_MAX);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1370:25: note: expanded from macro 'CASE'
                        CLAMP(imm0.reg.data.s16, imin, imax) : \
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/auxiliary/util/u_math.h:599:57: note: expanded from macro 'CLAMP'
#define CLAMP( X, MIN, MAX )  ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
                                                     ~~~^~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1386:7: warning: comparison of constant 4294967295 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
      CASE(TYPE_U32, u32, 0, UINT32_MAX, 0, INT32_MAX, 0, UINT32_MAX);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1375:25: note: expanded from macro 'CASE'
                        CLAMP(imm0.reg.data.u16, umin, umax) : \
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/auxiliary/util/u_math.h:599:57: note: expanded from macro 'CLAMP'
#define CLAMP( X, MIN, MAX )  ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
                                                     ~~~^~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1387:7: warning: comparison of constant -2147483648 with expression of type 'int16_t' (aka 'short') is always false [-Wtautological-constant-out-of-range-compare]
      CASE(TYPE_S32, s32, INT32_MIN, INT32_MAX, INT32_MIN, INT32_MAX, 0, INT32_MAX);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1370:25: note: expanded from macro 'CASE'
                        CLAMP(imm0.reg.data.s16, imin, imax) : \
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/auxiliary/util/u_math.h:599:36: note: expanded from macro 'CLAMP'
#define CLAMP( X, MIN, MAX )  ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
                                ~~~^~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1387:7: warning: comparison of constant 2147483647 with expression of type 'int16_t' (aka 'short') is always false [-Wtautological-constant-out-of-range-compare]
      CASE(TYPE_S32, s32, INT32_MIN, INT32_MAX, INT32_MIN, INT32_MAX, 0, INT32_MAX);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1370:25: note: expanded from macro 'CASE'
                        CLAMP(imm0.reg.data.s16, imin, imax) : \
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/auxiliary/util/u_math.h:599:57: note: expanded from macro 'CLAMP'
#define CLAMP( X, MIN, MAX )  ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
                                                     ~~~^~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1387:7: warning: comparison of constant 2147483647 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
      CASE(TYPE_S32, s32, INT32_MIN, INT32_MAX, INT32_MIN, INT32_MAX, 0, INT32_MAX);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp:1375:25: note: expanded from macro 'CASE'
                        CLAMP(imm0.reg.data.u16, umin, umax) : \
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/auxiliary/util/u_math.h:599:57: note: expanded from macro 'CLAMP'
#define CLAMP( X, MIN, MAX )  ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
                                                     ~~~^~~~~~
6 warnings generated.
[  7% 138/1939] target  C++: libmesa_pipe_nouveau <= exter...mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp:26:9: warning: '__STDC_FORMAT_MACROS' macro redefined [-Wmacro-redefined]
#define __STDC_FORMAT_MACROS
        ^
<command line>:30:9: note: previous definition is here
#define __STDC_FORMAT_MACROS 1
        ^
1 warning generated.
[  7% 146/1939] target  C++: libmesa_pipe_nouveau <= exter...gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.cpp
In file included from external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.cpp:28:
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.h:21:17: warning: 'nv50_ir::GM107LegalizeSSA::visit' hides overloaded virtual functions [-Woverloaded-virtual]
   virtual bool visit(Instruction *);
                ^
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h:31:17: note: hidden overloaded virtual function 'nv50_ir::NVC0LegalizeSSA::visit' declared here: type mismatch at 1st parameter ('nv50_ir::BasicBlock *' vs 'nv50_ir::Instruction *')
   virtual bool visit(BasicBlock *);
                ^
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h:32:17: note: hidden overloaded virtual function 'nv50_ir::NVC0LegalizeSSA::visit' declared here: type mismatch at 1st parameter ('nv50_ir::Function *' vs 'nv50_ir::Instruction *')
   virtual bool visit(Function *);
                ^
1 warning generated.
[  7% 147/1939] target  C++: libmesa_pipe_nouveau <= exter.../src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp:2819:30: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
      if (i->getSampleMode() || 1) // XXX: grr, short op doesn't work
                             ^  ~
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp:2819:30: note: use '|' for a bitwise operation
      if (i->getSampleMode() || 1) // XXX: grr, short op doesn't work
                             ^~
                             |
1 warning generated.
[  7% 151/1939] target  C++: libmesa_pipe_nouveau <= exter...c/gallium/drivers/nouveau/codegen/nv50_ir_target_gm107.cpp
In file included from external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_target_gm107.cpp:25:
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.h:21:17: warning: 'nv50_ir::GM107LegalizeSSA::visit' hides overloaded virtual functions [-Woverloaded-virtual]
   virtual bool visit(Instruction *);
                ^
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h:31:17: note: hidden overloaded virtual function 'nv50_ir::NVC0LegalizeSSA::visit' declared here: type mismatch at 1st parameter ('nv50_ir::BasicBlock *' vs 'nv50_ir::Instruction *')
   virtual bool visit(BasicBlock *);
                ^
external/mesa/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h:32:17: note: hidden overloaded virtual function 'nv50_ir::NVC0LegalizeSSA::visit' declared here: type mismatch at 1st parameter ('nv50_ir::Function *' vs 'nv50_ir::Instruction *')
   virtual bool visit(Function *);
                ^
1 warning generated.
[  8% 160/1939] target  C: libmesa_pipe_nouveau <= external/mesa/src/gallium/drivers/nouveau/nv30/nv30_context.c
external/mesa/src/gallium/drivers/nouveau/nv30/nv30_context.c:44:41: warning: variable 'nv30' is uninitialized when used here [-Wuninitialized]
   nv30 = container_of(push->user_priv, nv30, bufctx);
                                        ^~~~
external/mesa/src/util/list.h:178:20: note: expanded from macro 'container_of'
             - ((char *)&(sample)->member - (char *)(sample)))
                          ^~~~~~
external/mesa/src/gallium/drivers/nouveau/nv30/nv30_context.c:40:29: note: initialize the variable 'nv30' to silence this warning
   struct nv30_context *nv30;
                            ^
                             = NULL
1 warning generated.
[ 11% 221/1939] target  C: libmesa_pipe_nouveau <= external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1003:11: warning: variable 'width' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
      if (view->resource) {
          ^~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1083:50: note: uninitialized use occurs here
      nvc0_set_surface_info(push, view, address, width, height, depth);
                                                 ^~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1003:7: note: remove the 'if' if its condition is always true
      if (view->resource) {
      ^~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:995:16: note: initialize the variable 'width' to silence this warning
      int width, height, depth;
               ^
                = 0
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1003:11: warning: variable 'height' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
      if (view->resource) {
          ^~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1083:57: note: uninitialized use occurs here
      nvc0_set_surface_info(push, view, address, width, height, depth);
                                                        ^~~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1003:7: note: remove the 'if' if its condition is always true
      if (view->resource) {
      ^~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:995:24: note: initialize the variable 'height' to silence this warning
      int width, height, depth;
                       ^
                        = 0
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1003:11: warning: variable 'depth' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
      if (view->resource) {
          ^~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1083:65: note: uninitialized use occurs here
      nvc0_set_surface_info(push, view, address, width, height, depth);
                                                                ^~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1003:7: note: remove the 'if' if its condition is always true
      if (view->resource) {
      ^~~~~~~~~~~~~~~~~~~~
external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:995:31: note: initialize the variable 'depth' to silence this warning
      int width, height, depth;
                              ^
                               = 0
3 warnings generated.
[ 17% 340/1939] target  C: libmesa_winsys_radeon <= external/mesa/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
external/mesa/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:212:53: warning: variable 'hole' is uninitialized when used here [-Wuninitialized]
            hole = container_of(rws->va_holes.next, hole, list);
                                                    ^~~~
external/mesa/src/util/list.h:178:20: note: expanded from macro 'container_of'
             - ((char *)&(sample)->member - (char *)(sample)))
                          ^~~~~~
external/mesa/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:203:35: note: initialize the variable 'hole' to silence this warning
    struct radeon_bo_va_hole *hole;
                                  ^
                                   = NULL
1 warning generated.
[ 19% 378/1939] target  C: libmesa_pipe_radeonsi <= external/mesa/src/gallium/drivers/radeonsi/si_shader.c
external/mesa/src/gallium/drivers/radeonsi/si_shader.c:4018:43: warning: variable 'result' is uninitialized when used here [-Wuninitialized]
                result = LLVMBuildExtractValue(builder, result, 0, "");
                                                        ^~~~~~
external/mesa/src/gallium/drivers/radeonsi/si_shader.c:3997:26: note: initialize the variable 'result' to silence this warning
        LLVMValueRef ptr, result, arg;
                                ^
                                 = NULL
1 warning generated.
[ 20% 391/1939] target  C++: libmesa_amdgpu_addrlib <= external/mesa/src/amd/addrlib/r800/ciaddrlib.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I external/mesa/src -I external/mesa/src/amd/common -I external/mesa/src/amd/addrlib -I external/mesa/src/amd/addrlib/core -I external/mesa/src/amd/addrlib/inc/chip/r800 -I external/mesa/src/amd/addrlib/r800/chip -I external/mesa/src -I external/mesa/include -I external/mesa/src/amd -I out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates -I out/target/product/x86/gen/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates -I libnativehelper/include/nativehelper \$(cat out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem out/target/product/x86/obj/include -isystem bionic/libc/arch-x86/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-x86 -isystem bionic/libm/include -isystem bionic/libm/include/i387 -c    -fno-exceptions -Wno-multichar -O2 -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -ffunction-sections -fno-short-enums -fstrict-aliasing -funwind-tables -fstack-protector-strong -m32 -no-canonical-prefixes -march=prescott -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG  -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc    -msse3 -target i686-linux-android -Bprebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/bin -mstackrealign    -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc     -fno-rtti -DBRAHMA_BUILD=1 -Wno-unused-parameter -Wno-date-time -Wno-pointer-arith -Wno-missing-field-initializers -Wno-initializer-overrides -Wno-mismatched-tags -DPACKAGE_VERSION=\\\"12.1.0-devel\\\" -DPACKAGE_BUGREPORT=\\\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\\\" -DANDROID_VERSION=0x0700 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_PTHREAD=1 -DHAVE_DLOPEN -DTEXTURE_FLOAT_ENABLED -fvisibility=hidden -Wno-sign-compare -DHAVE_LLVM=0x0308 -DMESA_LLVM_VERSION_PATCH=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_LIBDRM -fPIC -DUSE_SSE41 -DDEFAULT_DRIVER_DIR=\\\"/system/lib/dri\\\" -D_USING_LIBCXX -std=gnu++14 -std=c++11 -Wno-error=non-virtual-dtor -Wno-non-virtual-dtor  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast  -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type    -MD -MF out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates/addrlib/r800/ciaddrlib.d -o out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates/addrlib/r800/ciaddrlib.o external/mesa/src/amd/addrlib/r800/ciaddrlib.cpp ) && (cp out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates/addrlib/r800/ciaddrlib.d out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates/addrlib/r800/ciaddrlib.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates/addrlib/r800/ciaddrlib.d >> out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates/addrlib/r800/ciaddrlib.P; rm -f out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_amdgpu_addrlib_intermediates/addrlib/r800/ciaddrlib.d )"
In file included from external/mesa/src/amd/addrlib/r800/ciaddrlib.cpp:36:
external/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:36:2: error: "BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined"
#error "BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined"
 ^
external/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:91:6: error: unknown type name 'GB_ADDR_CONFIG_T'
     GB_ADDR_CONFIG_T f;
     ^
external/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:146:6: error: unknown type name 'GB_TILE_MODE_T'
     GB_TILE_MODE_T f;
     ^
external/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:151:6: error: unknown type name 'GB_MACROTILE_MODE_T'
     GB_MACROTILE_MODE_T f;
     ^
4 errors generated.
[ 20% 391/1939] target  C++: libmesa_amdgpu_addrlib <= external/mesa/src/amd/addrlib/r800/egbaddrlib.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (01:33 (mm:ss)) ####



More information about the mesa-dev mailing list