这是indexloc提供的服务,不要输入任何密码
Skip to content

Failed to compile with bazel-7.2.0 (on arm64) #359

@DwarKapex

Description

@DwarKapex

We updated the bazel version recently (from 7.1.2 to 7.2.0) and it started failing to build from source with the linker issue:

#13 357.0 [62 / 67] Compiling third_party/icu/data/conversion_data.c; 0s processwrapper-sandbox ... (2 actions running)
#13 358.8 Analyzing: 539 targets (130 packages loaded, 9117 targets configured)
#13 358.8 [64 / 67] [Prepa] Linking third_party/icu/data/libconversion_data.lo ... (3 actions, 0 running)
#13 358.9 ERROR: /opt/lingvo/third_party/icu/data/BUILD.bazel:37:11: Linking third_party/icu/data/libconversion_data.so failed: (Exit 1): gcc failed: error executing CppLink command (from target //third_party/icu/data:conversion_data) /usr/bin/gcc @bazel-out/aarch64-opt/bin/third_party/icu/data/libconversion_data.so-2.params
#13 358.9 
#13 358.9 Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
#13 358.9 ld.lld: error: unable to find library -lrt -lm
#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions