All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [meta-mingw] Patch needed to let linker find lto plugin
       [not found] <f419ba0dedc9dd5e42222c811d75f486@xmsnet.nl>
@ 2016-10-14 18:04 ` Bystricky, Juro
  2016-10-14 18:34   ` winfried.dobbe
  0 siblings, 1 reply; 4+ messages in thread
From: Bystricky, Juro @ 2016-10-14 18:04 UTC (permalink / raw)
  To: Winfried, yocto

Could you please elaborate on what do you mean by "built it as-is".
I tested the meta layer with some cases I considered typical
or most common. (I think I enumerated them in my original
message). Apparently I missed one.

Thanks

Juro


> -----Original Message-----
> From: Winfried [mailto:winfried_mb2@xmsnet.nl]
> Sent: Friday, October 14, 2016 10:26 AM
> To: yocto@yoctoproject.org
> Cc: Bystricky, Juro <juro.bystricky@intel.com>
> Subject: [meta-mingw] Patch needed to let linker find lto plugin
> 
> Recently the meta-mingw layer was updated to krogoth by Juro Bystricky.
> Thanks !
> However when I build it as-is, the linker fails because it can't load
> the lto plugin.
> 
> After applying commit a06e473590207f72b11d273a09de2c8a889c381e from
> meta-mingw-contrib (by Mark Hatle), the error disappeared.
> 
> See:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-mingw-
> contrib/commit/?h=mgh/jetho/meta-
> mingw&id=a06e473590207f72b11d273a09de2c8a889c381e
> 
> regards,
> W. Dobbe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-mingw] Patch needed to let linker find lto plugin
  2016-10-14 18:04 ` [meta-mingw] Patch needed to let linker find lto plugin Bystricky, Juro
@ 2016-10-14 18:34   ` winfried.dobbe
  2016-10-14 21:55     ` Bystricky, Juro
  0 siblings, 1 reply; 4+ messages in thread
From: winfried.dobbe @ 2016-10-14 18:34 UTC (permalink / raw)
  To: Bystricky, Juro, yocto

Hi Juro,

My Yocto environment is for the Congatec QMX6 SoM that is built around a 
quadcore i.MX6.
I use the Yocto layers from the Congatec repository 
(https://git.congatec.com/public), which includes the meta-fsl-arm and 
meta-fsl-arm-extra layers.

My bblayers.conf is:

BBLAYERS = " \
   ${BSPDIR}/sources/poky/meta \
   ${BSPDIR}/sources/poky/meta-poky \
   \
   ${BSPDIR}/sources/meta-openembedded/meta-oe \
   ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
   ${BSPDIR}/sources/meta-openembedded/meta-python \
   ${BSPDIR}/sources/meta-openembedded/meta-networking \
   \
   ${BSPDIR}/sources/meta-fsl-arm \
   ${BSPDIR}/sources/meta-fsl-arm-extra \
   ${BSPDIR}/sources/meta-fsl-demos \
   \
   ${BSPDIR}/sources/meta-mingw \
   \
   ${BSPDIR}/sources/meta-peek \
   ${BSPDIR}/sources/meta-peek-ecng \
"

The image I normally build (peek-image-ecng-acu-default) is based upon 
the core-image-full-cmdline image.

I built the MinGW SDK by adding SDKMACHINE="x86_64-mingw32" to my 
local.conf and typing the command "bitbake peek-image-ecng-acu-default 
-c populate_sdk".

I attended the Yocto developer day in Berlin last week. When I showed 
the MinGW linker LTO plugin error to Mark Hatle, he suggested applying 
his patch.

best regards,

Winfried


Bystricky, Juro schreef op 14.10.2016 20:04:
> Could you please elaborate on what do you mean by "built it as-is".
> I tested the meta layer with some cases I considered typical
> or most common. (I think I enumerated them in my original
> message). Apparently I missed one.
> 
> Thanks
> 
> Juro
> 
> 
>> -----Original Message-----
>> From: Winfried [mailto:winfried_mb2@xmsnet.nl]
>> Sent: Friday, October 14, 2016 10:26 AM
>> To: yocto@yoctoproject.org
>> Cc: Bystricky, Juro <juro.bystricky@intel.com>
>> Subject: [meta-mingw] Patch needed to let linker find lto plugin
>> 
>> Recently the meta-mingw layer was updated to krogoth by Juro 
>> Bystricky.
>> Thanks !
>> However when I build it as-is, the linker fails because it can't load
>> the lto plugin.
>> 
>> After applying commit a06e473590207f72b11d273a09de2c8a889c381e from
>> meta-mingw-contrib (by Mark Hatle), the error disappeared.
>> 
>> See:
>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-mingw-
>> contrib/commit/?h=mgh/jetho/meta-
>> mingw&id=a06e473590207f72b11d273a09de2c8a889c381e
>> 
>> regards,
>> W. Dobbe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-mingw] Patch needed to let linker find lto plugin
  2016-10-14 18:34   ` winfried.dobbe
@ 2016-10-14 21:55     ` Bystricky, Juro
  0 siblings, 0 replies; 4+ messages in thread
From: Bystricky, Juro @ 2016-10-14 21:55 UTC (permalink / raw)
  To: winfried.dobbe, yocto

Thanks. I will re-run some basic tests again and
send the patch by Mark Hatle (applied to meta-mingw/krogoth) to the mailing list.
 
> -----Original Message-----
> From: winfried.dobbe@xmsnet.nl [mailto:winfried.dobbe@xmsnet.nl]
> Sent: Friday, October 14, 2016 11:35 AM
> To: Bystricky, Juro <juro.bystricky@intel.com>; yocto@yoctoproject.org
> Cc: Hatle, Mark G (Wind River) <mark.hatle@windriver.com>
> Subject: RE: [meta-mingw] Patch needed to let linker find lto plugin
> 
> Hi Juro,
> 
> My Yocto environment is for the Congatec QMX6 SoM that is built around a
> quadcore i.MX6.
> I use the Yocto layers from the Congatec repository
> (https://git.congatec.com/public), which includes the meta-fsl-arm and
> meta-fsl-arm-extra layers.
> 
> My bblayers.conf is:
> 
> BBLAYERS = " \
>    ${BSPDIR}/sources/poky/meta \
>    ${BSPDIR}/sources/poky/meta-poky \
>    \
>    ${BSPDIR}/sources/meta-openembedded/meta-oe \
>    ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
>    ${BSPDIR}/sources/meta-openembedded/meta-python \
>    ${BSPDIR}/sources/meta-openembedded/meta-networking \
>    \
>    ${BSPDIR}/sources/meta-fsl-arm \
>    ${BSPDIR}/sources/meta-fsl-arm-extra \
>    ${BSPDIR}/sources/meta-fsl-demos \
>    \
>    ${BSPDIR}/sources/meta-mingw \
>    \
>    ${BSPDIR}/sources/meta-peek \
>    ${BSPDIR}/sources/meta-peek-ecng \
> "
> 
> The image I normally build (peek-image-ecng-acu-default) is based upon
> the core-image-full-cmdline image.
> 
> I built the MinGW SDK by adding SDKMACHINE="x86_64-mingw32" to my
> local.conf and typing the command "bitbake peek-image-ecng-acu-default
> -c populate_sdk".
> 
> I attended the Yocto developer day in Berlin last week. When I showed
> the MinGW linker LTO plugin error to Mark Hatle, he suggested applying
> his patch.
> 
> best regards,
> 
> Winfried
> 
> 
> Bystricky, Juro schreef op 14.10.2016 20:04:
> > Could you please elaborate on what do you mean by "built it as-is".
> > I tested the meta layer with some cases I considered typical
> > or most common. (I think I enumerated them in my original
> > message). Apparently I missed one.
> >
> > Thanks
> >
> > Juro
> >
> >
> >> -----Original Message-----
> >> From: Winfried [mailto:winfried_mb2@xmsnet.nl]
> >> Sent: Friday, October 14, 2016 10:26 AM
> >> To: yocto@yoctoproject.org
> >> Cc: Bystricky, Juro <juro.bystricky@intel.com>
> >> Subject: [meta-mingw] Patch needed to let linker find lto plugin
> >>
> >> Recently the meta-mingw layer was updated to krogoth by Juro
> >> Bystricky.
> >> Thanks !
> >> However when I build it as-is, the linker fails because it can't load
> >> the lto plugin.
> >>
> >> After applying commit a06e473590207f72b11d273a09de2c8a889c381e from
> >> meta-mingw-contrib (by Mark Hatle), the error disappeared.
> >>
> >> See:
> >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-mingw-
> >> contrib/commit/?h=mgh/jetho/meta-
> >> mingw&id=a06e473590207f72b11d273a09de2c8a889c381e
> >>
> >> regards,
> >> W. Dobbe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [meta-mingw] Patch needed to let linker find lto plugin
@ 2016-10-14 17:58 winfried.dobbe
  0 siblings, 0 replies; 4+ messages in thread
From: winfried.dobbe @ 2016-10-14 17:58 UTC (permalink / raw)
  To: yocto

Recently the meta-mingw layer was updated to krogoth by Juro Bystricky. 
Thanks !
However when I build it as-is, the linker fails because it can't load 
the lto plugin.

After applying commit a06e473590207f72b11d273a09de2c8a889c381e from 
meta-mingw-contrib (by Mark Hatle), the error disappeared.

See: 
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mingw-contrib/commit/?h=mgh/jetho/meta-mingw&id=a06e473590207f72b11d273a09de2c8a889c381e

I think this patch needs to be applied also to the meta-mingw main 
repository.

regards,
W. Dobbe


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-14 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <f419ba0dedc9dd5e42222c811d75f486@xmsnet.nl>
2016-10-14 18:04 ` [meta-mingw] Patch needed to let linker find lto plugin Bystricky, Juro
2016-10-14 18:34   ` winfried.dobbe
2016-10-14 21:55     ` Bystricky, Juro
2016-10-14 17:58 winfried.dobbe

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.