diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-11-29 19:00:09 -0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2022-12-20 10:35:02 -0500 |
| commit | 6d89943abc78d7529ad756e8078aac695c0b38e4 (patch) | |
| tree | cba2f7a5110d6aa2a807eb9367e9742b8d80adcf /meta-python/recipes-devtools/python/python-systemd/endian.patch | |
| parent | dfab7834b6d2bcfe7f6fafcc2b69273a5b0ad5c5 (diff) | |
| download | meta-openembedded-6d89943abc78d7529ad756e8078aac695c0b38e4.tar.gz | |
volume-key: Inherit python3targetconfig
It uses python3-config during build to grok the python specific
includedirs, therefore its important to ensure that target specific
python3-config is used, otherwise currently it defaults to native
python3-config which ends up adding native python3 include paths
which might work out ok but is exposed when target is 32bit + lfs
enabled, the headers don't match between native and target python
and compile fails e.g.
| In file included from /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/volume-key/0.3.12-r0/recipe-sysroot-native/usr/include/python3.11/Python.h:38:
| /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/volume-key/0.3.12-r0/recipe-sysroot-native/usr/include/python3.11/pyport.h:601:2: error: "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
| #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 44384179db0db8bbf489dbe0524a5e5aa2853603)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-systemd/endian.patch')
0 files changed, 0 insertions, 0 deletions
