Skip to contentSkip to conversation

MPTCP export branch - build errors due to -Werror

DISCUSSION Mat Martineau 2 participants 2 messages Sep 9, 2021 Networking MPTCP

lore
Share & tools
lore
#0 lore raw

I mentioned in the meeting today, kbuild's build step is failing due to warnings being treated as errors.

The fix to change -Werror to be under the COMPILE_TEST config flag is commit b339ec9c229aaf399296a120d7be0e34fbc355ca in Linus' tree:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b339ec9c229aaf399296a120d7be0e34fbc355ca
https://lore.kernel.org/all/[email protected]/

Not sure when it will show up in net-next (hopefully soon!), but it would be good to cherry-pick in the export branch in the mean time.

Thanks!

--
Mat Martineau
Intel

#1 lore raw

Hi Mat,

Quoted 7 lines · Mat Martineau

I mentioned in the meeting today, kbuild's build step is failing due to warnings being treated as errors.

The fix to change -Werror to be under the COMPILE_TEST config flag is commit b339ec9c229aaf399296a120d7be0e34fbc355ca in Linus' tree:

Quoted 6 lines

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b339ec9c229aaf399296a120d7be0e34fbc355ca

https://lore.kernel.org/all/[email protected]/

Not sure when it will show up in net-next (hopefully soon!), but it would be good to cherry-pick in the export branch in the mean time.

Sure, good idea, just did:

- 23ec8f63bcac: kbuild: Only default to -Werror if COMPILE_TEST
- Results: 96216d5da9df..5fabcaa6857a

Builds and tests are now in progress:

https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20210909T161526
https://github.com/multipath-tcp/mptcp_net-next/actions/workflows/build-validation.yml?query=branch:export/20210909T161526

Cheers,
Matt

Signature · 2 lines
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net