multiple toolchains in SDK?
Trying to figure out how to build in SDK:
gcc-arm32-musl
and
gcc-arm64-musl(or possibly gcc-arm64-newlib)
without using multilib(as musl do not support multilib gcc-style), also the arm64 toolchain only needs to contains static libc.a
I cannot find how to express this in Yocto/Poky. Any pointers please?
Jocke
Quoted 4 lines · Joakim Tjernlund via lists.openembedded.org
Trying to figure out how to build in SDK:
gcc-arm32-musl
and
gcc-arm64-musl(or possibly gcc-arm64-newlib)
+1
We currently use ARMv7 (32 bit) with musl for our products and it is possible that we'll have to switch to ARMv8 for some derivatives in future. As we develop multiple products in parallel, having a SDK with both compilers / library sets would be great.
Quoted 8 lines
without using multilib(as musl do not support multilib gcc-style), also the arm64 toolchain only needs to contains static libc.a
I cannot find how to express this in Yocto/Poky. Any pointers please?
Jocke
_______________________________________________________
Christian
Eggers
Software Engineer
ARRI
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG Arriweg 17,
83071
Stephanskirchen
www.arri.com
+49 8036 3009-3118
[email protected]
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477 Geschäftsführer: Stefan Mairiedl; Walter Trauninger
On Fri, 2024-12-06 at 17:08 +0100, Christian Eggers wrote:
Quoted 4 lines · Joakim Tjernlund via lists.openembedded.org
Trying to figure out how to build in SDK:
gcc-arm32-musl
and
gcc-arm64-musl(or possibly gcc-arm64-newlib)
+1
We currently use ARMv7 (32 bit) with musl for our products and it is possible that we'll have to switch to ARMv8 for some derivatives in future. As we develop multiple products in parallel, having a SDK with both compilers / library sets would be great.
Any luck?
Jocke
Quoted 8 lines
without using multilib(as musl do not support multilib gcc-style), also the arm64 toolchain only needs to contains static libc.a
I cannot find how to express this in Yocto/Poky. Any pointers please?
Jocke
_______________________________________________________
Christian
Eggers
Software Engineer
ARRI
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Arriweg 17
,
83071
Stephanskirchen
www.arri.com
[cid:[email protected]]
+49 8036 3009-3118<tel:+49%208036%203009-3118>
[cid:[email protected]]
[email protected]<mailto:[email protected]>
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München ‑ Registergericht: Amtsgericht München ‑ Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München ‑ Registergericht: Amtsgericht München ‑ Handelsregisternummer: HRB 54477 Geschäftsführer: Stefan Mairiedl; Walter Trauninger
Hi Jocke,
Quoted 9 lines · Joakim Tjernlund
On Fri, 2024-12-06 at 17:08 +0100, Christian Eggers wrote:
Quoted 4 lines · Joakim Tjernlund via lists.openembedded.org
Trying to figure out how to build in SDK:
gcc-arm32-musl
and
gcc-arm64-musl(or possibly gcc-arm64-newlib)+1
Quoted 8 lines
We currently use ARMv7 (32 bit) with musl for our products and it is possible that we'll have to switch to ARMv8 for some derivatives in future. As we develop multiple products in parallel, having a SDK with both compilers / library sets would be great.
Any luck?
Jocke
as we haven't switched to a new hardware yet, I didn't investigate further into this.
regards,
Christian
Quoted 11 lines
Quoted 10 lines
without using multilib(as musl do not support multilib gcc-style), also the arm64 toolchain only needs to contains static libc.a
I cannot find how to express this in Yocto/Poky. Any pointers please?
Jocke
_______________________________________________________
Christian
Eggers
Software Engineer
ARRI
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG Arriweg 17,
83071
Stephanskirchen
www.arri.com
+49 8036 3009-3118
[email protected]
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477 Geschäftsführer: Walter Trauninger
Quoted 19 lines · Joakim Tjernlund via lists.openembedded.org
Quoted 9 lines · Christian Eggers
Quoted 4 lines · Joakim Tjernlund via lists.openembedded.org
Trying to figure out how to build in SDK:
gcc-arm32-musl
and
gcc-arm64-musl(or possibly gcc-arm64-newlib)+1
Quoted 7 lines
We currently use ARMv7 (32 bit) with musl for our products and it is possible
that we'll have to switch to ARMv8 for some derivatives in future. As we
develop multiple products in parallel, having a SDK with both compilers / library sets
would be great.
Quoted 16 lines
Any luck?
Jocke
Quoted 12 lines
Quoted 11 lines
without using multilib(as musl do not support multilib gcc- style), also
the arm64 toolchain only needs to contains static libc.aI cannot find how to express this in Yocto/Poky. Any pointers please?
Jocke
Hi
Since you are writing very specifically about tool chains, you probably need the environment script that is traditionally available with the SDK or the eSDK installer. However, an SDK installer is limited in many ways. Supporting only one architecture is one of them.
For some releases, the same environment script has also been available in the Bitbake environment. You can use for example
devtool ide-sdk --mode=shared
to bootstrap the SDK out of a bitbake environment as documented here:
https://docs.yoctoproject.org/dev/singleindex.html#devtool-ide-sdk-configures-ides-and-bootstraps-sdks
I would argue that such an environment has many advantages over an environment set up by an eSDK installer. But the bootstrapping of such an SDK requires to replicate a bitbake environment, basically: the layers, the sstate-cache and a build configuration. There are multiple ways how this can be done:
- Here is probably the official future:
https://lists.openembedded.org/g/openembedded-core/message/210948
- layers and build configurations are in git, the sstate is shared
- And there several other tools doing this.
Therefore, it is probably more promising to make the replication of the Bitbake environment as simple as running an SDK installer is at time, instead of further improving the installer-based approach.
Regards,
Adrian
Quoted 14 lines
Quoted 1 line
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#210874):
https://lists.openembedded.org/g/openembedded-core/message/210874
Mute This Topic: https://lists.openembedded.org/mt/109957875/4454582
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-