From patchwork Mon Jun 12 18:43:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 25459 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 E7A9BC7EE2F for ; Mon, 12 Jun 2023 18:43:14 +0000 (UTC) Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) by mx.groups.io with SMTP id smtpd.web11.68072.1686595392414976874 for ; Mon, 12 Jun 2023 11:43:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=Go2SKNfw; spf=pass (domain: gmail.com, ip: 209.85.166.174, mailfrom: raj.khem@gmail.com) Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-33e53672aa6so30004735ab.1 for ; Mon, 12 Jun 2023 11:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686595391; x=1689187391; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v6tiYvMviAByBYL86uP3hk7llAkHQH4i03nTUT+wyi0=; b=Go2SKNfwE30evimXB9zdr1mYOxXnTtT7hvL3BAwxnlMBmoVBm5Bj5kUcU9ERd8rJMN VEzcybn8rkZDbAUQI0pIyF00J9PCApIxYs6eL7m0bYAq2qpT+Lp8ip1OM0NkpmfokaQA vBFYdNJ3r93GqxGahL3gu/hD4SYJVc6XU6/FgZk1gzE7xAukd0hJBILZky249IO4ZgGq PxV5ddkD7NKdJoNThAQHwx1G44HWDdmsZXV3Z6ova2R/VaU633o3VG6+nAmtcXhY3WMD p7oEVwJ1LTUkNIkxXdZ2QpL9S8EgU8ORoIG/oWRLDr2sK4lRp8qT20ice4K2l8wDqD56 5P1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686595391; x=1689187391; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v6tiYvMviAByBYL86uP3hk7llAkHQH4i03nTUT+wyi0=; b=dve8hL0x+ULf8LR+ypvu6lwslu/xOezAxBOvB0T7dZcr5ZU1g60CQFwYZNEnSB96EW QYmUiv9a1YMKz375DB215kpGK+n7C7/SwPE5rxvc5fr/Or+iKOErmGvi6sbllf0AY3wy LWV5Wju3xh/T7clsyC4TNtaEE3NYlrZ40inW5ewy7hxb+uqACVr2+mHQh9nVtkA3bDM+ 3nhXUSszfxaHu3T9DXWWhpS7jD/F50KCxUYOCAb/pKmA0N4He6ICx8ZHj5ktnrUsi/CS KdftUsWN+we93kmKFdiKE8jg99lDMTqqF++XSrauM+4BAz5kMWCgu8KvVoCCPNRVn6GK /stg== X-Gm-Message-State: AC+VfDwVtM4C1lrGdSN12S7C6wSvQ0mQe/Jeaw5qrqr1s1EA2Oor0Pw/ 85p209TlSGFIZ9XBvLrVx39y8eaWlRY= X-Google-Smtp-Source: ACHHUZ6vinHAXG5Ugtvldg3MXze765gZbPEYaA1ZvzeCzz4TAKSrrc6SMULEBTpH/KrCW678amxaGg== X-Received: by 2002:a05:6e02:152:b0:331:53ee:921d with SMTP id j18-20020a056e02015200b0033153ee921dmr8827906ilr.25.1686595391333; Mon, 12 Jun 2023 11:43:11 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::eb87]) by smtp.gmail.com with ESMTPSA id s18-20020a63ff52000000b0054fa8539681sm520190pgk.34.2023.06.12.11.43.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 11:43:10 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 1/3] schroedinger: Fix building tests Date: Mon, 12 Jun 2023 11:43:07 -0700 Message-ID: <20230612184309.1556169-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.41.0 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 Jun 2023 18:43:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/103217 lld finds out this error where _orc_code_orc_deinterleave2_s16 is needed but is not linked into a testcase wavelet_max_gain Signed-off-by: Khem Raj --- ...p-orc.c-for-missing-_orc_code_orc_de.patch | 43 +++++++++++++++++++ .../schroedinger/schroedinger_1.0.11.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/schroedinger/schroedinger/0001-testsuite-Add-tmp-orc.c-for-missing-_orc_code_orc_de.patch diff --git a/meta-multimedia/recipes-multimedia/schroedinger/schroedinger/0001-testsuite-Add-tmp-orc.c-for-missing-_orc_code_orc_de.patch b/meta-multimedia/recipes-multimedia/schroedinger/schroedinger/0001-testsuite-Add-tmp-orc.c-for-missing-_orc_code_orc_de.patch new file mode 100644 index 0000000000..498630c638 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/schroedinger/schroedinger/0001-testsuite-Add-tmp-orc.c-for-missing-_orc_code_orc_de.patch @@ -0,0 +1,43 @@ +From 7c998657c1787fcad8f0a502063adff71d78a140 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 12 Jun 2023 09:37:10 -0700 +Subject: [PATCH] testsuite: Add tmp-orc.c for missing + _orc_code_orc_deinterleave2_s16 + +Fixes +| aarch64-yoe-linux-ld.lld: error: undefined symbol: _orc_code_orc_deinterleave2_s16 +| >>> referenced by schroorc.h:1312 (../schroedinger/schroorc.h:1312) +| >>> wavelet_max_gain.o:(iwt_ref) +| >>> referenced by schroorc.h:1312 (../schroedinger/schroorc.h:1312) +| >>> wavelet_max_gain.o:(iwt_ref) +| +| aarch64-yoe-linux-ld.lld: error: undefined symbol: _orc_code_orc_interleave2_s16 +| >>> referenced by wavelet_max_gain.c:281 (/usr/src/debug/schroedinger/1.0.11-r0/testsuite/wavelet_max_gain.c:281) +| >>> wavelet_max_gain.o:(iiwt_ref) +| >>> referenced by wavelet_max_gain.c:281 (/usr/src/debug/schroedinger/1.0.11-r0/testsuite/wavelet_max_gain.c:281) +| >>> wavelet_max_gain.o:(iiwt_ref) +| clang-16: error: linker command failed with exit code 1 (use -v to see invocation) +| make[3]: *** [Makefile:1147: wavelet_max_gain] Error 1 + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + testsuite/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am +index 6ee1130..762ecf2 100644 +--- a/testsuite/Makefile.am ++++ b/testsuite/Makefile.am +@@ -100,6 +100,7 @@ wavelet_2d_SOURCES = wavelet_2d.c + nodist_wavelet_2d_SOURCES = $(top_srcdir)/schroedinger/tmp-orc.c + + wavelet_max_gain_SOURCES = wavelet_max_gain.c ++nodist_wavelet_max_gain_SOURCES = $(top_srcdir)/schroedinger/tmp-orc.c + + wavelet_noise_2d_SOURCES = wavelet_noise_2d.c + +-- +2.41.0 + diff --git a/meta-multimedia/recipes-multimedia/schroedinger/schroedinger_1.0.11.bb b/meta-multimedia/recipes-multimedia/schroedinger/schroedinger_1.0.11.bb index c9d98a2da1..c78e008007 100644 --- a/meta-multimedia/recipes-multimedia/schroedinger/schroedinger_1.0.11.bb +++ b/meta-multimedia/recipes-multimedia/schroedinger/schroedinger_1.0.11.bb @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d91a46405fc074b88c963cc4f2a0aae9 \ DEPENDS = "orc-native orc" SRC_URI = "https://download.videolan.org/contrib/${BPN}/${BP}.tar.gz \ + file://0001-testsuite-Add-tmp-orc.c-for-missing-_orc_code_orc_de.patch \ file://configure.ac.patch" SRC_URI[md5sum] = "da6af08e564ca1157348fb8d92efc891" From patchwork Mon Jun 12 18:43:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 25460 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 EAF34C88CB2 for ; Mon, 12 Jun 2023 18:43:14 +0000 (UTC) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web11.68073.1686595392946777428 for ; Mon, 12 Jun 2023 11:43:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=V96rckTX; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-653bed78635so3218516b3a.0 for ; Mon, 12 Jun 2023 11:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686595392; x=1689187392; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F4mjgzISIVL27+Aaf44GVfOozrYD5R0LVzn0GvEys0A=; b=V96rckTXIqgKNMbv0wRfiMhv04MEGh2ribrJlKyhJIW63r1DHcGGqBbtE/53KAMGB1 lPJC26+k493vjYiHwzSzuzbChnN9w4Whgiuuppgz/ghy5RYo3ayP5w7oyYoEkRVJP48V 1HLoMVQxmSDlMZFDYfEEcWI6QnvOd4sU35JWWlLV8BUgZApXlDJkJrmxxPzghJDZ1S6q 6mkJXg0wzHvmgZa224qnaJ3Dw/nI+kImr5bSfKmtZiDkV1ugCt2O2bEC11sqUVCspMM3 PW7Q4r8Ozotd+MmuHVU5Kh782mCoO5jDlKa6Ir6b/HV8cyRhmbLD68b/bvJjNBJWMZ5H orYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686595392; x=1689187392; 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:message-id:reply-to; bh=F4mjgzISIVL27+Aaf44GVfOozrYD5R0LVzn0GvEys0A=; b=S2lAEGfmoZk8c3DJkToR10P999gW9n7Gu36Uz1zRSc/Xn2aglMsmX264kMklkUkYEs 5HVUgxml2HcY5fnrCDU53XHxkXSNy7c3VywZBCPY84mh+tGIL86PnoUyu8bwUlPbZy0Y 9otuiySUNx1nKtPWHQscZz6MblMpyjnu9ZTICUkP/ufbjtnU4mzP9XbdGEFZLLsx0D9t jgz02JaGXjKDyWba3HxAMEwnHCfWRWmtnUdctceYCWhoi/MWnmOUx3JEVHniokp/xG65 +V5u/aWJ3cIQl1HUfv+T/Ir+qWJ0HXSJLBS+EUCsZF3sqEN3s/qhhYvl4vBhN+su275r e+hA== X-Gm-Message-State: AC+VfDzsmCn6GPCbFQhPgf2oaadG/910hVxPAW9tTPBl6dVBRF+pXeSg anQE8gcs8RXpe9P47qgGBquRUfNNUms= X-Google-Smtp-Source: ACHHUZ6S+m7c12WMMHXmJwFiHNuQO3Dx3ARhJXjy3dW0ylkh825qCG6nuzks30bGRTdmYTuts0DFiw== X-Received: by 2002:a05:6a20:160d:b0:10b:d70d:f971 with SMTP id l13-20020a056a20160d00b0010bd70df971mr12627198pzj.3.1686595391882; Mon, 12 Jun 2023 11:43:11 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::eb87]) by smtp.gmail.com with ESMTPSA id s18-20020a63ff52000000b0054fa8539681sm520190pgk.34.2023.06.12.11.43.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 11:43:11 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 2/3] fwts: Fix build issues found with lld linker Date: Mon, 12 Jun 2023 11:43:08 -0700 Message-ID: <20230612184309.1556169-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230612184309.1556169-1-raj.khem@gmail.com> References: <20230612184309.1556169-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 Jun 2023 18:43:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/103218 Signed-off-by: Khem Raj --- ...kefile.am-Add-missing-link-with-zlib.patch | 43 +++++++++++++++++++ meta-oe/recipes-test/fwts/fwts_22.11.00.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-test/fwts/fwts/0001-Makefile.am-Add-missing-link-with-zlib.patch diff --git a/meta-oe/recipes-test/fwts/fwts/0001-Makefile.am-Add-missing-link-with-zlib.patch b/meta-oe/recipes-test/fwts/fwts/0001-Makefile.am-Add-missing-link-with-zlib.patch new file mode 100644 index 0000000000..358f7c424d --- /dev/null +++ b/meta-oe/recipes-test/fwts/fwts/0001-Makefile.am-Add-missing-link-with-zlib.patch @@ -0,0 +1,43 @@ +From dd97e711b13af6f770db27abec316d5c9271c777 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 12 Jun 2023 10:25:55 -0700 +Subject: [PATCH] Makefile.am: Add missing link with zlib + +It uses functions e.g. gzopen/gzclone/gzgets which are provided by zlib +therefore add it to linker flags. + +Fixes +| aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: gzgets +| >>> referenced by ../src/lib/src/.libs/libfwts.so +| +| aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: gzopen +| >>> referenced by ../src/lib/src/.libs/libfwts.so +| +| aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: gzclose +| >>> referenced by ../src/lib/src/.libs/libfwts.so +| clang-16: error: linker command failed with exit code 1 (use -v to see invocation) +| make[3]: *** [Makefile:2301: fwts] Error 1 + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + src/lib/src/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am +index 76c48d4..45eea88 100644 +--- a/src/lib/src/Makefile.am ++++ b/src/lib/src/Makefile.am +@@ -30,7 +30,7 @@ pkglib_LTLIBRARIES = libfwts.la + libfwts_la_LDFLAGS = -version-info 1:0:0 + + libfwts_la_LIBADD = \ +- -lm -lpthread -lbsd \ ++ -lm -lpthread -lbsd -lz \ + @GIO_LIBS@ \ + @GLIB_LIBS@ + +-- +2.41.0 + diff --git a/meta-oe/recipes-test/fwts/fwts_22.11.00.bb b/meta-oe/recipes-test/fwts/fwts_22.11.00.bb index f1028074d7..2448082620 100644 --- a/meta-oe/recipes-test/fwts/fwts_22.11.00.bb +++ b/meta-oe/recipes-test/fwts/fwts_22.11.00.bb @@ -12,6 +12,7 @@ SRC_URI = "http://fwts.ubuntu.com/release/fwts-V${PV}.tar.gz;subdir=${BP} \ file://0005-Undefine-PAGE_SIZE.patch \ file://0006-use-intptr_t-to-fix-pointer-to-int-cast-issues.patch \ file://0001-libfwtsiasl-Disable-parallel-builds-of-lex-bison-fil.patch \ + file://0001-Makefile.am-Add-missing-link-with-zlib.patch \ " SRC_URI[sha256sum] = "4af4e1e0f1ae9313297af722d744ba47a81c81bc5bdeab3f4f40837a39e4b808" From patchwork Mon Jun 12 18:43:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 25461 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 EE4FDC7EE2E for ; Mon, 12 Jun 2023 18:43:14 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web10.68435.1686595393408681345 for ; Mon, 12 Jun 2023 11:43:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=D0KbKbBI; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-652a6bf4e6aso3718973b3a.2 for ; Mon, 12 Jun 2023 11:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686595392; x=1689187392; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uhx57ADwnJaqgfXd+bJ6h01g5jZ3VYfGVR8zkqetung=; b=D0KbKbBIvGmlB2rg6ePm9dD54R/XRVgKSndeSmKjBLwQ1VzgQ4umSqcVZgIeBDyt+A Qz01sE3fs6eSc0Vx3pvQm8JZUGqaljjYrryyYtbCeXtoOqDDUxS/bqtECcEGwbNEAkpB O3bfj85f4hkOO7ocFzP0XZs0gyZXdYxEImeKsJ9mahtEVmZ0PXcDkpwiRFEybEZ3Vtja f3C/rn2eRNAi+PvYrVCMRheUGXAylqvylHujSNhUNPQ8Z7Qqn9BWjmR7eFd/ULDto8q2 8S/xOafh3Z2sM0O+0JdDG8NBz0QdPlrALmaLOXFUcu5PQoEDFvdVyAhqeBHBQ/iAY5OQ Hasg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686595392; x=1689187392; 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:message-id:reply-to; bh=uhx57ADwnJaqgfXd+bJ6h01g5jZ3VYfGVR8zkqetung=; b=SZ5IM7XSeeYgFc9WVDICkbqpFWm3g6tlZoAS2/w0c9ILfI7ThqrptUOagRw+UtghLK P9wE32xVibD+oMctrQqickko3PJqFmgybilLBsOJtmfyM5d9tJXRNZTPlapU5BarerPS xMOK+sMM9OLxZGMt3SRNLQ3JonL8ArxJvQpV58i1wCAwbu3PEur/kOh8ewon+uwA5TZT wckKpDrflQQ+wU/wMBPHe75Z9Y3eXci7PN2C6zD157VSYHmA73uRVnNI74+A+zsUXZc2 UV2PIdVN4bPbaRsbIZyQJz86PC2+ioeVo4LqY/8AAGAsgHJLj7rTBVYYhhGH7F+96Fp6 8VkA== X-Gm-Message-State: AC+VfDwGh81BpZIHHNd/LEj20N+nBQIGaDhH7H8+RGDiWWumN17yA0ru gvG7Z5l/wXHSye5dkVqAcjeJLC7DgQE= X-Google-Smtp-Source: ACHHUZ62IPVZn0nY9QdfHZBtsCKlkY38HTMo9WYLq+mOUhgS/CflPm8/dI/fwdjg3g0R5nRFmSx1Mg== X-Received: by 2002:a05:6a20:2445:b0:117:6b17:106f with SMTP id t5-20020a056a20244500b001176b17106fmr11355368pzc.11.1686595392478; Mon, 12 Jun 2023 11:43:12 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::eb87]) by smtp.gmail.com with ESMTPSA id s18-20020a63ff52000000b0054fa8539681sm520190pgk.34.2023.06.12.11.43.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 11:43:12 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-xfce][PATCH 3/3] xfce4-sensors-plugin: Use bfd linker instead of lld Date: Mon, 12 Jun 2023 11:43:09 -0700 Message-ID: <20230612184309.1556169-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230612184309.1556169-1-raj.khem@gmail.com> References: <20230612184309.1556169-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 Jun 2023 18:43:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/103219 lld linking fails | aarch64-yoe-linux-ld.lld: error: undefined symbol: gtk_sensorstacho_new(GtkOrientation, unsigned int, SensorsTachoStyle) | >>> referenced by actions.cc:143 (/usr/src/debug/xfce4-sensors-plugin/1.4.4-r0/src/../../xfce4-sensors-plugin-1.4.4/src/actions.cc:143) | >>> xfce4_sensors-actions.o:(refresh_tacho_view(xfce4::Ptr const&)) | | aarch64-yoe-linux-ld.lld: error: undefined symbol: gtk_sensorstacho_set_color(_GtkSensorsTacho*, char const*) | >>> referenced by actions.cc:146 (/usr/src/debug/xfce4-sensors-plugin/1.4.4-r0/src/../../xfce4-sensors-plugin-1.4.4/src/actions.cc:146) | >>> xfce4_sensors-actions.o:(refresh_tacho_view(xfce4::Ptr const&)) | >>> referenced by callbacks.cc:197 (/usr/src/debug/xfce4-sensors-plugin/1.4.4-r0/src/../../xfce4-sensors-plugin-1.4.4/src/callbacks.cc:197) | >>> xfce4_sensors-callbacks.o:(list_cell_color_edited_(_GtkCellRendererText*, char const*, char const*, xfce4::Ptr const&)) | Signed-off-by: Khem Raj --- .../recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.4.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.4.4.bb b/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.4.4.bb index 69996d2a3f..eb1165c578 100644 --- a/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.4.4.bb +++ b/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.4.4.bb @@ -13,6 +13,8 @@ EXTRA_OECONF = " \ --disable-xnvctrl \ " +LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -fuse-ld=bfd', '', d)}" + do_configure:prepend() { sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac }