Freescale / meta-freescale

Layer containing NXP hardware support metadata
Other
168 stars 254 forks source link

Closed sources binaries and compilation flags #1743

Closed blemouzy closed 5 months ago

blemouzy commented 7 months ago

Hello,

I'm working with Yocto Kirkstone on i.MX6 CPU for industrial applications. BSP and applications must be Y2038 ready. So everything is built with "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" compilation flags.

But some meta-freescale recipes used precompiled binaries / libraries like imx-gpu-viv.

Do you know compilation flags used to build them?

thochstein commented 7 months ago

Hi @blemouzy,

  • Are they built with security flags? (enabled by default with Kirkstone)

The graphics packages mostly do use them, but I don't know about the rest. I suspect they may not. I have made an internal ticket to address this.

  • Are they built with time64 flags?

This issue was not on our radar until Yocto mandated it with Nanbield. We have made some progress on this for our Q1 Nanbield release, but, unfortunately, we do not have a plan to backport any of this to Kirkstone. Otherwise, we hope to make some good progress on both issues for our Q2 release, where we are targeting the next Yocto LTS 5.0 Scarthgap.

blemouzy commented 7 months ago

Hi @thochstein,

The graphics packages mostly do use them, but I don't know about the rest. I suspect they may not. I have made an internal ticket to address this.

Thanks! Please keep us in touch.

This issue was not on our radar until Yocto mandated it with Nanbield. We have made some progress on this for our Q1 Nanbield release, but, unfortunately, we do not have a plan to backport any of this to Kirkstone. Otherwise, we hope to make some good progress on both issues for our Q2 release, where we are targeting the next Yocto LTS 5.0 Scarthgap.

Do you think that we will able to use these new precompiled libraries with Kirkstone?

thochstein commented 7 months ago

Hi @blemouzy, unfortunately, my understanding is that the latest will not work with Kirkstone due to different glibc versions.