-
Notifications
You must be signed in to change notification settings - Fork 8
Description
OpenWrt-libtool: compile: arm-openwrt-linux-g++ -DPACKAGE_NAME="LIBCDADA" -DPACKAGE_TARNAME="libcdada" -DPACKAGE_VERSION="v0.5.0" "-DPACKAGE_STRING="LIBCDADA v0.5.0"" -DPACKAGE_BUGREPORT="[email protected]" -DPACKAGE_URL="http://github.com/msune/libcdada\" -DPACKAGE="libcdada" -DVERSION="v0.5.0" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" "-D__STDC_FORMAT_MACROS=//" "-DNDEBUG=//" -I. -I/home/openwrt/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pmacct-1.7.9/src/external_libs/libcdada/src -I../include/ -I/home/openwrt/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pmacct-1.7.9/src/external_libs/libcdada/include/ -D__CDADA_INTERNAL_INCLUDE -Werror -Wall -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/home/openwrt/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pmacct-1.7.9=pmacct-1.7.9 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -O3 -MT libcdada_la-list.lo -MD -MP -MF .deps/libcdada_la-list.Tpo -c /home/openwrt/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pmacct-1.7.9/src/external_libs/libcdada/src/list.cc -o libcdada_la-list.o
In file included from /home/openwrt/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pmacct-1.7.9/src/external_libs/libcdada/src/list.cc:3:
In function 'int cdada_list_push_u(__cdada_list_int_t*, std::_cxx11::list, const void, bool) [with T = unsigned char]',
inlined from 'int cdada_list_push(cdada_list_t*, const void*, bool)' at /home/openwrt/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pmacct-1.7.9/src/external_libs/libcdada/src/list.cc:600:38:
/home/openwrt/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pmacct-1.7.9/src/external_libs/libcdada/include/cdada/__list_internal.h:255:15: error: 'void* memcpy(void*, const void*, size_t)' writing 2 or more bytes into a region of size 1 overflows the destination [-Werror=stringop-overflow=]
255 | memcpy(&aux, val, m->user_val_len);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~