* [meta-mingw][krogoth][PATCH 0/1] binutils: enable plugins
@ 2016-10-20 17:34 Juro Bystricky
2016-10-20 17:35 ` [meta-mingw][PATCH 1/1] binutils-cross-canadian: Fix LTO failure Juro Bystricky
0 siblings, 1 reply; 3+ messages in thread
From: Juro Bystricky @ 2016-10-20 17:34 UTC (permalink / raw)
To: yocto
This meta-mingw patch for jethro by Mark Hatle is also needed for
krogoth and morty/master as well, otherwise the linker will fail, not being able
to load lto plugins.
Original patch:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-mingw-contrib/commit/?h=mgh/jetho/meta-mingw
Juro Bystricky (1):
binutils-cross-canadian: Fix LTO failure
recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [meta-mingw][PATCH 1/1] binutils-cross-canadian: Fix LTO failure
2016-10-20 17:34 [meta-mingw][krogoth][PATCH 0/1] binutils: enable plugins Juro Bystricky
@ 2016-10-20 17:35 ` Juro Bystricky
2016-10-20 17:40 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Juro Bystricky @ 2016-10-20 17:35 UTC (permalink / raw)
To: yocto
GCC was failing with a message similar to:
e:/windri~1/lx8.sdk/qemux8~1.800/sysroots/i686-w~1/usr/bin/i586-w~3/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/5.2.0/real-ld.exe: unrecognized option '-plugin'
The issue was that by default plugin support was disabled in binutils. By
enabling the plugin support, the LTO support should also now work properly.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend b/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
index 026c932..5845fe0 100644
--- a/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
+++ b/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
@@ -1,4 +1,4 @@
-EXTRA_OECONF_append_sdkmingw32 = " --disable-plugins --disable-nls"
+EXTRA_OECONF_append_sdkmingw32 = " --disable-nls"
LDFLAGS_append_sdkmingw32 = " -Wl,-static"
DEPENDS_remove_sdkmingw32 = "nativesdk-gettext"
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-mingw][PATCH 1/1] binutils-cross-canadian: Fix LTO failure
2016-10-20 17:35 ` [meta-mingw][PATCH 1/1] binutils-cross-canadian: Fix LTO failure Juro Bystricky
@ 2016-10-20 17:40 ` Khem Raj
0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2016-10-20 17:40 UTC (permalink / raw)
To: Juro Bystricky; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]
> On Oct 20, 2016, at 10:35 AM, Juro Bystricky <juro.bystricky@intel.com> wrote:
>
> GCC was failing with a message similar to:
>
> e:/windri~1/lx8.sdk/qemux8~1.800/sysroots/i686-w~1/usr/bin/i586-w~3/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/5.2.0/real-ld.exe: unrecognized option '-plugin'
>
> The issue was that by default plugin support was disabled in binutils. By
> enabling the plugin support, the LTO support should also now work properly.
>
> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
> Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
> ---
> recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend b/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
> index 026c932..5845fe0 100644
> --- a/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
> +++ b/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
> @@ -1,4 +1,4 @@
> -EXTRA_OECONF_append_sdkmingw32 = " --disable-plugins --disable-nls"
> +EXTRA_OECONF_append_sdkmingw32 = " --disable-nls”
This looks ok to me.
> LDFLAGS_append_sdkmingw32 = " -Wl,-static"
>
> DEPENDS_remove_sdkmingw32 = "nativesdk-gettext"
> --
> 2.7.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-20 17:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-20 17:34 [meta-mingw][krogoth][PATCH 0/1] binutils: enable plugins Juro Bystricky
2016-10-20 17:35 ` [meta-mingw][PATCH 1/1] binutils-cross-canadian: Fix LTO failure Juro Bystricky
2016-10-20 17:40 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.