From patchwork Mon Sep 12 03:41:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 12576 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2806ECAAA1 for ; Mon, 12 Sep 2022 03:41:36 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web10.3705.1662954088479425642 for ; Sun, 11 Sep 2022 20:41:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OcyDGHWj; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id u132so7357609pfc.6 for ; Sun, 11 Sep 2022 20:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=hhQJ3XJX1rCcIH1mMFORHP9Nd8aU7qWiPbHkM7PyJFI=; b=OcyDGHWjVD4FLxYjXFQc5Kt0Q504WyZx7xNq4dNYvK/J2lU51k7X8uZ9UkZXUPT73y cvCpCampTzM1rlN1tXRHYlGJRQHBGdZSva3qDOVTcnnAWmTYP/uXu04pK1kNcqaJXGa8 9qu/ujhuKTi+Moj4O6n77I9g74+R1kE5Tqpm+9Aa/myDAayD7JT52iadp2JFiJoqXV2I dq2MeSuZ0pGBwAZVp7Emi0PgEo7iiJT/4F0KiJSm8d+11ptgZtpzl+25IYjhGBfB1+1Y DrZb8pm8JCdYoDCr/bRhYMbEgDrS4E2Q9rDG5VGly28dsrCStCHPYBWZb7+hy5P50Gn0 aCIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=hhQJ3XJX1rCcIH1mMFORHP9Nd8aU7qWiPbHkM7PyJFI=; b=PAK93U/DTpd12+kySw97289hzc2E8DCw6L8FX6jINawosU8AZ2MNVlMyzjMGPKTKc/ zF7QpONY8sr8ytiWDgLj297iNFgmEudMMyMKoZb+1oBAik9v+W9jCBH5UJzXHb+vbEic 98KF76p2v8N/gD4gdTkI7jU4B1GmGvNGdZCl654nrDq2/TS1VWE2Z+wbh+S+3CWi7Fzo Vc6fGSxGN5pBVaq8xzEGUxMvgmv4hkhyZVdTFZH5/fvUxTvgJM17cYLS1wbz58FrKR0b Zsz/xhr7mbXdRz3j9h0J/AY1tUOy3XOjHtBBQ6Mbz1+78OZjL/RUTy3oGJiw5hmi9hL+ Khyg== X-Gm-Message-State: ACgBeo3jyx/rwD3SSOyplPBCbX4kdPbSoSF+yD0cQk57+AOM2SJ9Keck jdbMSnn0KRiVu0s8cOMne4Js59Uj5vfovw== X-Google-Smtp-Source: AA6agR5o8UBjfu1MPJeL6+gkjOZgOHUXUHtjpRgzlYWhae2IqTKuS/boVHsP4QpK2ri1soN2NdebAw== X-Received: by 2002:a63:6948:0:b0:433:5e5b:54b2 with SMTP id e69-20020a636948000000b004335e5b54b2mr21468421pgc.286.1662954087386; Sun, 11 Sep 2022 20:41:27 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::8fc7]) by smtp.gmail.com with ESMTPSA id d7-20020a170902cec700b00176ea6ce0efsm4664940plg.109.2022.09.11.20.41.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 20:41:27 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 1/7] libcdio: Define _LARGEFILE64_SOURCE Date: Sun, 11 Sep 2022 20:41:17 -0700 Message-Id: <20220912034123.1885229-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Sep 2022 03:41:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98741 This package tries to use fseek/fseeko/fseeko64 based on a local logic where it sees a need to use largefile supported fseeko on 32bit however is a transparent implementation of fseeko, so to get explicit definitions of fseeko64/lseek64 etc. serve the definition on 32bit architectures via cmdline Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb b/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb index 1facd47d8f..62004ac440 100644 --- a/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb +++ b/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb @@ -18,6 +18,9 @@ PACKAGECONFIG[cdda-player] = "--with-cdda-player,--without-cdda-player,ncurses" PACKAGECONFIG[cddb] = "--enable-cddb,--disable-cddb,libcddb" PACKAGECONFIG[vcd-info] = "--enable-vcd-info,--disable-vcd-info,vcdimager" +# add -D_LARGEFILE64_SOURCE for 32bit targets +CFLAGS += "${@['-D_LARGEFILE64_SOURCE',''][d.getVar('SITEINFO_BITS') != '32']}" + PACKAGES += "${PN}-utils" FILES:${PN} = "${libdir}/${BPN}${SOLIB}" From patchwork Mon Sep 12 03:41:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 12578 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF942C6FA8B for ; Mon, 12 Sep 2022 03:41:36 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web08.3793.1662954089040768708 for ; Sun, 11 Sep 2022 20:41:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lIRo6iFX; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id b75so2116555pfb.7 for ; Sun, 11 Sep 2022 20:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=5CQllqUNijE0eVLU0/USJ2JhqanNLSRQXtYj6W45eDo=; b=lIRo6iFXgbxGWnxgTdTY7+Tmysjlt4OiV4b4+ZkCfiI5kajkXwOwHfSBGnQO+SGwyO W6CEJw6u3VlsJ3O+PAAXcooafm54R0i7IAph2V3D3YJxeht05K671GuAqiLC3OFIYkdb RS1FXWj6KMM1WofXF4CJH9Rd5HSFoCqWQ03XF2spyz638wyygDgQRxDhQ9KaJmQFC7aN wSfaTVC9BONUCr6pTxTLmOnjcD2ZNS0b2fhzcga/GrywrgFrt1kcpnjp5Jco6VrhXdpA bxWd7jvWsdxQnvwzHZSctoqCDS3+hYmPULq38CGetw+Ge0+LA2h5oNxFN1mjtcjOyUfE Jg7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=5CQllqUNijE0eVLU0/USJ2JhqanNLSRQXtYj6W45eDo=; b=RxxPCfDNlahHfsup6fE9MzwB2L3g39s1y4qAfUfH9Bz30iXqYDcfcarrPni19KT+BI 33wi9Vwf94fQeIkhJsWXze9upJPmamp321t2QjVZFPbkTRa0iGUgA2MLsi/64ZUrvb3s jdfTYzxl7gjjPK9HzODGRGPt8rBf+uFLrPVr9XPBPnAiDOGUh+vxnf96aok+xt32ryVM t5FP8zkXbpPx02uIIHgKknNrLcDDLxVdNKedyzKXxuqAjZDXSbP7LFfWwLMDgQZNve7l 6O67Baiqk/V2EW5tOjg4G4nzlhzngBqQokgTyjEVFN4TOLaZaPFJjzDDjApUSfrSXjm3 FyVA== X-Gm-Message-State: ACgBeo0kPNDuQALJsDbx1o7M68710JF/ohq6inFxGDEPK+nTNIfc9w3A C4VYH1e2mwe7iRfaPMa9f2nKEo39XoxkpQ== X-Google-Smtp-Source: AA6agR4AxBuEktJCjYUH0LYjVBmiNmNoThyTAT9EB8a900M6ICXd2ya2Vfee+Y+XgZurH2oVI6q7dg== X-Received: by 2002:a63:2c8b:0:b0:41c:5f9e:a1d6 with SMTP id s133-20020a632c8b000000b0041c5f9ea1d6mr21338989pgs.601.1662954088166; Sun, 11 Sep 2022 20:41:28 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::8fc7]) by smtp.gmail.com with ESMTPSA id d7-20020a170902cec700b00176ea6ce0efsm4664940plg.109.2022.09.11.20.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 20:41:27 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 2/7] rocksdb: Upgrade to 7.5.3 release Date: Sun, 11 Sep 2022 20:41:18 -0700 Message-Id: <20220912034123.1885229-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220912034123.1885229-1-raj.khem@gmail.com> References: <20220912034123.1885229-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Sep 2022 03:41:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98742 Drop upstreamed patches and forward port existing ones Signed-off-by: Khem Raj --- ...1-cmake-Add-check-for-atomic-support.patch | 4 +- ...01-cmake-Use-exported-target-for-bz2.patch | 11 +---- ...0001-folly-Use-SYS_futex-for-syscall.patch | 42 ------------------ ...Limit-the-mm_malloc.h-hack-to-glibc-.patch | 23 ---------- ...ment-toku_time_now-for-rv32-rv64-in-.patch | 44 ------------------- meta-oe/recipes-dbs/rocksdb/files/arm.patch | 2 +- meta-oe/recipes-dbs/rocksdb/files/mips.patch | 9 ++-- meta-oe/recipes-dbs/rocksdb/files/ppc64.patch | 6 +-- .../{rocksdb_6.20.3.bb => rocksdb_7.5.3.bb} | 7 +-- 9 files changed, 13 insertions(+), 135 deletions(-) delete mode 100644 meta-oe/recipes-dbs/rocksdb/files/0001-folly-Use-SYS_futex-for-syscall.patch delete mode 100644 meta-oe/recipes-dbs/rocksdb/files/0001-jemalloc_helper-Limit-the-mm_malloc.h-hack-to-glibc-.patch delete mode 100644 meta-oe/recipes-dbs/rocksdb/files/0001-range_tree-Implement-toku_time_now-for-rv32-rv64-in-.patch rename meta-oe/recipes-dbs/rocksdb/{rocksdb_6.20.3.bb => rocksdb_7.5.3.bb} (88%) diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-cmake-Add-check-for-atomic-support.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-cmake-Add-check-for-atomic-support.patch index 8bdd27ff25..2906100dee 100644 --- a/meta-oe/recipes-dbs/rocksdb/files/0001-cmake-Add-check-for-atomic-support.patch +++ b/meta-oe/recipes-dbs/rocksdb/files/0001-cmake-Add-check-for-atomic-support.patch @@ -27,7 +27,7 @@ Signed-off-by: Khem Raj --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -935,7 +935,12 @@ endif() +@@ -1000,7 +1000,12 @@ option(ROCKSDB_BUILD_SHARED "Build share if(WIN32) set(SYSTEM_LIBS ${SYSTEM_LIBS} shlwapi.lib rpcrt4.lib) else() @@ -39,7 +39,7 @@ Signed-off-by: Khem Raj + endif() endif() - add_library(${ROCKSDB_STATIC_LIB} STATIC ${SOURCES} ${BUILD_VERSION_CC}) + set(ROCKSDB_PLUGIN_EXTERNS "") --- /dev/null +++ b/cmake/modules/CheckAtomic.cmake @@ -0,0 +1,69 @@ diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-cmake-Use-exported-target-for-bz2.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-cmake-Use-exported-target-for-bz2.patch index d3054759a7..139312a298 100644 --- a/meta-oe/recipes-dbs/rocksdb/files/0001-cmake-Use-exported-target-for-bz2.patch +++ b/meta-oe/recipes-dbs/rocksdb/files/0001-cmake-Use-exported-target-for-bz2.patch @@ -13,16 +13,7 @@ Upstream-Status: Submitted [https://github.com/facebook/rocksdb/pull/7541] --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -32,7 +32,7 @@ - # 3. cmake .. - # 4. make -j - --cmake_minimum_required(VERSION 3.5.1) -+cmake_minimum_required(VERSION 3.7.2) - - list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/modules/") - include(ReadVersion) -@@ -152,12 +152,7 @@ else() +@@ -153,12 +153,7 @@ else() if(WITH_BZ2) find_package(BZip2 REQUIRED) add_definitions(-DBZIP2) diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-folly-Use-SYS_futex-for-syscall.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-folly-Use-SYS_futex-for-syscall.patch deleted file mode 100644 index 9c70d4f6a6..0000000000 --- a/meta-oe/recipes-dbs/rocksdb/files/0001-folly-Use-SYS_futex-for-syscall.patch +++ /dev/null @@ -1,42 +0,0 @@ -From ddcc8a9f7e0f0bfee96f2f0a0c10f21f9fa9b05d Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 15 Nov 2020 15:02:28 -0800 -Subject: [PATCH] folly: Use SYS_futex for syscall - -glibc defines SYS_futex and on newer 32bit CPUs like RISCV-32, arc there -is no 32bit time_t therefore define SYS_futex in terms of SYS_futex_time64 - -Upstream-Status: Submitted [https://github.com/facebook/rocksdb/pull/7676] -Signed-off-by: Khem Raj ---- - third-party/folly/folly/detail/Futex.cpp | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - ---- a/third-party/folly/folly/detail/Futex.cpp -+++ b/third-party/folly/folly/detail/Futex.cpp -@@ -48,9 +48,15 @@ namespace { - #define FUTEX_CLOCK_REALTIME 256 - #endif - -+/// Newer 32bit CPUs eg. RISCV-32 are defaulting to 64bit time_t from get go and -+/// therefore do not define __NR_futex -+#if !defined(SYS_futex) && defined(SYS_futex_time64) -+# define SYS_futex SYS_futex_time64 -+#endif -+ - int nativeFutexWake(const void* addr, int count, uint32_t wakeMask) { - long rv = syscall( -- __NR_futex, -+ SYS_futex, - addr, /* addr1 */ - FUTEX_WAKE_BITSET | FUTEX_PRIVATE_FLAG, /* op */ - count, /* val */ -@@ -112,7 +118,7 @@ FutexResult nativeFutexWaitImpl( - // Unlike FUTEX_WAIT, FUTEX_WAIT_BITSET requires an absolute timeout - // value - http://locklessinc.com/articles/futex_cheat_sheet/ - long rv = syscall( -- __NR_futex, -+ SYS_futex, - addr, /* addr1 */ - op, /* op */ - expected, /* val */ diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-jemalloc_helper-Limit-the-mm_malloc.h-hack-to-glibc-.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-jemalloc_helper-Limit-the-mm_malloc.h-hack-to-glibc-.patch deleted file mode 100644 index dbb0dda221..0000000000 --- a/meta-oe/recipes-dbs/rocksdb/files/0001-jemalloc_helper-Limit-the-mm_malloc.h-hack-to-glibc-.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 1a69d4cc3f97e348dba9714c7ec60da1a8650664 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 15 Jun 2021 22:05:36 -0700 -Subject: [PATCH] jemalloc_helper: Limit the mm_malloc.h hack to glibc on linux - -Musl does not need this hack - -Signed-off-by: Khem Raj ---- - port/jemalloc_helper.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/port/jemalloc_helper.h -+++ b/port/jemalloc_helper.h -@@ -5,7 +5,7 @@ - - #pragma once - --#if defined(__clang__) -+#if defined(__clang__) && defined(__GLIBC__) - // glibc's `posix_memalign()` declaration specifies `throw()` while clang's - // declaration does not. There is a hack in clang to make its re-declaration - // compatible with glibc's if they are declared consecutively. That hack breaks diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-range_tree-Implement-toku_time_now-for-rv32-rv64-in-.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-range_tree-Implement-toku_time_now-for-rv32-rv64-in-.patch deleted file mode 100644 index 86c1bffea6..0000000000 --- a/meta-oe/recipes-dbs/rocksdb/files/0001-range_tree-Implement-toku_time_now-for-rv32-rv64-in-.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 89c032a9b4011385c0b504ea61e5df0db71f0ff5 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 16 Jun 2021 19:06:02 -0700 -Subject: [PATCH] range_tree: Implement toku_time_now for rv32/rv64 in asm - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - .../range_tree/lib/portability/toku_time.h | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -diff --git a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h -index 4425a4a2e..4ac964f85 100644 ---- a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h -+++ b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h -@@ -133,6 +133,25 @@ static inline tokutime_t toku_time_now(void) { - return result; - #elif defined(__powerpc__) - return __ppc_get_timebase(); -+#elif defined(__riscv) // RISC-V -+#if __riscv_xlen == 32 -+ uint32_t lo, hi0, hi1; -+ __asm __volatile__( -+ "rdcycleh %0\n" -+ "rdcycle %1\n" -+ "rdcycleh %2\n" -+ "sub %0, %0, %2\n" -+ "seqz %0, %0\n" -+ "sub %0, zero, %0\n" -+ "and %1, %1, %0\n" -+ : "=r"(hi0), "=r"(lo), "=r"(hi1)); -+ return ((uint64_t)hi1 << 32) | lo; -+#else -+ uint64_t result; -+ __asm __volatile__("rdcycle %0" : "=r"(result)); -+ return result; -+#endif -+ - #else - #error No timer implementation for this platform - #endif --- -2.32.0 - diff --git a/meta-oe/recipes-dbs/rocksdb/files/arm.patch b/meta-oe/recipes-dbs/rocksdb/files/arm.patch index d428a6624a..573767797d 100644 --- a/meta-oe/recipes-dbs/rocksdb/files/arm.patch +++ b/meta-oe/recipes-dbs/rocksdb/files/arm.patch @@ -3,7 +3,7 @@ implement timer for arm >= v6 Signed-off-by: Khem Raj --- a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h +++ b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h -@@ -161,6 +161,20 @@ static inline tokutime_t toku_time_now(v +@@ -164,6 +164,20 @@ static inline tokutime_t toku_time_now(v struct timeval tv; gettimeofday(&tv, nullptr); return (uint64_t)tv.tv_sec * 1000000 + tv.tv_usec; diff --git a/meta-oe/recipes-dbs/rocksdb/files/mips.patch b/meta-oe/recipes-dbs/rocksdb/files/mips.patch index db2305d296..0104d54347 100644 --- a/meta-oe/recipes-dbs/rocksdb/files/mips.patch +++ b/meta-oe/recipes-dbs/rocksdb/files/mips.patch @@ -3,11 +3,10 @@ implement timer implementation for mips platform Signed-off-by: Khem Raj --- a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h +++ b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h -@@ -155,7 +155,12 @@ static inline tokutime_t toku_time_now(v - __asm __volatile__("rdcycle %0" : "=r"(result)); - return result; - #endif -- +@@ -158,6 +158,12 @@ static inline tokutime_t toku_time_now(v + uint64_t cycles; + asm volatile("rdcycle %0" : "=r"(cycles)); + return cycles; +#elif defined(__mips__) + // mips apparently only allows rdtsc for superusers, so we fall + // back to gettimeofday. It's possible clock_gettime would be better. diff --git a/meta-oe/recipes-dbs/rocksdb/files/ppc64.patch b/meta-oe/recipes-dbs/rocksdb/files/ppc64.patch index bc40f1b1e7..45deef338c 100644 --- a/meta-oe/recipes-dbs/rocksdb/files/ppc64.patch +++ b/meta-oe/recipes-dbs/rocksdb/files/ppc64.patch @@ -23,6 +23,6 @@ Signed-off-by: Khem Raj + uint64_t result; + asm volatile("mfspr %0, 268" : "=r"(result)); + return result; - #elif defined(__riscv) // RISC-V - #if __riscv_xlen == 32 - uint32_t lo, hi0, hi1; + #elif defined(__s390x__) + uint64_t result; + asm volatile("stckf %0" : "=Q"(result) : : "cc"); diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_6.20.3.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_7.5.3.bb similarity index 88% rename from meta-oe/recipes-dbs/rocksdb/rocksdb_6.20.3.bb rename to meta-oe/recipes-dbs/rocksdb/rocksdb_7.5.3.bb index 2ad2d38a53..d4f0346ee1 100644 --- a/meta-oe/recipes-dbs/rocksdb/rocksdb_6.20.3.bb +++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_7.5.3.bb @@ -6,15 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837" -SRCREV = "8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c" -SRCBRANCH = "6.20.fb" +SRCREV = "540d5aae516265170564ec27b3e67a54a11b7045" +SRCBRANCH = "7.5.fb" SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH};protocol=https \ file://0001-cmake-Add-check-for-atomic-support.patch \ file://0001-cmake-Use-exported-target-for-bz2.patch \ - file://0001-folly-Use-SYS_futex-for-syscall.patch \ - file://0001-jemalloc_helper-Limit-the-mm_malloc.h-hack-to-glibc-.patch \ - file://0001-range_tree-Implement-toku_time_now-for-rv32-rv64-in-.patch \ file://ppc64.patch \ file://mips.patch \ file://arm.patch \ From patchwork Mon Sep 12 03:41:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 12575 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF26EC6FA89 for ; Mon, 12 Sep 2022 03:41:36 +0000 (UTC) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mx.groups.io with SMTP id smtpd.web10.3706.1662954089890119046 for ; Sun, 11 Sep 2022 20:41:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=QXNOCBxK; spf=pass (domain: gmail.com, ip: 209.85.215.178, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f178.google.com with SMTP id t65so7084603pgt.2 for ; Sun, 11 Sep 2022 20:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=0QJ68ZG6YrU+GINsFXaBaCAKi/ougfqpRlrhCPdbjWw=; b=QXNOCBxKMY9iuPZAtGgEWLxcO7FbB1xYj6A/dQJjTqgmmg+etUFyIc3513edaWLdyp mU63tbmJHrWEDrKiWNDQcWZKjkDImgm2d2UtGyOAMGzWXaFX2+hlvwtljSbcc7jMmLcc ffwlUmFNcHiVvvendARHTv9T3u+ng+D8x7OfYGQdEG2EvUFepwAXGpoUWs+SFNIIE70+ ZlmbF5Rwg+/eyCESdvZ3hYTDG/8AnNHyuzOAtGwaaYJ0ux5MrYu+jr9J5nhX3KFnxmz4 RefbrnmGs84gTgDiiH8gddMi9oXVSdVoBEVyuelS36qTGvNUQyXkOfrg9dnzus6nqIiv bfIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=0QJ68ZG6YrU+GINsFXaBaCAKi/ougfqpRlrhCPdbjWw=; b=LgZZtRqc2Wse9DB72yMM4HUwG8CAhIScB4wI4Ptf7aJNw5MOXpLJSVerOsRKFrqvM8 8l7kFwWPKXaJMukUhmWZ5CCkj+k0TMJ2oJh/jGCUCXkrO6iXyIVNahSJ+wdx1pkAV47D 27lzIoJY1Z6n7jXpW76ipHtbNKQuFUzD6iF2/bCI3CQI00oycBWLW37UibO24158NfqW Ga1PL05EOeTHrxJ0f/QOBeA4BrAlp6l29QEABt7UIwi2KYyIGZu9C/k7AhTS7EMaQnEm B2Qd4ho2nyTqSSJ8PxxEd3nvqRRedIOd4sJeb7X7xWeH2I96uBq5pZuScB+RdUh/yO1d +Asw== X-Gm-Message-State: ACgBeo2CeS3ElLYrdw2vZph2MjK70PlzMZdk0iQ6gY2Bi8pdwGMB9RaI PY/4IvSWpT3xdOTTB/jUjURMWlhv/yy0+Q== X-Google-Smtp-Source: AA6agR7t5AxCnor87s5tFt6+iC10RxBfOkeO5Vxb2MpIYwahtYJBhl9IHgWbl9V5yMduWJDvYRMYPg== X-Received: by 2002:a63:3247:0:b0:434:6959:ba0e with SMTP id y68-20020a633247000000b004346959ba0emr21470885pgy.22.1662954088972; Sun, 11 Sep 2022 20:41:28 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::8fc7]) by smtp.gmail.com with ESMTPSA id d7-20020a170902cec700b00176ea6ce0efsm4664940plg.109.2022.09.11.20.41.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 20:41:28 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/7] fwupd: Upgrade to 1.8.4 Date: Sun, 11 Sep 2022 20:41:19 -0700 Message-Id: <20220912034123.1885229-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220912034123.1885229-1-raj.khem@gmail.com> References: <20220912034123.1885229-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Sep 2022 03:41:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98743 Remove packageconfig for thunderbolt, its not a plugin anymore Signed-off-by: Khem Raj --- .../recipes-bsp/fwupd/{fwupd_1.8.1.bb => fwupd_1.8.4.bb} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename meta-oe/recipes-bsp/fwupd/{fwupd_1.8.1.bb => fwupd_1.8.4.bb} (95%) diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_1.8.1.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.8.4.bb similarity index 95% rename from meta-oe/recipes-bsp/fwupd/fwupd_1.8.1.bb rename to meta-oe/recipes-bsp/fwupd/fwupd_1.8.4.bb index 7576b846fb..4258652744 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd_1.8.1.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd_1.8.4.bb @@ -6,7 +6,7 @@ DEPENDS = "glib-2.0 libxmlb json-glib sqlite3 libjcat gcab vala-native" SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ file://run-ptest" -SRC_URI[sha256sum] = "5756466442eb9134fb40cdc8a46f9e01003247c8eac82fa5d8b16f6420375b79" +SRC_URI[sha256sum] = "adfa07434cdc29ec41c40fef460e8d970963fe0c7e849dec7f3932adb161f886" UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" @@ -47,7 +47,6 @@ PACKAGECONFIG ??= "curl gnutls gudev gusb \ plugin_synaptics_mst \ plugin_synaptics_rmi \ plugin_scsi \ - plugin_thunderbolt \ plugin_uf2 \ plugin_upower \ sqlite" @@ -99,7 +98,6 @@ PACKAGECONFIG[plugin_redfish] = "-Dplugin_redfish=true,-Dplugin_redfish=false" PACKAGECONFIG[plugin_scsi] = "-Dplugin_scsi=true,-Dplugin_scsi=false" PACKAGECONFIG[plugin_synaptics_mst] = "-Dplugin_synaptics_mst=true,-Dplugin_synaptics_mst=false" PACKAGECONFIG[plugin_synaptics_rmi] = "-Dplugin_synaptics_rmi=true,-Dplugin_synaptics_rmi=false" -PACKAGECONFIG[plugin_thunderbolt] = "-Dplugin_thunderbolt=true,-Dplugin_thunderbolt=false" PACKAGECONFIG[plugin_tpm] = "-Dplugin_tpm=true,-Dplugin_tpm=false,tpm2-tss" # Turn off the capsule splash as it needs G-I at buildtime, which isn't currently supported PACKAGECONFIG[plugin_uefi_capsule] = "-Dplugin_uefi_capsule=true -Dplugin_uefi_capsule_splash=false,-Dplugin_uefi_capsule=false,efivar fwupd-efi" @@ -108,7 +106,7 @@ PACKAGECONFIG[plugin_uf2] = "-Dplugin_uf2=true,-Dplugin_uf2=false" PACKAGECONFIG[plugin_upower] = "-Dplugin_upower=true,-Dplugin_upower=false" # Always disable these plugins on non-x86 platforms as they don't compile or are useless -DISABLE_NON_X86 = "plugin_amt plugin_intel_spi plugin_msr plugin_thunderbolt" +DISABLE_NON_X86 = "plugin_amt plugin_intel_spi plugin_msr" DISABLE_NON_X86:x86 = "" DISABLE_NON_X86:x86-64 = "" PACKAGECONFIG:remove = "${DISABLE_NON_X86}" From patchwork Mon Sep 12 03:41:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 12574 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C06E2C6FA8A for ; Mon, 12 Sep 2022 03:41:36 +0000 (UTC) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mx.groups.io with SMTP id smtpd.web11.3715.1662954090633906407 for ; Sun, 11 Sep 2022 20:41:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=b+1CzHIz; spf=pass (domain: gmail.com, ip: 209.85.214.169, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f169.google.com with SMTP id jm11so7328195plb.13 for ; Sun, 11 Sep 2022 20:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=PMT5/GN04BaQZeQZ3giU1l48xLTyKeOUDn8tmAa4nCY=; b=b+1CzHIzZQgep/O5tjGK+a8AFi+xI/GRofjZxp4h6dctENesmOAEEiI71ab1nMWJtd vBzrvwgKdQ6F7p4860vzFPbr74G79JO6qAQLxOfYcJzAVSa0njssBA+yHntFCnlp4UNx QV68rwXlizfLPo4g9OxSMQWbC8AFpgHPArT/JGqz8k0XkVeZi6L3EMdASWi89QWLzreD qaJKffRCLeL4M9c37RGUSotrzErCd9GVq7vX1WVq+/uX7xwWQ0kcOgEAWBsRHk3BShdO tNdFdvU3mbfyBuAM35oM0kHFnQVW65j5AOQ653sHoeJw84AzI1hI+te4UeiXxEJAc6UB zfwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=PMT5/GN04BaQZeQZ3giU1l48xLTyKeOUDn8tmAa4nCY=; b=POOQLTv1ZIZBrxlCeIDPqoxOehHR4v+9XPgnYCh5rV+wXjByVuS1XQvGlIErMBH/9m RlvnECNhKZUJKayMmUY3xlq7K20sLnHlU9TWLW5Vvf9MZIPnTl1EtC8A75uCFCwNZ1Sh Md7JIpZ1PMKhCXwlqIpOheAsmuDsr0yN20qtvG6vizbtGAiyt8ywG/HpGBtWZEMZc9fq GDhklBAjNcm6vcvXU127RsRmoTR2mMNmsm9AE5i/QQfZQl0J/+bZ/xiyYBr1qA6MEdFQ PtxwZzaYKGQZEQIZZPHvSqdIs7WgSzUwq5pGWM+ivR2AZUvb6WWLfk+F2e6muBwDD3oR qLyg== X-Gm-Message-State: ACgBeo31PPhMmh5zJ5q7MEI6e34RTEkWIRV2Di7dI0cgjddSW+HkAIiH 8knxbPPaVEzxbwptXJ1OEVFh0HNqsSPpEA== X-Google-Smtp-Source: AA6agR6SKrEirRpOrWTIWM6qOpkIgVB5puXPpxcHT99lP6Q4J/boNsU2uZQzyVx+etD3eVFAXV8g+A== X-Received: by 2002:a17:902:dac7:b0:178:2aab:6313 with SMTP id q7-20020a170902dac700b001782aab6313mr4534445plx.147.1662954089781; Sun, 11 Sep 2022 20:41:29 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::8fc7]) by smtp.gmail.com with ESMTPSA id d7-20020a170902cec700b00176ea6ce0efsm4664940plg.109.2022.09.11.20.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 20:41:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 4/7] luajit: Use builtin for __clear_cache on clang Date: Sun, 11 Sep 2022 20:41:20 -0700 Message-Id: <20220912034123.1885229-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220912034123.1885229-1-raj.khem@gmail.com> References: <20220912034123.1885229-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Sep 2022 03:41:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98744 Fixed build on mips Signed-off-by: Khem Raj --- .../0001-Use-builtin-for-clear_cache.patch | 29 +++++++++++++++++++ meta-oe/recipes-devtools/luajit/luajit_git.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta-oe/recipes-devtools/luajit/luajit/0001-Use-builtin-for-clear_cache.patch diff --git a/meta-oe/recipes-devtools/luajit/luajit/0001-Use-builtin-for-clear_cache.patch b/meta-oe/recipes-devtools/luajit/luajit/0001-Use-builtin-for-clear_cache.patch new file mode 100644 index 0000000000..2c41180d91 --- /dev/null +++ b/meta-oe/recipes-devtools/luajit/luajit/0001-Use-builtin-for-clear_cache.patch @@ -0,0 +1,29 @@ +From ca8f7d968a212f2da64492faac4f80384a5ba395 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 11 Sep 2022 13:23:19 -0700 +Subject: [PATCH] Use builtin for clear_cache + +This makes it compile on mips/clang and also portable across platforms + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + src/lj_mcode.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lj_mcode.c b/src/lj_mcode.c +index 163aada4..471897da 100644 +--- a/src/lj_mcode.c ++++ b/src/lj_mcode.c +@@ -46,7 +46,7 @@ void lj_mcode_sync(void *start, void *end) + #elif LJ_TARGET_PPC + lj_vm_cachesync(start, end); + #elif defined(__GNUC__) || defined(__clang__) +- __clear_cache(start, end); ++ __builtin___clear_cache(start, end); + #else + #error "Missing builtin to flush instruction cache" + #endif +-- +2.37.3 + diff --git a/meta-oe/recipes-devtools/luajit/luajit_git.bb b/meta-oe/recipes-devtools/luajit/luajit_git.bb index 3f3939eeb4..dd1cd51698 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_git.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb @@ -6,6 +6,7 @@ HOMEPAGE = "http://luajit.org" SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ file://clang.patch \ + file://0001-Use-builtin-for-clear_cache.patch \ " # Set PV to a version tag and date (YYMMDD) associated with SRCREV if it is later. From patchwork Mon Sep 12 03:41:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 12577 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0FC6C6FA8D for ; Mon, 12 Sep 2022 03:41:36 +0000 (UTC) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mx.groups.io with SMTP id smtpd.web10.3707.1662954091476293841 for ; Sun, 11 Sep 2022 20:41:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JlraAhTz; spf=pass (domain: gmail.com, ip: 209.85.216.46, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f46.google.com with SMTP id n23-20020a17090a091700b00202a51cc78bso4799163pjn.2 for ; Sun, 11 Sep 2022 20:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=tnVFWYH7QfFVd3yQGenDn7I9+6K5g03K8Bz35mjX0+E=; b=JlraAhTz2Z18APZXndx8Hm++Y1hDZUMbRDLSHu1//isaf2tMInRIRgQhn4GeYGYhJv 0bNAl0fbk06eFUdnGAUpfe88U7R8jq5NSA1T+5QwqW3nGIKZNSig+HF4IZlsPkS6+eRm OErCNAusWGLfgvZShFioifkV8FZAMk2iP9OJNJT8HXHEDqReat+QvllGdgYf6Wjkw8Lp hYgsLhWbwBoa+lwPWW5AVpLcvqEbP4EDBAslU1vWYhQDsyK1kdL+H1guKSkUVNkAQa8l 2zG0Jui/duTIVBQKEFfQQmg9lSnk9KuHsZXJaxGFXurO5q06bFyvBCL7qlWmtv+PGt48 4Kmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=tnVFWYH7QfFVd3yQGenDn7I9+6K5g03K8Bz35mjX0+E=; b=UXY/wJRhY5bTqlA1Sd4B7S6WLurOMnNIo2OqiP9pD/cEhkX+dl/ybkVBMkVhBShvNX 7Gtuh+xz19XPVbo/0OBPElEA1yrbuv+6a4N2kmVRGoL3yXIHRoretcWkMkYUFinb85al 8dlc4khjQdgTRm6MypxIb4l8KLBfEGPfCS7SitlMc5uHOXRCyM9lOe6U8DD1EElRfwcz DEp9v8+Tyoxxz/erLvQzD2fJluxnTN8PtsOSZUJyQgZba7UzhCxCSRmilmugHPCdxxlb KuD4M/o8Um140c/B5R54Bnzy0B+RrUgFv/+Ue496kv40rqWL0reBYOS1Z1l2QMIAbGXE 5CXQ== X-Gm-Message-State: ACgBeo1BOe0c4yTxV1TOrtflinmvcq9vQbi27V1rpUq6Hq01sP81klui kjiv6KBe0dbCCOspIcpGLaXA6/MMWhtLjg== X-Google-Smtp-Source: AA6agR4ZkWGF31EAeadPISa/C6tWG/Vgu3I7iy4lWY0XQVkM/WreAQeTW5CD1iQSQawc7q9j3vUOKg== X-Received: by 2002:a17:90a:bf13:b0:202:78ee:addf with SMTP id c19-20020a17090abf1300b0020278eeaddfmr17819926pjs.22.1662954090596; Sun, 11 Sep 2022 20:41:30 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::8fc7]) by smtp.gmail.com with ESMTPSA id d7-20020a170902cec700b00176ea6ce0efsm4664940plg.109.2022.09.11.20.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 20:41:30 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-initramfs][meta-oe][PATCH 5/7] kexec-tools-klibc: Fix type mismatch in calls to dtb_set_initrd on mips Date: Sun, 11 Sep 2022 20:41:21 -0700 Message-Id: <20220912034123.1885229-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220912034123.1885229-1-raj.khem@gmail.com> References: <20220912034123.1885229-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Sep 2022 03:41:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98745 Fixes kexec-elf-mips.c:163:42: error: incompatible pointer to integer conversion passing 'char *' to p arameter of type 'off_t' (aka 'long long') [-Wint-conversion] | dtb_set_initrd(&dtb_buf, &dtb_length, initrd_buf, initrd_buf + initrd_size); | ^~~~~~~~~~ Signed-off-by: Khem Raj --- .../140-mips_disable_devicetree_support.patch | 53 +++++++++---------- 1 file changed, 24 insertions(+), 29 deletions(-) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/140-mips_disable_devicetree_support.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/140-mips_disable_devicetree_support.patch index bd728ccb49..6e347c048e 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/140-mips_disable_devicetree_support.patch +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/140-mips_disable_devicetree_support.patch @@ -22,8 +22,6 @@ Signed-off-by: Andrea Adami kexec/arch/mips/kexec-mips.h | 1 + 4 files changed, 39 insertions(+), 28 deletions(-) -diff --git a/kexec/arch/mips/include/arch/options.h b/kexec/arch/mips/include/arch/options.h -index 416e224..18d2811 100644 --- a/kexec/arch/mips/include/arch/options.h +++ b/kexec/arch/mips/include/arch/options.h @@ -5,6 +5,7 @@ @@ -44,11 +42,9 @@ index 416e224..18d2811 100644 #define KEXEC_ARCH_OPT_STR KEXEC_OPT_STR "" -diff --git a/kexec/arch/mips/kexec-elf-mips.c b/kexec/arch/mips/kexec-elf-mips.c -index 849a7ba..5c0e535 100644 --- a/kexec/arch/mips/kexec-elf-mips.c +++ b/kexec/arch/mips/kexec-elf-mips.c -@@ -141,35 +141,37 @@ int elf_mips_load(int argc, char **argv, const char *buf, off_t len, +@@ -141,45 +141,49 @@ int elf_mips_load(int argc, char **argv, else cmdline_addr = 0; @@ -63,9 +59,22 @@ index 849a7ba..5c0e535 100644 - } else { - create_flatten_tree(&dtb_buf, &dtb_length, cmdline_buf + strlen(CMDLINE_PREFIX)); - } - +- - if (arch_options.initrd_file) { - initrd_buf = slurp_file(arch_options.initrd_file, &initrd_size); + +- /* Create initrd entries in dtb - although at this time +- * they would not point to the correct location */ +- dtb_set_initrd(&dtb_buf, &dtb_length, initrd_buf, initrd_buf + initrd_size); +- +- initrd_base = add_buffer(info, initrd_buf, initrd_size, +- initrd_size, sizeof(void *), +- _ALIGN_UP(kernel_addr + kernel_size + dtb_length, +- pagesize), 0x0fffffff, 1); +- +- /* Now that the buffer for initrd is prepared, update the dtb +- * with an appropriate location */ +- dtb_set_initrd(&dtb_buf, &dtb_length, initrd_base, initrd_base + initrd_size); + if (!arch_options.no_dtb) { + /* MIPS systems that have been converted to use device tree + * passed through UHI will use commandline in the DTB and @@ -78,39 +87,29 @@ index 849a7ba..5c0e535 100644 + } else { + create_flatten_tree(&dtb_buf, &dtb_length, cmdline_buf + strlen(CMDLINE_PREFIX)); + } - -- /* Create initrd entries in dtb - although at this time -- * they would not point to the correct location */ -- dtb_set_initrd(&dtb_buf, &dtb_length, initrd_buf, initrd_buf + initrd_size); ++ + if (arch_options.initrd_file) { + initrd_buf = slurp_file(arch_options.initrd_file, &initrd_size); - -- initrd_base = add_buffer(info, initrd_buf, initrd_size, -- initrd_size, sizeof(void *), -- _ALIGN_UP(kernel_addr + kernel_size + dtb_length, -- pagesize), 0x0fffffff, 1); ++ + /* Create initrd entries in dtb - although at this time + * they would not point to the correct location */ -+ dtb_set_initrd(&dtb_buf, &dtb_length, initrd_buf, initrd_buf + initrd_size); - -- /* Now that the buffer for initrd is prepared, update the dtb -- * with an appropriate location */ -- dtb_set_initrd(&dtb_buf, &dtb_length, initrd_base, initrd_base + initrd_size); -- } ++ dtb_set_initrd(&dtb_buf, &dtb_length, (off_t)initrd_buf, (off_t)initrd_buf + initrd_size); ++ + initrd_base = add_buffer(info, initrd_buf, initrd_size, + initrd_size, sizeof(void *), + _ALIGN_UP(kernel_addr + kernel_size + dtb_length, + pagesize), 0x0fffffff, 1); - ++ + /* Now that the buffer for initrd is prepared, update the dtb + * with an appropriate location */ + dtb_set_initrd(&dtb_buf, &dtb_length, initrd_base, initrd_base + initrd_size); + } -+ } + } +- /* This is a legacy method for commandline passing used * currently by Octeon CPUs only */ -@@ -177,9 +179,11 @@ int elf_mips_load(int argc, char **argv, const char *buf, off_t len, + add_buffer(info, cmdline_buf, sizeof(cmdline_buf), sizeof(cmdline_buf), sizeof(void *), cmdline_addr, 0x0fffffff, 1); @@ -125,8 +124,6 @@ index 849a7ba..5c0e535 100644 return 0; } -diff --git a/kexec/arch/mips/kexec-mips.c b/kexec/arch/mips/kexec-mips.c -index 415c2ed..e557f8b 100644 --- a/kexec/arch/mips/kexec-mips.c +++ b/kexec/arch/mips/kexec-mips.c @@ -89,6 +89,7 @@ void arch_usage(void) @@ -137,7 +134,7 @@ index 415c2ed..e557f8b 100644 ); } -@@ -121,6 +122,9 @@ int arch_process_options(int argc, char **argv) +@@ -121,6 +122,9 @@ int arch_process_options(int argc, char case OPT_RAMDISK: arch_options.initrd_file = optarg; break; @@ -147,8 +144,6 @@ index 415c2ed..e557f8b 100644 default: break; } -diff --git a/kexec/arch/mips/kexec-mips.h b/kexec/arch/mips/kexec-mips.h -index 222c815..90b21c3 100644 --- a/kexec/arch/mips/kexec-mips.h +++ b/kexec/arch/mips/kexec-mips.h @@ -22,6 +22,7 @@ struct arch_options_t { From patchwork Mon Sep 12 03:41:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 12572 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0427ECAAD3 for ; Mon, 12 Sep 2022 03:41:36 +0000 (UTC) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mx.groups.io with SMTP id smtpd.web09.3702.1662954092107677556 for ; Sun, 11 Sep 2022 20:41:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NE7QvBWe; spf=pass (domain: gmail.com, ip: 209.85.216.45, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f45.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so11039062pjq.3 for ; Sun, 11 Sep 2022 20:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=rx4wx+nTk3Uz4/kmt6F9c93k1rwfrDWMUgaXQwzmkTw=; b=NE7QvBWeDkCkHS0TZi3fxM2EhRCDO/dICtzZEvlXZ8eUY8yQDzI/aM/dLzE6O+u/PN b/sSZOVtPyigzH2ByfieQ95OV0aAGMRsIm39gp9oz07T4BBWnGccf8i/b3Tk9Kb6933t rOzAQEablE337P/DFHYFIndVMmtSyj/WRA7cDgi1cjd2d8LL+2vyhCfsII9lziQB6Rhm 3pKWJu9EI1ILAVATk+zru7MD18tX0Hvp4P+syEhv8Bc2b6l2/T9YLkCv2B6a58iMXMh0 5M5h+BbHnjuflAhNJ4DUS3F+7qA7bh4Y67FmxLtCN3vxBtHTbOefK4bICBQZVMBx3VMQ F1Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=rx4wx+nTk3Uz4/kmt6F9c93k1rwfrDWMUgaXQwzmkTw=; b=yQgCNDKlNcYtCqFQd8fN1jt/mHaeLd6+C38KKZtblmLQUjZqb5h5kApaVbjXL3GbXM qalZq+nB0RJ3BwSwXUp778Q5myPzU97B56nMzGEuoZbPUrGImBa3NwUAAPkYrpY8vcs9 6oKKOKKJoXY6CcpHyJgeHIOBsl1hoLDc9n2cwKxLbaBDycSYratMfaSDaq2/pCkX1uTf tzQ5L8OtmVzoJYPnNkvmEKV7dzg4C1cox9lbT7sizpTMct/pLnjNwjKb5QPRz9qzHm0i 4uVhoLjq5T3/LvpVdVccUwqzPb1mGM3KeaY2BRzFrbV2rrmiRLzd1rA2ZmBBfPn2zYbu 3Cqw== X-Gm-Message-State: ACgBeo3Fr3ZdQA4PlihjyVIDN5HBr4Ozvnt/uDZ9m/TBRlEeKX0O6sU9 LwcEIGKLi8IeudP79PHhLV3DWQoPUCa6pA== X-Google-Smtp-Source: AA6agR6Hvwebq9Io8zwBi+DeB7aRlZVNczoTaXTWUkWV1XGryaslWjYxUeccdi/Ba+G43TcB0rcHyQ== X-Received: by 2002:a17:902:8307:b0:172:e611:491f with SMTP id bd7-20020a170902830700b00172e611491fmr24531508plb.111.1662954091357; Sun, 11 Sep 2022 20:41:31 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::8fc7]) by smtp.gmail.com with ESMTPSA id d7-20020a170902cec700b00176ea6ce0efsm4664940plg.109.2022.09.11.20.41.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 20:41:31 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 6/7] minifi-cpp: Fix build on musl Date: Sun, 11 Sep 2022 20:41:22 -0700 Message-Id: <20220912034123.1885229-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220912034123.1885229-1-raj.khem@gmail.com> References: <20220912034123.1885229-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Sep 2022 03:41:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98746 Signed-off-by: Khem Raj --- meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb index 3b57ceace6..3d40bf8578 100644 --- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb +++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb @@ -81,8 +81,8 @@ do_install[cleandirs] += "${WORKDIR}/minifi-install" PSEUDO_CONSIDER_PATHS .= ",${WORKDIR}/minifi-install" do_configure:prepend:libc-musl() { - sed -i -e 's/-DHAVE_GLIBC_STRERROR_R=?/-DHAVE_GLIBC_STRERROR_R=0/' ${S}/CMakeLists.txt - sed -i -e 's/-DHAVE_POSIX_STRERROR_R=?/-DHAVE_POSIX_STRERROR_R=1/' ${S}/CMakeLists.txt + sed -i -e 's/-DHAVE_GLIBC_STRERROR_R=1/-DHAVE_GLIBC_STRERROR_R=0/' ${S}/CMakeLists.txt + sed -i -e 's/-DHAVE_POSIX_STRERROR_R=0/-DHAVE_POSIX_STRERROR_R=1/' ${S}/CMakeLists.txt } CFLAGS:append:libc-glibc = " -D_GNU_SOURCE" From patchwork Mon Sep 12 03:41:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 12573 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0FB6C54EE9 for ; Mon, 12 Sep 2022 03:41:36 +0000 (UTC) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mx.groups.io with SMTP id smtpd.web09.3703.1662954092821441150 for ; Sun, 11 Sep 2022 20:41:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=X+KkWB7Y; spf=pass (domain: gmail.com, ip: 209.85.214.169, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f169.google.com with SMTP id b21so7356853plz.7 for ; Sun, 11 Sep 2022 20:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=DFY7bMH80CcMHYxtooYPRHUiQ6Nk/c9CNraqOS4+T0E=; b=X+KkWB7YWDBfpKbsuNNXEbwBmGHxkYvYmekNFBu6l1EllKoK0uTO0GwwgtMbvJ+6Yz AuvBLwJ/7l0kFXjfxmKU6FgTs3odo/B9pJ+Uct6ZRyEzzoIdx++eBFXkpUyaCBySLc8w qINPSnYgMQmztRdfK2/xkv2DaG3R3NMpMLD8S5xNrC95EnB5hkfm4oGU+RwTbF1MqL2I N7KkKE4NY5I8UlUVp0QjEZZNLVgxfoGQ8Y2528q+Oz9l1lkA5xchafuaLKEYVMUpV0eX vMuLFXOOwclDm4rZ+DUsioyZDqLe9rnsQAG+/jS5gZnRtqYheUx8ZWfXtM5mbu80j2aM D9qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=DFY7bMH80CcMHYxtooYPRHUiQ6Nk/c9CNraqOS4+T0E=; b=cp0+JXQOGpk4jbpaXMLfpc8BqmJSjWlVPjVLLhzf3xw3hlIXx+75BEKT3KcsOFXC+B m07DAYlTXWIKsDcxzQwUVscwIk2LtI/OjCB0mrcTpkejRLRvVmaQL6g9ViSkiVAEctR6 aV/Wm41bXCH6AMrdLzQa8p2FcIcV3esOQtwUFoEWz8sO8nOwWlIOpIeGDSFXh8OFeolm X724MR2YocCRQXoanHurviIdM+Qu0QRoO3B19F92Lm9C3h1dcwhmnQ1WcS6sVT9ufut4 T8PMQacNxFTlwNayabunOymSXM/ThxuwyKnSkSLYE4B9AtoMu7qIFQZvkukumc0xrhG5 MhLw== X-Gm-Message-State: ACgBeo1YYOBHzGoX5GLo7jizgui/3ze+qxWP0PyNzdpvb4L+agjuFeSc +NdySJWy1vtTWNWBtoKBw7rEOXQbJryIyw== X-Google-Smtp-Source: AA6agR5NwC5pNO+dkbtCrNycmzojffr40aTrNWOCIyVlpHTksEX7C7vjf6cgyFiU3p69OxhCwRPfHw== X-Received: by 2002:a17:90b:4d8c:b0:200:7cd8:333e with SMTP id oj12-20020a17090b4d8c00b002007cd8333emr21337116pjb.95.1662954092083; Sun, 11 Sep 2022 20:41:32 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::8fc7]) by smtp.gmail.com with ESMTPSA id d7-20020a170902cec700b00176ea6ce0efsm4664940plg.109.2022.09.11.20.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 20:41:31 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 7/7] aom: Provide missing function prototypes Date: Sun, 11 Sep 2022 20:41:23 -0700 Message-Id: <20220912034123.1885229-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220912034123.1885229-1-raj.khem@gmail.com> References: <20220912034123.1885229-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Sep 2022 03:41:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98747 Signed-off-by: Khem Raj --- ...neon-Provide-prototypes-for-missing-.patch | 48 +++++++++++++++++++ .../recipes-multimedia/aom/aom_3.4.0.bb | 4 +- 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 meta-multimedia/recipes-multimedia/aom/aom/0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch diff --git a/meta-multimedia/recipes-multimedia/aom/aom/0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch b/meta-multimedia/recipes-multimedia/aom/aom/0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch new file mode 100644 index 0000000000..100507cdec --- /dev/null +++ b/meta-multimedia/recipes-multimedia/aom/aom/0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch @@ -0,0 +1,48 @@ +From c33e07f78982acfb0574a84fb523f8591e55c50e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 11 Sep 2022 19:46:28 -0700 +Subject: [PATCH] subpel_variance_neon: Provide prototypes for missing + functions + +Fixes build with clang-15 +aom_dsp/arm/subpel_variance_neon.c:121:10: error: call to undeclared function 'aom_variance8x8_neon'; ISO C99 and later do not support implicit function dec +larations [-Wimplicit-function-declaration] +| return aom_variance8x8_neon(temp2, 8, dst, dst_stride, sse); +| ^ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + aom_dsp/arm/subpel_variance_neon.c | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +diff --git a/aom_dsp/arm/subpel_variance_neon.c b/aom_dsp/arm/subpel_variance_neon.c +index 4ecf891cbeb..859168ea0c5 100644 +--- a/aom_dsp/arm/subpel_variance_neon.c ++++ b/aom_dsp/arm/subpel_variance_neon.c +@@ -20,6 +20,22 @@ + #include "aom_dsp/aom_filter.h" + #include "aom_dsp/variance.h" + ++extern unsigned int aom_variance8x8_neon(const uint8_t *a, int a_stride, ++ const uint8_t *b, int b_stride, ++ unsigned int *sse); ++ ++extern unsigned int aom_variance16x16_neon(const uint8_t *a, int a_stride, ++ const uint8_t *b, int b_stride, ++ unsigned int *sse); ++ ++extern unsigned int aom_variance32x32_neon(const uint8_t *a, int a_stride, ++ const uint8_t *b, int b_stride, ++ unsigned int *sse); ++ ++extern unsigned int aom_variance64x64_neon(const uint8_t *a, int a_stride, ++ const uint8_t *b, int b_stride, ++ unsigned int *sse); ++ + // Load 2 sets of 4 bytes when alignment is not guaranteed. + static INLINE uint8x8_t load_unaligned_u8(const uint8_t *buf, int stride) { + uint32_t a; +-- +2.37.3 + diff --git a/meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb b/meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb index 36db45e265..9cd6f7a9e9 100644 --- a/meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb +++ b/meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb @@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \ file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \ " -SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main" +SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main \ + file://0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch \ + " SRCREV = "fd0c9275d36930a6eea6d3c35972e7cf9c512944"