Package Details: riscv-gnu-toolchain-bin 2024.10.28-1

Git Clone URL: https://aur.archlinux.org/riscv-gnu-toolchain-bin.git (read-only, click to copy)
Package Base: riscv-gnu-toolchain-bin
Description: Meta-package for a pre-compiled GNU toolchain for riscv32 and riscv64, linux and ELF.
Upstream URL: https://github.com/riscv-collab/riscv-gnu-toolchain
Licenses: GPL2
Submitter: sickcodes
Maintainer: gilbs
Last Packager: gilbs
Votes: 5
Popularity: 0.029625
First Submitted: 2021-09-22 01:23 (UTC)
Last Updated: 2024-10-28 19:22 (UTC)

Pinned Comments

gilbs commented on 2024-05-20 22:46 (UTC) (edited on 2024-06-20 20:24 (UTC) by gilbs)

Please refrain from flagging this package as out-of-date because it is a meta-package. Its dependencies are updated on a daily basis (depending on upstream releases), so wait a few days before marking those as out-of-date.

Rather than installing this huge meta-package, you might just prefer installing just the toolchains you need, among the following AUR packages I also maintain:

If you want to change something about the packaging, please send PRs here: https://framagit.org/gilbsgilbs/aur-packages/-/tree/main/pkg/riscv-gnu-toolchain-bin

Latest Comments

1 2 Next › Last »

gilbs commented on 2024-09-06 07:31 (UTC) (edited on 2024-09-06 07:34 (UTC) by gilbs)

@TurnoffNOD There is no separate meta-package for -llvm packages, but all -llvm packages are marked as "providing" the corresponding non-LLVM variant. Therefore, unless I'm missing the obvious, you should be able to install all 4 LLVM variants + the meta-pacakge, and then manually mark -llvm packages as dependencies ("pacman -D --asdeps riscvxx-foo-llvm-bin" or something) to achieve the same result as a riscv-gnu-toolchain-llvm-bin meta-package. There might be an easier way, but that's probably how I would do it.

That being said, as explained in the pinned comment, I don't strictly recommend installing the meta-package at all, and rather install only the specific toolchains you need. The meta-package mostly exists for legacy reasons. When I took over the maintenance, only this package did exist. It wasn't a meta-package back then and used to include all 4 non-llvm toolchains in a single fat package which was really cumbersome because you had to install all toolchains (even if you only needed one in practice), and LLVM/MUSL toolchains weren't available at all. So I split the package into many so that you can pick exactly the toolchains you need. I wouldn't have created this meta-package at all if I had been the original submitter. But now it's there and doesn't cost much to maintain anyways. I just bump the version when there's an update upstream to avoid people wrongfully marking it as out-of-date, but I think it's more of a burden for everyone than anything else.

TurnoffNOD commented on 2024-09-06 05:43 (UTC)

@gilbs How can I achieve that? Is it a temporary environment variable? Or is there any llvm variant meta-package?

gilbs commented on 2024-09-05 15:55 (UTC)

@TurnoffNOD non-LLVM and LLVM packages are in conflict, but gcc should be included in -llvm packages as well. So if you need clang and gcc, just go for LLVM variants and you should be all set.

TurnoffNOD commented on 2024-09-05 15:51 (UTC)

Hi, can I install both riscv-gcc toolchain and riscv-llvm toolchain at the same time with this aur package?

gilbs commented on 2024-06-20 19:05 (UTC) (edited on 2024-06-20 20:24 (UTC) by gilbs)

@Levitating Please kindly ask me next time, I'm already severely overworked 😄. The reason there is no musl toolchain is because I missed it from the releases and I did not need it. I'll add it to my auto-update CI.

Levitating commented on 2024-06-20 18:23 (UTC) (edited on 2024-06-20 18:54 (UTC) by Levitating)

Why are there no musl toolchains?

Edit: You are now co-maintainer of https://aur.archlinux.org/packages/riscv64-gnu-toolchain-musl-bin, congratulations on your promotion

gilbs commented on 2024-05-20 22:46 (UTC) (edited on 2024-06-20 20:24 (UTC) by gilbs)

Please refrain from flagging this package as out-of-date because it is a meta-package. Its dependencies are updated on a daily basis (depending on upstream releases), so wait a few days before marking those as out-of-date.

Rather than installing this huge meta-package, you might just prefer installing just the toolchains you need, among the following AUR packages I also maintain:

If you want to change something about the packaging, please send PRs here: https://framagit.org/gilbsgilbs/aur-packages/-/tree/main/pkg/riscv-gnu-toolchain-bin

mrms commented on 2024-03-17 15:04 (UTC)

Hey @supergarfield and @sickcodes. Are any of you two still planning on maintaining this package? If not, I'd be glad to step up as a maintainer.

sickcodes commented on 2022-12-10 06:53 (UTC)

If anyone wants to maintain or has a better PKGBUILD feel free

leuko commented on 2022-10-19 09:34 (UTC) (edited on 2022-10-19 09:49 (UTC) by leuko)

The package cannot be installed along with gcc:

...
error: failed to commit transaction (conflicting files)
riscv-gnu-toolchain-bin: /usr/share/gcc-12.2.0/python/libstdcxx/__init__.py exists in filesystem (owned by gcc)
...
  1. 11.1.0 must be replaced with 12.2.0.
  2. Also noticed that _target is unused.

Update: There is already a PR