Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build CoreCLR on MIPS64EL platform (which is Loongson-3a3000) #8

Open
QiaoVanke opened this issue Jun 29, 2020 · 11 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@QiaoVanke
Copy link

If you have got the Loongson-3A3000 or 3A4000 PC, which is mips64el processor,

on the Fedora21-linux platform, you can get an clang8 compiler rpm-package by the following addrs,

download-addrs: https://pan.baidu.com/s/1Qxs61ApXseX1iePFNk17yw
download-word: p2gc

NOTE:
installing the rpm maybe depending on the z3,
yum install z3.mips64el if needed.

enter the coreclr directory and compile using command " ./build.sh -mips64 ignorewarnings"

@FlyGoat
Copy link

FlyGoat commented Jun 30, 2020

Where can I find the source of this clang toolchain?

@QiaoVanke
Copy link
Author

clang toolchain

Now this is only upload to our internal-gerrit.
I'm not sure whether you can get it from the loongnix website.
If can not get it, will be opened later.

@QiaoVanke
Copy link
Author

If you have got the Loongson-3A3000 or 3A4000 PC, which is mips64el processor,

on the Fedora21-linux platform, you can get an clang8 compiler rpm-package by the following addrs,

download-addrs: https://pan.baidu.com/s/1Qxs61ApXseX1iePFNk17yw
download-word: p2gc

NOTE:
installing the rpm maybe depending on the z3,
yum install z3.mips64el if needed.

enter the coreclr directory and compile using command " ./build.sh -mips64 ignorewarnings"

upload a new rpm-package:
download-addrs: https://pan.baidu.com/s/1iSgB6dX6_MrbB3WLHdiYyg
download-word: iqp3

@FlyGoat
Copy link

FlyGoat commented Jul 2, 2020

@QiaoVanke

I was trying to bootstrap CoreCLR in Debian, unfortunately it can't be done without source.
Wish it will be available soon.
Anyway, thanks for your and gsvm team's effort!

@theaoqi
Copy link

theaoqi commented Jul 2, 2020

@FlyGoat , we are writing some debugging documents for new beginners. If you have any suggestions, please let us know.
@xiangzhai

@FlyGoat
Copy link

FlyGoat commented Jul 2, 2020

@theaoqi
I'm absolutely dumb to C# and have only a little bit knowledge about JIT so I afraid I can't provide valuable input.

What do you meant by debugging? Debug JIT issue or debug C# code?

@xiangzhai
Copy link

@FlyGoat Debugging JIT codegen.

@xiangzhai xiangzhai added the question Further information is requested label Jul 3, 2020
@FlyGoat
Copy link

FlyGoat commented Jul 3, 2020

@FlyGoat Debugging JIT codegen.

I'm interested in how to trace "Who generated the code?".
I'm too dumb to do general development but maybe can help with tracing some crashes.
So I'd appreciate if there are some instructions about how to determine the purpose of generated code.

@xiangzhai
Copy link

I'm interested in how to trace "Who generated the code?"

I will add this instruction into the debugging-instructions.md.

@theaoqi theaoqi added documentation Improvements or additions to documentation and removed question Further information is requested labels Jul 4, 2020
@QiaoVanke
Copy link
Author

@FlyGoat , we are writing some debugging documents for new beginners. If you have any suggestions, please let us know.
@xiangzhai

sorry to late reponse!
Later @xiangzhai will update the document for how to building the CoreCLR, you can get the offical llvm-clang8 and make a deb-package. If you meet some questions, tell me that maybe I can give some help.

Thanks ~

@xiangzhai
Copy link

@FlyGoat http://ask.loongnix.org/?/article/689 debugging instructions in Chinese :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants