Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-compilation issue with prdata #202

Closed
ttmms opened this issue Jun 8, 2022 · 3 comments
Closed

Cross-compilation issue with prdata #202

ttmms opened this issue Jun 8, 2022 · 3 comments

Comments

@ttmms
Copy link

ttmms commented Jun 8, 2022

I'm cross-compiling to ARM64 with yocto/bitbake using autotools, and running into issue with prdata. As I understood, it is an intermediate helper tool to generate source files during the build. So it should not be cross-compiled because it then leads to exec format error when the build continues and tries to run ARM64 prdata binary on x86 host. Do you have any suggestions how to fix configure/makefile to not cross-compile this specific binary?

Thanks!

@tschoonj
Copy link
Owner

tschoonj commented Jun 8, 2022

Hi,

You will need to use meson/ninja for that. More information can be found here.

@ttmms
Copy link
Author

ttmms commented Jun 13, 2022

Alright, I suspected something like that! Unfortunately the required meson version is too high for my BSP, so I will have to find some hack in the meantime. Is meson >= 0.56.0 a hard requirement?

@tschoonj
Copy link
Owner

Probably, but you feel free to try with an older version. Can't you install a newer version of meson during the build? meson 0.56.0 was released in October 2020, so it's not exactly recent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants