[Bug 240716] LD in make.conf is not setting linker

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 24 02:57:05 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240716

--- Comment #8 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to sid from comment #5)

QUOTE
If LD is not being used, why is it an argument?
END QUOTE

Some makefiles use ${LD} (or ${XLD}) to request linking.
many do not. That some do use them is enough to justify
the existence of LD (and XLD) in the infrastructure.

In effect you are requesting changes to a large number
of makefiles to work differently than they do now: to
explicitly use ${LD} (or ${XLD}) based link commands
instead of what they now use.

There are issues, such as powerpc family --secure-plt
clang output being incompatible with modern binutils'
ld: ld reverts to bss plt and returns on error code
because it did so. One can not switch linkers
independently in all cases, only some.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list