* with gcc-11 it fails with:
drivers/net/ath/ath5k/ath5k_eeprom.c:437:65: error: 'val' may be used
uninitialized [-Werror=maybe-uninitialized]
437 | ee->ee_switch_settling_turbo[mode] = (val >> 8) &
0x7f;
| ~~~~~~~~~~~^~~~~~
tests/bigint_test.c: In function 'bigint_test_exec':
tests/bigint_test.c:232:14: error: 'result_raw' may be used uninitialized
[-Werror=maybe-uninitialized]
232 | ok ( memcmp ( result_raw, expected_raw,
\
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | sizeof ( result_raw ) ) == 0 );
\
| ~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Martin Jansa <[email protected]>
---
recipes-extended/ipxe/ipxe_git.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-extended/ipxe/ipxe_git.bb
b/recipes-extended/ipxe/ipxe_git.bb
index 43c8f0e..9e98495 100644
--- a/recipes-extended/ipxe/ipxe_git.bb
+++ b/recipes-extended/ipxe/ipxe_git.bb
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = " \
CROSS_COMPILE="${TARGET_PREFIX}" \
EXTRA_HOST_CFLAGS="${BUILD_CFLAGS}" \
EXTRA_HOST_LDFLAGS="${BUILD_LDFLAGS}" \
+ NO_WERROR="1" \
"
S = "${WORKDIR}/git/src"
--
2.30.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6514):
https://lists.yoctoproject.org/g/meta-virtualization/message/6514
Mute This Topic: https://lists.yoctoproject.org/mt/82820500/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-