-
Notifications
You must be signed in to change notification settings - Fork 430
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
abi: new module #1231
base: dev
Are you sure you want to change the base?
abi: new module #1231
Conversation
Support probing LoongArch ABI features at first.
JSON output format: // ./fastfetch -s abi -l none --format json
[
{
"type": "ABI",
"result": {
"compats": [
{
"name": "fastfetch program",
"desc": "New world (ABI2.0)"
},
{
"name": "LoongArch new world",
"desc": "Supported (Linux 6.11)"
},
{
"name": "LoongArch old world",
"desc": "Supported (compatible)"
}
],
"features": [
{
"name": "new-world signals",
"supported": true
},
{
"name": "old-world signals",
"supported": true
},
{
"name": "fstat & newfstatat",
"supported": true
},
{
"name": "getrlimit & setrlimit",
"supported": true
}
]
}
}
] |
Hello there. Although I'm from PRC, I personally don't and maybe will never use loongson. So do major users of fastfetch. If this module is only used for Linux / loongson, I don't think it's worth merging. |
#1214 |
It didn't introduce a new module, and the code was fairly simple and not platform specific. |
Other architectures' users may benefit from it too, just that they probably won't have the "new/old world split" issue, but rather real calling conventions (think x86 x32, or RISC-V RV64ILP32). I only contributed the one support for LoongArch mainly because I only had this much free time today. Besides, I could not implement more arch support, because my work machine is LoongArch, and I don't have easy access to exotic ABI boxes of other "more popular" arches. ¯\_(ツ)_/¯ |
Got it. Thanks for the answer. |
Support probing LoongArch ABI features at first.
On a box running Linux 6.10.6 (with the 6.11 syscall interface update backported), with the libLoL old-world compatibility solution activated: