osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/dahdi-linux/+/33767 )
Change subject: contrib/jenkins: set -Wno-error=address
......................................................................
contrib/jenkins: set -Wno-error=address
After changing our CI environment to build with Debian 12,
GCC 12.2.0-14 fails to build linux-dahdi with Werror (default since
linux 5.15). Set -Wno-error=address to not fail the build.
/build/drivers/dahdi/xpp/xbus-core.c:116:13: error: the comparison will always evaluate as
'true' for the address of 'label' will never be NULL [-Werror=address]
/build/drivers/dahdi/dahdi_dynamic_ethmf.c:538:34: error: the comparison will always
evaluate as 'true' for the address of 'name' will never be NULL
[-Werror=address]
/build/drivers/dahdi/wcte13xp-base.c:2704:13: error: the comparison will always evaluate
as 'true' for the address of 'xb' will never be NULL [-Werror=address]
Fixes: OS#6098
Change-Id: Ifc8fb605cb8e0de70e5556b127e22533cbe24c37
---
M contrib/jenkins.sh
1 file changed, 28 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/dahdi-linux refs/changes/67/33767/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 6a39daf..5044602 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -29,4 +29,11 @@
git log -1 --pretty="%t - %s"
make -j "$JOBS" modules_prepare
-make -j "$JOBS" -C "$TOPDIR" KSRC="$KSRC"
KBUILD_MODPOST_WARN=1
+
+# Wno-error=address: OS#6098
+make \
+ -j "$JOBS" \
+ -C "$TOPDIR" \
+ KSRC="$KSRC" \
+ KBUILD_MODPOST_WARN=1 \
+ KCFLAGS="-Wno-error=address"
--
To view, visit
https://gerrit.osmocom.org/c/dahdi-linux/+/33767
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ifc8fb605cb8e0de70e5556b127e22533cbe24c37
Gerrit-Change-Number: 33767
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange