diff options
Diffstat (limited to 'meta-oe')
6 files changed, 200 insertions, 7 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0014-tests-Add-ldflags-to-linker-commandline-for-libheaps.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0014-tests-Add-ldflags-to-linker-commandline-for-libheaps.patch new file mode 100644 index 0000000000..94a88647ea --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0014-tests-Add-ldflags-to-linker-commandline-for-libheaps.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 834662425936ae222789f4823d10a1371b951ae1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 20 Jul 2025 14:19:59 -0700 | ||
4 | Subject: [PATCH] tests: Add ldflags to linker commandline for libheapshrink.so | ||
5 | |||
6 | This fixes build QA errors | ||
7 | ERROR: libhugetlbfs-1_2.24-r0 do_package_qa: QA Issue: File /usr/lib/libhugetlbfs/tests/obj64/libheapshrink.so in package libhugetlbfs-tests doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags] | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | tests/Makefile.in | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/tests/Makefile.in b/tests/Makefile.in | ||
16 | index d33a228..042af8d 100644 | ||
17 | --- a/tests/Makefile.in | ||
18 | +++ b/tests/Makefile.in | ||
19 | @@ -140,12 +140,12 @@ obj64/%-pic.o: %.c | ||
20 | obj32/libheapshrink.so: obj32/heapshrink-helper-pic.o | ||
21 | @$(VECHO) LD32 "(shared)" $@ | ||
22 | @mkdir -p obj32 | ||
23 | - $(CC32) -Wl,-soname,$(notdir $@) -shared -o $@ $^ | ||
24 | + $(CC32) -Wl,-soname,$(notdir $@) -shared $(LDFLAGS) -o $@ $^ | ||
25 | |||
26 | obj64/libheapshrink.so: obj64/heapshrink-helper-pic.o | ||
27 | @$(VECHO) LD64 "(shared)" $@ | ||
28 | @mkdir -p obj64 | ||
29 | - $(CC64) -Wl,-soname,$(notdir $@) -shared -o $@ $^ | ||
30 | + $(CC64) -Wl,-soname,$(notdir $@) -shared $(LDFLAGS) -o $@ $^ | ||
31 | |||
32 | $(LIB_TESTS:%=obj32/%): %: %.o obj32/testutils.o obj32/libtestutils.o | ||
33 | @$(VECHO) LD32 "(lib test)" $@ | ||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb index cf7d8d876b..0546d4b0b5 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb | |||
@@ -24,6 +24,7 @@ SRC_URI = " \ | |||
24 | file://0011-include-limits.h-for-PATH_MAX.patch \ | 24 | file://0011-include-limits.h-for-PATH_MAX.patch \ |
25 | file://0012-huge_page_setup_helper-use-python3-interpreter.patch \ | 25 | file://0012-huge_page_setup_helper-use-python3-interpreter.patch \ |
26 | file://0013-elflink.c-include-libgen.h-for-basename.patch \ | 26 | file://0013-elflink.c-include-libgen.h-for-basename.patch \ |
27 | file://0014-tests-Add-ldflags-to-linker-commandline-for-libheaps.patch \ | ||
27 | " | 28 | " |
28 | 29 | ||
29 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | 30 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-remove-redundant-mXX-flags-for-V8.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-remove-redundant-mXX-flags-for-V8.patch new file mode 100644 index 0000000000..7841a9d7bc --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-remove-redundant-mXX-flags-for-V8.patch | |||
@@ -0,0 +1,133 @@ | |||
1 | From 403264c02edc2689671dbefaf032e3acb4fb713d Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= <targos@protonmail.com> | ||
3 | Date: Sat, 19 Apr 2025 12:22:10 +0200 | ||
4 | Subject: [PATCH] build: remove redundant `-mXX` flags for V8 | ||
5 | |||
6 | They are already set by `common.gypi`. | ||
7 | |||
8 | |||
9 | Needed to build on aarch64 build hosts with clang compiler | ||
10 | Drop it when upgrading to 0.24.x or newer. | ||
11 | |||
12 | Upstream-Status: Backport [https://github.com/nodejs/node/commit/403264c02edc2689671dbefaf032e3acb4fb713d] | ||
13 | |||
14 | PR-URL: https://github.com/nodejs/node/pull/57907 | ||
15 | Reviewed-By: James M Snell <jasnell@gmail.com> | ||
16 | Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> | ||
17 | Reviewed-By: Chengzhong Wu <legendecas@gmail.com> | ||
18 | Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> | ||
19 | Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | ||
20 | --- | ||
21 | tools/v8_gypfiles/toolchain.gypi | 91 -------------------------------- | ||
22 | 1 file changed, 91 deletions(-) | ||
23 | |||
24 | Index: node-v22.16.0/tools/v8_gypfiles/toolchain.gypi | ||
25 | =================================================================== | ||
26 | --- node-v22.16.0.orig/tools/v8_gypfiles/toolchain.gypi | ||
27 | +++ node-v22.16.0/tools/v8_gypfiles/toolchain.gypi | ||
28 | @@ -97,33 +97,6 @@ | ||
29 | # Indicates if gcmole tools are downloaded by a hook. | ||
30 | 'gcmole%': 0, | ||
31 | }, | ||
32 | - | ||
33 | - # [GYP] this needs to be outside of the top level 'variables' | ||
34 | - 'conditions': [ | ||
35 | - ['host_arch=="ia32" or host_arch=="x64" or \ | ||
36 | - host_arch=="ppc" or host_arch=="ppc64" or \ | ||
37 | - host_arch=="s390x" or \ | ||
38 | - clang==1', { | ||
39 | - 'variables': { | ||
40 | - 'host_cxx_is_biarch%': 1, | ||
41 | - }, | ||
42 | - }, { | ||
43 | - 'variables': { | ||
44 | - 'host_cxx_is_biarch%': 0, | ||
45 | - }, | ||
46 | - }], | ||
47 | - ['target_arch=="ia32" or target_arch=="x64" or \ | ||
48 | - target_arch=="ppc" or target_arch=="ppc64" or \ | ||
49 | - target_arch=="s390x" or clang==1', { | ||
50 | - 'variables': { | ||
51 | - 'target_cxx_is_biarch%': 1, | ||
52 | - }, | ||
53 | - }, { | ||
54 | - 'variables': { | ||
55 | - 'target_cxx_is_biarch%': 0, | ||
56 | - }, | ||
57 | - }], | ||
58 | - ], | ||
59 | 'target_defaults': { | ||
60 | 'include_dirs': [ | ||
61 | '<(V8_ROOT)', | ||
62 | @@ -553,71 +526,6 @@ | ||
63 | '-mmmx', # Allows mmintrin.h for MMX intrinsics. | ||
64 | ], | ||
65 | }], | ||
66 | - ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | ||
67 | - or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ | ||
68 | - (v8_target_arch=="arm" or v8_target_arch=="ia32" or \ | ||
69 | - v8_target_arch=="ppc")', { | ||
70 | - 'target_conditions': [ | ||
71 | - ['_toolset=="host"', { | ||
72 | - 'conditions': [ | ||
73 | - ['host_cxx_is_biarch==1', { | ||
74 | - 'conditions': [ | ||
75 | - ['host_arch=="s390x"', { | ||
76 | - 'cflags': [ '-m31' ], | ||
77 | - 'ldflags': [ '-m31' ] | ||
78 | - },{ | ||
79 | - 'cflags': [ '-m32' ], | ||
80 | - 'ldflags': [ '-m32' ] | ||
81 | - }], | ||
82 | - ], | ||
83 | - }], | ||
84 | - ], | ||
85 | - 'xcode_settings': { | ||
86 | - 'ARCHS': [ 'i386' ], | ||
87 | - }, | ||
88 | - }], | ||
89 | - ['_toolset=="target"', { | ||
90 | - 'conditions': [ | ||
91 | - ['target_cxx_is_biarch==1', { | ||
92 | - 'conditions': [ | ||
93 | - ['host_arch=="s390x"', { | ||
94 | - 'cflags': [ '-m31' ], | ||
95 | - 'ldflags': [ '-m31' ] | ||
96 | - },{ | ||
97 | - 'cflags': [ '-m32' ], | ||
98 | - 'ldflags': [ '-m32' ], | ||
99 | - }], | ||
100 | - ], | ||
101 | - }], | ||
102 | - ], | ||
103 | - 'xcode_settings': { | ||
104 | - 'ARCHS': [ 'i386' ], | ||
105 | - }, | ||
106 | - }], | ||
107 | - ], | ||
108 | - }], | ||
109 | - ['(OS=="linux" or OS=="android") and \ | ||
110 | - (v8_target_arch=="x64" or v8_target_arch=="arm64" or \ | ||
111 | - v8_target_arch=="ppc64" or v8_target_arch=="s390x")', { | ||
112 | - 'target_conditions': [ | ||
113 | - ['_toolset=="host"', { | ||
114 | - 'conditions': [ | ||
115 | - ['host_cxx_is_biarch==1', { | ||
116 | - 'cflags': [ '-m64' ], | ||
117 | - 'ldflags': [ '-m64' ] | ||
118 | - }], | ||
119 | - ], | ||
120 | - }], | ||
121 | - ['_toolset=="target"', { | ||
122 | - 'conditions': [ | ||
123 | - ['target_cxx_is_biarch==1', { | ||
124 | - 'cflags': [ '-m64' ], | ||
125 | - 'ldflags': [ '-m64' ], | ||
126 | - }], | ||
127 | - ] | ||
128 | - }], | ||
129 | - ], | ||
130 | - }], | ||
131 | ['OS=="android" and v8_android_log_stdout==1', { | ||
132 | 'defines': [ | ||
133 | 'V8_ANDROID_LOG_STDOUT', | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb index 4bc829f140..0663e8c52e 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb | |||
@@ -30,6 +30,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ | |||
30 | file://0001-deps-disable-io_uring-support-in-libuv.patch \ | 30 | file://0001-deps-disable-io_uring-support-in-libuv.patch \ |
31 | file://0001-positional-args.patch \ | 31 | file://0001-positional-args.patch \ |
32 | file://0001-custom-env.patch \ | 32 | file://0001-custom-env.patch \ |
33 | file://0001-build-remove-redundant-mXX-flags-for-V8.patch \ | ||
33 | file://run-ptest \ | 34 | file://run-ptest \ |
34 | " | 35 | " |
35 | SRC_URI:append:class-target = " \ | 36 | SRC_URI:append:class-target = " \ |
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch index fe65dd2836..cd0417612f 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9487fe5cd271a4bee96ab590509ef38f6972887a Mon Sep 17 00:00:00 2001 | 1 | From 42b1d9e8138b8b4f7160f208a5d15fe25d0223a3 Mon Sep 17 00:00:00 2001 |
2 | From: Kai Kang <kai.kang@windriver.com> | 2 | From: Kai Kang <kai.kang@windriver.com> |
3 | Date: Sat, 12 Oct 2024 18:43:25 +0800 | 3 | Date: Sat, 12 Oct 2024 18:43:25 +0800 |
4 | Subject: [PATCH] fix libdir for multilib | 4 | Subject: [PATCH] fix libdir for multilib |
@@ -16,15 +16,17 @@ in this patch that LIB_SUFFIX has been passed to cmake in cmake.bbclass. | |||
16 | 16 | ||
17 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | 17 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
18 | --- | 18 | --- |
19 | CMakeLists.txt | 2 +- | 19 | CMakeLists.txt | 2 +- |
20 | build/cmake/config.cmake | 2 +- | 20 | build/cmake/config.cmake | 2 +- |
21 | build/cmake/functions.cmake | 4 ++-- | 21 | build/cmake/install.cmake | 12 ++++++------ |
22 | build/cmake/install.cmake | 12 ++++++------ | 22 | build/cmake/lib/webview/CMakeLists.txt | 2 +- |
23 | 4 files changed, 10 insertions(+), 10 deletions(-) | 23 | 4 files changed, 9 insertions(+), 9 deletions(-) |
24 | 24 | ||
25 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
26 | index d6a4b49..9e86b87 100644 | ||
25 | --- a/CMakeLists.txt | 27 | --- a/CMakeLists.txt |
26 | +++ b/CMakeLists.txt | 28 | +++ b/CMakeLists.txt |
27 | @@ -43,7 +43,7 @@ include(build/cmake/policies.cmake NO_PO | 29 | @@ -43,7 +43,7 @@ include(build/cmake/policies.cmake NO_POLICY_SCOPE) |
28 | # Initialize variables for quick access to wx root dir in sub dirs | 30 | # Initialize variables for quick access to wx root dir in sub dirs |
29 | set(wxSOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) | 31 | set(wxSOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) |
30 | set(wxBINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) | 32 | set(wxBINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) |
@@ -33,6 +35,8 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
33 | 35 | ||
34 | # parse the version number from wx/version.h and include in wxMAJOR_VERSION and wxMINOR_VERSION | 36 | # parse the version number from wx/version.h and include in wxMAJOR_VERSION and wxMINOR_VERSION |
35 | file(READ "${wxSOURCE_DIR}/include/wx/version.h" WX_VERSION_H_CONTENTS) | 37 | file(READ "${wxSOURCE_DIR}/include/wx/version.h" WX_VERSION_H_CONTENTS) |
38 | diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake | ||
39 | index addd8d6..9ec6775 100644 | ||
36 | --- a/build/cmake/config.cmake | 40 | --- a/build/cmake/config.cmake |
37 | +++ b/build/cmake/config.cmake | 41 | +++ b/build/cmake/config.cmake |
38 | @@ -100,7 +100,7 @@ function(wx_write_config_inplace) | 42 | @@ -100,7 +100,7 @@ function(wx_write_config_inplace) |
@@ -44,6 +48,8 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
44 | "${wxBINARY_DIR}/wx-config" | 48 | "${wxBINARY_DIR}/wx-config" |
45 | ) | 49 | ) |
46 | endfunction() | 50 | endfunction() |
51 | diff --git a/build/cmake/install.cmake b/build/cmake/install.cmake | ||
52 | index 202d054..e255e0b 100644 | ||
47 | --- a/build/cmake/install.cmake | 53 | --- a/build/cmake/install.cmake |
48 | +++ b/build/cmake/install.cmake | 54 | +++ b/build/cmake/install.cmake |
49 | @@ -44,11 +44,11 @@ if(WIN32_MSVC_NAMING) | 55 | @@ -44,11 +44,11 @@ if(WIN32_MSVC_NAMING) |
@@ -90,3 +96,19 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
90 | ) | 96 | ) |
91 | 97 | ||
92 | # uninstall target | 98 | # uninstall target |
99 | diff --git a/build/cmake/lib/webview/CMakeLists.txt b/build/cmake/lib/webview/CMakeLists.txt | ||
100 | index 2cb35e7..7977a84 100644 | ||
101 | --- a/build/cmake/lib/webview/CMakeLists.txt | ||
102 | +++ b/build/cmake/lib/webview/CMakeLists.txt | ||
103 | @@ -146,7 +146,7 @@ if(WXGTK AND wxUSE_WEBVIEW_WEBKIT2) | ||
104 | ${WEBKIT2_LIBRARIES} | ||
105 | ) | ||
106 | |||
107 | - wx_install(TARGETS wxwebkit2_ext LIBRARY DESTINATION "lib/wx/${WX_WEB_EXT_VERSION}/web-extensions") | ||
108 | + wx_install(TARGETS wxwebkit2_ext LIBRARY DESTINATION "lib${LIB_SUFFIX}/wx/${WX_WEB_EXT_VERSION}/web-extensions") | ||
109 | |||
110 | wx_add_dependencies(wxwebview wxwebkit2_ext) | ||
111 | endif() | ||
112 | -- | ||
113 | 2.49.0 | ||
114 | |||
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb index 2137bc686c..8d1090a171 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb | |||
@@ -40,6 +40,9 @@ EXTRA_OECMAKE += " \ | |||
40 | -DwxUSE_LIBPNG=sys \ | 40 | -DwxUSE_LIBPNG=sys \ |
41 | -DwxUSE_LIBTIFF=sys \ | 41 | -DwxUSE_LIBTIFF=sys \ |
42 | -DwxUSE_REGEX=builtin \ | 42 | -DwxUSE_REGEX=builtin \ |
43 | -DwxBUILD_INSTALL_RUNTIME_DIR=${libdir} \ | ||
44 | -DwxBUILD_INSTALL_LIBRARY_DIR=${libdir} \ | ||
45 | -DwxBUILD_INSTALL_PLATFORM_SUBDIR=${libdir} \ | ||
43 | " | 46 | " |
44 | EXTRA_OECMAKE:append:class-target = ' -DEGREP="/bin/grep -E"' | 47 | EXTRA_OECMAKE:append:class-target = ' -DEGREP="/bin/grep -E"' |
45 | 48 | ||