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

2023-01-29 Thread Steve McIntyre
On Sun, Jan 29, 2023 at 11:58:02AM +0100, Christoph Biedl wrote:
>user debian-rele...@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.

I've already done this, but shim is not a package that can just be
tweaked and uploaded. I'm in the middle of testing this and a bunch of
other changes right now.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
< sladen> I actually stayed in a hotel and arrived to find a post-it
  note stuck to the mini-bar saying "Paul: This fridge and
  fittings are the correct way around and do not need altering"



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

2023-01-29 Thread Christoph Biedl
user debian-rele...@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)



signature.asc
Description: PGP signature