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 22, 1:44 PM
Unknown Object (File)
Thu, Dec 18, 9:31 AM
Unknown Object (File)
Wed, Dec 17, 11:34 PM
Unknown Object (File)
Mon, Dec 1, 1:32 AM
Unknown Object (File)
Nov 27 2025, 2:00 AM
Unknown Object (File)
Nov 25 2025, 4:52 PM
Unknown Object (File)
Nov 22 2025, 4:18 PM
Unknown Object (File)
Nov 22 2025, 11:50 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66507
Build 63390: arc lint + arc unit

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.