Ed Maste d786d51091 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
2017-06-30 16:34:17 +00:00
..
2017-01-28 16:31:23 +00:00
2016-06-03 19:25:36 +00:00
MFH
2016-02-08 12:16:01 +00:00
2016-06-03 19:25:36 +00:00
2016-06-03 19:25:36 +00:00
2017-06-21 17:11:49 +00:00
2017-03-07 01:42:30 +00:00
2016-12-23 02:57:00 +00:00
2016-12-23 02:57:00 +00:00
2016-04-22 20:31:29 +00:00
2016-03-11 01:35:39 +00:00