Hello,
I am working on the Verdin iMX8M Mini dev kit with the Dahlia Carrier Board.
I have successfully built custom Yocto images and had a question about Yocto versions supported by Toradex.
I see that the current project version supported by Toradex is Kirkstone.
But I need to use GCC14 (or at a minimum GCC13) which needs Scarthgap (or later) releases.
Does Toradex support the intermediate Yocto releases (4.1/4.2/4.3) or only the major releases (4.0 and 5.0)?
See this table which shows support for GCC in the different Yocto releases:
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Based on the provided context, here are the answers to your questions:
Does Toradex support the intermediate Yocto releases (or only the major releases)?
Toradex primarily supports major Yocto Project releases. The context mentions that Toradex uses specific versions of Yocto Project releases, and these are typically aligned with major releases. For example, the context refers to Yocto Project Release 4.0 being officially supported. Intermediate releases like 4.1, 4.2, and 4.3 are not explicitly mentioned, suggesting that Toradex may not officially support these intermediate releases.
How and when can I get support for GCC14?
To get support for GCC14, you would need to use a Yocto Project release that includes GCC14. According to your requirement, this would be the Scarthgap release or later. Since Toradex’s support for specific Yocto Project versions is aligned with their release strategy, you would need to check if and when Toradex plans to support a Yocto Project release that includes GCC14. This information might not be available in the provided context, so you may need to contact Toradex support directly for detailed timelines and plans regarding future Yocto Project releases and GCC versions.
How can I find out - without building with Yocto or running a command on the dev kit - which GCC versions are currently supported on my dev kit?
The context does not provide a direct method to determine the GCC version without building or running commands. However, you can refer to the release notes and documentation provided by Toradex for the specific BSP version you are using. These documents typically include information about the toolchain versions, including GCC. You can find these release notes on the Toradex developer website or in the News section of toradex.com. Additionally, you can check the meta-information and recipes in the Yocto Project layers used by Toradex, which might list the GCC version being used.
If you need more specific information or have further questions, contacting Toradex support directly would be the best approach.
Please, also check if these links can help you solve your problem:
We currently only support major LTS releases of Yocto.
How and when can I get support for GCC14?
By default we’re just following the GCC version that comes with that release of Yocto. If you need an alternative version, then you would need to create a custom Yocto image with the version of GCC you need.
We will soon be having stable releases for Scarthgap on our BSP and Torizon. That will get you at least 13.3.0. For GCC 14 this only exists on the master branch of Yocto at the moment, so I am unable provide any timelines for this version.
How can I find out - without building with Yocto or running a command on the dev kit - which GCC versions are currently supported on my dev kit?
As I said above the version of GCC should just match whatever the Yocto release is for the software you’re looking at. So if you’re talking about our Kirkstone release then that would be 11.4.0, as your table shows.
Out of curiosity, when you say you need GCC 14/13. Are you talking about the version of GCC used during the building of the OS image. Or do you also want the actual gcc command-line tool in the OS itself?
We need C++20 support on the host and the target.
On the host side, we need a cross-compiler; on the target, we need the appropriate libraries (e.g. libstdc++). We do not need to compile C++ code on the target itself.
I see. Well as I said we will soon have releases of our BSP and Torizon on Scarthgap (within the next couple weeks). This should come with GCC 13 which you said does work for you.
Alternatively, if you are using Torizon OS you can create a custom container that has different versions of GCC compared to the host OS. Since your application would run in this container, it would not matter what version of GCC the host is using in this case. In this way you can construct your container with whatever versions and libraries of things you need for your application/software.