Giter Club home page Giter Club logo

template-bin's People

Contributors

dylanmckay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

template-bin's Issues

Build failed

Hi,
I tried to compile the template, but it failed. I tried it on Lubuntu 20.04 64 bit and on Ubuntu Mate 18.04 on a Odroid N2. I also tried the blink example with the same result. I followed the instructions in the Rust Avr book

odroid@odroid:~/dev/rustavr$ git clone https://github.com/avr-rust/template-bin.git
Klone nach 'template-bin' ...
remote: Enumerating objects: 68, done.
remote: Counting objects: 100% (68/68), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 68 (delta 27), reused 61 (delta 20), pack-reused 0
Entpacke Objekte: 100% (68/68), Fertig.
odroid@odroid:~/dev/rustavr$ cd template-bin/
odroid@odroid:~/dev/rustavr/template-bin$ rustup override set nightly
info: using existing install for 'nightly-aarch64-unknown-linux-gnu'
info: override toolchain for '/home/odroid/dev/rustavr/template-bin' set to 'nightly-aarch64-unknown-linux-gnu'

  nightly-aarch64-unknown-linux-gnu unchanged - rustc 1.48.0-nightly (8876ffc92 2020-10-02)

odroid@odroid:~/dev/rustavr/template-bin$ cargo build --target avr-atmega328p.json -Z build-std=core --release
    Updating crates.io index
  Downloaded avr-std-stub v1.0.2
  Downloaded 1 crate (2.7 KB) in 1.18s
   Compiling core v0.0.0 (/home/odroid/.rustup/toolchains/nightly-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling compiler_builtins v0.1.35
   Compiling rustc-std-workspace-core v1.99.0 (/home/odroid/.rustup/toolchains/nightly-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error: could not compile `core`

Caused by:
  process didn't exit successfully: `rustc --crate-name core --edition=2018 /home/odroid/.rustup/toolchains/nightly-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=df014d755aa4223c -C extra-filename=-df014d755aa4223c --out-dir /home/odroid/dev/rustavr/template-bin/target/avr-atmega328p/release/deps --target /home/odroid/dev/rustavr/template-bin/avr-atmega328p.json -Z force-unstable-if-unmarked -L dependency=/home/odroid/dev/rustavr/template-bin/target/avr-atmega328p/release/deps -L dependency=/home/odroid/dev/rustavr/template-bin/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: build failed

Any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.