Giter VIP home page Giter VIP logo

Comments (4)

yvt avatar yvt commented on July 24, 2024 2

I've been looking into this issue since a CI failure in my project. Here's a minimal reproducing example:

git clone https://github.com/riscv-rust/longan-nano.git
cd longan-nano
cat > rust-toolchain.toml <<EOF
[toolchain]
channel = "nightly-2022-08-13"  # earliest reproducing nightly
targets = ["riscv32imac-unknown-none-elf"]
EOF
cargo build --release --example blinky
...
  = note: rust-lld: error: /tmp/longan-nano/target/riscv32imac-unknown-none-elf/release/build/riscv-rt-b6ada1d0dd9918f5/out/link.x:58: expected filename pattern
          >>>     (*(.trap));
          >>>     ^

nightly-2022-08-13 upgraded LLVM to version 15 (rust-lang/rust#99464), which includes a bug fix in LLD (https://reviews.llvm.org/D125523) to handle this syntax as an error.

from riscv-rt.

Disasm avatar Disasm commented on July 24, 2024 1

Hi! Could you post a minimal example somewhere which reveals the problem?

from riscv-rt.

Tnze avatar Tnze commented on July 24, 2024 1

Thanks for the fix! A version should be published so we can update in our project's Cargo.toml

from riscv-rt.

adamgreig avatar adamgreig commented on July 24, 2024 1

This now affects the latest stable 1.65.0, so it might be worth publishing 0.9.1 with the fix?

from riscv-rt.

Related Issues (20)

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.