Not sure if the maintainers want to go in this direction but I've tested this patch and it fixes the build issue.

Tested-by: Ryan Eatmon <[email protected]>


On 5/30/2026 2:31 AM, Markus Volk via lists.openembedded.org wrote:
libcamera fails if using gcc16 with -Werror=array-bounds=

Ignore this issue for now until it is properly fixed

Signed-off-by: Markus Volk <[email protected]>
---
  meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb 
b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb
index 74cb910417..9be439fdf1 100644
--- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb
+++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb
@@ -100,3 +100,5 @@ FILES:${PN}-pycamera = 
"${PYTHON_SITEPACKAGES_DIR}/libcamera"
  GLIBC_64BIT_TIME_FLAGS = ""
INSANE_SKIP += "32bit-time"
+
+CXXFLAGS += "-Wno-error=array-bounds="






--
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127361): 
https://lists.openembedded.org/g/openembedded-devel/message/127361
Mute This Topic: https://lists.openembedded.org/mt/119559335/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to