package/{libabseil-cpp, python-grpcio}: disable for the MIPS n32 ABI
Status from this message: Applied to 2025.02.x, 2026.08.x. Thanks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesApplied
- v11 patch 1 replySuperseded
Changes in v2 from the cover letter
- Added PATCH 1/2 fixing libabseil-cpp itself, which has exactly the same problem. This automatically propagates to grpc, protobuf, re2, webrtc-audio-processing, sysdig, falcosecurity-libs, collectd and gst1-plugins-bad, which all already depend on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS.
- Added the Fixes: tags (commit + autobuild result) to both patches.
- Documented since when the problem exists, with autobuild links on the maintained branches, so that the LTS maintainers can decide about backports. Short version: both are broken since mips64 was first allowed, and both still need a backport to 2025.02.x; libabseil-cpp also to 2026.02.x.
- Answered in the python-grpcio commit log why the Buildroot-provided abseil cannot be used instead of the bundled one: grpcio's GRPC_PYTHON_BUILD_SYSTEM_ABSL hardcodes /usr/include and globs /usr/lib*/libabsl_*.so, so it is unusable when cross-compiling, and it would not help here anyway since Buildroot's abseil has the same limitation.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | package/libabseil-cpp: disable for the MIPS n32 ABIpackage/ | +4 | 1 reply | |
| 2/2 | package/python-grpcio: disable for the MIPS n32 ABIpackage/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Buildroot] [PATCH v2 0/2] package/{libabseil-cpp, python-grpcio}: disable for the MIPS n32 ABI
From: Yegor Yefremov <[email protected]>
This is a v2 of "package/python-grpcio: disable for the MIPS n32 ABI":
https://patchwork.buildroot.org/project/buildroot/patch/[email protected]/
Changes v1 -> v2 (after Thomas' review):
- Added PATCH 1/2 fixing libabseil-cpp itself, which has exactly the same problem. This automatically propagates to grpc, protobuf, re2, webrtc-audio-processing, sysdig, falcosecurity-libs, collectd and gst1-plugins-bad, which all already depend on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS.
- Added the Fixes: tags (commit + autobuild result) to both patches.
- Documented since when the problem exists, with autobuild links on the maintained branches, so that the LTS maintainers can decide about backports. Short version: both are broken since mips64 was first allowed, and both still need a backport to 2025.02.x; libabseil-cpp also to 2026.02.x.
- Answered in the python-grpcio commit log why the Buildroot-provided abseil cannot be used instead of the bundled one: grpcio's GRPC_PYTHON_BUILD_SYSTEM_ABSL hardcodes /usr/include and globs /usr/lib*/libabsl_*.so, so it is unusable when cross-compiling, and it would not help here anyway since Buildroot's abseil has the same limitation.
Note that n32 is the default ABI for BR2_mips64/BR2_mips64el, so this covers the default mips64 autobuilder configurations. All in-tree mips64 defconfigs use n64 and are unaffected.
Tested with olddefconfig on mips64el n32 (both packages and their reverse dependencies disappear), mips64el n64 and x86_64 (both still selectable).
Yegor Yefremov (2):
package/libabseil-cpp: disable for the MIPS n32 ABI package/python-grpcio: disable for the MIPS n32 ABI
package/libabseil-cpp/Config.in | 4 ++++ package/python-grpcio/Config.in | 5 +++++ 2 files changed, 9 insertions(+)
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot