pseudo: Pin to using GCC compiler

It uses compiler built-ins which clang does not provide

(From OE-Core rev: 0b8ce7e7f5e04fc078014cdfb25cf3502dbf4d49)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2025-05-20 23:19:58 -07:00 committed by Richard Purdie
parent 4adecef1ad
commit 768cde81b1

View File

@ -25,3 +25,10 @@ TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS
# error: use of undeclared identifier '_STAT_VER' # error: use of undeclared identifier '_STAT_VER'
COMPATIBLE_HOST:libc-musl = 'null' COMPATIBLE_HOST:libc-musl = 'null'
#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
#| ^
#| ./ports/linux/pseudo_wrappers.c:80:57: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration]
#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
TOOLCHAIN = "gcc"