Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
Closed #2540. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#event-10614020629 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
Closing due to lack of activity. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1756971991 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
OK, still someone needs to squash this and provide a proper commit message. I'll close this soonish otherwise. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1651883205 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
Yocto will probably wind up using this too, since they support the RPM stack with architectures like this. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1632250845 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
Okay, Fedora Riscv-32bit bootstrap. It seems a bit odd considering the comments above, but that's not a blocker of course. These will need more elaborate commit messages to summarize why this apparent breakage is not (summarize the above discussion). Also you'll need to supply a real name in the git commit, we don't accept patches from pseudonyms. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1610985363 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
@U2FsdGVkX1 pushed 1 commit. bb67e0b3b0684e6086cd45aff4cebae833478144 fix the wrong CANONCOLOR in installplatfor -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540/files/215bfadaf187ed568bdea7f84bdf1f895964e755..bb67e0b3b0684e6086cd45aff4cebae833478144 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
@pmatilai Hi, I'm currently a plct's internship and working on the Fedora RISCV 32 bit bootstrap due to this, I need to compile many rpm packages and noarch architectures will not compile in this environment, it says "no compatible architectures found for build" so I've simply fixed the problem, and maybe there's something else I haven't fixed -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1590598400 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
Thanks @rwmjones and @davidlt for the insight, I had no clue. @U2FsdGVkX1 - what's the environment you're running into this? If there's an actual use-case (distro or such) for riscv-32 now, it wouldn't hurt to have people aware of it. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1588741873 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
To my knowledge none of main distributions support 32-bit RISCV. OpenEmbedde definitely has it. Most likely the same applies to Buildroot too. There are no native riscv32 hardware available that would target Linux to my knowledge. It's mainly tested with QEMU. IIRC Alibaba/T-HEAD cores are `CONFIG_COMPAT` capable. At least of Fedora/RISCV side we have no plans to enable CONFIG_COMPAT. TL;DR There is very little interest in 32-bit RISCV + feature rich operating systems. Even the tiny and cheap boards with (or without) MMU that are Linux capable are 64-bit today. I don't think that anything uses `riscv` arch string. I didn't know it even existed. Everyone expects `riscv32`, `riscv64` and there are several derivates in other places (e.g. OpenEmbedded, FreeBSD IIRC). -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1588730208 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
I asked @davidlt to take a look, but just a few things ... We don't use 32 bit RISC-V in Fedora, and don't plan to, so to some extent we don't care about it. Note that 32 bit RISC-V machines are currently confined to tiny embedded systems that couldn't possibly run Linux. eg. They lack userspace mode, MMU, enough RAM, etc. Maybe they could in future, although it seems unlikely to ever be interesting to us. We don't use the base `riscv` architecture either. Our RPMs are `riscv64`. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1588713195 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
@U2FsdGVkX1 pushed 1 commit. 215bfadaf187ed568bdea7f84bdf1f895964e755 fix wrong parameters -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540/files/f0f49f5c3d625752019e0d3229ac517427f0ebaa..215bfadaf187ed568bdea7f84bdf1f895964e755 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
@pmatilai commented on this pull request. > @@ -268,7 +269,7 @@ arch_canon: mipsr6el: mipsr6el 20 arch_canon:mips64r6: mips64r6 21 arch_canon:mips64r6el: mips64r6el 21 -arch_canon:riscv: riscv64 22 +arch_canon:riscv32: riscv6422 This doesn't look right. Should probably be "riscv32: riscv32 22" instead. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#pullrequestreview-1476383259 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
@U2FsdGVkX1 commented on this pull request. > @@ -404,7 +405,7 @@ buildarchtranslate: sh4a: sh4 buildarchtranslate: aarch64: aarch64 -buildarchtranslate: riscv: riscv64 +buildarchtranslate: riscv32: riscv64 > This seems wrong. Surely you don't want riscv32 to generate riscv64 packages > by default? yes this should be fixed! -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#discussion_r1227615303 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
@pmatilai commented on this pull request. > @@ -404,7 +405,7 @@ buildarchtranslate: sh4a: sh4 buildarchtranslate: aarch64: aarch64 -buildarchtranslate: riscv: riscv64 +buildarchtranslate: riscv32: riscv64 This seems wrong. Surely you don't want riscv32 to generate riscv64 packages by default? -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#pullrequestreview-1476380753 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
This looks risky as it effectively renames an architecture, plus plain wrong in places (more on those shortly). But, I can see the point: plain "riscv" is not even supposed to exist, it's always translated to riscv\. @rwmjones , thoughts? -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540#issuecomment-1588647988 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] fix "no compatible architectures" in riscv32 (PR #2540)
@U2FsdGVkX1 pushed 1 commit. f0f49f5c3d625752019e0d3229ac517427f0ebaa Add support for riscv32 -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/2540/files/286c37e368d26e37c593055e83999668284ac346..f0f49f5c3d625752019e0d3229ac517427f0ebaa You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint