Skip to contentSkip to conversation

gcc: depend on zstd

PATCH Superseded Sean Nyekjaer 2 participants 2 messages Sep 27, 2023

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gcc: depend on zstd

Add zstd LTO support for target and nativesdk compiler. This also brings gcc into sync with gcc-cross.

---
% x86_64-oe-linux-gcc -v
[...]
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (GCC)
% x86_64-oesdk-linux-gcc -v
[...]
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (GCC)
---

---
 meta/recipes-devtools/gcc/gcc-13.2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-13.2.inc +1 -1
index d96f3171e4..359db1e278 100644
@@ -10,7 +10,7 @@ BINV = "13.2.0"
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
 
-DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
+DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native zstd-native"
 
 LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
Signature · 1 line
2.42.0
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Sean Nyekjaer
Sent: den 27 september 2023 14:58
To: [email protected]
Cc: Sean Nyekjaer <[email protected]>; [email protected]
Subject: [OE-core][PATCH v2] gcc: depend on zstd

Add zstd LTO support for target and nativesdk compiler. This also brings gcc into sync with gcc-cross.

---

You do not want to use a line like the above in your commit message since Git will cut the commit message at the first occurrence of three dashes at the start of a line. I.e., everything below until the actual diff is ignored when applying this patch.

Quoted 29 lines

% x86_64-oe-linux-gcc -v
[...]
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (GCC)
% x86_64-oesdk-linux-gcc -v
[...]
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (GCC)
---

---
 meta/recipes-devtools/gcc/gcc-13.2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-13.2.inc +1 -2
index d96f3171e4..359db1e278 100644
@@ -10,7 +10,7 @@ BINV = "13.2.0"
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
 
-DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
+DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native zstd-native"
 
 LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
--
Quoted 1 line

2.42.0

//Peter