>>> intel-mediadriver 19.4.0r Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/intel-mediadriver/intel-media-19.4.0r.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r -xf - >>> intel-mediadriver 19.4.0r Patching Applying 0001-Drop-hardening-related-flags.patch using patch: patching file cmrtlib/linux/CMakeLists.txt patching file media_driver/cmake/linux/media_compile_flags_linux.cmake patching file media_driver/media_top_cmake.cmake Applying 0002-build-fix-Werror=format-overflow-under-gcc-10.patch using patch: patching file media_driver/linux/common/os/i915/xf86drm.c patching file media_driver/linux/ult/libdrm_mock/xf86drm_mock.c >>> intel-mediadriver 19.4.0r Configuring (mkdir -p /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r//buildroot-build && cd /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r//buildroot-build && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DINSTALL_DRIVER_SYSCONF=OFF -DMEDIA_RUN_TEST_SUITE=OFF ) CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Check for working C compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -- Check for working C compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ -- Check for working CXX compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMAKE_INSTALL_PREFIX = /usr -- Found PkgConfig: /home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config (found version "1.6.3") -- Checking for module 'libva>=1.0.0' -- Found libva, version 1.11.0 *BUILD_TYPE not defined, default to: release CMake Warning at Tools/bldsys/include/bs_base_utils.cmake:81 (message): Inconsistent: BUILD_TYPE="release" vs CMAKE_BUILD_TYPE="Debug" Call Stack (most recent call first): Tools/bldsys/bs_init.cmake:35 (bs_check_build_type) media_driver/CMakeLists.txt:69 (include) -- Found X11: /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include -- Looking for XOpenDisplay in /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libX11.so;/home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libXext.so -- Looking for XOpenDisplay in /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libX11.so;/home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Checking for module 'igdgmm' -- Found igdgmm, version 11.1.0 -- media -- PLATFORM = linux -- media -- ARCH = 64 -- media -- CMAKE_CURRENT_LIST_DIR = /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/media_driver -- media -- INCLUDED_LIBS = -- media -- LIB_NAME = iHD_drv_video -- media -- OUTPUT_NAME = -- media -- BUILD_TYPE/UFO_BUILD_TYPE/CMAKE_BUILD_TYPE = release/release/Release -- media -- LIBVA_INSTALL_PATH = -- media -- MEDIA_VERSION = 19.4.0 -- media -- X11 Found -- /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/media_driver/agnostic/gen11/os/media_srcs.cmake doesn't exist, macro(media_include_subdirectory) just does nothing -- /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/media_driver/agnostic/gen12_tgllp/kernel/media_srcs.cmake doesn't exist, macro(media_include_subdirectory) just does nothing -- /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/media_driver/linux/gen9_cml/media_srcs.cmake doesn't exist, macro(media_include_subdirectory) just does nothing -- /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/media_driver/media_driver_next/agnostic/common/shared/media_srcs.cmake doesn't exist, macro(media_include_subdirectory) just does nothing -- /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/media_driver/media_driver_next/agnostic/common/vp/media_srcs.cmake doesn't exist, macro(media_include_subdirectory) just does nothing -- Checking for module 'pciaccess' -- Found pciaccess, version 0.16 CMake Warning (dev) in media_driver/media_top_cmake.cmake: A logical block opening on the line /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/media_driver/media_top_cmake.cmake:133 (if) closes on the line /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/media_driver/media_top_cmake.cmake:136 (endif) with mis-matching arguments. Call Stack (most recent call first): media_driver/CMakeLists.txt:95 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- LIBVA_DRIVERS_PATH = /usr/lib/va -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build >>> intel-mediadriver 19.4.0r Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r//buildroot-build make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' Scanning dependencies of target igfxcmrt make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' [ 0%] Building CXX object cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_printf_host.cpp.o [ 0%] Building CXX object cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_rt_helpers.cpp.o [ 1%] Building CXX object cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_avs_state_msg_ex.cpp.o In file included from /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/dlfcn.h:22, from /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/cmrtlib/linux/../linux/share/cm_include.h:30, from /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/cmrtlib/agnostic/share/cm_printf_host.cpp:23: /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/x86_64-buildroot-linux-gnu/include/c++/10.2.0/x86_64-buildroot-linux-gnu/bits/os_defines.h:39, from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/x86_64-buildroot-linux-gnu/include/c++/10.2.0/x86_64-buildroot-linux-gnu/bits/c++config.h:518, from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/x86_64-buildroot-linux-gnu/include/c++/10.2.0/cstdio:41, from /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/cmrtlib/agnostic/share/cm_rt_helpers.cpp:23: /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/dlfcn.h:22, from /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/cmrtlib/linux/../linux/share/cm_include.h:30, from /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/cmrtlib/agnostic/share/cm_def.h:25, from /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/cmrtlib/agnostic/share/cm_avs_state_msg_ex.cpp:22: /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc1plus: all warnings being treated as errors cmrtlib/linux/CMakeFiles/igfxcmrt.dir/build.make:91: recipe for target 'cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_avs_state_msg_ex.cpp.o' failed make[3]: *** [cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_avs_state_msg_ex.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1plus: all warnings being treated as errors cmrtlib/linux/CMakeFiles/igfxcmrt.dir/build.make:78: recipe for target 'cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_rt_helpers.cpp.o' failed make[3]: *** [cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_rt_helpers.cpp.o] Error 1 cc1plus: all warnings being treated as errors cmrtlib/linux/CMakeFiles/igfxcmrt.dir/build.make:65: recipe for target 'cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_printf_host.cpp.o' failed make[3]: *** [cmrtlib/linux/CMakeFiles/igfxcmrt.dir/__/agnostic/share/cm_printf_host.cpp.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' CMakeFiles/Makefile2:139: recipe for target 'cmrtlib/linux/CMakeFiles/igfxcmrt.dir/all' failed make[2]: *** [cmrtlib/linux/CMakeFiles/igfxcmrt.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... Scanning dependencies of target iHD_drv_video_OBJ make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' [ 1%] Building CXX object media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_array.cpp.o [ 1%] Building CXX object media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_buffer_rt.cpp.o [ 1%] Building CXX object media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_state_buffer.cpp.o [ 1%] Building CXX object media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_def.cpp.o : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition cc1plus: all warnings being treated as errors media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/build.make:104: recipe for target 'media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_def.cpp.o' failed make[3]: *** [media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_def.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1plus: all warnings being treated as errors media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/build.make:65: recipe for target 'media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_array.cpp.o' failed make[3]: *** [media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_array.cpp.o] Error 1 cc1plus: all warnings being treated as errors media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/build.make:91: recipe for target 'media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_state_buffer.cpp.o' failed make[3]: *** [media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_state_buffer.cpp.o] Error 1 cc1plus: all warnings being treated as errors media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/build.make:78: recipe for target 'media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_buffer_rt.cpp.o' failed make[3]: *** [media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/cm/cm_buffer_rt.cpp.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' CMakeFiles/Makefile2:220: recipe for target 'media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/all' failed make[2]: *** [media_driver/CMakeFiles/iHD_drv_video_OBJ.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' Makefile:154: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/buildroot-build' package/pkg-generic.mk:247: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'