[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1086434: coreboot: FTBFS on arm64: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch]



Source: coreboot
Version: 4.15~dfsg-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs

During a rebuild of all packages in sid, this package failed to build on arm64
with the following error. On amd64 the package builds correctly.

accessors/cmos-hw-unix.c: In function ‘cmos_hal_read’:
accessors/cmos-hw-unix.c:179:9: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch]
  179 |         return;
      |         ^~~~~~
accessors/cmos-hw-unix.c:177:22: note: declared here
  177 | static unsigned char cmos_hal_read(__attribute__((unused)) unsigned index)
      |                      ^~~~~~~~~~~~~
make[2]: *** [<builtin>: accessors/cmos-hw-unix.o] Error 1


Reply to: