Description
I can't build Mozc by gcc-14.1.1 20240507.
Commit-id
d569f61
Build target
- Docker build for Linux and Android-lib
CI build status
- passing
Environment
- OS: Arch Linux
- Compiler version (optional): gcc-14.1.1 20240507
Build commands
Steps of command lines to reproduce your error.
- cd src/
- bazel build package --config oss_linux -c opt
Error logs
INFO: From Compiling src/google/protobuf/arena.cc:
external/com_google_protobuf/src/google/protobuf/arena.cc: In member function 'void* google::protobuf::internal::SerialArena::AllocateAlignedFallback(size_t)':
external/com_google_protobuf/src/google/protobuf/arena.cc:194:10: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
194 | return ret;
| ^~~
external/com_google_protobuf/src/google/protobuf/arena.cc:191:9: note: 'ret' was declared here
191 | void* ret;
| ^~~
ERROR: /home/user/.cache/bazel/_bazel_user/3b071445677b72e8d401337ab1a5c4ad/external/com_google_protobuf/src/google/protobuf/BUILD.bazel:548:11: Compiling src/google/protobuf/map_field.cc [for tool] failed: (Exit 1): gcc failed: error executing CppCompile command (from target @@com_google_protobuf//src/google/protobuf:protobuf) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 62 arguments skipped)
Additional context
I can build mozc by gcc-13.2.1 20240417.
cd /usr/bin/
sudo mv gcc gcc-14
sudo mv gcc-13 gcc
bazel build package --config oss_linux -c opt
Thank you for developing Mozc.
Description
I can't build Mozc by gcc-14.1.1 20240507.
Commit-id
d569f61
Build target
CI build status
Environment
Build commands
Steps of command lines to reproduce your error.
Error logs
Additional context
I can build mozc by gcc-13.2.1 20240417.
Thank you for developing Mozc.