You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ld.lld: error: undefined symbol: std::string::compare(char const*) const
>>> referenced by ArchUtils.cpp
>>> ArchUtils.cpp.o:(parseArchType(char const*)) in archive experimental/seungduk.kim/test/banana/linux_arm64/libbanana_static.a
ld.lld: error: undefined symbol: std::_Rb_tree_increment(std::_Rb_tree_node_base const*)
>>> referenced by ModelDetector.cpp
>>> ModelDetector.cpp.o:(banana::ModelDetector::saveModel(std::string const&) const) in archive experimental/seungduk.kim/test/banana/linux_arm64/libbanana_static.a
>>> referenced by ModelDetector.cpp
>>> ModelDetector.cpp.o:(banana::ModelDetector::saveModel(std::string const&) const) in archive experimental/seungduk.kim/test/banana/linux_arm64/libbanana_static.a
>>> referenced by ModelDetector.cpp
>>> ModelDetector.cpp.o:(banana::ModelDetector::saveModel(std::string const&) const) in archive experimental/seungduk.kim/test/banana/linux_arm64/libbanana_static.a
>>> referenced 8 more times
ld.lld: error: undefined symbol: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)
>>> referenced by ModelDetector.cpp
>>> ModelDetector.cpp.o:(banana::ModelDetector::countNgram(banana::ModelDetector::Counter&, std::function<std::basic_string<char16_t, std::char_traits<char16_t>, std::allocator<char16_t>> ()> const&, unsigned long, unsigned long) const) in archive experimental/seungduk.kim/test/banana/linux_arm64/libbanana_static.a
>>> referenced by ModelDetector.cpp
>>> ModelDetector.cpp.o:(banana::ModelDetector::countNgram(banana::ModelDetector::Counter&, std::function<std::basic_string<char16_t, std::char_traits<char16_t>, std::allocator<char16_t>> ()> const&, unsigned long, unsigned long) const) in archive experimental/seungduk.kim/test/banana/linux_arm64/libbanana_static.a
compilepkg: error running subcommand external/zig_sdk/tools/aarch64-linux-gnu.2.28/c++: exit status 1
Target //experimental/seungduk.kim/test:test failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 32.203s, Critical Path: 31.75s
INFO: 5 processes: 2 internal, 3 darwin-sandbox.
FAILED: Build did NOT complete successfully
I also tried @zig_sdk//toolchain:linux_arm64_musl but nothing worked. I am using a darwin_arm64 machine and every targets of darwin (darwin_arm64, darwin_amd64) works well.
The error messages seem like all standard libraries failed to be linked. Any thoughts?
Thank you!
The text was updated successfully, but these errors were encountered:
Hello there,
First of all, thanks for the great work.
Using the following rule, I am trying to integrate a CPP library into a Go package.
It requires a toolchain, so I imported
bazel-zig-cc
in WORKSPACE.And I ran the following command.
Running the command above resulted the following.
I also tried @zig_sdk//toolchain:linux_arm64_musl but nothing worked. I am using a darwin_arm64 machine and every targets of darwin (darwin_arm64, darwin_amd64) works well.
The error messages seem like all standard libraries failed to be linked. Any thoughts?
Thank you!
The text was updated successfully, but these errors were encountered: