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)
Wed, May 20, 2:32 PM
Unknown Object (File)
Wed, May 20, 1:33 AM
Unknown Object (File)
Sun, May 17, 7:37 AM
Unknown Object (File)
Sat, May 16, 11:48 PM
Unknown Object (File)
Fri, May 15, 3:30 PM
Unknown Object (File)
Fri, May 15, 12:15 AM
Unknown Object (File)
Thu, May 14, 9:14 PM
Unknown Object (File)
Thu, May 14, 5:45 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 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.