> On Mar 20, 2025, at 10:45, Eli Schwartz wrote:
>
> On 3/20/25 11:54 AM, Nate Eldredge wrote:
>> On Mar 20, 2025, at 00:07 Eli Schwartz wrote:
>>> You can also pass -C linker=clang if you like. Portage will
>>> already do this for rust software packaged in ::gentoo.
>>
>> Well, not across th
On 3/20/25 11:54 AM, Nate Eldredge wrote:
> On Mar 20, 2025, at 00:07 Eli Schwartz wrote:
>> You can also pass -C linker=clang if you like. Portage will
>> already do this for rust software packaged in ::gentoo.
>
> Well, not across the board, it seems, because I became aware of the
> issue when
I see that there's been a fix committed, to have rust not use the value of $CC
for its linker. Thanks Sam!
https://github.com/gentoo/gentoo/commit/f65ef3fddd9ef9cc3d2d172f6da9a39231b1e2d1#diff-dbba975de76b74289aaec5ad12154eaf03e0ce9a8cfd09ff73b8a0d5536a3a9b
On my system it now calls aarch64-
On Mar 20, 2025, at 00:07 Eli Schwartz wrote:
> Rust doesn't depend on clang at all. The current ebuild does embed $CC
> at the time you compile rust, as the default value for
>
> ```
> rustc -C linker=$CC
> ```
>
> But for the llvm profile that should be "clang" and not "clang-19". So
> you pr
On 3/19/25 6:41 PM, Nate Eldredge wrote:
> I have dev-lang/rust-1.85.0-r1 installed. It fails to build trivial
> programs:
>
> nate@trapezoid /tmp $ rustc t.rs
> error: linker `clang-19` not found
> |
> = note: No such file or directory (os error 2)
>
> error: aborting due to 1 previous er
I have dev-lang/rust-1.85.0-r1 installed. It fails to build trivial programs:
nate@trapezoid /tmp $ rustc t.rs
error: linker `clang-19` not found
|
= note: No such file or directory (os error 2)
error: aborting due to 1 previous error
It appears that although rust is installed with LLVM_S
6 matches
Mail list logo