summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-05-09 19:23:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-22 10:53:47 +0100
commit588201e3d01ce8a3d0a4706390821f37a904e8e2 (patch)
treeacfe39cc7ee943ed7486f17504bddfcf369445b7 /meta/recipes-devtools
parentcddd24f1b7f9ecb943a213c16e417b19c7fc76dc (diff)
downloadpoky-588201e3d01ce8a3d0a4706390821f37a904e8e2.tar.gz
perl: update 5.36.0 -> 5.36.1
Drop gcc 12 patch, as upstream rejected it, and then (presumably) fixed gcc 12 issues differently. (From OE-Core rev: 0057ac8ef6ebc5a8f32c62de0d713b12eb4d48ee) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/files/0001-Fix-build-with-gcc-12.patch143
-rw-r--r--meta/recipes-devtools/perl/files/perl-configpm-switch.patch2
-rw-r--r--meta/recipes-devtools/perl/perl_5.36.1.bb (renamed from meta/recipes-devtools/perl/perl_5.36.0.bb)3
3 files changed, 2 insertions, 146 deletions
diff --git a/meta/recipes-devtools/perl/files/0001-Fix-build-with-gcc-12.patch b/meta/recipes-devtools/perl/files/0001-Fix-build-with-gcc-12.patch
deleted file mode 100644
index 1d98e1389b..0000000000
--- a/meta/recipes-devtools/perl/files/0001-Fix-build-with-gcc-12.patch
+++ /dev/null
@@ -1,143 +0,0 @@
1From ee957eb9e4ec29a462cdbb2f3bbe29d4270534ef Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Thu, 2 Jun 2022 13:01:37 +0800
4Subject: [PATCH] proto.h: Fix build with gcc-12
5
6Fixes:
7 In function 'dynprep',
8 inlined from 'S_sortsv_flags_impl' at pp_sort.c:358:20,
9 inlined from 'sortsv_amagic_i_ncmp' at pp_sort.c:572:5:
10 pp_sort.c:1232:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
11 1232 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
12
13Upstream-Status: Submitted [https://github.com/Perl/perl5/pull/19808]
14
15Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
16---
17 proto.h | 42 ++++++++++++++----------------------------
18 1 file changed, 14 insertions(+), 28 deletions(-)
19
20diff --git a/proto.h b/proto.h
21index faca6d1..3a76c04 100644
22--- a/proto.h
23+++ b/proto.h
24@@ -5606,50 +5606,43 @@ STATIC SSize_t S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const c
25 #endif
26 #if defined(PERL_IN_PP_SORT_C)
27 #ifndef PERL_NO_INLINE_FUNCTIONS
28-PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
29- __attribute__always_inline__;
30+PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp(pTHX_ SV *const str1, SV *const str2);
31 #define PERL_ARGS_ASSERT_AMAGIC_CMP \
32 assert(str1); assert(str2)
33 #endif
34
35 #ifndef PERL_NO_INLINE_FUNCTIONS
36-PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2)
37- __attribute__always_inline__;
38+PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2);
39 #define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC \
40 assert(str1); assert(str2)
41 #endif
42
43 #ifndef PERL_NO_INLINE_FUNCTIONS
44-PERL_STATIC_FORCE_INLINE I32 S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
45- __attribute__always_inline__;
46+PERL_STATIC_FORCE_INLINE I32 S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b);
47 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP \
48 assert(a); assert(b)
49 #endif
50
51 #ifndef PERL_NO_INLINE_FUNCTIONS
52-PERL_STATIC_FORCE_INLINE I32 S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
53- __attribute__always_inline__;
54+PERL_STATIC_FORCE_INLINE I32 S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b);
55 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC \
56 assert(a); assert(b)
57 #endif
58
59 #ifndef PERL_NO_INLINE_FUNCTIONS
60-PERL_STATIC_FORCE_INLINE I32 S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
61- __attribute__always_inline__;
62+PERL_STATIC_FORCE_INLINE I32 S_amagic_ncmp(pTHX_ SV *const a, SV *const b);
63 #define PERL_ARGS_ASSERT_AMAGIC_NCMP \
64 assert(a); assert(b)
65 #endif
66
67 #ifndef PERL_NO_INLINE_FUNCTIONS
68-PERL_STATIC_FORCE_INLINE I32 S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b)
69- __attribute__always_inline__;
70+PERL_STATIC_FORCE_INLINE I32 S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b);
71 #define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC \
72 assert(a); assert(b)
73 #endif
74
75 #ifndef PERL_NO_INLINE_FUNCTIONS
76-PERL_STATIC_FORCE_INLINE I32 S_cmp_desc(pTHX_ SV *const str1, SV *const str2)
77- __attribute__always_inline__;
78+PERL_STATIC_FORCE_INLINE I32 S_cmp_desc(pTHX_ SV *const str1, SV *const str2);
79 #define PERL_ARGS_ASSERT_CMP_DESC \
80 assert(str1); assert(str2)
81 #endif
82@@ -5671,51 +5664,44 @@ PERL_STATIC_FORCE_INLINE void S_sortsv_flags_impl(pTHX_ SV** array, size_t num_e
83 #endif
84
85 #ifndef PERL_NO_INLINE_FUNCTIONS
86-PERL_STATIC_FORCE_INLINE I32 S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
87- __attribute__always_inline__;
88+PERL_STATIC_FORCE_INLINE I32 S_sv_i_ncmp(pTHX_ SV *const a, SV *const b);
89 #define PERL_ARGS_ASSERT_SV_I_NCMP \
90 assert(a); assert(b)
91 #endif
92
93 #ifndef PERL_NO_INLINE_FUNCTIONS
94-PERL_STATIC_FORCE_INLINE I32 S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
95- __attribute__always_inline__;
96+PERL_STATIC_FORCE_INLINE I32 S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b);
97 #define PERL_ARGS_ASSERT_SV_I_NCMP_DESC \
98 assert(a); assert(b)
99 #endif
100
101 #ifndef PERL_NO_INLINE_FUNCTIONS
102-PERL_STATIC_FORCE_INLINE I32 S_sv_ncmp(pTHX_ SV *const a, SV *const b)
103- __attribute__always_inline__;
104+PERL_STATIC_FORCE_INLINE I32 S_sv_ncmp(pTHX_ SV *const a, SV *const b);
105 #define PERL_ARGS_ASSERT_SV_NCMP \
106 assert(a); assert(b)
107 #endif
108
109 #ifndef PERL_NO_INLINE_FUNCTIONS
110-PERL_STATIC_FORCE_INLINE I32 S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b)
111- __attribute__always_inline__;
112+PERL_STATIC_FORCE_INLINE I32 S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b);
113 #define PERL_ARGS_ASSERT_SV_NCMP_DESC \
114 assert(a); assert(b)
115 #endif
116
117 # if defined(USE_LOCALE_COLLATE)
118 #ifndef PERL_NO_INLINE_FUNCTIONS
119-PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
120- __attribute__always_inline__;
121+PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2);
122 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \
123 assert(str1); assert(str2)
124 #endif
125
126 #ifndef PERL_NO_INLINE_FUNCTIONS
127-PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
128- __attribute__always_inline__;
129+PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2);
130 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
131 assert(str1); assert(str2)
132 #endif
133
134 #ifndef PERL_NO_INLINE_FUNCTIONS
135-PERL_STATIC_FORCE_INLINE I32 S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
136- __attribute__always_inline__;
137+PERL_STATIC_FORCE_INLINE I32 S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2);
138 #define PERL_ARGS_ASSERT_CMP_LOCALE_DESC \
139 assert(str1); assert(str2)
140 #endif
141--
1422.25.1
143
diff --git a/meta/recipes-devtools/perl/files/perl-configpm-switch.patch b/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
index f80de88974..7ca7c7d12f 100644
--- a/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
+++ b/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
@@ -1,4 +1,4 @@
1From 055d4c31f41611b7d7fb6b0e38b3818a053de38d Mon Sep 17 00:00:00 2001 1From e789c1a0c9de5928a3b49f5b9d81b63636f5c7bb Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sun, 27 May 2007 21:04:11 +0000 3Date: Sun, 27 May 2007 21:04:11 +0000
4Subject: [PATCH] perl: 5.8.7 -> 5.8.8 (from OE) 4Subject: [PATCH] perl: 5.8.7 -> 5.8.8 (from OE)
diff --git a/meta/recipes-devtools/perl/perl_5.36.0.bb b/meta/recipes-devtools/perl/perl_5.36.1.bb
index b8dba00f18..f7d66e6ed9 100644
--- a/meta/recipes-devtools/perl/perl_5.36.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.36.1.bb
@@ -17,7 +17,6 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
17 file://0002-Constant-Fix-up-shebang.patch \ 17 file://0002-Constant-Fix-up-shebang.patch \
18 file://determinism.patch \ 18 file://determinism.patch \
19 file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \ 19 file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \
20 file://0001-Fix-build-with-gcc-12.patch \
21 " 20 "
22SRC_URI:append:class-native = " \ 21SRC_URI:append:class-native = " \
23 file://perl-configpm-switch.patch \ 22 file://perl-configpm-switch.patch \
@@ -26,7 +25,7 @@ SRC_URI:append:class-target = " \
26 file://encodefix.patch \ 25 file://encodefix.patch \
27" 26"
28 27
29SRC_URI[perl.sha256sum] = "e26085af8ac396f62add8a533c3a0ea8c8497d836f0689347ac5abd7b7a4e00a" 28SRC_URI[perl.sha256sum] = "68203665d8ece02988fc77dc92fccbb297a83a4bb4b8d07558442f978da54cc1"
30 29
31B = "${WORKDIR}/perl-${PV}-build" 30B = "${WORKDIR}/perl-${PV}-build"
32 31