Bug 16012

Summary: Cannot compile image for imx8mqevk_defconfig
Product: buildroot Reporter: yocto.develop
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: critical CC: buildroot, yann.morin.1998
Priority: P5    
Version: 2024.02   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description yocto.develop 2024-03-29 14:08:12 UTC
There are 2 problems:
1. Cannot compile hab.c. We got this error: 
error: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Werror=array-bounds]
   71 | #define HAB_RVT_REPORT_STATUS_ARM64             ((unsigned long)*(uint32_t *)(HAB_RVT_BASE + 0x48))

2. We changed the hab.c code to avoid the error but we got this linker error:
error: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Werror=array-bounds]
   71 | #define HAB_RVT_REPORT_STATUS_ARM64             ((unsigned long)*(uint32_t *)(HAB_RVT_BASE + 0x48))
Comment 1 Yann E. MORIN 2024-06-15 15:22:43 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!