summaryrefslogtreecommitdiff
path: root/UnitTestFrameworkPkg
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2022-12-16 15:05:21 +0530
committerAmit Pundir <amit.pundir@linaro.org>2022-12-16 15:08:03 +0530
commit9b3c30f4a0dcbd9643b5203bcf8756f0ba55814a (patch)
tree7a5b1e9dc99b612feb0401d43eb307b488eb01fa /UnitTestFrameworkPkg
parent433e2230b8a4e89c355c2c6fa093142d6d6fb430 (diff)
HACK: FIXME: build fix for clang-r416183brbX-fastbootd
--------------------------------------------------------- In file included from /usr/include/string.h:495, from EfiUtilityMsgs.c:10: In function ‘strncat’, inlined from ‘PrintMessage’ at EfiUtilityMsgs.c:478:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: error: ‘__builtin___strncat_chk’ output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Werror=stringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘PrintMessage’ at EfiUtilityMsgs.c:463:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: error: ‘__builtin___strncat_chk’ output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Werror=stringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘PrintMessage’ at EfiUtilityMsgs.c:505:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: error: ‘__builtin___strncat_chk’ output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Werror=stringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [../Makefiles/footer.makefile:21: EfiUtilityMsgs.o] Error 1 make[3]: Leaving directory '/linaro/bootloader/edk2/BaseTools/Source/C/Common' --------------------------------------------------------- Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'UnitTestFrameworkPkg')
0 files changed, 0 insertions, 0 deletions