perfetto: fix error with gcc-15
PATCH v2 1/1 perfetto: fix error with gcc-15
From: "mark.yang" <[email protected]>
* Backport fix from:
https://github.com/google/perfetto/commit/3953f56f98420e2ecb0e1c4542e20bfbb81da965 * To fix the error with gcc-15. http://errors.yoctoproject.org/Errors/Details/851189/ ../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope 47 | static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) { | ^~~~~~~ ../git/include/perfetto/ext/tracing/core/slice.h:25:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' 24 | #include <string> +++ |+#include <cstdint>
Signed-off-by mark.yang <[email protected]>
---
v2: Backported the patch
meta-oe/recipes-devtools/perfetto/perfetto.bb | 1 + ...udes-for-the-build-with-use_libcxx_m.patch | 105 ++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch
meta-oe/recipes-devtools/perfetto/perfetto.bb +1 -0
@@ -28,6 +28,7 @@ SRC_URI:append = " \ \ file://0001-Remove-check_build_deps-build-steps.patch \ file://0002-traced-fix-missing-include.patch \ + file://0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch \ " SRCREV_bionic = "a0d0355105cb9d4a4b5384897448676133d7b8e2"
meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch new file +105 -0
105 lines not on this page · raw message