> On Mar 20, 2025, at 10:45, Eli Schwartz <eschwa...@gentoo.org> wrote: > > On 3/20/25 11:54 AM, Nate Eldredge wrote: >> On Mar 20, 2025, at 00:07 Eli Schwartz <eschwa...@gentoo.org> 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 dev-util/maturin failed to emerge. In the build.log >> (attached) we can see that some of the rustc commands use -C >> linker=clang but others do not, and they fail. Is that a separate >> bug? > > > Your build.log confuses me. > > > Same `cargo build` run, but -C linker is not being passed to proc > macros? or?
They might not be the same run; I have MAKEOPTS="-j6 -l6.2" so it could be two separate `cargo build` in parallel. Sorry for the confusion. Here's a simpler build.log with MAKEOPTS="". Here proc-macro2 is built first, and it fails.
build2.log
Description: Binary data
Thanks again for looking at this.