From fc5b1103bdedf74815c680b027bb8f83c6ef37ee Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Wed, 4 Nov 2015 14:52:34 +0100 Subject: [PATCH] Fix detection of GNU LD version in GCC's scripts GCC's configure scripts are confused by YYYY.MM format of Linaro releases and mistake YYYY for major version (currently 2) and MM for minor version (currently 25). This, in turn, makes GCC think that GNU LD doesn't support plugins, which disables -fuse-linker-plugin functionality used by LTO. This problem was already fixed before, and there is a comment about avoiding "." in the BFD_VERSION_STRING, but, for reasons I can't explain, the problem occurred again. So fixing it ... again. --- bfd/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfd/version.h b/bfd/version.h index 2d0da9b4854..de5245179c8 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -4,5 +4,5 @@ and we need to be very careful to not break them. So far it seems that appending Linaro-specific version at the end is fine so long as it doesn't contain any dots ".". */ -#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ " Linaro 2015.10" +#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ " Linaro 2015_10" #define REPORT_BUGS_TO @report_bugs_to@ -- 2.47.3