Giter Club home page Giter Club logo

Comments (27)

FULaBUla avatar FULaBUla commented on August 22, 2024

@Panxuefeng-loongson

from jna.

matthiasblaesing avatar matthiasblaesing commented on August 22, 2024

If anybody can point me to a mainstream linux distribution that supports loongarch64, I'm willing to have look. Currently I can't even access hosts of the gcc build farm, so at this point the next update of the native libraries will most probably loose support for loongarch64.

from jna.

Panxuefeng-loongson avatar Panxuefeng-loongson commented on August 22, 2024

with jna 5.13, i can use it in any linux platform with glibc2.28. but when i try to use loongarch platform with KylinOS v10 (glibc 2.28), it will tell me i need glibc2.36 but this system just support 2.28. In KylinOS v10 (glibc 2.28) for arm, i don't have this problem.

龙芯的 so 在银河麒麟v10 上跑的时候提示我 glibc 版本要求 2.36,但是银河麒麟用的是 2.28,这个是怎么适配的?没法用呀

I'm very sorry for not replying to you promptly, We have internally maintained JAR packages suitable for your working environment: http://maven.loongnix.cn/loongarchabi1/maven/net/java/dev/jna/jna/

from jna.

Panxuefeng-loongson avatar Panxuefeng-loongson commented on August 22, 2024

If anybody can point me to a mainstream linux distribution that supports loongarch64, I'm willing to have look. Currently I can't even access hosts of the gcc build farm, so at this point the next update of the native libraries will most probably loose support for loongarch64.

Oops, this is our mistake. I will get back to you as soon as possible to ensure that the JNA JAR package can be released properly.

from jna.

Panxuefeng-loongson avatar Panxuefeng-loongson commented on August 22, 2024

with jna 5.13, i can use it in any linux platform with glibc2.28. but when i try to use loongarch platform with KylinOS v10 (glibc 2.28), it will tell me i need glibc2.36 but this system just support 2.28. In KylinOS v10 (glibc 2.28) for arm, i don't have this problem.
龙芯的 so 在银河麒麟v10 上跑的时候提示我 glibc 版本要求 2.36,但是银河麒麟用的是 2.28,这个是怎么适配的?没法用呀

I'm very sorry for not replying to you promptly, We have internally maintained JAR packages suitable for your working environment: http://maven.loongnix.cn/loongarchabi1/maven/net/java/dev/jna/jna/

FYI: This URL contains some common architecture-related JAR files on the LoongArch platform. Feel free to download them if you need.

from jna.

CodeyHunter avatar CodeyHunter commented on August 22, 2024

with jna 5.13, i can use it in any linux platform with glibc2.28. but when i try to use loongarch platform with KylinOS v10 (glibc 2.28), it will tell me i need glibc2.36 but this system just support 2.28. In KylinOS v10 (glibc 2.28) for arm, i don't have this problem.
龙芯的 so 在银河麒麟v10 上跑的时候提示我 glibc 版本要求 2.36,但是银河麒麟用的是 2.28,这个是怎么适配的?没法用呀

I'm very sorry for not replying to you promptly, We have internally maintained JAR packages suitable for your working environment: http://maven.loongnix.cn/loongarchabi1/maven/net/java/dev/jna/jna/

FYI: This URL contains some common architecture-related JAR files on the LoongArch platform. Feel free to download them if you need.

Hi , can you provide 5.14.0 version in loongarch platform .

from jna.

Panxuefeng-loongson avatar Panxuefeng-loongson commented on August 22, 2024

with jna 5.13, i can use it in any linux platform with glibc2.28. but when i try to use loongarch platform with KylinOS v10 (glibc 2.28), it will tell me i need glibc2.36 but this system just support 2.28. In KylinOS v10 (glibc 2.28) for arm, i don't have this problem.
龙芯的 so 在银河麒麟v10 上跑的时候提示我 glibc 版本要求 2.36,但是银河麒麟用的是 2.28,这个是怎么适配的?没法用呀

I'm very sorry for not replying to you promptly, We have internally maintained JAR packages suitable for your working environment: http://maven.loongnix.cn/loongarchabi1/maven/net/java/dev/jna/jna/

FYI: This URL contains some common architecture-related JAR files on the LoongArch platform. Feel free to download them if you need.

Hi , can you provide 5.14.0 version in loongarch platform .

Certainly, but the JNA 5.14.0 version that is compatible with glibc 2.28 has not yet been uploaded to the Loongson Maven repo. So, you can contact me via email at: [email protected].

from jna.

Panxuefeng-loongson avatar Panxuefeng-loongson commented on August 22, 2024

If anybody can point me to a mainstream linux distribution that supports loongarch64, I'm willing to have look. Currently I can't even access hosts of the gcc build farm, so at this point the next update of the native libraries will most probably loose support for loongarch64.

The machine with the IP address 111.207.111.194 on the GCC build farm is currently accessible. We are actively working on adapting to Debian, and there may be a Debian distribution available later this year.

from jna.

FULaBUla avatar FULaBUla commented on August 22, 2024

If anybody can point me to a mainstream linux distribution that supports loongarch64, I'm willing to have look. Currently I can't even access hosts of the gcc build farm, so at this point the next update of the native libraries will most probably loose support for loongarch64.

maybe you can try UOS or KylinOS V10 SP3. we are using KylinOS V10 SP3 now for our server.

from jna.

matthiasblaesing avatar matthiasblaesing commented on August 22, 2024

@Panxuefeng-loongson

The machine with the IP address 111.207.111.194 on the GCC build farm is currently accessible.

Thanks for checking. Seems the problem might be the network I see roundtrip times in the range of 400ms and I get ssh timeouts. I see that from my private account (routed via sprintlink) and my vserver (routed via level3) with me localized in germany.

We are actively working on adapting to Debian, and there may be a Debian distribution available later this year.

That would be great. Having a debian stable build for loongarch would be a great help!

@FULaBUla

Thank you for the pointers, but I hit a hard language barrier, are there pages available in english?

from jna.

FULaBUla avatar FULaBUla commented on August 22, 2024

@Panxuefeng-loongson

The machine with the IP address 111.207.111.194 on the GCC build farm is currently accessible.

Thanks for checking. Seems the problem might be the network I see roundtrip times in the range of 400ms and I get ssh timeouts. I see that from my private account (routed via sprintlink) and my vserver (routed via level3) with me localized in germany.

We are actively working on adapting to Debian, and there may be a Debian distribution available later this year.

That would be great. Having a debian stable build for loongarch would be a great help!

@FULaBUla

Thank you for the pointers, but I hit a hard language barrier, are there pages available in english?

@matthiasblaesing
KylinOS:please use torrent file to download. There are 3 files in this zip file. one is for arm64, the other is for amd64 and the other is for loongarch64. you can distinguish them by file name.
Kylin-Server-V10-SP3-General-Release-2303.zip

UOS:please try this url https://cdimage-download.chinauos.com/server/1060/uos-server-20-1060-loongarch64.iso?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MDY4NDgwOTksImZpbGVfbmFtZSI6InNlcnZlci8xMDYwL3Vvcy1zZXJ2ZXItMjAtMTA2MC1sb29uZ2FyY2g2NC5pc28ifQ.4qO_t82kxm2zdd7HWhw6gtaLY5rhIv_lEfqSHOSQ_0o or https://cdimage-download.chinauos.com/server/1060/uos-server-20-1060-loongarch64.iso.

And this is UOS download page https://www.chinauos.com/resource/download-server, you can try visit it by using Microsoft Edge Translation.
image, you can download any image for your platform by click blue button '镜像下载'[image download] then click '下载'(download) to start download.
image

from jna.

matthiasblaesing avatar matthiasblaesing commented on August 22, 2024

@FULaBUla thanks again. Download of Kylin works. The next problem is running it. I was naive and tough that it should not be that hard to run a live system in qemu. I was naive and thought that qemu would provide a virtual GPU/VGA and that would be automatically be picked up. This works great on amd64, but utterly fails with the kylin image.

from jna.

FULaBUla avatar FULaBUla commented on August 22, 2024

@FULaBUla thanks again. Download of Kylin works. The next problem is running it. I was naive and tough that it should not be that hard to run a live system in qemu. I was naive and thought that qemu would provide a virtual GPU/VGA and that would be automatically be picked up. This works great on amd64, but utterly fails with the kylin image.

I just use vmware to install and run KylinOS for arm64. If you use KylinOS for loongson with qemu, i think you need to install loongson for qemu first.
https://blog.csdn.net/longji/article/details/132724349
https://zhuanlan.zhihu.com/p/626169693
https://blog.csdn.net/mxcai2005/article/details/129631722
https://github.com/sunhaiyong1978/CLFS-for-LoongArch/blob/main/Qemu_For_LoongArch64.md

Or maybe you need to upgrade your qemu version to 8.2
https://www.ithome.com/0/740/750.htm

from jna.

matthiasblaesing avatar matthiasblaesing commented on August 22, 2024

sigh it would be great if the resources would be in english (yes I know, that I can as google/deepl/whatever to translate). I'll see where this leads me....

from jna.

matthiasblaesing avatar matthiasblaesing commented on August 22, 2024

I was finally able to get Kylin working and learned, that the gcc provided by is is missing defines for the floating point ABI. The build fails with "unsupported LoongArch floating-point ABI". The error is raised in native/libffi/src/loongarch64/ffitarget.h, where __loongarch64 is defined, but neither __longarch_soft_float, __longarch_single_float nor __longarch_single_double.

So the mess continues. It would be really great if one of the mainstream linux distributions would be supported or the users would be prepared to be on a moving target and update to current library versions....

from jna.

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.