Bug #6226
Build fails for raspiosbullseye-aarch64
0%
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];
History
Updated by saen acro about 2 years ago
uname -a && lsb_release -a
what configuration set you use to build?
Updated by Nihil Baxter about 2 years ago
Linux RasPi4 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
Using
AUTOBUILD_CONFIGURE_EXTRA="--enable-ccache --disable-hdhomerun_static --disable-ffmpeg_static" ./Autobuild.sh -t raspiosbullseye-aarch64
...same as with last 100 builds before.
Updated by saen acro about 2 years ago
same situation
https://tvheadend.org/boards/4/topics/24116?r=48548#message-48548
Debin OS
Updated by Nihil Baxter about 2 years ago
But no fix for that or did i miss something? On my other device (odroid hc1/armbian) building raspiosbuster-armv7l working fine....
Updated by Nina Kampusch about 2 years ago
Until a dev comes out of hibernation, do
git revert 7b95ba4cf9113ae8808b3e4a9425010b607dbaca
Updated by saen acro about 2 years ago
Nina Kampusch wrote:
Until a dev comes out of hibernation, do
git revert 7b95ba4cf9113ae8808b3e4a9425010b607dbaca
https://github.com/tvheadend/tvheadend/commit/7b95ba4cf9113ae8808b3e4a9425010b607dbaca
Updated by Flole Systems about 2 years ago
Nina Kampusch wrote:
Until a dev comes out of hibernation
There are no devs for Tvheadend, maybe that's the problem...