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
Platform: aarch64-linux-gnu Ubuntu 18.04 (Tegra)
system libssl version: 1.1.1
cargo-c built with: cargo install cargo-c --locked because #159
Thanks for the excellent project. Unfortunately running into a bit of trouble running it.
user@host:~/Projects/cargo-c$ cargo ctest
Updating crates.io index
Bus error (core dumped)
user@host:~/Projects/cargo-c$ gdb --args cargo ctest
GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cargo...done.
(gdb) run
Starting program: /home/user/.cargo/bin/cargo ctest
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
process 7261 is executing new program: /home/user/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin/cargo
BFD: warning: /home/user/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin/cargo: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
BFD: warning: /home/user/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin/cargo: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
BFD: warning: /home/user/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin/cargo: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
BFD: warning: /home/user/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin/cargo: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
process 7261 is executing new program: /home/user/.cargo/bin/cargo-ctest
BFD: warning: /home/user/.cargo/bin/cargo-ctest: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
BFD: warning: /home/user/.cargo/bin/cargo-ctest: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
BFD: warning: /home/user/.cargo/bin/cargo-ctest: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
BFD: warning: /home/user/.cargo/bin/cargo-ctest: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Updating crates.io index
Program received signal SIGBUS, Bus error.
0x0000005555c9dba0 in git_repository.configmap_lookup ()
(gdb) bt
#0 0x0000005555c9dba0 in git_repository.configmap_lookup ()
#1 0x0000005555cd5258 in git_reference_lookup_resolved ()
#2 0x0000005555c917e8 in git_branch_lookup ()
#3 0x0000005555c81dc4 in git2::repo::Repository::find_branch ()
#4 0x0000005555a5b50c in cargo::sources::git::utils::<impl cargo::core::source::source_id::GitReference>::resolve ()
#5 0x0000005555958728 in cargo::sources::git::utils::fetch ()
#6 0x0000005555a5cdd0 in <cargo::sources::registry::remote::RemoteRegistry as cargo::sources::registry::RegistryData>::update_index ()
#7 0x0000005555a040ac in <cargo::sources::registry::RegistrySource as cargo::core::source::Source>::update ()
#8 0x0000005555a7f50c in cargo::core::registry::PackageRegistry::ensure_loaded ()
#9 0x0000005555a80e04 in <cargo::core::registry::PackageRegistry as cargo::core::registry::Registry>::query ()
#10 0x000000555591562c in cargo::core::resolver::dep_cache::RegistryQueryer::query ()
#11 0x0000005555a238a8 in <core::iter::adapters::ResultShunt<I,E> as core::iter::traits::iterator::Iterator>::next ()
#12 0x0000005555aa6ee4 in <alloc::vec::Vec<T> as alloc::vec::SpecFromIter<T,I>>::from_iter ()
#13 0x0000005555917df8 in cargo::core::resolver::dep_cache::RegistryQueryer::build_deps ()
#14 0x0000005555ae0320 in cargo::core::resolver::activate ()
#15 0x0000005555adc830 in cargo::core::resolver::activate_deps_loop ()
#16 0x0000005555adb468 in cargo::core::resolver::resolve ()
#17 0x000000555591ade4 in cargo::ops::resolve::resolve_with_previous ()
#18 0x000000555591949c in cargo::ops::resolve::resolve_with_registry ()
#19 0x0000005555918ae4 in cargo::ops::resolve::resolve_ws_with_opts ()
#20 0x00000055558bcf64 in cargo::ops::cargo_compile::create_bcx ()
#21 0x00000055558bc8d4 in cargo::ops::cargo_compile::compile_ws ()
#22 0x00000055558bc800 in cargo::ops::cargo_compile::compile ()
#23 0x0000005555614938 in cargo_c::build::cbuild ()
#24 0x0000005555601f60 in cargo_ctest::main ()
#25 0x00000055555f5e78 in std::sys_common::backtrace::__rust_begin_short_backtrace ()
#26 0x00000055555f5f6c in std::rt::lang_start::{{closure}} ()
#27 0x0000005555dfd758 in core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once ()
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:259
#28 std::panicking::try::do_call () at library/std/src/panicking.rs:381
#29 std::panicking::try () at library/std/src/panicking.rs:345
#30 std::panic::catch_unwind () at library/std/src/panic.rs:396
#31 std::rt::lang_start_internal () at library/std/src/rt.rs:51
#32 0x0000005555602348 in main ()
(gdb)
Any ideas would be greatly appreciated. I'm assuming this is aarch64 specific?
The text was updated successfully, but these errors were encountered:
$ cargo cbuild
Compiling libc v0.2.84
Compiling thething v0.1.1 (/home/anzu/Projects/thething)
Finished dev [unoptimized + debuginfo] target(s) in 9.33s
Building pkg-config file
Building pkg-config file
Building header file using cbindgen
Platform: aarch64-linux-gnu Ubuntu 18.04 (Tegra)
system libssl version:
1.1.1
cargo-c built with:
cargo install cargo-c --locked
because #159Thanks for the excellent project. Unfortunately running into a bit of trouble running it.
Any ideas would be greatly appreciated. I'm assuming this is aarch64 specific?
The text was updated successfully, but these errors were encountered: