Project

General

Profile

Bug #6226

Build fails for raspiosbullseye-aarch64

Added by Nihil Baxter almost 2 years ago. Updated almost 2 years ago.

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];

History

#1

Updated by saen acro almost 2 years ago

uname -a && lsb_release -a

what configuration set you use to build?
#2

Updated by Nihil Baxter almost 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.

#4

Updated by Nihil Baxter almost 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....

#5

Updated by Nina Kampusch almost 2 years ago

Until a dev comes out of hibernation, do

git revert 7b95ba4cf9113ae8808b3e4a9425010b607dbaca

#6

Updated by saen acro almost 2 years ago

Nina Kampusch wrote:

Until a dev comes out of hibernation, do

git revert 7b95ba4cf9113ae8808b3e4a9425010b607dbaca

https://github.com/tvheadend/tvheadend/commit/7b95ba4cf9113ae8808b3e4a9425010b607dbaca

#7

Updated by Flole Systems almost 2 years ago

Nina Kampusch wrote:

Until a dev comes out of hibernation

There are no devs for Tvheadend, maybe that's the problem...

#9

Updated by Flole Systems almost 2 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF