| Summary: | host-python2 build fails on aarch64 | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Christian Stewart <christian> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | buildroot, christian, torstenhahn, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | 2020.11.3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | jetson tx2 (arm64) | Target: | odroid c4 (arm64) |
| Build: | ccf38c04f05819594b034b5def84e18e4699cffd | ||
| Attachments: | 0001-python-use-system-libffi-for-host-python.patch | ||
|
Description
Christian Stewart
2021-03-23 11:17:58 UTC
Not seeing this anymore, not sure why. https://github.com/skiffos/SkiffOS/issues/142 According to some users attempting to build with Arm64 machines using Ubuntu as the host (for Buildroot) against latest 2021.02.3, This issue is still present - host-python fails to build. I experiencing the same issue here: Host System: docker container running at an Apple M1 machine, git checkout of recent stable buildroot (created via docker buildx build --platform linux/arm64 -t br_db/arm64) running a recent ubuntu image as triggers the described error as soon as host-python2 is built. Would be very nice to have a workaround / fix for this because we have several build machines with aarch64 architecture. Created attachment 9006 [details]
0001-python-use-system-libffi-for-host-python.patch
I remember seeing this a while back. I looked a bit into the problem back then and solved it with the attached patch.
I never went around to fully testing it and submitting it to the list.
If it solves the problem for you, feel free to take it and submit it to the list.
Erico, thanks, your patch works great. I will submit to the list. Christian, All, Thanks for the report. We believe this is now fixed with the patch you submitted, and which was just appiled as of commit b31f7bc958. Thank you! Regards, Yann E. MORIN. |