diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2022-03-01 08:47:43 +0000 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2022-03-01 09:10:55 +0000 |
commit | f1ea35e3fb1b3f6714c709929f51fda5a29e9d2b (patch) | |
tree | 3107a38771bfa07f06641ee66e6561808c11f167 /meta/recipes-support/user-creation/files | |
parent | b1bb4e2d73985c6e8cf03b0fea94e8b739648cf7 (diff) | |
download | openembedded-core-contrib-rbt/coreutils.tar.gz |
coreutils: Disable statx for native buildrbt/coreutils
The statx requires glibc >= 2.28 and linux kernel >= 4.11, but coreutils's
configure only checks glibc compatibility for statx syscall but fail to check
kernel support, e.g.:
RedHat Enterprise Linux Server 7.6 (Maipo)
Host kernel: 3.10.0-1127.8.2.el7.x86_64
Docker OS: Ubuntu 20.04.1 LTS
$ bitbake coreutils-native
find the binary ls and run it as "ls -l ."
The result is something like: "?????????. ? ? ? ? ? foo"
This is because glibc is 2.31 (Ubunut 20.04 in docker) which has statx,
but host's kernel is 3.10.0 (CentOS 7) which doesn't support statx.
Disable statx for native build to fix the problem.
Original from: Davi Poyastro <davi.poyastro@nokia.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-support/user-creation/files')
0 files changed, 0 insertions, 0 deletions