Skip to contentSkip to conversation

podman: Use gcc-based toolchain

PATCH New Andrei Gherzan 1 participant 2 messages Aug 2, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 3/4 podman: Use gcc-based toolchain

From: Andrei Gherzan <[email protected]>

clang-based builds are still broken due to:
https://github.com/llvm/llvm-project/issues/53999

---
 recipes-containers/podman/podman_git.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-containers/podman/podman_git.bb +3 -0
index bdc9ea0..e155c7b 100644
@@ -44,6 +44,9 @@ exclude_graphdriver_btrfs exclude_graphdriver_devicemapper"
 # overide LDFLAGS to allow podman to build without: "flag provided but not # defined: -Wl,-O1
 export LDFLAGS=""
 
+# https://github.com/llvm/llvm-project/issues/53999
+TOOLCHAIN = "gcc"
+
 inherit go goarch
 inherit systemd pkgconfig
 
Signature · 1 line
2.25.1
#2 lore raw

PATCH 4/4 cni: Use gcc-based toolchain

In reply to a message not in the archive

From: Andrei Gherzan <[email protected]>

clang-based builds are still broken due to:
https://github.com/llvm/llvm-project/issues/53999

---
 recipes-networking/cni/cni_git.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-networking/cni/cni_git.bb +3 -0
index 63c3929..cac62ae 100644
@@ -29,6 +29,9 @@ PV = "v1.0.1+git${SRCREV_cni}"
 inherit go
 inherit goarch
 
+# https://github.com/llvm/llvm-project/issues/53999
+TOOLCHAIN = "gcc"
+
 do_compile() {
 	mkdir -p ${S}/src/github.com/containernetworking
 	ln -sfr ${S}/src/import ${S}/src/github.com/containernetworking/cni
Signature · 1 line
2.25.1