]> code.ossystems Code Review - openembedded-core.git/commit
glibc: Disable CPU ISA level requirement check
authorHe Zhe <zhe.he@windriver.com>
Fri, 26 Feb 2021 14:20:45 +0000 (22:20 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Mar 2021 14:15:27 +0000 (14:15 +0000)
commit91264e14a088013b138e82520744f79fa7c8d585
tree31feeb57076e59ad38eeaef8043109483083cc7d
parent862b4fac3ee7d951758c8c93462331ad52bf0190
glibc: Disable CPU ISA level requirement check

We experience the following error and fail to boot on qemu64 machine

/lib64/libc.so.6: CPU ISA level is lower than required
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

As stated in [1],

Passing -march= causes glibc to add annotations not compatible to run
result on -march= as too high ISA level is inferred.

ISA level is a new feature of 2.33 release.

Until it's fixed let's disable ISA level inference with
    libc_cv_include_x86_isa_level=no
(no better configure option yet).

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbd6a821ff753e3b41324c4fb7c58cf65eeea33

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc.inc