Page MenuHomeFreeBSD

Prefer --ld-path=/path/to/ld on clang >= 12.
ClosedPublic

Authored by brooks on Sep 29 2020, 8:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 19, 4:45 PM
Unknown Object (File)
Wed, Aug 19, 2:35 PM
Unknown Object (File)
Tue, Aug 18, 8:20 PM
Unknown Object (File)
Tue, Aug 18, 8:14 PM
Unknown Object (File)
Tue, Aug 18, 8:01 PM
Unknown Object (File)
Tue, Aug 11, 12:46 PM
Unknown Object (File)
Sun, Aug 9, 9:20 AM
Unknown Object (File)
Fri, Aug 7, 12:27 AM

Details

Summary

Clang 12 warns about passing a path to -fuse-ld and -Werror makes that
an error preventing building world.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33882
Build 31090: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sep 29 2020, 9:58 PM

I saw the change to add --ld-path being committed to llvm but missed the new warning. Should have probably made this change as part of the fuse-ld commit...

This revision was automatically updated to reflect the committed changes.
jrtc27 added inline comments.
head/share/mk/bsd.sys.mk
303 ↗(On Diff #77662)

This comment still applies for --ld-path, albeit with s/-fuse-ld/--ld-path/.