* OpenEmbedded generated toolchain fail to build latest Linux
@ 2021-05-03 0:04 Otavio Salvador
2021-05-11 21:03 ` Otavio Salvador
0 siblings, 1 reply; 2+ messages in thread
From: Otavio Salvador @ 2021-05-03 0:04 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer, Khem Raj,
Andrey Zhizhikin, Purdie, Richard
Hello all,
While doing the upgrade of our Linux recipe to 5.12[1] we found that
we are unable to fully build it using the generated toolchain.
1. https://github.com/Freescale/meta-freescale/pull/756
We could improve it, adding the nativesdk-gmp and nativesdk-gmp-dev to
the toolchain however I ended facing another issue:
cc1: error: cannot load plugin
./scripts/gcc-plugins/arm_ssp_per_task_plugin.so:
./scripts/gcc-plugins/arm_ssp_per_task_plugin.so: undefined symbol:
_ZN8opt_pass14set_pass_paramEjb
cc1: error: cannot load plugin
./scripts/gcc-plugins/arm_ssp_per_task_plugin.so:
./scripts/gcc-plugins/arm_ssp_per_task_plugin.so: undefined symbol:
_ZN8opt_pass14set_pass_paramEjb
make[1]: *** [scripts/Makefile.build:271: scripts/mod/empty.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:116:
scripts/mod/devicetable-offsets.s] Error 1
make: *** [Makefile:1234: prepare0] Error 2
I tried that on an Ubuntu 20.04 and an Arch Linux system and it failed
on both cases. For now, I ended disabling the GCC_PLUGIN support and
moved on but it does not seem to be a good long term solution.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: OpenEmbedded generated toolchain fail to build latest Linux
2021-05-03 0:04 OpenEmbedded generated toolchain fail to build latest Linux Otavio Salvador
@ 2021-05-11 21:03 ` Otavio Salvador
0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2021-05-11 21:03 UTC (permalink / raw)
To: Otavio Salvador
Cc: Patches and discussions about the oe-core layer, Khem Raj,
Andrey Zhizhikin, Purdie, Richard
Em dom., 2 de mai. de 2021 às 21:04, Otavio Salvador
<otavio@ossystems.com.br> escreveu:
> While doing the upgrade of our Linux recipe to 5.12[1] we found that
> we are unable to fully build it using the generated toolchain.
>
> 1. https://github.com/Freescale/meta-freescale/pull/756
>
> We could improve it, adding the nativesdk-gmp and nativesdk-gmp-dev to
> the toolchain however I ended facing another issue:
>
> cc1: error: cannot load plugin
> ./scripts/gcc-plugins/arm_ssp_per_task_plugin.so:
> ./scripts/gcc-plugins/arm_ssp_per_task_plugin.so: undefined symbol:
> _ZN8opt_pass14set_pass_paramEjb
> cc1: error: cannot load plugin
> ./scripts/gcc-plugins/arm_ssp_per_task_plugin.so:
> ./scripts/gcc-plugins/arm_ssp_per_task_plugin.so: undefined symbol:
> _ZN8opt_pass14set_pass_paramEjb
> make[1]: *** [scripts/Makefile.build:271: scripts/mod/empty.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [scripts/Makefile.build:116:
> scripts/mod/devicetable-offsets.s] Error 1
> make: *** [Makefile:1234: prepare0] Error 2
>
> I tried that on an Ubuntu 20.04 and an Arch Linux system and it failed
> on both cases. For now, I ended disabling the GCC_PLUGIN support and
> moved on but it does not seem to be a good long term solution.
Anyone found it? On OE-Core environment it works but fails on the SDK/Toolchain.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-11 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03 0:04 OpenEmbedded generated toolchain fail to build latest Linux Otavio Salvador
2021-05-11 21:03 ` Otavio Salvador
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.