Actions
Bug #6226
closedBuild fails for raspiosbullseye-aarch64
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2022-12-03
Due date:
% Done:
0%
Estimated time:
Found in version:
4.3.2063
Affected Versions:
Description
After change from bullseye-arm64 to raspiosbullseye-aarch64 building stops with error.
src/htsmsg_binary.c: In function ‘htsmsg_binary_des0’: src/htsmsg_binary.c:80:39: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 80 | ((char *)f->_hmf_name)[namelen] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from src/htsmsg_binary.h:22, from src/htsmsg_binary.c:26: src/htsmsg.h:84:14: note: at offset 0 to object ‘_hmf_name’ with size 0 declared here 84 | const char _hmf_name[0]; | ^~~~~~~~~ In file included from /usr/include/string.h:495, from src/htsmsg_binary.c:24: In function ‘memcpy’, inlined from ‘htsmsg_binary_des0’ at src/htsmsg_binary.c:98:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: error: writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/htsmsg_binary.h:22, from src/htsmsg_binary.c:26: src/htsmsg_binary.c: In function ‘htsmsg_binary_des0’: src/htsmsg.h:84:14: note: at offset 0 to object ‘_hmf_name’ with size 0 declared here 84 | const char _hmf_name[0];
Actions