Date: Fri, 26 Jun 2026 23:14:34 +0000 From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 1fc6923e6a40 - main - loader: Test GCC cross builds as part of universe.sh Message-ID: <6a3f07da.366cc.5e75e648@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1fc6923e6a40cf0ba9b6cb5aaeee3d87cacab507 commit 1fc6923e6a40cf0ba9b6cb5aaeee3d87cacab507 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2026-06-26 23:12:55 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2026-06-26 23:12:55 +0000 loader: Test GCC cross builds as part of universe.sh Sicne we have gcc15 in Jenkins, and since people are actually using it, add cross building tests to universe.sh to avoid build breakage when hacking on loader.efi (and others). UEFI makes it too easy to mix pointers and integers since it deals in an odd mix of EFI_PHYSICAL_ADDRESS and pointers... Sponsored by: Netflix --- tools/boot/universe.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/boot/universe.sh b/tools/boot/universe.sh index 4218aa4784c8..75421c28ffba 100755 --- a/tools/boot/universe.sh +++ b/tools/boot/universe.sh @@ -81,6 +81,16 @@ for i in \ dobuild $ta _.boot.${ta}.log "" done +# Cross build with gcc15, requires ${ta}-gcc15 to be installed +for i in \ + amd64/amd64 \ + arm64/aarch64 \ + riscv/riscv64 \ + ; do + ta=${i##*/} + dobuild $ta _.boot.${ta}.log "CROSS_TOOLCHAIN=${ta}-gcc15" +done + # Build w/o ZFS for i in \ arm64/aarch64 \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3f07da.366cc.5e75e648>
