Giter Site home page Giter Site logo

dotnet_riscv's Introduction

Hi there ๐Ÿ‘‹

I am a software developer who works in the Industry but trying participate in educational or volunteering projects.

If you find my contributions helpful or just wanted to support:

Donate via YooMoney

dotnet_riscv's People

Contributors

dkurt avatar

Stargazers

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

Watchers

 avatar

dotnet_riscv's Issues

Not working on Beagle-V Fire

Some great work. Some feedback if its useful...

Installed 8.0.101 on a Beagle-V Fire running the latest Ubuntu 23.04 provided by BeagleBoard. Tried both gcc and non-gcc versions.

The following work:
dotnet
dotnet --list-sdks
dotnet --list-runtimes

The following give "Bus error"
dotnet --help
dotnet --version
dotnet --info
dotnet new console -n HelloWorld

upstream dotnet/runtime: Optimizing assemblies for size failed

2024-01-12T12:17:21.3133546Z /__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets(138,5): error MSB6006: "dotnet" exited with code 134. [/__w/dotnet_riscv/dotnet_riscv/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj]
2024-01-12T12:17:21.3135316Z ##vso[task.logissue type=error;sourcepath=/__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets;linenumber=138;columnnumber=5;code=MSB6006;](NETCORE_ENGINEERING_TELEMETRY=Build) "dotnet" exited with code 134.
2024-01-12T12:17:21.3137867Z /__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets(91,5): error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. [/__w/dotnet_riscv/dotnet_riscv/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj]
2024-01-12T12:17:21.3140308Z ##vso[task.logissue type=error;sourcepath=/__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets;linenumber=91;columnnumber=5;code=NETSDK1144;](NETCORE_ENGINEERING_TELEMETRY=Build) Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false.
2024-01-12T12:17:21.3140329Z 
2024-01-12T12:17:21.3140472Z Build FAILED.
2024-01-12T12:17:21.3140481Z 
2024-01-12T12:17:21.3142309Z /__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets(138,5): error MSB6006: "dotnet" exited with code 134. [/__w/dotnet_riscv/dotnet_riscv/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj]
2024-01-12T12:17:21.3144905Z /__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets(91,5): error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. [/__w/dotnet_riscv/dotnet_riscv/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj]
2024-01-12T12:17:21.3145054Z     0 Warning(s)
2024-01-12T12:17:21.3145191Z     2 Error(s)

Unable to load sdk commands

I'm using following code to install the dotnet

DOTNET_FILE=dotnet-sdk-8.0.100-linux-riscv64.tar.gz
export DOTNET_ROOT=$(pwd)/.dotnet

mkdir -p "$DOTNET_ROOT" && tar zxf "$DOTNET_FILE" -C "$DOTNET_ROOT"

export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools

and create new console project by

dotnet new console -n HelloWorld

it report

The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application 'new' does not exist.
  * You intended to execute a .NET SDK command:
      No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet/download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found

it seems there is no sdk installed, but i think package dotnet-sdk-8.0.100-linux-riscv64.tar.gz has include the sdk already. I don't know why it can't find that.

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.