[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1022180: shim: non-standard gcc used for build (gcc-10)



user debian-release@lists.debian.org
usertags 1022180 + bsp-2023-01-ch-stcergue
thank you

@maintainer:

Excuse my bluntness, but is there a reason to *not* just replace "10"
with "12" as shown below, and previously done in commit 334e9afa
("Switch to using gcc-10 rather than gcc-9. Closes: #978521")?
The resulting shimx64.efi boots fine here.

    Christoph

--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper-compat (= 12),
               sbsigntool,
               openssl,
               libelf-dev,
-              gcc-10,
+              gcc-12,
               dos2unix,
               pesign (>= 0.112-5),
               xxd,
diff --git a/debian/rules b/debian/rules
index 6228fcc..c630fa7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,7 +45,7 @@ COMMON_OPTIONS += \
        VENDOR_DBX_FILE=$(DBX_LIST) \
        EFIDIR=$(distributor) \
        CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)- \
-       CC=$(DEB_HOST_GNU_TYPE)-gcc-10 \
+       CC=$(DEB_HOST_GNU_TYPE)-gcc-12 \
        $(NULL)

 $(DBX_LIST): $(DBX_HASHES)

Attachment: signature.asc
Description: PGP signature


Reply to: