Tomccat3 opened a new issue, #7825: URL: https://github.com/apache/incubator-gluten/issues/7825
### Backend VL (Velox) ### Bug description i use this script:tools/gluten-te/ubuntu/examples/buildhere-veloxbe-portable-libs/run-default.sh from https://github.com/apache/incubator-gluten/blob/main/tools/gluten-te/ubuntu/examples/buildhere-veloxbe-portable-libs/README.md added below gcc11 install command in tools/gluten-te/ubuntu/dockerfile-buildenv RUN apt-get update && apt-get install -y software-properties-common RUN add-apt-repository ppa:ubuntu-toolchain-r/test RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y gcc-11 g++-11 RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 \ && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100 ### Spark version Spark-3.3.x ### Spark configurations _No response_ ### System information Gluten Version: 1.3.0-SNAPSHOT Commit: 40ec2cc88f94a68c9f0f97f147ee6b8431bc2d8e CMake Version: 3.28.3 System: Linux-5.15.0-124-generic Arch: x86_64 CPU Name: Model name: Common KVM processor C++ Compiler: /usr/bin/c++ C++ Compiler Version: 11.4.0 C Compiler: /usr/bin/cc C Compiler Version: 11.4.0 CMake Prefix Path: /usr/local;/usr;/;/usr/local/lib/python3.10/dist-packages/cmake/data;/usr/local;/usr/X11R6;/usr/pkg;/opt ### Relevant logs ```bash -- Building x64-linux-avx-rel CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Command failed: /usr/bin/make V=1 -j 9 -f Makefile all Working Directory: /opt/gluten/dev/vcpkg/.vcpkg/buildtrees/icu/x64-linux-avx-rel/ See logs for more information: /opt/gluten/dev/vcpkg/.vcpkg/buildtrees/icu/build-x64-linux-avx-rel-out.log /opt/gluten/dev/vcpkg/.vcpkg/buildtrees/icu/build-x64-linux-avx-rel-err.log Call Stack (most recent call first): scripts/cmake/vcpkg_build_make.cmake:151 (vcpkg_execute_build_process) scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make) buildtrees/versioning_/versions/icu/36a3246630c4794b3781e881e5a57db36092deea/portfile.cmake:137 (vcpkg_install_make) scripts/ports.cmake:168 (include) error: building icu:x64-linux-avx failed with: BUILD_FAILED Elapsed time to handle icu:x64-linux-avx: 1.3 min Please ensure you're using the latest port files with `git pull` and `vcpkg update`. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+icu You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[icu]+Build+error&body=Copy+issue+body+from+%2Fopt%2Fgluten%2Fdev%2Fvcpkg%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md /opt/gluten/dev/vcpkg/.vcpkg/buildtrees/icu/build-x64-linux-avx-rel-err.log: /usr/bin/ar: creating libicudata.a In file included from /usr/include/string.h:495, from .././../src/c-72_1-src-deba61ed52.clean/source/common/cmemory.h:32, from .././../src/c-72_1-src-deba61ed52.clean/source/common/charstr.h:20, from .././../src/c-72_1-src-deba61ed52.clean/source/common/ucurr.cpp:23: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘CReg::CReg(const UChar*, const char*)’ at .././../src/c-72_1-src-deba61ed52.clean/source/common/ucurr.cpp:385:9, inlined from ‘static const void* CReg::reg(const UChar*, const char*, UErrorCode*)’ at .././../src/c-72_1-src-deba61ed52.clean/source/common/ucurr.cpp:394:41, inlined from ‘const void* ucurr_register_72(const UChar*, const char*, UErrorCode*)’ at .././../src/c-72_1-src-deba61ed52.clean/source/common/ucurr.cpp:466:25: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/common/ucurr.cpp:25: .././../src/c-72_1-src-deba61ed52.clean/source/common/ucurr.cpp: In function ‘const void* ucurr_register_72(const UChar*, const char*, UErrorCode*)’: .././../src/c-72_1-src-deba61ed52.clean/source/common/cstring.h:37:57: note: length computed here 37 | #define uprv_strlen(str) U_STANDARD_CPP_NAMESPACE strlen(str) .././../src/c-72_1-src-deba61ed52.clean/source/common/ucurr.cpp:381:32: note: in expansion of macro ‘uprv_strlen’ 381 | int32_t len = (int32_t)uprv_strlen(_id); | ^~~~~~~~~~~ .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp: In function ‘UChar32 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs*, UErrorCode*)’: .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp:3152:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 3152 | *bytes++=*lastSource++; | ~~~~~~~~^~~~~~~~~~~~~~ .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp:3152:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp:3152:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp:3152:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp:3152:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp:3152:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp:3152:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] .././../src/c-72_1-src-deba61ed52.clean/source/common/ucnvmbcs.cpp:3152:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] /usr/bin/ar: creating ../lib/libicuuc.a In file included from /usr/include/string.h:495, from .././../src/c-72_1-src-deba61ed52.clean/source/common/cmemory.h:32, from .././../src/c-72_1-src-deba61ed52.clean/source/common/cpputils.h:21, from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/calendar.cpp:53: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘icu_72::Calendar& icu_72::Calendar::operator=(const icu_72::Calendar&)’ at .././../src/c-72_1-src-deba61ed52.clean/source/i18n/calendar.cpp:859:9, inlined from ‘icu_72::Calendar& icu_72::Calendar::operator=(const icu_72::Calendar&)’ at .././../src/c-72_1-src-deba61ed52.clean/source/i18n/calendar.cpp:832:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 156 bytes from a string of length 156 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp: In function ‘decNumber* uprv_decNumberSquareRoot_72(decNumber*, const decNumber*, decContext*)’: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp:2974:31: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2974 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ~~~~~~~~~^~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp:184: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.h:89:19: note: at offset 1 into destination object ‘decNumber::lsu’ of size 1 89 | decNumberUnit lsu[DECNUMUNITS]; | ^~~ .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp:2974:44: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2974 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ~~~~~~~~~^~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp:184: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.h:89:19: note: at offset 2 into destination object ‘decNumber::lsu’ of size 1 89 | decNumberUnit lsu[DECNUMUNITS]; | ^~~ In function ‘const UChar* icu_72::ufmtval_getString_72(const UFormattedValue*, int32_t*, UErrorCode*)’: cc1plus: warning: function may return address of local variable [-Wreturn-local-addr] .././../src/c-72_1-src-deba61ed52.clean/source/i18n/formattedvalue.cpp:205:19: note: declared here 205 | UnicodeString readOnlyAlias = impl->fFormattedValue->toTempString(*ec); | ^~~~~~~~~~~~~ .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp: In function ‘decNumber* uprv_decNumberLog10_72(decNumber*, const decNumber*, decContext*)’: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp:1528:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1528 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ~~~~~~~~~^~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp:184: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.h:89:19: note: at offset 1 into destination object ‘decNumber::lsu’ of size 1 89 | decNumberUnit lsu[DECNUMUNITS]; | ^~~ .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp:1528:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1528 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ~~~~~~~~~^~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.cpp:184: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/decNumber.h:89:19: note: at offset 1 into destination object ‘decNumber::lsu’ of size 1 89 | decNumberUnit lsu[DECNUMUNITS]; | ^~~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/number_rounding.cpp:10: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/unicode/numberformatter.h: In static member function ‘static icu_72::number::FractionPrecision icu_72::number::Precision::constructFraction(int32_t, int32_t)’: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/unicode/numberformatter.h:765:28: warning: ‘*(unsigned int*)((char*)&settings + offsetof(icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings, icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings::fPriority))’ is used uninitialized [-Wuninitialized] 765 | : fType(type), fUnion(union_) {} | ^~~~~~~~~~~~~~ .././../src/c-72_1-src-deba61ed52.clean/source/i18n/number_rounding.cpp:281:33: note: ‘*(unsigned int*)((char*)&settings + offsetof(icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings, icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings::fPriority))’ was declared here 281 | FractionSignificantSettings settings; | ^~~~~~~~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/number_rounding.cpp:10: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/unicode/numberformatter.h:765:28: warning: ‘*(unsigned char*)((char*)&settings + offsetof(icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings, icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings::fRetain))’ is used uninitialized [-Wuninitialized] 765 | : fType(type), fUnion(union_) {} | ^~~~~~~~~~~~~~ .././../src/c-72_1-src-deba61ed52.clean/source/i18n/number_rounding.cpp:281:33: note: ‘*(unsigned char*)((char*)&settings + offsetof(icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings, icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings::fRetain))’ was declared here 281 | FractionSignificantSettings settings; | ^~~~~~~~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/number_rounding.cpp:10: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/unicode/numberformatter.h: In static member function ‘static icu_72::number::Precision icu_72::number::Precision::constructSignificant(int32_t, int32_t)’: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/unicode/numberformatter.h:765:28: warning: ‘*(unsigned int*)((char*)&settings + offsetof(icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings, icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings::fPriority))’ is used uninitialized [-Wuninitialized] 765 | : fType(type), fUnion(union_) {} | ^~~~~~~~~~~~~~ .././../src/c-72_1-src-deba61ed52.clean/source/i18n/number_rounding.cpp:292:33: note: ‘*(unsigned int*)((char*)&settings + offsetof(icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings, icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings::fPriority))’ was declared here 292 | FractionSignificantSettings settings; | ^~~~~~~~ In file included from .././../src/c-72_1-src-deba61ed52.clean/source/i18n/number_rounding.cpp:10: .././../src/c-72_1-src-deba61ed52.clean/source/i18n/unicode/numberformatter.h:765:28: warning: ‘*(unsigned char*)((char*)&settings + offsetof(icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings, icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings::fRetain))’ is used uninitialized [-Wuninitialized] 765 | : fType(type), fUnion(union_) {} | ^~~~~~~~~~~~~~ .././../src/c-72_1-src-deba61ed52.clean/source/i18n/number_rounding.cpp:292:33: note: ‘*(unsigned char*)((char*)&settings + offsetof(icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings, icu_72::number::Precision::PrecisionUnion::FractionSignificantSettings::fRetain))’ was declared here 292 | FractionSignificantSettings settings; | ^~~~~~~~ /usr/bin/ar: creating ../lib/libicui18n.a /usr/bin/ar: creating ../lib/libicuio.a /usr/bin/ar: creating ../../lib/libicutu.a /usr/bin/ar: creating libicutest.a ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp: In function ‘int32_t pkg_installLibrary(const char*, const char*, UBool)’: ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:1138:33: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 247 and 502 [-Wformat-truncation=] 1138 | "cd %s && %s %s %s%s%s", | ^~ ...... 1142 | installDir, PKGDATA_FILE_SEP_STRING, libFileNames[LIB_FILE_VERSION]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 521) into a destination of size 512 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp: In function ‘int32_t pkg_executeOptions(UPKGOptions*)’: ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:988:64: warning: ‘%s’ directive writing up to 1 bytes into a region of size between 0 and 256 [-Wformat-overflow=] 988 | sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 258) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:1007:66: warning: ‘%s’ directive writing up to 1 bytes into a region of size between 0 and 256 [-Wformat-overflow=] 1007 | sprintf(libFileNames[LIB_FILE_VERSION_MAJOR], "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 258) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:988:64: warning: ‘%s’ directive writing up to 1 bytes into a region of size between 0 and 256 [-Wformat-overflow=] 988 | sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 258) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:1007:66: warning: ‘%s’ directive writing up to 1 bytes into a region of size between 0 and 256 [-Wformat-overflow=] 1007 | sprintf(libFileNames[LIB_FILE_VERSION_MAJOR], "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 258) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:1014:60: warning: ‘%s’ directive writing up to 1 bytes into a region of size between 0 and 256 [-Wformat-overflow=] 1014 | sprintf(libFileNames[LIB_FILE_VERSION], "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 1 and 258 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:983:64: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 983 | sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s", | ^ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:997:66: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 997 | sprintf(libFileNames[LIB_FILE_VERSION_MAJOR], "%s%s%s", | ^ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:1002:60: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1002 | sprintf(libFileNames[LIB_FILE_VERSION], "%s%s%s", | ^ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:1032:59: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1032 | sprintf(libFileNames[LIB_FILE_VERSION], "%s.%s", libFileNames[LIB_FILE], pkgDataFlags[A_EXT]); | ^ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:1311:56: warning: ‘.’ directive writing 1 byte into a region of size between 0 and 256 [-Wformat-overflow=] 1311 | sprintf(libFileNames[LIB_FILE_VERSION], "%s%s%s.%s", | ^ In file included from /usr/include/stdio.h:867, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/../toolutil/package.h:26, from ../.././../src/c-72_1-src-deba61ed52.clean/source/tools/pkgdata/pkgdata.cpp:42: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 258) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:272: out/tmp/icudata.lst] Illegal instruction (core dumped) make: *** [Makefile:153: all-recursive] Error 2 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
