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, Nov 6, 2:17 PM
Unknown Object (File)
Tue, Nov 5, 6:59 AM
Unknown Object (File)
Oct 18 2024, 8:26 AM
Unknown Object (File)
Oct 17 2024, 8:21 AM
Unknown Object (File)
Oct 17 2024, 6:35 AM
Unknown Object (File)
Oct 16 2024, 2:31 AM
Unknown Object (File)
Oct 14 2024, 8:16 PM
Unknown Object (File)
Oct 10 2024, 10:37 PM

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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

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