Page MenuHomeFreeBSD

Mk/Uses/cargo.mk: Define ar and linker in RUSTFLAGS
ClosedPublic

Authored by michaelo on Aug 7 2025, 7:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 1, 1:32 AM
Unknown Object (File)
Thu, Nov 27, 2:00 AM
Unknown Object (File)
Tue, Nov 25, 4:52 PM
Unknown Object (File)
Sat, Nov 22, 4:18 PM
Unknown Object (File)
Sat, Nov 22, 11:50 AM
Unknown Object (File)
Sat, Nov 22, 1:39 AM
Unknown Object (File)
Thu, Nov 20, 2:53 PM
Unknown Object (File)
Tue, Nov 18, 1:33 PM
Subscribers

Details

Summary

Otherwise base system ar and cc are always used.

PR: 283529
Approved by: jrm (mentor), otis (mentor)
MFH: 2025Q3

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

michaelo created this revision.

Are any ports broken without (or with) this patch?
I really have no clue why this patch is (or isn't) necessary.

Feel free to commit if it doesn't cause breakage.

Are any ports broken without (or with) this patch?
I really have no clue why this patch is (or isn't) necessary.

This we need to ask @tijl. I'd understand that one may wants to use gold or another linker for specific purposes.

Feel free to commit if it doesn't cause breakage.

I can't commit w/o approval formally.

You have my approval if it doesn't break ports (you can ask for an exp-run)

You have my approval if it doesn't break ports (you can ask for an exp-run)

Then let me request is, rather be safe than sorry.

It's just to respect AR and CC. I discovered this on a system where everything is built with ports llvm (no base system compiler installed).

It's just to respect AR and CC. I discovered this on a system where everything is built with ports llvm (no base system compiler installed).

This is more or less what I have assumed. Another toolchain...

@mikael, exp-run is complete. No related failures. Are we good to approve and merge this one?

This revision is now accepted and ready to land.Aug 30 2025, 6:30 AM

Waiting for a format approval from mentors.

Because rust is OK, so am I.