紫红色的构建在我的Mac上失败,短暂的错误是“ dyld:格式错误的mach-o图像:缺少LC_DYSYMTAB”

我遵循官方安装指南,执行fx build后,会引发错误。

ths-MacBook-Pro:fuchsia th ((HEAD detached at 93891f764d))$ fx build
WARNING: Please opt in or out of fx metrics collection.
You will receive this warning until an option is selected.
To check what data we collect,run `fx metrics`
To opt in or out,run `fx metrics <enable|disable>

ninja: Entering directory `/Users/th/source/fuchsia/out/default.zircon'
ninja: no work to do.
ninja: Entering directory `/Users/th/source/fuchsia/out/default'
[14/41285] actION //garnet/public/lib/fostr/test/fuchsia.example.fostr:fuchsia.example.fostr_compile(//build/fidl:fidling)
FAILED: fidling/gen/garnet/public/lib/fostr/test/fuchsia.example.fostr/fuchsia/example/fostr/c/fidl.client.c fidling/gen/garnet/public/lib/fostr/test/fuchsia.example.fostr/fuchsia/example/fostr/c/fidl.h fidling/gen/garnet/public/lib/fostr/test/fuchsia.example.fostr/fuchsia/example/fostr/c/fidl.server.c fidling/gen/garnet/public/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr.fidl.tables.cc fidling/gen/garnet/public/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr.fidl.json 
/usr/bin/env ../../build/gn_run_binary.sh ../../prebuilt/third_party/clang/mac-x64/bin host_x64/fidlc @fidling/gen/garnet/public/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr.args
dyld: malformed mach-o image: missing LC_DYSYMTAB
[17/41285] actION //garnet/public/lib/fidl/llcpp:fidl.llcpp.types.test_compile(//build/fidl:fidling)
FAILED: fidling/gen/garnet/public/lib/fidl/llcpp/fidl/llcpp/types/test/c/fidl.client.c fidling/gen/garnet/public/lib/fidl/llcpp/fidl/llcpp/types/test/c/fidl.h fidling/gen/garnet/public/lib/fidl/llcpp/fidl/llcpp/types/test/c/fidl.server.c fidling/gen/garnet/public/lib/fidl/llcpp/fidl.llcpp.types.test.fidl.tables.cc fidling/gen/garnet/public/lib/fidl/llcpp/fidl.llcpp.types.test.fidl.json 
/usr/bin/env ../../build/gn_run_binary.sh ../../prebuilt/third_party/clang/mac-x64/bin host_x64/fidlc @fidling/gen/garnet/public/lib/fidl/llcpp/fidl.llcpp.types.test.args
dyld: malformed mach-o image: missing LC_DYSYMTAB
[18/41285] actION //garnet/public/lib/fidl/llcpp:llcpptest.flexible.test_compile(//build/fidl:fidling)
FAILED: fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/flexible/test/c/fidl.client.c fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/flexible/test/c/fidl.h fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/flexible/test/c/fidl.server.c fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.flexible.test.fidl.tables.cc fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.flexible.test.fidl.json 
/usr/bin/env ../../build/gn_run_binary.sh ../../prebuilt/third_party/clang/mac-x64/bin host_x64/fidlc @fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.flexible.test.args
dyld: malformed mach-o image: missing LC_DYSYMTAB
[19/41285] actION //garnet/public/lib/fidl/llcpp:llcpptest.protocol.test_compile(//build/fidl:fidling)
FAILED: fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/protocol/test/c/fidl.client.c fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/protocol/test/c/fidl.h fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/protocol/test/c/fidl.server.c fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.protocol.test.fidl.tables.cc fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.protocol.test.fidl.json 
/usr/bin/env ../../build/gn_run_binary.sh ../../prebuilt/third_party/clang/mac-x64/bin host_x64/fidlc @fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.protocol.test.args
dyld: malformed mach-o image: missing LC_DYSYMTAB
[20/41285] actION //garnet/public/lib/fidl/llcpp:llcpptest.transitional.test_compile(//build/fidl:fidling)
FAILED: fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/transitional/test/c/fidl.client.c fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/transitional/test/c/fidl.h fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest/transitional/test/c/fidl.server.c fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.transitional.test.fidl.tables.cc fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.transitional.test.fidl.json 
/usr/bin/env ../../build/gn_run_binary.sh ../../prebuilt/third_party/clang/mac-x64/bin host_x64/fidlc @fidling/gen/garnet/public/lib/fidl/llcpp/llcpptest.transitional.test.args
dyld: malformed mach-o image: missing LC_DYSYMTAB
[21/41285] actION //topaz/runtime/dart_runner/examples/goodbye_dart:goodbye_dart_aot_stats(//build/toolchain/fuchsia:x64)
ninja: build stopped: subcommand failed.
Hint: run `fx build` with the option `--log LOGFILE` to generate a debug log if you are reporting a bug.

我在Google上搜索了此错误,但无法解决。

我根本不知道如何调试它。

有什么想法吗?谢谢。

lnaszzl 回答:紫红色的构建在我的Mac上失败,短暂的错误是“ dyld:格式错误的mach-o图像:缺少LC_DYSYMTAB”

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3125340.html

大家都在问