check-endbr.sh fails when using mawk
Description:
When building Xen for x86 with CONFIG_XEN_IBT, a post-build safety check runs. It currently depends on gawk, and fails with:
/bin/sh ./tools/check-endbr.sh xen.efi
check-endbr.sh xen.efi Error: More valid-addrs than all-addrs
when mawk is the system AWK.
The Xen build system uses AWK in various places, but README doesn't provide any version/compatibility requirements.
As we explicitly do support FreeBSD and NetBSD as build environments, it was agreed that we should not depend on gawk, silently or otherwise.
Acceptance criterias
- check-endbr.sh wants reworking to remove gawk-isms.Stakeholders
- Epic leader/point of contact:
- [Name]
- Issue leader:
- [Name]
- Maintainers:
- [Name]
- Developers:
- [Name]
- [Name]
- Others:
- [Name]
- [Name]
Discussions links
- [URL]
- [URL]
Mailing lists series
- [URL]
- [URL]
Edited by Andrew Cooper