Skip to contentSkip to conversation

(Re)add libgcc to alpine rootfs

PATCH In review Andrew Cooper 2 participants 3 messages Apr 29, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 (Re)add libgcc to alpine rootfs

It turns out that QEMU built in staging-4.19 (only) depends on it.

But, GCC can emit libgcc calls for arbitrary reasons, so include it unconditionally.

---
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Anthony PERARD <[email protected]>
CC: Jan Beulich <[email protected]>

---
 scripts/alpine-rootfs.sh | 1 +
 1 file changed, 1 insertion(+)
scripts/alpine-rootfs.sh +1 -0
index 4d9da9c6fb4c..13d39e8846e7 100755
@@ -10,6 +10,7 @@ apk --no-cache upgrade
 
 PKGS=(
     # System
+    libgcc
     openrc
     udev
     util-linux

base-commit: 036ffcafc8388d48f840815dd05e255042185d3d

Signature · 1 line
2.39.5
#2 lore raw
Quoted 6 lines · Roger Pau Monné
Quoted 4 lines · Andrew Cooper

It turns out that QEMU built in staging-4.19 (only) depends on it.

But, GCC can emit libgcc calls for arbitrary reasons, so include it unconditionally.

Is there a fixes tag for this, or it has always been this way?

Fixes d18d7eba888e ("Shrink the rootfs substantially")
Quoted 3 lines
Quoted 2 lines

Thanks.  I'll get this deployed.

~Andrew