Summary: | dev-python/cffi - cross-compiling fails with "error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tgyt |
Component: | Current packages | Assignee: | Cross compilation support <cross> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | jiri, jstein, mgorny, python, sam |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=582130 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
armv7a-unknown-linux-gnueabihf-emerge --info |
Created attachment 699303 [details]
armv7a-unknown-linux-gnueabihf-emerge --info
Python doesn't really support cross atm, so I honestly doubt there's a way to get this to work without major changes. I did have it working in https://github.com/gentoo/gentoo/pull/9822 but the eclass have changed a lot since then and it needed a major rework anyway. Ebuild now uses PEP517 and mgorny recently added cross-compile support to gpep517. This should work now. |
Created attachment 699300 [details] build.log dev-python/cffi-1.14.4 CHOST=armv7a-unknown-linux-gnueabihf Looks like #582130