binutils: backport a patch to address failures when time64.inc is in use
PATCH v2 1/11 binutils: backport a patch to address failures when time64.inc is in use
--- .../binutils/binutils-2.40.inc | 1 + .../binutils/binutils/fix-time64.patch | 94 +++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/fix-time64.patch
meta/recipes-devtools/binutils/binutils-2.40.inc +1 -0
@@ -35,5 +35,6 @@ SRC_URI = "\ file://0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch \ file://0015-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ file://0016-CVE-2023-25586.patch \ + file://fix-time64.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/fix-time64.patch new file +94 -0
94 lines not on this page · raw message
Signature · 1 line
2.30.2
PATCH v2 2/11 time64.inc: add glibc-testsuite to 'special cases'
It builds glibc source like other glibc recipes do, and so the same problems occur.
--- meta/conf/distro/include/time64.inc | 1 + 1 file changed, 1 insertion(+)
meta/conf/distro/include/time64.inc +1 -0
@@ -10,6 +10,7 @@ TARGET_CC_ARCH:append:x86 = "${@bb.utils.contains('TUNE_FEATURES', 'm32', '${GLI GLIBC_64BIT_TIME_FLAGS:pn-glibc = "" GLIBC_64BIT_TIME_FLAGS:pn-glibc-tests = "" +GLIBC_64BIT_TIME_FLAGS:pn-glibc-testsuite = "" # pipewire-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to # both 32 and 64 bit file APIs. But it does not handle the time side? # Needs further investigation
Signature · 1 line
2.30.2
PATCH v2 3/11 strace: exclude from x86 (32 bit) ptests
In reply to Alexander KanavinPlease see the linked ticket.
--- meta/conf/distro/include/ptest-packagelists.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta/conf/distro/include/ptest-packagelists.inc +4 -0
@@ -114,6 +114,10 @@ PTESTS_SLOW:append:libc-musl = " libc-test" PTESTS_SLOW:remove:x86 = "valgrind" PTESTS_PROBLEMS:append:x86 = " valgrind" +# https://github.com/strace/strace/issues/250 +PTESTS_SLOW:remove:x86 = "strace" +PTESTS_PROBLEMS:append:x86 = " strace" + # ruby \ # Timeout # lz4 \ # Needs a rewrite # rt-tests \ # Needs to be checked whether it runs at all
Signature · 1 line
2.30.2
PATCH v2 4/11 lttng-tools: exclude from x86 (32 bit) ptests
In reply to Alexander KanavinPlease see the comment.
--- meta/conf/distro/include/ptest-packagelists.inc | 6 ++++++ 1 file changed, 6 insertions(+)
meta/conf/distro/include/ptest-packagelists.inc +6 -0
@@ -118,6 +118,12 @@ PTESTS_PROBLEMS:append:x86 = " valgrind" PTESTS_SLOW:remove:x86 = "strace" PTESTS_PROBLEMS:append:x86 = " strace" +# Needs support for 64 bit syscall versions +# which was added in http://git.lttng.org/?p=lttng-modules.git;a=commitdiff;h=86040c9e2ff8a79633db34220e32bdda536b00e6 +# and should show up in lttng-modules 2.14.x +PTESTS_SLOW:remove:x86 = "lttng-tools" +PTESTS_PROBLEMS:append:x86 = " lttng-tools" + # ruby \ # Timeout # lz4 \ # Needs a rewrite # rt-tests \ # Needs to be checked whether it runs at all
Signature · 1 line
2.30.2
PATCH v2 5/11 bitbake.conf: set minimum required target kernel to 5.15
In reply to Alexander KanavinIn particular this enables a number of useful features in glibc (which utilize newer kernel APIs), such as actually using 64 bit time_t versions of kernel syscalls:
In general, OLDEST_KERNEL setting is used in these two places:
- kernel.bbclass compares it with the target kernel version being built. If a vendor BSP still offers an older kernel, OLDEST_KERNEL should be set to match.
- glibc recipe passes it as a parameter to the build so that additional features and optimized paths that kernels older than OLDEST_KERNEL are enabled.
Note that there is a related setting, SDK_OLDEST_KERNEL, which remains as it was (at 3.2.0) to ensure maximum compatibility with kernels on SDK host machines; that setting is used to build nativesdk-glibc and verify the kernel version when the SDK is being installed.
Build host kernel versions are not checked directly; compatible distros are listed instead.
---
v2: rewrite the description to address the concerns about build host kernels and sdk host kernels
--- meta/conf/bitbake.conf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
meta/conf/bitbake.conf +1 -6
@@ -469,12 +469,7 @@ SDKPATHINSTALL = "/usr/local/${SDK_NAME_PREFIX}-${SDK_ARCH}" # Kernel info. ################################################################## -OLDEST_KERNEL = "3.2.0" -OLDEST_KERNEL:aarch64 = "3.14" -OLDEST_KERNEL:nios2 = "3.19" -OLDEST_KERNEL:powerpc64le = "3.10.0" -OLDEST_KERNEL:riscv32 = "5.4" -OLDEST_KERNEL:riscv64 = "4.15" +OLDEST_KERNEL = "5.15" # SDK_OLDEST_KERNEL can't be set using overrides since there are # none for the SDK architecture. Best to set it from a machine-sdk
Signature · 1 line
2.30.2
PATCH v2 6/11 python3-pytest: add missing tomllib runtime dependency
In reply to Alexander Kanavin--- meta/recipes-devtools/python/python3-pytest_7.3.1.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3-pytest_7.3.1.bb +1 -0
@@ -26,6 +26,7 @@ RDEPENDS:${PN} += " \ ${PYTHON_PN}-py \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ + ${PYTHON_PN}-tomllib \ ${PYTHON_PN}-wcwidth \ "
Signature · 1 line
2.30.2
PATCH v2 7/11 time64.inc: add a comment about how to simulate Y2038 in qemu
In reply to Alexander KanavinSetting clock to 2040 causes the following ptest failures on qemux86:
{'perl': ['t/op/magic', 'lib/File/stat', 'ext/POSIX/t/time']} {'python3': ['test_create_server_ssl_verified',
'test_create_unix_server_ssl_verified',
'test_local_good_hostname']}
{'dbus': ['dbus/test-relay_with_config.test',
'dbus/test-misc-internals.test',
'dbus/test-corrupt.test',
'dbus/test-loopback_with_config.test',
'dbus/test-relay.test',
'dbus/test-misc-internals_with_config.test',
'dbus/test-loopback.test',
'dbus/test-fdpass_with_config.test',
'dbus/test-corrupt_with_config.test',
'dbus/test-fdpass.test']}
{'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']}
{'glibc-tests': ['/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimes',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimensat',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utime',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timespec_get',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timer4',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-stat',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sigtimedwait',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-settimeofday',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sem5',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-select',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-scm_rights',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-rwlock14',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ppoll',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettimex',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettime',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_adjtime',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mtx-timedlock',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue8',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue2',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue10',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue1',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lutimes',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimesat',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimes',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimens',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fts',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fcntl',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cond11',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cnd-timedwait',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_settime',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_adjtime',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-aio6',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-adjtimex',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/ftwtest',
'/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod-time64']}
{'openssh': ['key_options']}
{'curl': ['test_0031',
'test_0046',
'test_0053',
'test_0061',
'test_0062',
'test_0172',
'test_0179',
'test_0327',
'test_0329',
'test_0420',
'test_1104',
'test_1216',
'test_1415']}
{'glib-2.0': ['glib/asyncqueue.test',
'glib/module-test-plugin.test',
'glib/file.test',
'glib/fileutils.test',
'glib/module-test-library.test']}{'gstreamer1.0': ['gstreamer/elements_multiqueue.test']} (may be flaky) {'tcl': ['cmdAH.test', 'interp.test']} {'libmodule-build-perl': ['t/compat']}
Some ptests fail on qemux86-64 as well:
{'curl': ['test_0031',
'test_0046',
'test_0053',
'test_0061',
'test_0062',
'test_0172',
'test_0179',
'test_0327',
'test_0329',
'test_0420',
'test_1104',
'test_1216',
'test_1415']}
{'python3': ['test_create_server_ssl_verified',
'test_create_unix_server_ssl_verified',
'test_local_good_hostname']}{'openssh': ['key_options']}
{'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']}
{'tcl': ['interp.test']}
{'python3-cryptography': ['tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_smime_sign_detached',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_pem',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg0-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x01]',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg1-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x02]',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg2-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x03]',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_attached',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_binary',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_smime_canonicalization',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_text',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_capabilities',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_attributes',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers',
'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers_different_hash_algs']}Note that setting the year to 2035 resolves almost all of the above, as onl the following then fail:
qemux86:
{'python3': ['test_local_good_hostname']}
{'curl': ['test_0420']}
qemux86-64:
{'python3': ['test_local_good_hostname']}
{'curl': ['test_0420']}
--- meta/conf/distro/include/time64.inc | 10 ++++++++++ 1 file changed, 10 insertions(+)
meta/conf/distro/include/time64.inc +10 -0
@@ -1,3 +1,13 @@ +# To simulate Y2038 occurring in qemu, add to your build configuration: +# QB_OPT_APPEND:append = " -rtc base=2040-02-02" +# +# Note that this does result in ptest failures on qemux86: +# perl python3 dbus openssl glibc-tests openssh curl glib-2.0 tcl libmodule-build-perl +# and a subset of those occurs in qemux86-64 as well: +# curl python3 openssl openssl tcl python3-cryptography +# +# Working to address those (before Y2038 rolls in) will be appreciated. + GLIBC_64BIT_TIME_FLAGS = " -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" # Only needed for some 32-bit architectures, some relatively newer
Signature · 1 line
2.30.2
PATCH v2 8/11 oeqa/sdk/assimp: run only when zlib is in the SDK
In reply to Alexander KanavinOtherwise assimp will silently fall back to a vendored copy of zlib which will fail with -D_TIME_BITS=64 due to https://github.com/madler/zlib/pull/764
This was exposed by multilib mips core-image-minimal SDKs, where the default 64 bit sysroot has zlib, but 32 bit sysroot does not.
--- meta/lib/oeqa/sdk/cases/assimp.py | 3 +++ 1 file changed, 3 insertions(+)
meta/lib/oeqa/sdk/cases/assimp.py +3 -0
@@ -22,6 +22,9 @@ class BuildAssimp(OESDKTestCase): if not (self.tc.hasHostPackage("nativesdk-cmake") or self.tc.hasHostPackage("cmake-native")): raise unittest.SkipTest("Needs cmake") + if not (self.tc.hasTargetPackage("zlib", multilib=True) or \ + self.tc.hasTargetPackage("libz1", multilib=True)): + raise unittest.SkipTest("Assimp test needs zlib in the SDK") def test_assimp(self): with tempfile.TemporaryDirectory(prefix="assimp", dir=self.tc.sdk_dir) as testdir:
Signature · 1 line
2.30.2
PATCH v2 9/11 defaultsetup: Enable largefile and 64bit time_t support systemwide
In reply to Alexander KanavinFrom: Khem Raj <[email protected]>
--- meta/conf/distro/defaultsetup.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/defaultsetup.conf +1 -1
@@ -2,7 +2,7 @@ include conf/distro/include/default-providers.inc include conf/distro/include/default-versions.inc include conf/distro/include/default-distrovars.inc include conf/distro/include/maintainers.inc - +include conf/distro/include/time64.inc require conf/distro/include/tcmode-${TCMODE}.inc require conf/distro/include/tclibc-${TCLIBC}.inc
Signature · 1 line
2.30.2
PATCH v2 10/11 insane.bbclass: simplify exceptions for 32 bit time API check
In reply to Alexander KanavinExisting implementation required to list both specific problematic apis, and files that use them: neither is necessary as both are seen in package_qa error messages, and can cause excessive amount of exception lines, if there are too many files, or they are installed in arch-specific locations. Also, the value of INSANE_SKIP should be the test that needs to be skipped, and in this case it wasn't.
Also, all problematic recipes are now correctly listed.
---
v2: add pseudo to exception list
--- meta/classes-global/insane.bbclass | 14 +++----------- meta/conf/distro/include/time64.inc | 19 +++++++++++++------ 2 files changed, 16 insertions(+), 17 deletions(-)
meta/classes-global/insane.bbclass +3 -11
@@ -617,22 +617,14 @@ def check_32bit_symbols(path, packagename, d, elf, messages): # At this point, any symbol information is stripped into the debug # package, so that is the only place we will find them. elfpath = elfpath.replace('.debug/', '') - allowed = ( - d.getVarFlag( - 'INSANE_SKIP:' + d.getVar('PN'), elfpath.replace('/', '_') - ) or '' - ).split() - usedapis -= set(allowed) - if usedapis: + allowed = "32bit-time" in (d.getVar('INSANE_SKIP') or '').split() + if not allowed: msgformat = elfpath + " uses 32-bit api '%s'" for sym in usedapis: oe.qa.add_message(messages, '32bit-time', msgformat % sym) oe.qa.add_message( messages, '32bit-time', - 'Suppress with INSANE_SKIP:%s[%s] = "%s"' % ( - d.getVar('PN'), elfpath.replace('/', '_'), - ' '.join(usedapis) - ) + 'Suppress with INSANE_SKIP = "32bit-time"' ) # Check license variables
meta/conf/distro/include/time64.inc +13 -6
@@ -30,10 +30,17 @@ GLIBC_64BIT_TIME_FLAGS:pn-pipewire = "" GLIBC_64BIT_TIME_FLAGS:pn-pulseaudio = "" GLIBC_64BIT_TIME_FLAGS:pn-gcc-sanitizers = "" -INSANE_SKIP:libstd-rs[_usr_lib_rustlib_armv7-poky-linux-gnueabihf_lib_libstd.so] = "clock_gettime gettime fcntl fstat64 fstatat64 getsockopt ioctl lstat64 nanosleep prctl recvmsg sendmsg setsockopt stat64" -INSANE_SKIP:librsvg[_usr_bin_rsvg-convert] = "fcntl fstat64 prctl stat64 clock_gettime" -INSANE_SKIP:librsvg[_usr_lib_librsvg-2.so.2.48.0] = "fcntl lstat64 setsockopt sendmsg fstat64 getsockopt ioctl nanosleep timegm fstatat64 prctl mktime gmtime_r recvmsg stat64 clock_gettime localtime_r" - -# libpulsedsp.so is a preload-library that hooks libc functions -INSANE_SKIP:pulseaudio[_usr_lib_pulseaudio_libpulsedsp.so] = "setsockopt fcntl" +INSANE_SKIP:append:pn-cargo = " 32bit-time" +INSANE_SKIP:append:pn-gcc-sanitizers = " 32bit-time" +INSANE_SKIP:append:pn-glibc = " 32bit-time" +INSANE_SKIP:append:pn-glibc-tests = " 32bit-time" +INSANE_SKIP:append:pn-librsvg = " 32bit-time" +INSANE_SKIP:append:pn-libstd-rs = " 32bit-time" +INSANE_SKIP:append:pn-pseudo = " 32bit-time" +INSANE_SKIP:append:pn-pulseaudio = " 32bit-time" +INSANE_SKIP:append:pn-python3-bcrypt = " 32bit-time" +INSANE_SKIP:append:pn-python3-cryptography = " 32bit-time" +INSANE_SKIP:append:pn-rust = " 32bit-time" +INSANE_SKIP:append:pn-rust-hello-world = " 32bit-time" +INSANE_SKIP:append:pn-strace = " 32bit-time"
Signature · 1 line
2.30.2
PATCH v2 11/11 insane.bbclass: enable 32 bit time API check (as a warning) on affected architectures
In reply to Alexander Kanavin---
v2: downgrade to a warning from an error
--- meta/classes-global/insane.bbclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
meta/classes-global/insane.bbclass +7 -1
@@ -34,6 +34,7 @@ WARN_QA ?= " libdir xorg-driver-abi buildpaths \ missing-update-alternatives native-last missing-ptest \ license-exists license-no-generic license-syntax license-format \ license-incompatible license-file-missing obsolete-license \ + 32bit-time \ " ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
@@ -44,7 +45,7 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ already-stripped installed-vs-shipped ldflags compile-host-path \ install-host-path pn-overrides unknown-configure-option \ useless-rpaths rpaths staticdev empty-dirs \ - patch-fuzz patch-status-core\ + patch-fuzz patch-status-core \ " # Add usrmerge QA check based on distro feature ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
@@ -512,6 +513,11 @@ def check_32bit_symbols(path, packagename, d, elf, messages): """ Check that ELF files do not use any 32 bit time APIs from glibc. """ + thirtytwo_bit_time_archs = set(('arm','armeb','mipsarcho32','powerpc','x86')) + overrides = set(d.getVar('OVERRIDES').split(':')) + if not(thirtytwo_bit_time_archs & overrides): + return + import re # This list is manually constructed by searching the image folder of the # glibc recipe for __USE_TIME_BITS64. There is no good way to do this
Signature · 1 line
2.30.2
Re: [OE-core] [PATCH v2 11/11] insane.bbclass: enable 32 bit time API check (as a warning) on affected architectures
Quoted 21 lines · Alexander Kanavin
Signed-off-by Alexander Kanavin <[email protected]>---
v2: downgrade to a warning from an error--- meta/classes-global/insane.bbclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)meta/classes-global/insane.bbclass +1
-0@@ -34,6 +34,7 @@ WARN_QA ?= " libdir xorg-driver-abi buildpaths \ missing-update-alternatives native-last missing-ptest \ license-exists license-no-generic license-syntax license-format \ license-incompatible license-file-missing obsolete-license \ + 32bit-time \ " ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
meta/classes-global/insane.bbclass ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ · line 48
Quoted 5 lines
meta/classes-global/insane.bbclass +1
-1@@ -44,7 +45,7 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ already-stripped installed-vs-shipped ldflags compile-host-path \ install-host-path pn-overrides unknown-configure-option \ useless-rpaths rpaths staticdev empty-dirs \ - patch-fuzz patch-status-core\ + patch-fuzz patch-status-core \
This unrelated change creates a conflict with your other series. Could you drop it if you need to respin?
Quoted 28 lines
meta/classes-global/insane.bbclass +5
-0" # Add usrmerge QA check based on distro feature ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"@@ -512,6 +513,11 @@ def check_32bit_symbols(path, packagename, d, elf, messages): """ Check that ELF files do not use any 32 bit time APIs from glibc. """ + thirtytwo_bit_time_archs = set(('arm','armeb','mipsarcho32','powerpc','x86')) + overrides = set(d.getVar('OVERRIDES').split(':')) + if not(thirtytwo_bit_time_archs & overrides): + return + import re # This list is manually constructed by searching the image folder of the # glibc recipe for __USE_TIME_BITS64. There is no good way to do thisSignature · 11 lines
2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#180522): https://lists.openembedded.org/g/openembedded-core/message/180522 Mute This Topic: https://lists.openembedded.org/mt/98554692/3617179 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com