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
F172204530: D26591.id77662.diff
Wed, Sep 16, 8:33 PM
F172198904: D26591.id77646.diff
Wed, Sep 16, 7:30 PM
Unknown Object (File)
Wed, Sep 16, 4:06 PM
Unknown Object (File)
Fri, Sep 11, 10:34 PM
Unknown Object (File)
Wed, Sep 9, 4:00 AM
Unknown Object (File)
Tue, Sep 8, 3:47 AM
Unknown Object (File)
Sat, Sep 5, 9:35 PM
Unknown Object (File)
Sat, Sep 5, 2:32 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/.