phosphor-ipmi-host: Add boost_context dep Add patch to link against boost_context required by Boost coroutine changes under GCC 15 and C++23. Tested: Verified build with GCC 15 and C++23 across gBMC platforms. - platform11: http://fusion2/3ff2006d-9c03-3f0c-99fd-bcefc6aaca1f - platform11: http://fusion2/982d88b5-28f9-38ef-a3a2-d824b919c13c - platform5: http://fusion2/a7e89bcd-86a0-33b2-8f33-2bb24ef3afb5 - platform15: http://fusion2/e56dcb19-6dcd-35a0-b5ee-30740fbf27df - platform17: http://fusion2/d0e6af61-eb95-3a70-a6a3-d1bdab987ea2 - platform18: http://fusion2/cda6ba3a-58f5-3907-b584-04786b9fe634 - platform25: http://fusion2/714cc620-6f0a-3bfd-90dd-95356b62b54b Google-Bug-Id: 482144905 Change-Id: I1c8e004bed5f12a0daa1f8c90bc2e3ff611851a7 Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/recipes-phosphor/ipmi/phosphor-ipmi-host/0001-build-Add-boost_context-dependencies.patch b/recipes-phosphor/ipmi/phosphor-ipmi-host/0001-build-Add-boost_context-dependencies.patch new file mode 100644 index 0000000..5b6e2a4 --- /dev/null +++ b/recipes-phosphor/ipmi/phosphor-ipmi-host/0001-build-Add-boost_context-dependencies.patch
@@ -0,0 +1,34 @@ +From d9916db8c6b47e0a41878e2dee0846368b655ac9 Mon Sep 17 00:00:00 2001 +From: Willy Tu <wltu@google.com> +Date: Thu, 5 Feb 2026 18:53:02 +0000 +Subject: [PATCH] build: Add boost_context dependencies + +Change-Id: I3054073a0c3d54f5d78e2b84d7df46a712d7c2a0 +Signed-off-by: Willy Tu <wltu@google.com> +--- + meson.build | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/meson.build b/meson.build +index 7fca5e1..83f8494 100644 +--- a/meson.build ++++ b/meson.build +@@ -116,6 +116,7 @@ crypto = dependency('libcrypto', version : '>=1.0.2g') + pam = cpp.find_library('pam', required: true) + mapper = dependency('libmapper') + boost_coroutine = cpp.find_library('boost_coroutine', required: true) ++boost_context = cpp.find_library('boost_context', required: true) + sdbusplus_dep = dependency('sdbusplus') + stdplus_dep = dependency('stdplus') + +@@ -199,6 +200,7 @@ ipmid_pre = [ + phosphor_logging_dep, + phosphor_dbus_interfaces_dep, + boost_coroutine, ++ boost_context, + crypto, + ipmid_dep, + channellayer_dep, +-- +2.53.0.rc2.204.g2597b5adb4-goog +
diff --git a/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend b/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend index 54e7551..7ee5dd1 100644 --- a/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend +++ b/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend
@@ -17,6 +17,7 @@ file://0012-Fix-heap-buffer-overflow-in-ipmi_sen_get_sdr.patch \ file://0013-Fix-bug-in-the-name-of-array-of-whitelisted-commands.patch \ file://0014-Support-whitelist-generation-with-multiple-file-name.patch \ + file://0001-build-Add-boost_context-dependencies.patch \ " EXTRA_OEMESON:append:gbmc = " -Dfru-device-property-override-fru-name=disabled"