Git Product home page Git Product logo

Comments (9)

aswaterman avatar aswaterman commented on August 17, 2024

This is fixed on the branch I'm about to merge into master https://github.com/riscv/riscv-tools/tree/bump-gcc

from riscv-tools.

aopenna avatar aopenna commented on August 17, 2024

I have the same problem when building. @aswaterman did you need any help on your current work on this issue?

from riscv-tools.

aswaterman avatar aswaterman commented on August 17, 2024

I will fix this tonight

from riscv-tools.

aopenna avatar aopenna commented on August 17, 2024

Thanks a lot!!

from riscv-tools.

aswaterman avatar aswaterman commented on August 17, 2024

So, I can't merge this upstream tonight, because of an unrelated problem with riscv-tools. In the mean time, check out this branch https://github.com/riscv/riscv-tools/tree/bump-gcc -- build.sh will fail, but you should have better luck with build-rv32ima.sh in the mean time.

from riscv-tools.

aswaterman avatar aswaterman commented on August 17, 2024

By the way, Merry Christmas.

from riscv-tools.

aopenna avatar aopenna commented on August 17, 2024

Merry Christimas to you too! thanks a lot, i willl try it.

from riscv-tools.

aopenna avatar aopenna commented on August 17, 2024

Hi @aswaterman. In order to correctly compile rv32ima in the bump-gcc branch, i had to fix some errors that arise from gdbserver.cc and debugmodule.cc. Attached are the files with my corrections. If you think it is relevant fix, please commit it to bump-gcc branch since I a noob on git and don't know how to commit changes on submodules.

file: riscv-tools.tar.gz

Errors was all like that:
../riscv/gdbserver.cc: In member function ‘void gdbserver_t::write()’: ../riscv/gdbserver.cc:1601:34: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (unsigned int i = 0; i < bytes; i++) { ^ ../riscv/gdbserver.cc: In member function ‘void gdbserver_t::process_requests()’: ../riscv/gdbserver.cc:1672:28: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::vector<unsigned char>::size_type {aka unsigned int}’ [-Werror=format=] packet.size()); ^ ../riscv/gdbserver.cc: In member function ‘void gdbserver_t::handle_packet(const std::vector<unsigned char>&)’: ../riscv/gdbserver.cc:2083:86: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::vector<unsigned char>::size_type {aka unsigned int}’ [-Werror=format=]

from riscv-tools.

timsifive avatar timsifive commented on August 17, 2024

This works for me today.

from riscv-tools.

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.