mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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>
35 lines
1.8 KiB
BlitzBasic
35 lines
1.8 KiB
BlitzBasic
require pseudo.inc
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
|
|
file://fallback-passwd \
|
|
file://fallback-group \
|
|
"
|
|
SRC_URI:append:class-native = " \
|
|
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \
|
|
file://older-glibc-symbols.patch"
|
|
SRC_URI:append:class-nativesdk = " \
|
|
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \
|
|
file://older-glibc-symbols.patch"
|
|
SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
|
|
|
|
SRCREV = "2c43381180f9cfef4c0a8bb0c1658a86c3fcc876"
|
|
S = "${WORKDIR}/git"
|
|
PV = "1.9.0+git"
|
|
|
|
# largefile and 64bit time_t support adds these macros via compiler flags globally
|
|
# remove them for pseudo since pseudo intercepts some of the functions which will be
|
|
# aliased due to this e.g. open/open64 and it will complain about duplicate definitions
|
|
# pseudo on 32bit systems is not much of use anyway and these features are not of much
|
|
# use for it.
|
|
TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
|
|
|
|
# error: use of undeclared identifier '_STAT_VER'
|
|
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"
|