Searched hist:316029 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/lld/ELF/
H A DDriverUtils.cppdiff 316029 Mon Mar 27 16:11:28 MDT 2017 emaste lld: hack version and help output for compatibility with libtool

GNU libtool checks the output from invoking the linker with --version
and --help, in order to determine the linker "flavour" and the command-
ine arguments to use for various link operations (e.g. generating shared
libraries). To detect GNU ld it looks for the strings "GNU" and
"supported targets:.*elf". Since LLD is compatible with GNU ld we
include those same strings to fool libtool.

Quoting from a comment in the change:
This is somewhat ugly hack, but in reality, we had no choice other
than doing this. Considering the very long release cycle of Libtool,
it is not easy to improve it to recognize LLD as a GNU compatible
linker in a timely manner. Even if we can make it, there are still a
lot of "configure" scripts out there that are generated by old
version of Libtool. We cannot convince every software developer to
migrate to the latest version and re-generate scripts. So we have
this hack.

Upstream LLVM revisions r298532, r298568, r298591

Obtained from: LLVM
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
H A DDriver.cppdiff 316029 Mon Mar 27 16:11:28 MDT 2017 emaste lld: hack version and help output for compatibility with libtool

GNU libtool checks the output from invoking the linker with --version
and --help, in order to determine the linker "flavour" and the command-
ine arguments to use for various link operations (e.g. generating shared
libraries). To detect GNU ld it looks for the strings "GNU" and
"supported targets:.*elf". Since LLD is compatible with GNU ld we
include those same strings to fool libtool.

Quoting from a comment in the change:
This is somewhat ugly hack, but in reality, we had no choice other
than doing this. Considering the very long release cycle of Libtool,
it is not easy to improve it to recognize LLD as a GNU compatible
linker in a timely manner. Even if we can make it, there are still a
lot of "configure" scripts out there that are generated by old
version of Libtool. We cannot convince every software developer to
migrate to the latest version and re-generate scripts. So we have
this hack.

Upstream LLVM revisions r298532, r298568, r298591

Obtained from: LLVM
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Completed in 185 milliseconds