Searched hist:d786d510911c8479d1ed573950523a666aec2134 (Results 1 – 1 of 1) sorted by relevance
/freebsd/share/mk/ |
H A D | bsd.linker.mk | diff d786d510911c8479d1ed573950523a666aec2134 Fri Jun 30 18:34:17 CEST 2017 Ed Maste <emaste@FreeBSD.org> bsd.linker.mk: add band-aid for linker invocation failure
In some cases bsd.linker.mk reports an error like:
make[4]: ".../share/mk/bsd.linker.mk" line 56: Unknown linker from LD=ld -m elf32ppc_fbsd:"
For now change this to a .warning, and then assume GNU ld 2.17.50. At present the linker type detection is used only for enabling build-id, and we can carry on without it when type detection fails.
Also, show errors from ${LD} --version to aid in failure diagnosis. Successful invocations of ${LD} --version produce no output on stderr so this will not create any spam in non-failing builds.
Tested by: swills Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D11424
|