Attention is currently required from: Martin Roth. Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62831 )
Change subject: xcompile: Hard-code gcc-12 ......................................................................
xcompile: Hard-code gcc-12
Debian sid/unstable provides *gcc-12* 12-20220313-1:
$ gcc-12 --version | head -1 gcc-12 (Debian 12-20220313-1) 12.0.1 20220314 (experimental) [master r12-7638-g823b3b79cd2]
Change-Id: Ib8c38cbe2f76350eda7f36861523a5012a13fc0b Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M util/xcompile/xcompile 1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/62831/1
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 4950a9e..960d722 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -61,7 +61,7 @@ if program_exists "${XGCCPATH}/gcc"; then HOSTCC="${XGCCPATH}/gcc" elif program_exists gcc; then - HOSTCC=gcc + HOSTCC=gcc-12 elif program_exists cc; then HOSTCC=cc else @@ -299,8 +299,8 @@
cat <<EOF ifeq ($(CONFIG_COMPILER_GCC)$(CONFIG_LP_COMPILER_GCC),y) - NM_${TARCH}:=${GCCPREFIX}gcc-nm - AR_${TARCH}:=${GCCPREFIX}gcc-ar + NM_${TARCH}:=${GCCPREFIX}gcc-nm-12 + AR_${TARCH}:=${GCCPREFIX}gcc-ar-12 else NM_${TARCH}:=${GCCPREFIX}nm AR_${TARCH}:=${GCCPREFIX}ar @@ -437,7 +437,7 @@ done done if [ "invalid" != "$GCCPREFIX" ]; then - GCC="${GCCPREFIX}gcc" + GCC="${GCCPREFIX}gcc-12" fi
for clang_arch in $TCLIST invalid; do