>>> cmocka 1.1.5 Extracting xzcat /home/rclinux/rc-buildroot-test/scripts/instance-0/dl/cmocka/cmocka-1.1.5.tar.xz | tar --strip-components=1 -C /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5 -xf - >>> cmocka 1.1.5 Patching >>> cmocka 1.1.5 Configuring (mkdir -p /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5//buildroot-build && cd /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5//buildroot-build && rm -f CMakeCache.txt && PATH="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin:/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/sbin:/home/rclinux/bin:/home/rclinux/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/cmake /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/ -DCMAKE_TOOLCHAIN_FILE="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/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 -DWITH_EXAMPLES=OFF ) -- The C compiler identification is GNU 8.3.0 -- Check for working C compiler: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -- Check for working C compiler: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test REQUIRED_FLAGS_WERROR -- Performing Test REQUIRED_FLAGS_WERROR - Success -- Performing Test WITH_STD_GNU99_FLAG -- Performing Test WITH_STD_GNU99_FLAG - Success -- Performing Test WITH_WPEDANTIC_FLAG -- Performing Test WITH_WPEDANTIC_FLAG - Success -- Performing Test WITH_WALL_FLAG -- Performing Test WITH_WALL_FLAG - Success -- Performing Test WITH_WSHADOW_FLAG -- Performing Test WITH_WSHADOW_FLAG - Success -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG - Success -- Performing Test WITH_WCAST_ALIGN_FLAG -- Performing Test WITH_WCAST_ALIGN_FLAG - Success -- Performing Test WITH_WERROR_ADDRESS_FLAG -- Performing Test WITH_WERROR_ADDRESS_FLAG - Success -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WWRITE_STRINGS_FLAG -- Performing Test WITH_WWRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG - Success -- Performing Test WITH_WPOINTER_ARITH_FLAG -- Performing Test WITH_WPOINTER_ARITH_FLAG - Success -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG - Success -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WRETURN_TYPE_FLAG -- Performing Test WITH_WRETURN_TYPE_FLAG - Success -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG - Success -- Performing Test WITH_WUNINITIALIZED_FLAG -- Performing Test WITH_WUNINITIALIZED_FLAG - Success -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG - Success -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG - Success -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG - Success -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG - Success -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test REQUIRED_FLAGS_WFORMAT -- Performing Test REQUIRED_FLAGS_WFORMAT - Success -- Performing Test WITH_WFORMAT_SECURITY_FLAG -- Performing Test WITH_WFORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG - Success -- Performing Test WITH_FNO_COMMON_FLAG -- Performing Test WITH_FNO_COMMON_FLAG - Success -- Performing Test WITH_STACK_PROTECTOR_STRONG -- Performing Test WITH_STACK_PROTECTOR_STRONG - Success -- Performing Test WITH_STACK_CLASH_PROTECTION -- Performing Test WITH_STACK_CLASH_PROTECTION - Success -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- Looking for assert.h -- Looking for assert.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for io.h -- Looking for io.h - not found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for setjmp.h -- Looking for setjmp.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Performing Test HAVE_STRUCT_TIMESPEC -- Performing Test HAVE_STRUCT_TIMESPEC - Success -- Looking for calloc -- Looking for calloc - found -- Looking for exit -- Looking for exit - found -- Looking for fprintf -- Looking for fprintf - found -- Looking for free -- Looking for free - found -- Looking for longjmp -- Looking for longjmp - found -- Looking for siglongjmp -- Looking for siglongjmp - found -- Looking for malloc -- Looking for malloc - found -- Looking for memcpy -- Looking for memcpy - found -- Looking for memset -- Looking for memset - found -- Looking for printf -- Looking for printf - found -- Looking for setjmp -- Looking for setjmp - found -- Looking for signal -- Looking for signal - found -- Looking for strsignal -- Looking for strsignal - found -- Looking for strcmp -- Looking for strcmp - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for sprintf -- Looking for sprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success -- Performing Test HAVE_CLOCK_REALTIME -- Performing Test HAVE_CLOCK_REALTIME - Success -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- 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_TESTS -- Build files have been written to: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build >>> cmocka 1.1.5 Building PATH="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin:/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/sbin:/home/rclinux/bin:/home/rclinux/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j3 -C /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5//buildroot-build make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build' make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build' make[3]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build' Scanning dependencies of target cmocka make[3]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build' make[3]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build' [ 50%] Building C object src/CMakeFiles/cmocka.dir/cmocka.c.o In file included from /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:62: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka.h:132:28: error: conflicting types for 'uintptr_t' typedef unsigned int uintptr_t; ^~~~~~~~~ In file included from /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20, from /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/inttypes.h:9, from /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:27: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:104:24: note: previous declaration of 'uintptr_t' was here typedef unsigned _Addr uintptr_t; ^~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c: In function 'free_symbol_map_value': /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:725:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) ((uintptr_t)children - 1)); ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c: In function '_expect_string': /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:117:30: note: in definition of macro 'declare_initialize_value_pointer_pointer' name.x.pointer = (void*)(ptr) ^~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:1553:46: note: in expansion of macro 'discard_const' discard_const(string)); ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:117:30: note: in definition of macro 'declare_initialize_value_pointer_pointer' name.x.pointer = (void*)(ptr) ^~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:1553:46: note: in expansion of macro 'discard_const' discard_const(string)); ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c: In function '_expect_not_string': /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:117:30: note: in definition of macro 'declare_initialize_value_pointer_pointer' name.x.pointer = (void*)(ptr) ^~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:1575:46: note: in expansion of macro 'discard_const' discard_const(string)); ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:117:30: note: in definition of macro 'declare_initialize_value_pointer_pointer' name.x.pointer = (void*)(ptr) ^~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:1575:46: note: in expansion of macro 'discard_const' discard_const(string)); ^~~~~~~~~~~~~ In file included from /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:63: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c: In function '_test_free': /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2033:19: note: in expansion of macro 'discard_const_p' char *block = discard_const_p(char, ptr); ^~~~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2033:19: note: in expansion of macro 'discard_const_p' char *block = discard_const_p(char, ptr); ^~~~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2070:13: note: in expansion of macro 'discard_const_p' block = discard_const_p(char, block_info.data->block); ^~~~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2070:13: note: in expansion of macro 'discard_const_p' block = discard_const_p(char, block_info.data->block); ^~~~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c: In function 'display_allocated_blocks': /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2134:20: note: in expansion of macro 'discard_const' .ptr = discard_const(node->value), ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2134:20: note: in expansion of macro 'discard_const' .ptr = discard_const(node->value), ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c: In function 'free_allocated_blocks': /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2162:20: note: in expansion of macro 'discard_const' .ptr = discard_const(node->value), ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2162:20: note: in expansion of macro 'discard_const' .ptr = discard_const(node->value), ^~~~~~~~~~~~~ In file included from /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:62: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka.h:2005:35: note: in definition of macro 'test_free' #define test_free(ptr) _test_free(ptr, __FILE__, __LINE__) ^~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2165:14: note: in expansion of macro 'discard_const_p' free(discard_const_p(char, block_info.data) + ^~~~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka.h:2005:35: note: in definition of macro 'test_free' #define test_free(ptr) _test_free(ptr, __FILE__, __LINE__) ^~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:2165:14: note: in expansion of macro 'discard_const_p' free(discard_const_p(char, block_info.data) + ^~~~~~~~~~~~~~~ In file included from /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:63: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c: In function '_cmocka_run_group_tests': /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:3127:24: note: in expansion of macro 'discard_const_p' vcm_free_error(discard_const_p(char, cm_tests[i].error_message)); ^~~~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:156:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) ^ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/include/cmocka_private.h:161:45: note: in expansion of macro 'discard_const' #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) ^~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/src/cmocka.c:3127:24: note: in expansion of macro 'discard_const_p' vcm_free_error(discard_const_p(char, cm_tests[i].error_message)); ^~~~~~~~~~~~~~~ src/CMakeFiles/cmocka.dir/build.make:62: recipe for target 'src/CMakeFiles/cmocka.dir/cmocka.c.o' failed make[3]: *** [src/CMakeFiles/cmocka.dir/cmocka.c.o] Error 1 make[3]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build' CMakeFiles/Makefile2:135: recipe for target 'src/CMakeFiles/cmocka.dir/all' failed make[2]: *** [src/CMakeFiles/cmocka.dir/all] Error 2 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build' Makefile:162: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/buildroot-build' package/pkg-generic.mk:238: recipe for target '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/.stamp_built' failed make: *** [/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/cmocka-1.1.5/.stamp_built] Error 2 make: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/buildroot'