bazel-native: fix compile failure on gcc 13
PATCH 1/3 bazel-native: fix compile failure on gcc 13
From: Hongxu Jia <[email protected]>
external/com_google_absl/absl/strings/internal/str_format/extension.h:34:33: error: found ':' in nested-name-specifier, expected '::'
34 | enum class FormatConversionChar : uint8_t;
Signed-off-by Hongxu Jia <[email protected]>
--- recipes-devtools/bazel/bazel-native_5.1.1.bb | 1 + .../0001-fix-compile-failure-on-gcc-13.patch | 71 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 recipes-devtools/bazel/files/0001-fix-compile-failure-on-gcc-13.patch
recipes-devtools/bazel/bazel-native_5.1.1.bb +1 -0
@@ -10,6 +10,7 @@ SRC_URI = "https://github.com/bazelbuild/bazel/releases/download/${PV}/bazel-${P file://0001-fix-unzip-command-not-found.patch \ file://0001-add-Yocto-native-sysroot-dir-to-the-default-Bazel-to.patch \ file://0001-cutsomize-native-toolchains-for-Yocto.patch \ + file://0001-fix-compile-failure-on-gcc-13.patch \ " inherit python3native
recipes-devtools/bazel/files/0001-fix-compile-failure-on-gcc-13.patch new file +71 -0
71 lines not on this page · raw message
Signature · 1 line
2.48.1
PATCH 2/3 bazel-native: fix build with gcc14
From: Anuj Mittal <[email protected]>
Backport patch to fix errors while building zlib. Fixes:
| external/bazel_tools/third_party/zlib/gzwrite.c: In function 'gz_comp': | external/bazel_tools/third_party/zlib/gzwrite.c:89:20: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] | 89 | writ = write(state->fd, strm->next_in, put); | | ^~~~~ | | fwrite | external/bazel_tools/third_party/zlib/gzwrite.c: In function 'gzclose_w': | external/bazel_tools/third_party/zlib/gzwrite.c:673:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] | 673 | if (close(state->fd) == -1) | | ^~~~~ | | pclose
Signed-off-by Anuj Mittal <[email protected]>
--- recipes-devtools/bazel/bazel-native_5.1.1.bb | 1 + ...3ed4ac717b814d02a0d125f160ddabe78003.patch | 57 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 recipes-devtools/bazel/files/1f2b3ed4ac717b814d02a0d125f160ddabe78003.patch
recipes-devtools/bazel/bazel-native_5.1.1.bb +1 -0
@@ -11,6 +11,7 @@ SRC_URI = "https://github.com/bazelbuild/bazel/releases/download/${PV}/bazel-${P file://0001-add-Yocto-native-sysroot-dir-to-the-default-Bazel-to.patch \ file://0001-cutsomize-native-toolchains-for-Yocto.patch \ file://0001-fix-compile-failure-on-gcc-13.patch \ + file://1f2b3ed4ac717b814d02a0d125f160ddabe78003.patch \ " inherit python3native
recipes-devtools/bazel/files/1f2b3ed4ac717b814d02a0d125f160ddabe78003.patch new file +57 -0
57 lines not on this page · raw message
Signature · 1 line
2.48.1
PATCH 3/3 MAINTAINERS.md: fix e-mail address
In reply to Martin Jansa[email protected] doesn't exist and yocto-patches is probably better than [email protected]
Signed-off-by Martin Jansa <[email protected]>
--- MAINTAINERS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS.md +1 -1
@@ -20,7 +20,7 @@ When sending patches please take a look at the contribution guide available here: https://wiki.yoctoproject.org/wiki/Contribution_Guidelines example: -git send-email -1 -M --to [email protected] --subject-prefix=meta-tensorflow][PATCH +git send-email -1 -M --to [email protected] --subject-prefix=meta-tensorflow][PATCH ``` ### 2. Github
Signature · 1 line
2.48.1