Skip to content

Fuchsia x86 builds on Mac fail to link. #81135

@chinmaygarde

Description

@chinmaygarde

I am pretty sure this is a Mac host specific issue as CI is fine and it may be that there is no Mac CI infra that builds Fuchsia artifacts.

ninja: Entering directory `out/fuchsia_debug_x64'
[143/3684] LINK ./fml_benchmarks
FAILED: exe.unstripped/fml_benchmarks fml_benchmarks 
/Users/chinmaygarde/VersionControlled/depot_tools/.cipd_bin/gomacc  ../../buildtools/mac-x64/clang/bin/clang++ --target=x86_64-fuchsia --sysroot ../../fuchsia/sdk/mac/arch/x64/sysroot  -Wl,--fatal-warnings -m64 -Wl,-O2 -Wl,--gc-sections -Wl,--as-needed -o ./exe.unstripped/fml_benchmarks -Wl,--build-id=sha1 -Wl,--start-group @./fml_benchmarks.rsp  -Wl,--end-group ../../fuchsia/sdk/mac/arch/x64/lib/libasync-loop-default.a ../../fuchsia/sdk/mac/arch/x64/lib/libasync-default.so ../../fuchsia/sdk/mac/arch/x64/lib/libsyslog.so ../../fuchsia/sdk/mac/arch/x64/lib/libfdio.so ../../fuchsia/sdk/mac/arch/x64/lib/libtrace-engine.so && ../../buildtools/mac-x64/clang/bin/llvm-strip -o ./fml_benchmarks ./exe.unstripped/fml_benchmarks
ld.lld: error: undefined symbol: zx_clock_get_monotonic
>>> referenced by time_point.cc:21 (../../flutter/fml/time/time_point.cc:21)
>>>               obj/flutter/fml/time/fml.time_point.o:(fml::TimePoint::Now())
clang-13: error: ld.lld command failed with exit code 1 (use -v to see invocation)
[1141/3684] ACTION //third_party/dart/runtime/observatory:build_observatory(//build/toolchain/mac:clang_x64)
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine related. See also e: labels.platform-fuchsiaFuchsia code specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions