From patchwork Sun Dec 29 18:43:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182585 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5505956ild; Sun, 29 Dec 2019 10:44:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxmAqlFNQHfVZB6ZM4LHMT7E2HuZ1TOzrPtjP9guAoMkxfconOwsU9ptvq7uLbiRKzIROyV X-Received: by 2002:a63:ed49:: with SMTP id m9mr66479276pgk.304.1577645074587; Sun, 29 Dec 2019 10:44:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645074; cv=none; d=google.com; s=arc-20160816; b=PLfnyazQwHLYWt4OqGW2605j9BK9dZO5xSZTxrzQYtz6+YlGhqrA09PVipdnNTCubB adadMJrff3IIGEJZJHcqkcCCMI/oZRLZYkHNdcZtqbZtepYPYOXl70RipWapZWzF/8Cq qkqp6ztBDQS6O1bGRkpd/1+P+UBgNePkF9cnl4txr6KnFTNDlMCv9xKS7eSkMYgSJmrc J/cdOQhnbPrPhSB8lAj+OEgQltFTr1NQSLkGe+TdlUQgZ/FaUFdvelDV2+mS43iPfRFR 55EBr/QUnBbCgURs/bNiFo4g/74G3f/uiUi6B2VoTyQP9fSNCv3Ga29PKEMaF8rBuGYo goHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=KmU3VB1prZKzzib4EHebPDLNbTCuTZPQD+NhIqOO0Ag=; b=ORrU8deMXXqE+Jg/UuagUOF6tosDE9RVfR7xwkE4EJVjO0mB5OVfuNNE9xw+NfX5rC NbkOvw5R8Amk8sYYw3PZPL0/Qti9JnkZH/cs2mUSBQR8Lm4/6DswoHsoOQ31hsoTepvR OOeKuIvZ3pdjReyuGATh9BLmVY3YnPK2vxgpX/RAti+jGpDNJQmrH2ipO44Zeyve0gzA vJUk4jqENWyvXiXMd75dL1k3c8azSLv+DJdDv5Oy1Sie8wNqU+4SB6ftKU2NTuj3DXpA BCZRHGsHnsLBWKYL1WYY9SE8jaLENnkXjN3I6LHmXpt4dS0hFShbIkmQzMYANclzpeWy Pp4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=M5e0uqPl; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id z12si35909642plo.359.2019.12.29.10.44.33; Sun, 29 Dec 2019 10:44:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=M5e0uqPl; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EA4E07F87E; Sun, 29 Dec 2019 18:44:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mail.openembedded.org (Postfix) with ESMTP id 26FB97F7BD for ; Sun, 29 Dec 2019 18:44:29 +0000 (UTC) Received: by mail-pg1-f174.google.com with SMTP id b137so16998507pga.6 for ; Sun, 29 Dec 2019 10:44:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RhEKAWNY5AMIZkoBv4P+Bp6zOPX9pfwGk+x6ueE9Va8=; b=M5e0uqPlxtfFkpaSUd+d4/nfsKjvdklm3sLRLQ6z3slcMjVYKDhpgrz7Yex4eTZpFw MRkUPnSxGboMI7OJlFdnVU7I7XcYP8rCXhWrXgHhu39UEi1TBNKJUCKhLXtCqaIvpMSf lv7dJo1iXWrWBdJfs8rZpUBkwQvK4SzJf/R2A/9EkWS5rWwrES7bwigIvE8qoOfLIfic I424XDHyqENOf/PYlUerPljA+qMWWFwgnYyndH3vleLHcvCPJnqJmj85dNRaBO5oimB/ LuQdnNFD4NDfd9CCOrwSIcbfg+P6zrcGD+kn1mZXzDaXJzixMxzIsas5VWpMBKho47FA k7ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RhEKAWNY5AMIZkoBv4P+Bp6zOPX9pfwGk+x6ueE9Va8=; b=BEGtClkMZopbQOqCGySQGm7Exn+LS+gIBN86yKavNyN5ikyRcIjwZRbbzESILP2bht flXx1PNY54MhqZWNNUS0qShYNklMca2Fh8CaYFDftjWA1Ff1RshNCQQEpjd7B+S6Emn6 jgMvYLG6xmGAJ5TXEEXi32sAsweU4UKXmfKvfULUpoaegBMd73lsq0JW+v3bxYagOFHM JvE1FBPOFfQNHtJ5Uc6dX8N+KVaHQpB6G67cdafNt6bCRC8+0smFH2BTokLSRvZ8ZIyk 2eHl19xK040Wxp9Z3RHcubmlsYOfa9QCI8dWfkY8we6j0mPyAoAUCIzjLBBdY1dgV8Tl 4zMw== X-Gm-Message-State: APjAAAWM4FFJmc1K+ipQEWemPa6LdGCRrUDMWH4uoSjnzrkjnw7gdz1q QQ0DvIXfJvG1CZNEzUtBYi5bFr03WNY= X-Received: by 2002:a62:1944:: with SMTP id 65mr69228425pfz.151.1577645069869; Sun, 29 Dec 2019 10:44:29 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:29 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:43:57 -0800 Message-Id: <20191229184415.19514-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH 01/19] util-linux: Use PCRE for hardlink X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Use PCRE, this enables using posix extended Regexps on cmdline Signed-off-by: Khem Raj --- meta/recipes-core/util-linux/util-linux.inc | 3 +++ 1 file changed, 3 insertions(+) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 1fa82363b1..8262217fc1 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc @@ -106,6 +106,7 @@ EXTRA_OECONF_append_class-target = " --enable-setpriv" EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv" EXTRA_OECONF_append_class-nativesdk = " --without-cap-ng --disable-setpriv" +PACKAGECONFIG ?= "pcre2" PACKAGECONFIG_class-target ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" # inherit manpages requires this to be present, however util-linux does not have # configuration options, and installs manpages always @@ -117,6 +118,8 @@ PACKAGECONFIG[systemd] = "--with-systemd --with-systemdsystemunitdir=${systemd_s PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3" # Readline support PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" +# PCRE support in hardlink +PACKAGECONFIG[pcre2] = ",,libpcre2" EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'" From patchwork Sun Dec 29 18:43:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182586 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506144ild; Sun, 29 Dec 2019 10:44:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwEGfbcyara9As9qX0FbTZrO6+Rc5XxVNp5SRkpJgqFmdOKqwIRsA3eFqg81EXbAJ25K7D+ X-Received: by 2002:a17:90a:300b:: with SMTP id g11mr40568293pjb.123.1577645090564; Sun, 29 Dec 2019 10:44:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645090; cv=none; d=google.com; s=arc-20160816; b=sxO3vPAUK1Y49fgiTWx/A3WtMf9bOVMxVwiVifohuEbKMRB8iZSj2t48RDmcG0ni+G 8GE/GPCaBcZQmIbqOVFcfMpmexBb/wwGMWqdSy6MC9tW5d0ZxM8kyM4BfXZpSiE6tUzw S+7aPpYNzBIuaauV5DL+xvUQ5FFf96YuKE/2kAtJTem6hMAgGfGQYe0jS8slBEPV0aR7 3l1hlYaLJvM3uYtgykTXDNDgn9zjuvjJPOnnSyQiKvFH8MV/17NrPLEz7h17l1WWrRxq AUMyYvnRrAf8J5Ew6zvB1hn5Lw9dYBtSdsddb9aLyXD2O6apMHnNnhRqCWTFsKXIZls0 CfcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=8P0KL4d/uMzmE1orio9Bvlqc4PgRV0ONBGnCpyxL0zA=; b=oLzoSMNPYcY+nuj6eTTyVdvLQUeo0U4ACIVVgThSFNCnqJNE1FIN+IjVVWkqcAoS+m CAfiufHMce0BMrLij7KhnMFJrnxQl+EIkGWpaPomDbCrDiNhzoJ8V2KmUrzY3FiE+l/o mte9s6BrOZJHHom0AoTErARx4TrwOfGO7u0MWfCsJWNvzMFttLJYFjQNH17XtDsxjvB/ Hh4aSIutDzvIuTuH20FTrDcmPrRf5metxT7hmFdzZ6jjhIlvj2sg9s7j75zV+pIK1Q06 zlIcoFmt6eB3DupVOcLRAGstnXHw2csIh1zZkOwj/svv7AcPjvXGtw/o/P6a9mRoYj9u +lQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VA0ucwKd; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b12si19477194pjn.103.2019.12.29.10.44.50; Sun, 29 Dec 2019 10:44:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VA0ucwKd; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7EB217F87B; Sun, 29 Dec 2019 18:44:48 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by mail.openembedded.org (Postfix) with ESMTP id A8ED27F7BD for ; Sun, 29 Dec 2019 18:44:29 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id 6so17011218pgk.0 for ; Sun, 29 Dec 2019 10:44:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Biw9SMTCtcNY0Nt2RJ0levHZuB6d5Wv0kxGjTPa178Y=; b=VA0ucwKdn3+KhQ06Q2BHskQnY21/kYRQburxMcaVRrr3ShalQGNZA3xew8YhddBv1u R+SgKiGEX9hAVDIrvY5bXfacnQJlCk79VCbwA3y4jYZUd+JoNzcXJizqPri+sc7WfxVA 7cUzMYqGNc+YMhiIg9VRt2qolpf0wwKdHJswRB3FKExWeKzwICKoGTFr74EmjShe+K4q b8na8pukSldeY3OvCf6B5koVBTmeD50DW+VIdurl7Kr8C3b996bwPerggdkG4cH+2MG7 9JPCgAQK3lXn5dEYW6ES/t9yB8SUDGgpW62/Sec7jiDR/pQF8I6CATL/fLgcIca9gcz5 TldA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Biw9SMTCtcNY0Nt2RJ0levHZuB6d5Wv0kxGjTPa178Y=; b=rDvMZnm3QeaJbwlSLMJiN9jOIU1bOUxBtAU3p1ii7bPJTaidHx2dT+t+NefDEwnaMt k0//OhzmD68sunKrM1mslVG0iFT1gn6ekC63DaDcWLEJYKKGeudt5MYvbl7cfxyF9Ly4 zz1ULPAZMs7SOYHyqtqSpiFq6Sm3FIbiJ/ga6ONqfxSeqVD/gkUIEtJmxWdf7Qt1pHV7 d0ahCtAcyMcTZQFDXnKhUnsCvHDSQ0orlqrx1t99ySw1ZR2cHCCrpGLEbeUO2P5MsCkK n5T4qs6RNU3aEZyc7RsdcCgRYJxJOe4wWMlFE83w4jfZCVrpOWMbf2liU5cLmDgmIv8L Yc5g== X-Gm-Message-State: APjAAAVNJ4D4WcOYTsiw5PphL3Oftiufj42CtmRv893b/eWN0En50cZr PgLmmCFn/jgtpIW5aa76pckmpmtnRAA= X-Received: by 2002:a62:1552:: with SMTP id 79mr66933743pfv.156.1577645070469; Sun, 29 Dec 2019 10:44:30 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:30 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:43:58 -0800 Message-Id: <20191229184415.19514-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 02/19] systemd: Fix time_t size assumptions X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...ead-of-TIME_T_MAX-for-timerfd_settim.patch | 31 +++++++++++++++++++ meta/recipes-core/systemd/systemd_243.2.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch b/meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch new file mode 100644 index 0000000000..76a1c7364d --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch @@ -0,0 +1,31 @@ +From 6bcf562bd1e541c7aa46923d9a14201c7f785261 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 16 Dec 2019 12:49:07 -0800 +Subject: [PATCH] Use INT_MAX instead of TIME_T_MAX for timerfd_settime timeout + +kernel prior to 64bit time_t support might not entertain such large +timeout therefore reduce it to INT_MAX which would set timer expiration +event after 68 years of uptime, should be good for all practical +purposes + +Signed-off-by: Khem Raj +--- + src/basic/time-util.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/basic/time-util.c b/src/basic/time-util.c +index bfe2c60da1..8cf682b36a 100644 +--- a/src/basic/time-util.c ++++ b/src/basic/time-util.c +@@ -1486,7 +1486,7 @@ int time_change_fd(void) { + + /* We only care for the cancellation event, hence we set the timeout to the latest possible value. */ + static const struct itimerspec its = { +- .it_value.tv_sec = TIME_T_MAX, ++ .it_value.tv_sec = INT_MAX, + }; + + _cleanup_close_ int fd; +-- +2.24.1 + diff --git a/meta/recipes-core/systemd/systemd_243.2.bb b/meta/recipes-core/systemd/systemd_243.2.bb index ac7a5f86b3..3f68604a5c 100644 --- a/meta/recipes-core/systemd/systemd_243.2.bb +++ b/meta/recipes-core/systemd/systemd_243.2.bb @@ -46,6 +46,7 @@ SRC_URI_MUSL = "\ file://0019-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch \ file://0020-missing_type.h-add-__compar_d_fn_t-definition.patch \ file://0021-avoid-redefinition-of-prctl_mm_map-structure.patch \ + file://0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch \ file://0024-test-json.c-define-M_PIl.patch \ file://0001-do-not-disable-buffer-in-writing-files.patch \ file://0002-src-login-brightness.c-include-sys-wait.h.patch \ From patchwork Sun Dec 29 18:43:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182587 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506206ild; Sun, 29 Dec 2019 10:44:56 -0800 (PST) X-Google-Smtp-Source: APXvYqzAyvd1MHsH7y/SeDTbd4eKhDBxg6UPlEAPsjqsq/aoyS7OeSBziUAfaPQ+rlG7Dhqkk+Xc X-Received: by 2002:a17:902:16a:: with SMTP id 97mr9660573plb.34.1577645096084; Sun, 29 Dec 2019 10:44:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645096; cv=none; d=google.com; s=arc-20160816; b=k+9TfOp/LENyzLCj/E7t5gB1fRYi+5xVuKnigAq0NCHHtuynqYl0Ni8SAcNrJBXDv7 PYow3hGaBUWFld8FKMzFTSayB+biF4TtHMwppRcejy38HOmHOjo95c7Fr8Bkr/DGEu9I I3DzWrfu2vAJoNkXXEvZ4txx9PGAaxT/opAKQPgAdusy1I+b3Ul6rOIwTtsv5dnyv3Un XRoWyqGxPwsnUVZ1srYtGdTL+HFLhNhOpuxdfWou+myTrrKLCGIZMKgLSEo8EXcasvNM l6xtWpeSGG3G86OSf01PCZ7FezK3o5CnsP9nPsVKS6/nYLXLEj6rmni7iWD3Zh4/wWoy KWLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=CttM2s+67g/Equ2tvrKeptVDr0mRnR4Ik/Kg+qVNjXM=; b=W4sTK/FsFK3jPQTGDHeI/z+/IkIA6nxpSQq3bDdCzAxs745um2DQMIyztCRoFtHBKl VYy4jjBelqt4ua1aPA83WqqFyx25nH2mXoZw5zO2PswW51dF8xmKb8jtJVpONtPJszC9 q/WpSiTniH/OgfRucOG/9CoIgFU1O+3P9WhRvJSpK9W1ik5NYJMGaWch8BfPTAtPkBmP tHtQMQdPTA4Ay1G+BwhMYWQ/EFyCyDuhZi+jYkJ0a4Vdtkc3w8p8S+oOZgufTgneM9bp /ZkMyfCx141vFvZwlDPCqygjHg766X2qK2ubI5IpKz/5uBstOOKCpthG5fI+D1zZl0Ju G+rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=DsT5zXyj; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l6si17711652pff.73.2019.12.29.10.44.55; Sun, 29 Dec 2019 10:44:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=DsT5zXyj; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C1E8D7F8A7; Sun, 29 Dec 2019 18:44:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mail.openembedded.org (Postfix) with ESMTP id 61E9C7F884 for ; Sun, 29 Dec 2019 18:44:30 +0000 (UTC) Received: by mail-pl1-f182.google.com with SMTP id s21so11070978plr.7 for ; Sun, 29 Dec 2019 10:44:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F69/nhktNxp0xdSZjj/1eeppxzf7Hr/A/yoQEvM5APE=; b=DsT5zXyjRtI1SMwr860S4WzBUahE/WQysAv4CeKW6LIaVpJdgKq5HypaOYtqY/6r7k Q5hAflAVMJEsQaJR45Vx7cGu5Rj4QnJuVhCQOc8VCccjeH1aXtBL64SyCv6Hi1JBmmUH /Ts6L0gLCGCVcmqBDGI+ZijU0dkaOpP6X25pcqkxM7R/6ydD6j4l/PVxeQqPrAGikdwN SHTkILJEYWEGFHl4gNQCtKCCZiqGdKS7S3VcDp6e/Pzja5h0eHzbUMFIQh6AjglFpJZl nxSaQvbmzVz3WoAS/7cqHdDcY7Z3jDmmBDmkUhg+3hI/IUtTMpavNTHKQT+qGskI/7xb hd8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F69/nhktNxp0xdSZjj/1eeppxzf7Hr/A/yoQEvM5APE=; b=XmO1DIySHcucg+46e2x4u4qx16fSjtRsLeyri7nucS9bHXMMmv60osss2TNlmPWLU6 l0XXpNO8NjYl1Ikk6TsQAM9q3fgwdTV/HS6/I5FnQDhr7QkZTq323qauLA0OTgjk7/Oq KYMj+Y5ft4nifYL3hsYADSF3+EGCKpHP/BTxYkT3r9+xqEPrGPHY7ElajsFFXKBUeaAC VGwdsLHAe9m9lpkuYBWCoNWWgsxRFbB05/11RWAXtit7BStLaO8pYykNhbVJmLRhnWy0 NKyK1ZZKO+l+f9tkdKMu3p6WcnUl1GJFX4+PuCLZDtdSQ7lnzyb97faWeWpHtIXQSBb5 yOpA== X-Gm-Message-State: APjAAAU3HC5A/N04T4SHa9mTme6EmZDhAW0cRqjESJf2M8hyyYnANyLY Lsz0Vth5MFfFsL4oZVbr75n/W4NcmIc= X-Received: by 2002:a17:90a:1785:: with SMTP id q5mr41477436pja.143.1577645071080; Sun, 29 Dec 2019 10:44:31 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:30 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:43:59 -0800 Message-Id: <20191229184415.19514-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 03/19] goarch: Dont use -fno-PIE on mips X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This was added with 98b24e9268 goarch.bbclass: set SECURITY_CFLAGS for mips64 to overcome a problem that was inherent in go linker which has been now fixed in golang compiler upstream https://github.com/golang/go/issues/20243 https://github.com/golang/go/commit/39c07ce9e5311c94880789f19f2f8b49bf1b5241 Signed-off-by: Khem Raj Cc: Kai Kang --- meta/classes/goarch.bbclass | 1 - 1 file changed, 1 deletion(-) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass index 1147b6d233..33d1a13acb 100644 --- a/meta/classes/goarch.bbclass +++ b/meta/classes/goarch.bbclass @@ -53,7 +53,6 @@ ARM_INSTRUCTION_SET_armv5 = "arm" ARM_INSTRUCTION_SET_armv6 = "arm" TUNE_CCARGS_remove = "-march=mips32r2" -SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" SECURITY_NOPIE_CFLAGS ??= "" # go can't be built with ccache: From patchwork Sun Dec 29 18:44:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182588 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506275ild; Sun, 29 Dec 2019 10:45:02 -0800 (PST) X-Google-Smtp-Source: APXvYqy/muEiKzrwljMTsJKgqoVqkCieXxEfCoEslE8qOpmRY6QstJzSNs4hRLcX06SmuyCM7Fjg X-Received: by 2002:a62:ab0d:: with SMTP id p13mr67029977pff.135.1577645102128; Sun, 29 Dec 2019 10:45:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645102; cv=none; d=google.com; s=arc-20160816; b=soDXyiJ2rVYWMrIwzlx2M7me6nOJ22jzDLz/wI07oxHo8m0WTGxA2e81EeHhDF3VGi iaYe0+NKeqfFM1s+j9ZdRLZcbc/cUJdLdmQJUsw8ZUzNbYFZu5GxqcD5kQ8s032ZCZol pcTBGcZgFWMlfU04pHCwOqkR5Q76/qLidUDnVFgNWRxfVknaIPEj4beIAJ/Eo8hHGRg3 zc6Baq7gGLPYCxzV05q7uBxb22HJjYHG2/+PVWFfqxWDKH1NAHDwZc55iHH6/V1XSQgG yTrgJQT5v/Mr4whHZUlvoFmA3eheyaHzr/hAFAad77x3bItj4zKNguwDqdu7XbL8g7qk armA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=E7PrbBFgiVwcgSmMFD2oaTi1EKRW2qlpsmpVUGpu4NE=; b=Zj2uYLifpHZIRcKk0G/0WNk3+7sn8ksH79/n/JIFfeOC9nvXvS6kcyCe7ZcvZPAA1r NYt+BBbxgIIxWScaudj2GWAFuPlikcuVVhgPWI6K0BSDfrbmQGDnJ2Ivp1UiZOdkxMb+ 0KC3U9r324oDCTFeKf+wfaYL5+U1mlEEqV72uzznbe9JKQuBzIQMqTieaU6uixKV9Tlt xzycPYn7fxyVisvReZRyCzVgdHedaVpXrUOijv8dYIb+YHUs0sqSWqEhtzvy0je+MYY2 AdDFVEGU0IO4RSqFdeQ+L3A84uwfHaZY6tDaGMpebFgYYkrPbWtLqFQSRZaMmRUPuNam qFHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=l26j+06r; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id c6si20588651pjo.29.2019.12.29.10.45.01; Sun, 29 Dec 2019 10:45:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=l26j+06r; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 018EE7F8B5; Sun, 29 Dec 2019 18:44:51 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by mail.openembedded.org (Postfix) with ESMTP id 19B2C7F817 for ; Sun, 29 Dec 2019 18:44:31 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id z124so16979543pgb.13 for ; Sun, 29 Dec 2019 10:44:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=njWVssZMXtOLGq41MCze2G9CKHHQ7gCsmR4/PCAo0VM=; b=l26j+06rHiooYSgAhjauRWaaN8Bv0ayXjR9kBr8OBwvDaijLtOL4fy/lkA2Jwh5VJ2 HZhBJTsnGmSh6LHpuwWTbCPkOgtPdYF5lOelJra/QfS9NFaA6opQ9WS7eSR1GzwJftRv ZTGk3yrwWLd7Qe8aEKLknkMdr876yQGqkNJuAnhp7cJBVdgRnEYnqkmmxAy9WFt31bDZ dWqYz9cpGgUwoJtrzVq/KMVLso1CUNIZg7yRImZopDO+dFSHLlpoEytYcK/Qpg9olVFE MY3ObTO4rk4FGyT14ETOM5L9Nnfu42oglqV/Gb3I2+X/JhmplzZvvQFwQA8MXxk9WIV8 QzZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=njWVssZMXtOLGq41MCze2G9CKHHQ7gCsmR4/PCAo0VM=; b=kfGkOk4AMh8tU1KIetce43IzFp7C+fGOJfMx99mUXcM5o/wmuTBjMb9cBuwNpmWyjZ lWzoMP2Wh55tPM3v6TROs1oCRwtv3kztxSZlwW78GIZtPFIqmrqVGS7/WItGUu6+M271 FDT7HDbp86sWU5gIiRcduDhV+AV/LMLorn6mihcnogF38qswVcUqfTOrH+onEQJFoBI/ g2FHG9q/Y6XFtZsRjhqh4pE1qAw4swBD1kDBLvWYDbLiyFfOG6eBBEwt91Uvc2ZwAtgZ YGT+RsrgeIt9r9ZyMYJ1Am2zdnYZI+1LWyxlYnZe9Yj0IFxAHtJXBTfuhLZQF61eGAX6 sGwA== X-Gm-Message-State: APjAAAWqNaUuVOCU9LCIJULUd1vINsb+oxlSsTS5O1twD6y5PMcxgdy9 LDBkXYrO87NQJWbQddhZQhsLsWlE04U= X-Received: by 2002:aa7:8e13:: with SMTP id c19mr32469014pfr.227.1577645071773; Sun, 29 Dec 2019 10:44:31 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:31 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:00 -0800 Message-Id: <20191229184415.19514-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 04/19] cmake: Add a knob for cmake VERBOSE settings X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Setting VERBOSE always, while is fine on one hand for debugging, its coming at an expense of creating lots and lots of logs, e.g. qtwebkit compile logs alone with VERBOSE is 163MB, there are many other large packages which use cmake e.g. WPE, webkitgtk etc which are in same range with out this option on, the logs reduce to 861K and also speeds up build a notch If user needs to disable these logs for a recipe or globally CMAKE_VERBOSE = "" in recipe or in global metadata e.g. local.conf Signed-off-by: Khem Raj Cc: Ross Burton Cc: Andre McCurdy --- meta/classes/cmake.bbclass | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 8ccb1eefc7..11ffb0d33f 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -181,9 +181,18 @@ cmake_do_configure() { -Wno-dev } +# To disable verbose cmake logs for a given recipe or globally config metadata e.g. local.conf +# add following +# +# CMAKE_VERBOSE = "" +# + +CMAKE_VERBOSE ??= "VERBOSE=1" + +# Then run do_compile again cmake_runcmake_build() { - bbnote ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '${B}' "$@" -- ${EXTRA_OECMAKE_BUILD} - eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '${B}' "$@" -- ${EXTRA_OECMAKE_BUILD} + bbnote ${DESTDIR:+DESTDIR=${DESTDIR} }${CMAKE_VERBOSE} cmake --build '${B}' "$@" -- ${EXTRA_OECMAKE_BUILD} + eval ${DESTDIR:+DESTDIR=${DESTDIR} }${CMAKE_VERBOSE} cmake --build '${B}' "$@" -- ${EXTRA_OECMAKE_BUILD} } cmake_do_compile() { From patchwork Sun Dec 29 18:44:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182589 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506369ild; Sun, 29 Dec 2019 10:45:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyQgWwHAjzBeM9SVA/6VKSujimOnjDMjfgN7/g02seXmx0e0LZaW4RTcC972XzIZLGEeJE7 X-Received: by 2002:a63:150d:: with SMTP id v13mr66328147pgl.342.1577645109137; Sun, 29 Dec 2019 10:45:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645109; cv=none; d=google.com; s=arc-20160816; b=q3Smcd4jlxc/PRpb7goO9W43GpfsmklVHkFKKmiuqRHbVrMRVq9PJWs2fIkquACrIs rnkXgBCSSBn+pUArNXGoOj9cDBNLGOpc1LjAbkbWLzKjHo5BbIMqC3zAcAv1BLREu1wE 49vpjj3Rf9KQ2gz4YK0q64VKIkBbrGTscjLYNnBoCpivuWy4jwPYPxTZTkZvCvlNwOtM Z+u8PKBIrwTM6EpRlSeo/1dXaYtPiUCwzxN18dLgCicRk8EIJXi96wL43ED0nulHOdFE lB4lUG8mS2KBg3Ol5ekHvhyHo1db9w+hbU4TjO9/0/wzpXOjddL31xNTy77aNxWwrf4k cgWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=AtRCXViuAPBAmNYKn/7hEtQRbmN6D8y51/vKc/AUGOI=; b=gHili73V9vFcWVjTnPVdZYKzjDeFTM9CXST8yTOixYfLrpB4fmkv17gBIDZH8Ok8Tw IsiGdgCAyRQUXEg0zk3FJKlLbftgCvNwx13wxvyxL9EvH7/Yf0eDv4bcFJKpScz4Lio/ lU4u7Hd7AKU5E+WfTrvo0yxVWQ2Z5pqW6z3kcYBISIc4wy6Tz4LoqhOM+kft05ZF9LL7 LFE7Kdh5FnrXzBaBMLz9n8IUH+HJJinDoEiYpVN17hU6qGjULEQRq8PXpexrrQ9RIJEk X5HSy0Los1x2md4M/hOle2JMJZPTqFrjgjxwZD8z2e6Pe+KumSWPinfqbGOTx0yPAs61 a+Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=grP9g3Ic; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id ev22si20516986pjb.23.2019.12.29.10.45.08; Sun, 29 Dec 2019 10:45:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=grP9g3Ic; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2D39E7F8BB; Sun, 29 Dec 2019 18:44:52 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mail.openembedded.org (Postfix) with ESMTP id 94C757F888 for ; Sun, 29 Dec 2019 18:44:31 +0000 (UTC) Received: by mail-pl1-f178.google.com with SMTP id az3so13795160plb.11 for ; Sun, 29 Dec 2019 10:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aZJc32Zz1cRIVlfB/T8UFNjdqaOrYiIO9kflt7piKM4=; b=grP9g3IcmxZ83LixMoqoWf400G60aw/IQ/anLKQXxXOiCw71mg2kaQIp1hLAUEWvVP hQKssX196sJZEBcQxrVsliI+wITtkAK5GFiSmJqGEYd21Jhl1BIJWlyKIpTc0PYqw6/a D8HNOODs5jsPndI9gUOz92ft+OvOEf+gZcMOdHBBYxER9Vl4ofMNXtzb3a5pEk9BzyvO +lafdOzgPp05GfccZmWgH8JSu0nLZ3wtIC8EhkY8YDOsoVNlwkPyJALrLUXF+cKnHAaQ iYYI4uiniUKXjBmoYH7hPPbdd4ktRYoDOgCPwbDc1CdpCTpXA3piT017FAbv5S5CtFvs xTDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aZJc32Zz1cRIVlfB/T8UFNjdqaOrYiIO9kflt7piKM4=; b=tph0Ar2bWRmStIuNFQSMZTCLkJIBaa4VFptbdrvyoSRY/Ruq6cNgFBL1zCbiu5mc0S 0kW0jp1n3uNzM9HM6d1KCop+T5FXWOwim5jiyLC87gQyU4joquuDa73z1BPZzm3fRJin QzhmuMjcqe7LpriJqa4RWIBBh3a1beaiJILux3dwF9r5ECKcvdTri28ulk1H/SnmLJ+X OLpC4O2HiXkejQmC96srNfgLp2Y7FsNs6Nl8LS2ot1eyT2UpRwjdJSu29/bWSQCuh1SK w77PvVduC8nZiEOB83riljRAmi5sKfdkmWIP7fZUdhpufHB9NtXlr+6cF3dOA+adVxOG l4rQ== X-Gm-Message-State: APjAAAVnyiL/Oi1qAAG0J1E+jEMNsVTkUALMTPZGvnQWawNa0MeOkBm/ 32a6xfn+T8JRwuvMYK5X0oUgQNoLnwI= X-Received: by 2002:a17:90a:191a:: with SMTP id 26mr40664818pjg.111.1577645072462; Sun, 29 Dec 2019 10:44:32 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:32 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:01 -0800 Message-Id: <20191229184415.19514-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 05/19] cmake.bbclass: Define LIB_SUFFIX X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This variable is used in lot of cmake based packages to denote libdir in multilib environments, now a days there is a better way to include GNUInstallDirs module but thats upto these packages to adopt. Defining this helps compiling a bunch of recipes in extended layers when using multilibbed builds. Signed-off-by: Khem Raj --- meta/classes/cmake.bbclass | 1 + 1 file changed, 1 insertion(+) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 11ffb0d33f..a046daa6ea 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -174,6 +174,7 @@ cmake_do_configure() { -DCMAKE_INSTALL_LIBDIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} \ -DCMAKE_INSTALL_INCLUDEDIR:PATH=${@os.path.relpath(d.getVar('includedir'), d.getVar('prefix') + '/')} \ -DCMAKE_INSTALL_DATAROOTDIR:PATH=${@os.path.relpath(d.getVar('datadir'), d.getVar('prefix') + '/')} \ + -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ -DCMAKE_INSTALL_SO_NO_EXE=0 \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \ From patchwork Sun Dec 29 18:44:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182590 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506469ild; Sun, 29 Dec 2019 10:45:16 -0800 (PST) X-Google-Smtp-Source: APXvYqwE2IecekqY7mMXZ4KGPe3DiznSi+9rqR6voBoHqFf1+sjxVF5o2LGJKTe3I0QF5GCiQdi7 X-Received: by 2002:a17:90a:e2d4:: with SMTP id fr20mr42273552pjb.85.1577645116846; Sun, 29 Dec 2019 10:45:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645116; cv=none; d=google.com; s=arc-20160816; b=e2Fnf2INybH2W1PNJKCMlmSE3baqAYgBBb7WhiPAC+fKDslZ/oeTHA1mkb6K6/h376 0qsb8K0CIMyyYSwWs0vGiZDJ9sBhkL6cH2mJUTJNCxe1x659aaS50wRbTiid5NMAsWfh eOi67acwNzcOqThuVWts8xPTl83gRJyqQfR78boxrMB+tBrg43BoD+772Y//cg3ew2iF w0ppmstIm+Q0dy6HyfchryyR+REX56eDuXEZyI6nq8lsO1hg0XER9Sh3HYx5LXfBnEkf vfjM3AP81WrUz0rEhIpqhXvg2ntGlBUatAPU7x48F6BiguhRYMRBf/hW9wOuNZBztUlC kuEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=f1B+MLBhDgKn1CQBFZmTEXasDhbJ8MbNsFakqPqTCV4=; b=mlU49UkDWOl7Xoh1I4mUp9cGf/lJwTp6jJl108dV/Oaj0gO4aYZSWHI2D4b5DaZRzQ KFRNrmx/P+Qf+45ohZkEQr/gZqAstPeumm6X4DJNGfwq1RNoSuYei83zET1V82AUfM5o THPxDAd1LvurrncU8xEUdIdRKKRguRb74Baa6gV0rjzcFBuXNVL5EgCBKdlVY7LHjB3q m8qzLiyE271QWVo3k1KOyFPnwaov5liAeCLzNCmeO34W4qKLfJK0jVvZBuVB/be9sYfe 16sH8E3cR2K14uQFVpFAqARxVW1xv9VzSb3mdkEsQ2lePaqnid5zRQ8foXno8dd7HkiJ lxsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WF4+0Xw2; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v24si37220821pgh.63.2019.12.29.10.45.16; Sun, 29 Dec 2019 10:45:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WF4+0Xw2; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 528F47F8C6; Sun, 29 Dec 2019 18:44:53 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by mail.openembedded.org (Postfix) with ESMTP id BDD8A7F87F for ; Sun, 29 Dec 2019 18:44:32 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id b22so13800609pls.12 for ; Sun, 29 Dec 2019 10:44:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ih3YXs9WD25AFnJ+QsRwCy+SH4dPENVrBBmweLIfe4o=; b=WF4+0Xw2OTA9VwFrcb0uvoXcUn/HyAFHkdX/141wpz4ZhDjCSfWVdekyfQcs4E3Q44 it0R/GCpffmE3yJjIbCdpmrBsDT/pq76s5L+liXHxMh0oCahFZfTtUgNfvnjm40st8uj J22F9wYUmXwH2TZhM2OZitrl81iBJi2PvHV9HcMIPpznz4xFNtRGfMda1kkpb8/VMRKT 4ZBaJrGrmLBgiOBwoZ7joyY2Gw/6p6LgVduZdQVRLqryVs/opQQjNf6sEGN8W7bHTZG4 tTU3i4cUAX2c92q8LgRAvdf4vcMwCo46i2Nb2/7j3q5W4N4sTodxpxGbotzR7C5j6vlc ihZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ih3YXs9WD25AFnJ+QsRwCy+SH4dPENVrBBmweLIfe4o=; b=im2caPbTGe3GLzOJiXj9IquOVl+JTV3cDT/2oprojevjqPkm03BECUB8PgRR/VVrfl 8V2uLx1+Gdi5JSi2XBSih/m/omfqDO5qR5vKEcd0WTXxBiO1prIG+FN7oVr6XrJLUPtM ygVzuU6U93p0FpfjoaopuyfV29KrmNnkbak9fgl8nuP5xgjISIRDJ01pV5Hg5/79AP5H nR1Rfzu67zFR9I+NZDec6b9gf+1QW33qnOOeSg05Ccw4a/WxzHd6sB8iRYvVoGkiIS5a 55tS368S01IcY5Idf3TxFSWuK5FxRtwtX3F7k3ohQSXMp4rDQaKNZmTESYpT8IDYxKyg lcZw== X-Gm-Message-State: APjAAAULsv1lAD7i+nrViXFuXSkHqPo8Wj+uftmbSttEsZGPM9ljaJA/ HshZLlxLxlIGgcwbFm+q0uRF8gAiXg8= X-Received: by 2002:a17:90a:c983:: with SMTP id w3mr35267282pjt.121.1577645073576; Sun, 29 Dec 2019 10:44:33 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:32 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:02 -0800 Message-Id: <20191229184415.19514-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 06/19] siteinfo: Recognize 64bit PPC LE X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/classes/siteinfo.bbclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 411e70478e..d62aaac0f0 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass @@ -48,6 +48,7 @@ def siteinfo_data_for_machine(arch, os, d): "powerpc": "endian-big bit-32 powerpc-common", "nios2": "endian-little bit-32 nios2-common", "powerpc64": "endian-big bit-64 powerpc-common", + "powerpc64le": "endian-little bit-64 powerpc-common", "ppc": "endian-big bit-32 powerpc-common", "ppc64": "endian-big bit-64 powerpc-common", "ppc64le" : "endian-little bit-64 powerpc-common", @@ -106,8 +107,10 @@ def siteinfo_data_for_machine(arch, os, d): "powerpc-linux-muslspe": "powerpc-linux powerpc32-linux", "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux", "powerpc64-linux-muslspe": "powerpc-linux powerpc64-linux", - "powerpc64-linux": "powerpc-linux", - "powerpc64-linux-musl": "powerpc-linux", + "powerpc64-linux": "powerpc-linux powerpc64-linux", + "powerpc64-linux-musl": "powerpc-linux powerpc64-linux", + "powerpc64le-linux": "powerpc-linux powerpc64-linux", + "powerpc64le-linux-musl": "powerpc-linux powerpc64-linux", "riscv32-linux": "riscv32-linux", "riscv32-linux-musl": "riscv32-linux", "riscv64-linux": "riscv64-linux", From patchwork Sun Dec 29 18:44:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182591 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506560ild; Sun, 29 Dec 2019 10:45:24 -0800 (PST) X-Google-Smtp-Source: APXvYqyj4nQvaIy3On72YJikTfFaQ+r8H9ryvQ0C+kSkqGwLhZxqL/RB+o5db98qI65wl/7qs9KG X-Received: by 2002:a17:902:8ec4:: with SMTP id x4mr49397015plo.234.1577645124153; Sun, 29 Dec 2019 10:45:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645124; cv=none; d=google.com; s=arc-20160816; b=y8ERKR0bjec3aCMNqseF9xtaNTidYC473nFOhiC5QJXGSNvLfv9jjVesPO2MqCBdgB gRdn21C15Z/TQsdDfjlnZqncDryZI8UB7yPDaGXme5odx2xdBnwWLxhrsZJf8lZ+l702 yoEcHSuMcVJ5NMrxTzGNh05Njdr7FDXLGkNOOLkb/438a1RdH+67woBO7Xpc7mIZ9fBb FOo1nXrerOEfShq0YQOCC1r+AcjqrtLdSPHEyjYwRghI/OKl1HP4qeBhpHqV7nYAvt7x LPMqH3tL0lpQu1jqaL2Zjriwssi9VdeSGEydwvxJhHD1El9IINwiGuz3PIXyd6Z6zWlo 2lHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=P0tL35cdkbARCA6FlcUXvA/m+XmWqizdP0N04A0esSo=; b=dD6VDOB7gOrTy1bN93CIuK3119uHMF0ZgPnfr7J4Ps2yYo+kloG96sPdYDjRLN8fb4 H9ZDBa6IVzVA0bKaZuqAWfMft7csIhww4HiTFtqp3X8h4hLIg7v+Om5iGCYPdL8DK4vf 1iAer07HNN1Oq0N4CuRNoOXY+M86Mi1bZi6WVAiX5p4ThBxeubem7d67nNuqfS7zvhoy f334tc/vhbtsvNH8aw3dJgFxeZkMEfLi+SCmAecBPStKj6jMC7KI2q7910p/qZe5LYsL T+pScPA/bkPsp5mdrOrWrJiafFFHmJMethI1JxuDA3RD8KauC3fwq8otuRvIDy0IwuAB FFUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aSmxQMec; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 190si35456184pga.16.2019.12.29.10.45.23; Sun, 29 Dec 2019 10:45:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aSmxQMec; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 753697F8D3; Sun, 29 Dec 2019 18:44:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by mail.openembedded.org (Postfix) with ESMTP id 99BE67F887 for ; Sun, 29 Dec 2019 18:44:33 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id c13so13816880pls.0 for ; Sun, 29 Dec 2019 10:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6NNHeqLa3slz23Ly9y3mCzqLipV4Ksf7xe0I0ZH7+FE=; b=aSmxQMecSGNvtMnH7V2GpZw8zyqZQg9LQgLhImHeAm/GMGEeaf4UGCqT8L/C+XsM4l tiysvfn4UCKZmPmaqhFKuCuw4S4oGhRQZ0gdHqcuPjwDzlr9eNxCapWUMUK4/0Dfpxhj ZSTjnigOE33XSP7cLy/4tVdcYMNpJxC+eqFIVkU+447wlo+AIPnaDhQFZZuCGkCx5fYC JlSeNw8yl7vhsPNcTIX68kyYJNlMj3aHNlhU2826ej777L2P+NHNq8egOQw3BCqHbleb 14ui3zmeTdKAI1N8h/fhr55O5kUiAAvRF/ZuHeAr613d9Z9fSD7oLRf9o7K3f+qbO00A 1Bzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6NNHeqLa3slz23Ly9y3mCzqLipV4Ksf7xe0I0ZH7+FE=; b=ggeFATGHM5Q2egUZQgwYll3JSpRSuAbqlNJg2s7tTHpi4TNBrKFOfwglpG2Kklj+7w ElY/5ms/yDkX9xTMhCZqJYvCEuu05VJR3eTuxP9OPpn5iKDkRqU25DHOefadGTltITks CT4uFjWLBWZTPauBjcgsGv4Y1jNJl3Ss6fB+PLSb0XW1ERsDUzMP/yJ/VVrMHnxPSP1Z q3USwm8m35akbbRZI37mRpD1CkzFu4ZgjHRYTcW6dKsNpaWscN9EiZWAYkitnU/NHVYE LYcyAOMFhp0HjyL+qXokT2p3ztzMJm5IDe4KIcdYWTU0koNyeFkC/+DQ9rIRG+u6GmPH L37Q== X-Gm-Message-State: APjAAAWzTGYKHQwoyrJzofi8THk9IK8S02opazaFLXZSOkGbbt+V3WaG j45Phh8zpe9PdvtDVTnmgOMcbwhk9bg= X-Received: by 2002:a17:90b:46cf:: with SMTP id jx15mr42333043pjb.2.1577645074621; Sun, 29 Dec 2019 10:44:34 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:33 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:03 -0800 Message-Id: <20191229184415.19514-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 07/19] powerpc, powerpc64: Append little-endianness to tune arch X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This helps in constructing right arch for target tuple name for Little-endian ppc Signed-off-by: Khem Raj --- meta/conf/machine/include/powerpc/arch-powerpc.inc | 3 ++- meta/conf/machine/include/powerpc/arch-powerpc64.inc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc index 8c0c943044..ef18e9ac8b 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc @@ -15,7 +15,8 @@ TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endia TUNEVALID[m32] = "Power ELF32 standard ABI" TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', ' -m32', '', d)}" -TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'powerpc', '', d)}" +TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'powerpc${ENDIAN_SFX}', '', d)}" +ENDIAN_SFX = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '', 'le', d)}" TUNEVALID[fpu-hard] = "Use hardware FPU." TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', ' -mhard-float', '', d)}" diff --git a/meta/conf/machine/include/powerpc/arch-powerpc64.inc b/meta/conf/machine/include/powerpc/arch-powerpc64.inc index 4bc5983087..cf5c3ef8e6 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc64.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc64.inc @@ -5,7 +5,7 @@ require conf/machine/include/powerpc/arch-powerpc.inc TUNEVALID[m64] = "Power ELF64 standard ABI" TUNECONFLICTS[m64] = "m32 nf" TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm64', ' -m64', '', d)}" -TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', [ 'm64' ], 'powerpc64', '', d)}" +TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', [ 'm64' ], 'powerpc64${ENDIAN_SFX}', '', d)}" # musl only supports elfv2 ABI for ppc64 TUNE_CCARGS .= "${@['', ' -mabi=elfv2']['libc-musl' in d.getVar('OVERRIDES').split(':')]}" From patchwork Sun Dec 29 18:44:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182592 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506625ild; Sun, 29 Dec 2019 10:45:30 -0800 (PST) X-Google-Smtp-Source: APXvYqyKcFWHKZiFpQ7rKvFCgrVmYGD5KN+k2RDACsdrgslXmd+b3FKaQhZKhBvDn1RWTWyyXKDI X-Received: by 2002:a63:1110:: with SMTP id g16mr46007926pgl.84.1577645130387; Sun, 29 Dec 2019 10:45:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645130; cv=none; d=google.com; s=arc-20160816; b=CVmluXoRpvQx1AAL0ey1yXzQZQ1kEeiOV5N6v23ixMBcPW7nGNz+fBGe3LWklAVMwO p66vjtAelvHX2YUcTtphZqzqwl+0cPKfqLM5lEOBPl5DYgAokC9u/klouNtJNoun1jEX pvP59KYpd8BQAgRm7g+aOO5lQTzQNcXqUMv8riQ8Ph/uCn6y1nJeJ+wf3ZyL6EdV2hQj 0xAxcr1726eJMDfdRc9zknHVh3W7NJw9PJzM7Rxw1yfYLMMZ3hdJz0lqdDRHa4JW36rC HBhp/MiCB4cF67yp6eVUz6+bdxkXX/IgVvZZ26QZZxRbEZant4M6q99/IPxIEnfRrAHb MoAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=CZrZszbJT7ikkB8seyx8pLuk3FP+3/UGE1L82c+7fPQ=; b=e3KradEvd0N+7c2EBdUdUNHAzXZOxBTlyLNMjFDWr2SLXxAkeGXm/YG+QxPE8yql65 zTLU4+p/uonTRzgjfpnQNge61VurNs4UBQV7EyuHPlPI3SUAKQzz4BWAKChBCI3nN/nb SII7JNG7NZRhXRwRtfXzYxDhUZA0CDv0pj7R61+hruN09q6Raq2u89/sadvJek0s60xA rHxfQYWFp8Eyi2GX5favO17mIZmEyRSKco4UpwSkeiBntqju1ZbxP2nnkXkKbLDpj9eT JXeW9e3y/yO8vVSHiazfbrOJVS9/sRk7c8g/81VQq/wncEl0ZKh0KIrTvwEEgX1a17WO Ip4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=cph9TJvH; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id z12si33077217pfk.158.2019.12.29.10.45.30; Sun, 29 Dec 2019 10:45:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=cph9TJvH; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9B5D77F8DB; Sun, 29 Dec 2019 18:44:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mail.openembedded.org (Postfix) with ESMTP id 19E787F884 for ; Sun, 29 Dec 2019 18:44:34 +0000 (UTC) Received: by mail-pg1-f174.google.com with SMTP id b137so16998556pga.6 for ; Sun, 29 Dec 2019 10:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0Y5vhabqW7djdwHdjCEPXH1majAzei6DlaJNMt3R/PY=; b=cph9TJvHKq4J6Wz3DBBxU4KLbK0CWP+aYapHvr8+z6m9zkJV4BfmBauODKmyFD62Xc CfNNXJxjhsSlV5jKgopXW30GZy9DsCpGfKLhH86R0HcWmyRyvl8VDHPty0YYgquC5Y+X TpC9HoApHLp8x0h4s7OBHtn2unONNfbXguzZ9C6D9RpBKLxV8QO2It3zUnIafv5ov++Q DAArMzuKgGjCiyTCDbEzZqmTEdnlP0Nyz1sMG8hRxZv98TvB8zMpAqsD3BFGsaEk/5Ok EN/3HS51WFariA2xGaLpHcQG1cnOs9IUEDpWw06B1b8iuxtNonCyvBvE5u1oyQLs0zqK 6o7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0Y5vhabqW7djdwHdjCEPXH1majAzei6DlaJNMt3R/PY=; b=twjsMsSy5UvdbC0bwP9023SM4pOG3U0KL8hbE0gubxDsj++Ti4hQn+s/gC7ugc0wA6 HiVJU8NYuqpMN1tcWSNDbFGee0XJZj8Lws/5d/7OZEsiz4u/C2T3UGMbnJLnnjG97rZb 1BnzcXELyE+DcXNGfVavKG7SQLDZu/nw6TnzTkaWVvMY65QSSqlwGm9ZgvlthpI1AAO4 rVifUYG4wStoQp89CYbOdZljFREeZwDOvLseg3EA12e5BXA+KbxlxNldzDLyH4RKFK9z sWXzLWB1PQAvGfJdQ4w7ek2VgSPSbTFIJRHGgfxGzMV6X37gGLs4UERO4Pswb9vtIaYb tJdg== X-Gm-Message-State: APjAAAXJiGAa0r3IgpQVQr3H6CvAh6ZSGrJeY0awhlSXPr0Nk1KpIxvI HaDmEFTDFzoKCEioKaLvHG72fmM9wgE= X-Received: by 2002:a63:1807:: with SMTP id y7mr64170064pgl.94.1577645075693; Sun, 29 Dec 2019 10:44:35 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:34 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:04 -0800 Message-Id: <20191229184415.19514-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 08/19] tune-power9: Add power9 tunings X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Add Little/big Endian, 32bit/64bit Signed-off-by: Khem Raj --- meta/conf/machine/include/tune-power9.inc | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta/conf/machine/include/tune-power9.inc -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/machine/include/tune-power9.inc b/meta/conf/machine/include/tune-power9.inc new file mode 100644 index 0000000000..81d6e8e9bf --- /dev/null +++ b/meta/conf/machine/include/tune-power9.inc @@ -0,0 +1,35 @@ +DEFAULTTUNE ?= "ppc64p9le" + +require conf/machine/include/powerpc/arch-powerpc64.inc + +TUNEVALID[power9] = "Enable IBM Power9 specific processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'power9', ' -mcpu=power9', '', d)}" + +AVAILTUNES += "ppcp9 ppc64p9 ppcp9le ppc64p9le" + +TUNE_FEATURES_tune-ppcp9 = "m32 fpu-hard power9 altivec bigendian" +BASE_LIB_tune-ppcp9 = "lib" +TUNE_PKGARCH_tune-ppcp9 = "ppcp9" +PACKAGE_EXTRA_ARCHS_tune-ppcp9 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppcp9" + +TUNE_FEATURES_tune-ppc64p9 = "m64 fpu-hard power9 altivec bigendian" +BASE_LIB_tune-ppc64p9 = "lib64" +TUNE_PKGARCH_tune-ppc64p9 = "ppc64p9" +PACKAGE_EXTRA_ARCHS_tune-ppc64p9 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p9" + +TUNE_FEATURES_tune-ppcp9le = "m32 fpu-hard power9 altivec" +BASE_LIB_tune-ppcp9le = "lib" +TUNE_PKGARCH_tune-ppcp9le = "ppcp9le" +PACKAGE_EXTRA_ARCHS_tune-ppcp9le = "${PACKAGE_EXTRA_ARCHS_tune-powerpcle} ppcp9le" + +TUNE_FEATURES_tune-ppc64p9le = "m64 fpu-hard power9 altivec" +BASE_LIB_tune-ppc64p9le = "lib64" +TUNE_PKGARCH_tune-ppc64p9le = "ppc64p9le" +PACKAGE_EXTRA_ARCHS_tune-ppc64p9le = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64le} ppc64p9le" + +# glibc configure options to get power9 specific library +GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}" +GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains('TUNE_FEATURES', 'power9', '--with-cpu=power9', '', d)}" + +# QEMU usermode fails with invalid instruction error +MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'power9', ' qemu-usermode', '', d)}" From patchwork Sun Dec 29 18:44:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182593 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506712ild; Sun, 29 Dec 2019 10:45:37 -0800 (PST) X-Google-Smtp-Source: APXvYqymWi4UokZLxeUBjucJG6Kmu9dgxkfBB8B+lui+Ni80P4AbkgWJZJVehdvnQwNEiFmoFNtj X-Received: by 2002:a63:f551:: with SMTP id e17mr66459683pgk.162.1577645137190; Sun, 29 Dec 2019 10:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645137; cv=none; d=google.com; s=arc-20160816; b=nALM2YiiSxwggeO7Cybgh5LFZjMxsImDerZNZiGOsKRYIXM0BMrWoxCnoYudgz//tR CeFpUG9antcqpgbBPOYyBZMshToH/KbTvO62cNK+hAJbg131yHq9PqoQmTolcFZcZRpn cjb3zRiSqj9vYVylMkw0G7Y0RfeCXbtD5xwt6+HHSsGNS6UDiWgAmkVGh0J7AthJkhJK m0R3rBV41MLjQ9CLxuxUI0B4jWCfahE0f9cmFWUK9QBLh7swt4knoO7eekh8UhPnD9ja 31GQxAhvjwJMIPdEIuwN+apquyiSn3CH47oe8CUjyZnbbOaW4EPMaG8EOrNAZsr6hG31 m4QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=sjOgeM/e1EFFhWcA0TIGrmsMqFIA/W5ZpghqItDiAO4=; b=g0wurcDqX73tYhMLxpyLQR8gUGS3tbY63WtO8xURjp1TPNqgx3DY4iBqcXl+7r29mz X2bemOL+rwBUqPhW+b6L/RWGDy8pBaBxVPRQ/Iw/yT6TVGegkeoz5HzhqOWUgvfrHkCS UXLYli3momO2oL0MpQUak81d51BZQOId0TJOFijOEiiIs4rMhJWF4KFgApnqWuZ8xThM TLYwO+KqiNNTpqGfnDwMtTjmznt+jXONoLdJQd6RrwJnfqtmUVSp0/Ye30Ap8knVTMeM X8Z38QbSiqNYvFP6SKOHHCqsMXWfvgpAUkxTAjLMxrOOB+9FOWFRndAodz8aLQnbmiBz MWEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Mnxl1n8V; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x5si36238031plm.94.2019.12.29.10.45.36; Sun, 29 Dec 2019 10:45:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Mnxl1n8V; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id BDF6C7F8F3; Sun, 29 Dec 2019 18:44:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mail.openembedded.org (Postfix) with ESMTP id 7F89D7F884 for ; Sun, 29 Dec 2019 18:44:35 +0000 (UTC) Received: by mail-pl1-f182.google.com with SMTP id s21so11071023plr.7 for ; Sun, 29 Dec 2019 10:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AJfHUZxlt99tk0Wa9n4O/xUwBOEqsVF72T2IanVs21g=; b=Mnxl1n8Vk4yzR5joEayCt4h+Bo/aoGDK8dJom0EMho3zNtCiuk/jTy55qpjgIWreve sj4nsOeSohG8oi3JeRNpB2oK8p6RpR2vt/A9Y4CaJ0Yb2woLovlvf+LQxetRtNQTqwxY DYR8wV0OCxzO0DKuEFP60afo8h/XBnit4a6yDnoki8LJZMXrkNkmk29q5ijPSFGXt9da maIDDqZ7w7OrZCHXX7tq0Hmy1VkX4nG8mW6DGpxrBOKAvgk0ekZgouy4wFxMRzFKu2g1 Xyyu73fioYcfqGjEf8gDN3f3jlOc5wFud0oq/V6kQP5WhXdHayz9QbAfdeaYzqvbPQt9 JXSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AJfHUZxlt99tk0Wa9n4O/xUwBOEqsVF72T2IanVs21g=; b=tPRvRA8wSY5GbHDCchRtTxSpJ8rUCata33i3uFmRx2lpQIPVMqiYVJqQ1JFWAnWdns l/QQSOXKbYEV8G/ZRRZ63hlDgw973xCnPUA56djbVXJ+XjZCvXWbxg8oNOBJAojNU81i aA7wtpV0Dbh5vrHIy+mHn9ILqF0wmUsTbDHvq56E+6eSajyx8xikCR7j6ZuPcy9TzfyZ apU9OfMHO8FZm4L2x5kC8S9VdT503s/epAX5j64/dMXbQK45dZOdaZ8Lh+mNt2lwTqx5 6ap09uShSAgqmvdRp0ipTxWiO1jd9FgixYcttW71+5UTP4klwXbmgEfNj0ZcJxwjU3Ry bG3w== X-Gm-Message-State: APjAAAUb8jN+1+lGJynLT765wAcKB3PAfcvpKbaeB9AR3tuUJRZpjBlK 4jf42JhFQEFp8S/DX1bkrHXjxh4xqtA= X-Received: by 2002:a17:90a:6484:: with SMTP id h4mr39585487pjj.84.1577645076365; Sun, 29 Dec 2019 10:44:36 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:36 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:05 -0800 Message-Id: <20191229184415.19514-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 09/19] busybox: Replace obsolete stime API with clock_settime X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../0001-Remove-stime-function-calls.patch | 85 +++++++++++++++++++ meta/recipes-core/busybox/busybox_1.31.1.bb | 1 + 2 files changed, 86 insertions(+) create mode 100644 meta/recipes-core/busybox/busybox/0001-Remove-stime-function-calls.patch -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/busybox/busybox/0001-Remove-stime-function-calls.patch b/meta/recipes-core/busybox/busybox/0001-Remove-stime-function-calls.patch new file mode 100644 index 0000000000..9b9432844c --- /dev/null +++ b/meta/recipes-core/busybox/busybox/0001-Remove-stime-function-calls.patch @@ -0,0 +1,85 @@ +From d3539be8f27b8cbfdfee460fe08299158f08bcd9 Mon Sep 17 00:00:00 2001 +From: Alistair Francis +Date: Tue, 19 Nov 2019 13:06:40 +0100 +Subject: [PATCH] Remove stime() function calls + +stime() has been deprecated in glibc 2.31 and replaced with +clock_settime(). Let's replace the stime() function calls with +clock_settime() in preperation. + +function old new delta +rdate_main 197 224 +27 +clock_settime - 27 +27 +date_main 926 941 +15 +stime 37 - -37 +------------------------------------------------------------------------------ +(add/remove: 2/2 grow/shrink: 2/0 up/down: 69/-37) Total: 32 bytes + +Upstream-Status: Backport [https://git.busybox.net/busybox/commit/?id=d3539be8f27b8cbfdfee460fe08299158f08bcd9] +Signed-off-by: Alistair Francis +Signed-off-by: Denys Vlasenko +--- + coreutils/date.c | 6 +++++- + libbb/missing_syscalls.c | 8 -------- + util-linux/rdate.c | 8 ++++++-- + 3 files changed, 11 insertions(+), 11 deletions(-) + +--- a/coreutils/date.c ++++ b/coreutils/date.c +@@ -279,6 +279,9 @@ int date_main(int argc UNUSED_PARAM, cha + time(&ts.tv_sec); + #endif + } ++#if !ENABLE_FEATURE_DATE_NANO ++ ts.tv_nsec = 0; ++#endif + localtime_r(&ts.tv_sec, &tm_time); + + /* If date string is given, update tm_time, and maybe set date */ +@@ -301,9 +304,10 @@ int date_main(int argc UNUSED_PARAM, cha + if (date_str[0] != '@') + tm_time.tm_isdst = -1; + ts.tv_sec = validate_tm_time(date_str, &tm_time); ++ ts.tv_nsec = 0; + + /* if setting time, set it */ +- if ((opt & OPT_SET) && stime(&ts.tv_sec) < 0) { ++ if ((opt & OPT_SET) && clock_settime(CLOCK_REALTIME, &ts) < 0) { + bb_perror_msg("can't set date"); + } + } +--- a/libbb/missing_syscalls.c ++++ b/libbb/missing_syscalls.c +@@ -15,14 +15,6 @@ pid_t getsid(pid_t pid) + return syscall(__NR_getsid, pid); + } + +-int stime(const time_t *t) +-{ +- struct timeval tv; +- tv.tv_sec = *t; +- tv.tv_usec = 0; +- return settimeofday(&tv, NULL); +-} +- + int sethostname(const char *name, size_t len) + { + return syscall(__NR_sethostname, name, len); +--- a/util-linux/rdate.c ++++ b/util-linux/rdate.c +@@ -95,9 +95,13 @@ int rdate_main(int argc UNUSED_PARAM, ch + if (!(flags & 2)) { /* no -p (-s may be present) */ + if (time(NULL) == remote_time) + bb_error_msg("current time matches remote time"); +- else +- if (stime(&remote_time) < 0) ++ else { ++ struct timespec ts; ++ ts.tv_sec = remote_time; ++ ts.tv_nsec = 0; ++ if (clock_settime(CLOCK_REALTIME, &ts) < 0) + bb_perror_msg_and_die("can't set time of day"); ++ } + } + + if (flags != 1) /* not lone -s */ diff --git a/meta/recipes-core/busybox/busybox_1.31.1.bb b/meta/recipes-core/busybox/busybox_1.31.1.bb index e7618e5bfe..1d0102eb2b 100644 --- a/meta/recipes-core/busybox/busybox_1.31.1.bb +++ b/meta/recipes-core/busybox/busybox_1.31.1.bb @@ -42,6 +42,7 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://0001-testsuite-check-uudecode-before-using-it.patch \ file://0001-testsuite-use-www.example.org-for-wget-test-cases.patch \ file://0001-du-l-works-fix-to-use-145-instead-of-144.patch \ + file://0001-Remove-stime-function-calls.patch \ " SRC_URI_append_libc-musl = " file://musl.cfg " From patchwork Sun Dec 29 18:44:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182594 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506782ild; Sun, 29 Dec 2019 10:45:43 -0800 (PST) X-Google-Smtp-Source: APXvYqx7tXIsfqpGTgnpArQGrenzeowtH9V8r0kv2U1tVlXwsKHElSffF/21wW+T/uxjlo6qJYKr X-Received: by 2002:a62:8782:: with SMTP id i124mr66115968pfe.22.1577645143541; Sun, 29 Dec 2019 10:45:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645143; cv=none; d=google.com; s=arc-20160816; b=Q2wf2lDny9zuIFvb7PFSStU2fKtAq6watAZflhfuaPbp/8j1CJNewoxbpFIFeUv9gs Tp57vlQRfuNdjVuiwjezJ4Lv3vNfJSx3qBpjGTCaC/60TCVtDADgSXzHNsbEQgs/qf6+ Fo3+Q5HNPFmBFcwNgxVMD3agP0vjY1uVAaaZsi4kJ9Yb4BzDW4ks8+pxUiNeT5vD+xqq ybAjQQDeTOyUhhR9WwBfp7xUEuGAQrzjaicnqOri22+CLfmeZ0gtOKcQD92M3WBCi6qu otk4zIzXlc+XqpSPrgaDr7W3FUIt0pKqyp8SMPZF9tXiCvlMQCCorAGMmM2+aJQtC30u sNsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=eKQzNbFyKBETu0q9t3uMMIBDlwOIij2RR+fzgu5Ehuk=; b=Rt8Rn9P1vLfCetP3f3Lots+uMRRbvH6p239NNzIrte3y3zAX47SwxVA+7jbzsRhLNb q8rfkAGM4/ohsX/gWHYto0a4Dk00ZACQFtcwxS2ePUcMXAmi10iInX57Wb6ToMKdWdtz KMMpJxp9Yc0cWZejuIp0dcUJQD5fbr3bmioesKHu78XUFtTDPDUMvlOb+DVLaVHmQaE5 uGUjPpankxKNZ53EpAJdIYJ6kD+0gi3StpzVMRIXVxJWPONpDXvzZZFY7P1kkFilyr7K R0NhYQhA5KrtZBoL7lHJ7/yrI6n6ul3r3P0ZHOYVNghuAQm0vPO8xRwT4yxBu/47gr1k nJ4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lf1snVBp; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 21si38989559pgn.257.2019.12.29.10.45.43; Sun, 29 Dec 2019 10:45:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lf1snVBp; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id ED24F7F8E5; Sun, 29 Dec 2019 18:44:57 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mail.openembedded.org (Postfix) with ESMTP id 4CB4D7F87C for ; Sun, 29 Dec 2019 18:44:36 +0000 (UTC) Received: by mail-pl1-f181.google.com with SMTP id bd4so13808948plb.8 for ; Sun, 29 Dec 2019 10:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rju4aJpA7sDGRmBYbx8vwerBtK0LKVKl+LuWnt732XM=; b=lf1snVBpV1RJIPabueI9uXn56iA+TX7NmnmUwo4T1olMYz2g8AnwH42mat1LIgrQL7 pbgRmX/JnW7Zze/1jutt10AF56VKVRiklrxhyx0OvypyVxXTvTBH6HMqunyPaxnVWqyI j30GBiSum5vLULFLNyLnRw/o243cPRLjkP7SCK8YrGRXSCXXKTsV3ObKu1bNqmEX1O57 r92XmHRwkUZwB2KJB8wVjZOUv8eGldeAqz9ZaM0m6wc6EVAF30XbBcW5v4fVKmC1NW/7 qjdpLTaWgt2ccg5KZWkfNH50+PgOjEzGVjB7XmLxxE5euTtKZqFh9FGIWvQo0TV3qTuv W3OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rju4aJpA7sDGRmBYbx8vwerBtK0LKVKl+LuWnt732XM=; b=jkxMy3XcN6UHcMoL/DdRACeieaP3qUWxD+2xglS14/viizHIH9pexWCWhHPTL9gQAK qIQsvfBniEXe9kyMmnKJr1qOdNWIsz6n07fHYRV16Ozh4z6up5fKv0c2xVAcEPDqhQoY 4ELujEvmjkLlmrUBFMJJtCrWwdi2+1XJ82BG1FLClKtxgVcgzAKsJFGZKs9WgkCUy3yV EJHWNJj4LV/dLM7BgTk0LtxvA1PmMaWTLF+t/MCbT6vMNsOik9bdYn5Km9T71iHWtpd+ m2NRYizX1bhlxyo3iqluvocw01vu1DIb/y7f8L1wZ6MjiVyayN6C9mefdeKRUTXpNDiO c0pw== X-Gm-Message-State: APjAAAUU8I8pTSSvL4iQuBsKfMdyeYSKA19GdiyU5tTu0CkApYLc4q2l YGKfk8OZaFMeG6B6MgMetr1OBRbs62E= X-Received: by 2002:a17:90a:bf0c:: with SMTP id c12mr39638158pjs.112.1577645076968; Sun, 29 Dec 2019 10:44:36 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:36 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:06 -0800 Message-Id: <20191229184415.19514-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 10/19] strace: Upgrade to 5.4 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Remove a patch already present upstream Add a patch to fix build with upcoming glibc 2.31 where __ptrace_syscall_info definition is added Signed-off-by: Khem Raj --- ...yscall_info-to-__ptrace_syscall_info.patch | 52 +++++++++++++++++++ ...Check-for-mips-and-alpha-before-usin.patch | 32 ------------ .../strace/strace/Makefile-ptest.patch | 6 +-- ...st-test-for-m32-mx32-compile-support.patch | 10 ++-- .../strace/strace/sys_headers.patch | 2 +- .../strace/{strace_5.3.bb => strace_5.4.bb} | 6 +-- 6 files changed, 62 insertions(+), 46 deletions(-) create mode 100644 meta/recipes-devtools/strace/strace/0001-define-ptrace_syscall_info-to-__ptrace_syscall_info.patch delete mode 100644 meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch rename meta/recipes-devtools/strace/{strace_5.3.bb => strace_5.4.bb} (89%) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/strace/strace/0001-define-ptrace_syscall_info-to-__ptrace_syscall_info.patch b/meta/recipes-devtools/strace/strace/0001-define-ptrace_syscall_info-to-__ptrace_syscall_info.patch new file mode 100644 index 0000000000..dd0617a15f --- /dev/null +++ b/meta/recipes-devtools/strace/strace/0001-define-ptrace_syscall_info-to-__ptrace_syscall_info.patch @@ -0,0 +1,52 @@ +From 86bbe1135d5d13db1ced64141acfb513c03d2f30 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 21 Dec 2019 10:18:38 -0800 +Subject: [PATCH] define ptrace_syscall_info to __ptrace_syscall_info + +glibc 2.31+ has defined __ptrace_syscall_info [1] + +[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d1e411e5c786ce3028d98b4e6fc02c2fcf66ae37;hp=2e4e75727eb05eef4c10470d865bd42962d5fae7 + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + get_personality.h | 2 ++ + ptrace.h | 2 ++ + 2 files changed, 4 insertions(+) + +--- a/get_personality.h ++++ b/get_personality.h +@@ -10,7 +10,9 @@ + + # include "ptrace.h" + ++# if HAVE_STRUCT___PTRACE_SYSCALL_INFO + extern int + get_personality_from_syscall_info(const struct ptrace_syscall_info *); ++# endif + + #endif /* !STRACE_GET_PERSONALITY_H */ +--- a/ptrace.h ++++ b/ptrace.h +@@ -186,6 +186,9 @@ struct ptrace_syscall_info { + }; + # endif + ++# if HAVE_STRUCT___PTRACE_SYSCALL_INFO ++# define ptrace_syscall_info __ptrace_syscall_info ++# endif + # if !HAVE_DECL_PTRACE_PEEKUSER + # define PTRACE_PEEKUSER PTRACE_PEEKUSR + # endif +--- a/configure.ac ++++ b/configure.ac +@@ -317,7 +317,8 @@ AC_CHECK_MEMBERS([struct stat.st_mtime_n + AC_CHECK_TYPES(m4_normalize([ + struct pt_all_user_regs, + struct ia64_fpreg, +- struct ptrace_peeksiginfo_args ++ struct ptrace_peeksiginfo_args, ++ struct __ptrace_syscall_info + ]),,, [#include ]) + + # For kernels that do not have v3.10-rc1~201^2~11 diff --git a/meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch b/meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch deleted file mode 100644 index 95d85bf34a..0000000000 --- a/meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 879ae71c472ce522f1b3514d2abf6ad49b4acc07 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 18 Sep 2017 22:51:32 -0700 -Subject: [PATCH] tests/sigaction: Check for mips and alpha before using - sa_restorer - -local structure does not define restorer member for mips and alpha -in definition, we need to match that assumption here where they are -being set - -Fixes -| ../../strace-4.18/tests/sigaction.c:177:36: error: 'struct_set_sa {aka struct set_sa}' has no member named 'restorer' -| # define SA_RESTORER_ARGS , new_act->restorer - -Upstream-Status: Pending -Signed-off-by: Khem Raj - ---- - tests/sigaction.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/tests/sigaction.c -+++ b/tests/sigaction.c -@@ -156,7 +156,7 @@ main(void) - sigdelset(mask.libc, SIGHUP); - - memcpy(new_act->mask, mask.old, sizeof(mask.old)); --# ifdef SA_RESTORER -+#if defined(SA_RESTORER) && !defined(MIPS) && !defined(ALPHA) - new_act->flags = SA_RESTORER; - new_act->restorer = (unsigned long) 0xdeadfacecafef00dULL; - # define SA_RESTORER_FMT ", sa_flags=SA_RESTORER, sa_restorer=%#lx" diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch index 08fa5c53b8..2437d1fb6d 100644 --- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch +++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch @@ -13,11 +13,9 @@ Signed-off-by: Anuj Mittal tests/Makefile.am | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -diff --git a/tests/Makefile.am b/tests/Makefile.am -index 825c989..4623c48 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am -@@ -14,6 +14,7 @@ SIZEOF_LONG = @SIZEOF_LONG@ +@@ -15,6 +15,7 @@ SIZEOF_LONG = @SIZEOF_LONG@ MPERS_NAME = MPERS_CC_FLAGS = ARCH_MFLAGS = @@ -25,7 +23,7 @@ index 825c989..4623c48 100644 AM_CFLAGS = $(WARN_CFLAGS) AM_CPPFLAGS = $(ARCH_MFLAGS) \ -I$(builddir) \ -@@ -477,3 +478,21 @@ BUILT_SOURCES = ksysent.h +@@ -531,3 +532,21 @@ BUILT_SOURCES = ksysent.h CLEANFILES = ksysent.h include ../scno.am diff --git a/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch b/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch index a9bd900da8..ae22105cbe 100644 --- a/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch +++ b/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch @@ -23,19 +23,17 @@ Signed-off-by: Andre McCurdy m4/mpers.m4 | 2 ++ 1 file changed, 2 insertions(+) -diff --git a/m4/mpers.m4 b/m4/mpers.m4 -index 13725d7..d8578ea 100644 --- a/m4/mpers.m4 +++ b/m4/mpers.m4 -@@ -88,6 +88,7 @@ case "$arch" in - CFLAGS="$CFLAGS MPERS_CFLAGS $IFLAG" - AC_CACHE_CHECK([for mpers_name personality compile support], [st_cv_cc], +@@ -103,6 +103,7 @@ case "$arch" in + CFLAGS="$CFLAGS MPERS_CFLAGS${IFLAG:+ }$IFLAG" + AC_CACHE_CHECK([for mpers_name personality compile support (using $CC $CFLAGS)], [st_cv_cc], [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include + #include int main(){return 0;}]])], [st_cv_cc=yes], [st_cv_cc=no])]) -@@ -95,6 +96,7 @@ case "$arch" in +@@ -110,6 +111,7 @@ case "$arch" in AC_CACHE_CHECK([for mpers_name personality runtime support], [st_cv_runtime], [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include diff --git a/meta/recipes-devtools/strace/strace/sys_headers.patch b/meta/recipes-devtools/strace/strace/sys_headers.patch index e46f2c350d..d1b704e0d9 100644 --- a/meta/recipes-devtools/strace/strace/sys_headers.patch +++ b/meta/recipes-devtools/strace/strace/sys_headers.patch @@ -11,7 +11,7 @@ Suggested-by: Rich Felker Signed-off-by: Khem Raj --- a/configure.ac +++ b/configure.ac -@@ -439,11 +439,7 @@ AC_CHECK_HEADERS(m4_normalize([ +@@ -441,11 +441,7 @@ AC_CHECK_HEADERS(m4_normalize([ sys/conf.h sys/eventfd.h sys/fanotify.h diff --git a/meta/recipes-devtools/strace/strace_5.3.bb b/meta/recipes-devtools/strace/strace_5.4.bb similarity index 89% rename from meta/recipes-devtools/strace/strace_5.3.bb rename to meta/recipes-devtools/strace/strace_5.4.bb index b000afb30b..1e428ccd64 100644 --- a/meta/recipes-devtools/strace/strace_5.3.bb +++ b/meta/recipes-devtools/strace/strace_5.4.bb @@ -12,13 +12,13 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://run-ptest \ file://mips-SIGEMT.patch \ file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \ - file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \ file://ptest-spacesave.patch \ file://uintptr_t.patch \ file://sys_headers.patch \ + file://0001-define-ptrace_syscall_info-to-__ptrace_syscall_info.patch \ " -SRC_URI[md5sum] = "84f5e72de813c9b1bb6057ee8ab428d8" -SRC_URI[sha256sum] = "6c131198749656401fe3efd6b4b16a07ea867e8f530867ceae8930bbc937a047" +SRC_URI[md5sum] = "b2b58f05eb3c5c0bf9d1e26003b4d698" +SRC_URI[sha256sum] = "f7d00514d51290b6db78ad7a9de709baf93caa5981498924cbc9a744cfd2a741" inherit autotools ptest From patchwork Sun Dec 29 18:44:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182595 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506863ild; Sun, 29 Dec 2019 10:45:51 -0800 (PST) X-Google-Smtp-Source: APXvYqzNxjPet4p8WV2fBSYpKsMvbZOShXZuteP06Y/GGtd46NkmA1Jb+CZoYKlQkL30rHGms1hE X-Received: by 2002:a17:902:b184:: with SMTP id s4mr22749046plr.88.1577645151383; Sun, 29 Dec 2019 10:45:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645151; cv=none; d=google.com; s=arc-20160816; b=o2xEzb/KQS6AowCeGoE5/p+u8kPE93PpV1GL1uD3rvJMVnQgXuAwOul9If0bYwlLvw dcFAT/dhzGEisQnjOJZwhno+lg7r8G3m1y74Ad6S1IVu5CyncyC1yWHjzQSXymvI1zBT /65qNvyd4a3KOjQgodH7nYhHV1zDh/ck3qP4mpezC0yxgdnoNyAexoYycx00HrX4lWw2 rCEzgEx7p1JxJ8oqJdxi2fVrS+0EJQnQ2+nVVh7CLfq7VLAS5O3uhZmuVaMV3iY2itng Z02MANyQ5+wMJhCZw5MSR8WqbQm7+A8LX5KMdab5AN0FXZcZZxmAPtFqZjYebbppWv4s VfUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=M89SaAndu2xY1x4hXTeFo5FxDFD2v8ByvJuSyh/Xb0g=; b=iG9C65Kv6F792p2MkMwLwvw72SXNOca6xQTl//yG6WzF2fhTVuFPSbUMnsjitqUBgM sy9i50Ll6rDyOU+KnsHp4o0bHGPglxCqH9Qom1Rhcw6iV2lD9Q8FKYLE4+Prk95hU8VF 1lRHWM0bjMsjh0dofH5T8gmH/5DDUJI/xhzMol3tDn3R6uSmizctnhtobevCflBzhqLS BxGtKFw8UVSqm9V3bkqgDYqeTYSVv8pyuYB2bNsSWMXig9e2rkcw5+/C3fYbugIxh4Gx +yZInPnxlIJxVfgnTqM/AkIE9OGSYKEBRBVROWEk8V7hPEzA716OMCF+y5bQPe9Rd2PK VqTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TM3yb9gg; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d9si36273820plj.318.2019.12.29.10.45.51; Sun, 29 Dec 2019 10:45:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TM3yb9gg; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1ED607F93A; Sun, 29 Dec 2019 18:44:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by mail.openembedded.org (Postfix) with ESMTP id DBA157F885 for ; Sun, 29 Dec 2019 18:44:36 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id k25so16990355pgt.7 for ; Sun, 29 Dec 2019 10:44:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T0SyvsKexEQzjv7ANIzPnuJL/nIcevzUrrqeVg4KRVM=; b=TM3yb9gg56xy3gqGieixP3WbX1duYzEUUyYD123OGUGakM6W+qUNt/D+CRN+fCZNfg Rujlooz23rDDaGfymCBYRWdiVlUt3gePO7BSI0YwsY/EGvZTdLy9qgd/VUugmmDkLnyx lF+EysSuJzcEEHZj8HznJQEoxTiuooQtm4T7cPc95q3jLLlukDxbEUNzu2rJV1bforUZ x0SXKFML1Bqml0C7Gjg+A38E86wlD41WahO+fHDT6lie/3rcQQCnyxE5Satj5xgLvgYU KKJIHcx9FdbTf9embDiIfFMlBJu75GMblzas8Fe3ZY/D1/CIou8Y9rzC3CyVSSJLn1FF eJlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T0SyvsKexEQzjv7ANIzPnuJL/nIcevzUrrqeVg4KRVM=; b=qzXIokY+2ofrcEOux0eEO8OyFCm/IjQtDVEflVxZpcMavc3ZvZjHxOn9F/t+P5r1Re WOi6h0pr5TK7uK5FtTR4TRs2VKNsRJtqOnHfrlbm0uYtVSwtda3xQOV0buQFPuvyOpsT 68Vzsm5Y79uo7/5dy+snWTLYH3JHA9f40lnnj8TwCEQYmC1ZP5hF9OIs9m2iyV5jx/bW xRHb+3BZDxR6HToiWCL2B4uwKyuCloZ+480JBlHZ0uKH2oDKtjhLdslYt94eD3rDTlak myDG2fDMdziTQ5PEV5zIC9hedkNdzRBkD6YdY9SO7Gskd3J8Lzg/O+EGlipgIstm7EUe N2gQ== X-Gm-Message-State: APjAAAWfw4jbvBSTdSoYLKOSA2dVJ7jR6rAEjgOF3TjLlyawwn4ysN5M VpG1uk+gJLYLPi0q/fQD0CiJPfHal64= X-Received: by 2002:a63:cb48:: with SMTP id m8mr69656593pgi.128.1577645077635; Sun, 29 Dec 2019 10:44:37 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:37 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:07 -0800 Message-Id: <20191229184415.19514-11-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 11/19] gcc-sanitizers: Add missing dep on libcrypt X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-sanitizers.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc index 8b1d1c94bf..668e14a59f 100644 --- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc +++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc @@ -43,7 +43,7 @@ do_install () { INHIBIT_DEFAULT_DEPS = "1" ALLOW_EMPTY_${PN} = "1" -DEPENDS = "gcc-runtime virtual/${TARGET_PREFIX}gcc" +DEPENDS = "virtual/crypt gcc-runtime virtual/${TARGET_PREFIX}gcc" # used to fix ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized] DEBUG_OPTIMIZATION_append = " -Wno-error" From patchwork Sun Dec 29 18:44:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182596 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506927ild; Sun, 29 Dec 2019 10:45:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzX11zAbQ9hOHoPr9CyUMqOz1HhfVKGUv+J8wnQUxuUIPbhHZ4hbpdvuVRHPF7kwcpnnGDB X-Received: by 2002:a63:5924:: with SMTP id n36mr67879741pgb.43.1577645158465; Sun, 29 Dec 2019 10:45:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645158; cv=none; d=google.com; s=arc-20160816; b=zUwmNx3DkHUzdMsgQDQQZb074E+FsXwS64x9zhFXO/+7ryp9xwVnCTbqWl+oxIcFw6 KuXhMY3b2SVHgpIavO5x6yupOS4LbG6EaD7hVI4tumWs+QckMVsl0ZyXsG12fyj8YjKC PXLcb5tiJeQ/6P6lEdMaMqnry1sZaTMH+GFzFjW2zBWrJ57hmAOK6Yh48AoaKhsEJLwU vXdcDCX/Y477Q2yhcX9Jd5EYYruVzPnHEuASMiLun3fqr6Qsp/YiTPQvSVEppClIOylN jP6OynLsuFHPEqvdhdjUg4BDW+vOdGbQ16MM82WHwEzXeGEtcJt1nuVewXS9enB3s8db d8Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=5P3AGMxoGp0e9eVaFc8p1wvaJ7fWjyPIYVKud48yf5A=; b=s9Dt9fOLHHysoy5YID3IW9qy2yodhfB/nyBbgMAKjeFP+R+gg72Exr/VFXwSPsAEY/ pFWu4cSLsTb9IbTnjopNaDSmHJzfsp7VFLfTnMx2BQBjgJPdH3laKElOdffO9P5cl6SY /5dFEnlr4kd6wEgm7bLOi3owadkzVr+KCFUluGmhl6l9OhOnhPdpqmdcjihqjVO+iUgg 9SJygOHI824ZntqZOzkOK07cUU+b9JxgnKeQX4+2PrlJD7MAu5hD5t3JGi5PUtQvYwGZ MjuF4c92H8lTRSepa0taHvr1a/GM1VdPsncgRRtlY1lUOA1pjegZcLv0DvVsVyU/oBmh r0dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=azoIJhlW; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 188si37397965pgh.293.2019.12.29.10.45.58; Sun, 29 Dec 2019 10:45:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=azoIJhlW; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 805EE7F944; Sun, 29 Dec 2019 18:45:00 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mail.openembedded.org (Postfix) with ESMTP id EA95E7F888 for ; Sun, 29 Dec 2019 18:44:37 +0000 (UTC) Received: by mail-pf1-f179.google.com with SMTP id i23so11845492pfo.2 for ; Sun, 29 Dec 2019 10:44:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=81bkBcFLIhdN5U+NQKFzg8Kl4Qiyt8L/XUg2+d+Qha0=; b=azoIJhlWce2h6goXM6TO+z7nQfxbHF5o+TufejT2Lo5ioskCrproARtEme864/a5ZX p9QUQrS70xiqtAU3DtjFsMEjBvVVcShWRf1rpuc4bkcikxchm2D+FdTrILMO2WT6zy9H ZyCrtmtAtC24Fl+I3lBea5eMcoZjxVFP+vRZDjQdmX8ZE2dH1Z1aTu233XQZqgTu1O7P dUt21ihl3sjE1fnqjsb7WDZR7wxSblc6IiwX1445Lj6fvmcXMj6dXr8OZt8RS+729E+Q t94w9aYHMDkCTZGzc1H6g3CHujR5xiW0C/owppkbDy2vuW88sUMGdk/nE2s5x71O8ZFC /SjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=81bkBcFLIhdN5U+NQKFzg8Kl4Qiyt8L/XUg2+d+Qha0=; b=YX5JJuV8+2uhdxCavv65iLYx3NqTOvnldp5eioAse604zOH36T+ZYcZIvtVrIkfhtT XJElH0iYMxBxwfk4f044wueMfZ06zL5tD9P8XBvsnuZuDufx2eNG2YaIBy5BlBWSOahq 6sq1p6rSIUsApXjN2rQ0ow8VABqLXaIkfofUVK+qH8gg6g8mqm68JXUFn6bg5GCvn/yC K9TA18DmnGG60kVL0UU8ONx6aIJhsLpWy+T57v0v/R/TM1kbtTTR9xvIWiIgLc2KixTe Wxz7gdX6NdbHrSs953HzdvJxqXDrPJTGhYzdH2wg9umltUXXX3w0Sw1XF76ZRXBvuwaT rn0w== X-Gm-Message-State: APjAAAW7xb4Nr0HtwhRyaquWc1V3LSrnMabsFwpRzqD+ODpXrIkPy1uK +mzTQOaF3FyRho9w++s8IEtuYATmF/U= X-Received: by 2002:a65:46c6:: with SMTP id n6mr67846673pgr.15.1577645078558; Sun, 29 Dec 2019 10:44:38 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:38 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:08 -0800 Message-Id: <20191229184415.19514-12-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 12/19] gcc-sanitizers: Fix build with glibc 2.31 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Backport a patch from latest gcc-9-branch to fix an API change in glibc 2.31, this patch wont be needed when upgrading to 9.3 or 10.x Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-9.2.inc | 1 + ...libsanitizer-build-with-master-glibc.patch | 70 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-9.2/0037-Fix-up-libsanitizer-build-with-master-glibc.patch -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-9.2.inc b/meta/recipes-devtools/gcc/gcc-9.2.inc index c6395998d5..926df11c27 100644 --- a/meta/recipes-devtools/gcc/gcc-9.2.inc +++ b/meta/recipes-devtools/gcc/gcc-9.2.inc @@ -64,6 +64,7 @@ SRC_URI = "\ file://0034-fix-segmentation-fault-in-precompiled-header-generat.patch \ file://0035-Fix-for-testsuite-failure.patch \ file://0036-Re-introduce-spe-commandline-options.patch \ + file://0037-Fix-up-libsanitizer-build-with-master-glibc.patch \ file://CVE-2019-14250.patch \ file://CVE-2019-15847_1.patch \ file://CVE-2019-15847_2.patch \ diff --git a/meta/recipes-devtools/gcc/gcc-9.2/0037-Fix-up-libsanitizer-build-with-master-glibc.patch b/meta/recipes-devtools/gcc/gcc-9.2/0037-Fix-up-libsanitizer-build-with-master-glibc.patch new file mode 100644 index 0000000000..abe074c289 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-9.2/0037-Fix-up-libsanitizer-build-with-master-glibc.patch @@ -0,0 +1,70 @@ +From 7ed24d12664319f34625a12fd8c0f729a0e71f5c Mon Sep 17 00:00:00 2001 +From: Auto Builder +Date: Sun, 22 Dec 2019 02:58:24 +0000 +Subject: [PATCH] Fix up libsanitizer build with master glibc + +2019-11-26 Jakub Jelinek + + PR sanitizer/92154 + * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick + llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce. + * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise. + +Upstream-Status: Backport [https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=b02486e0951bc0ed38310a03be73e479fc6f3e7a;hp=3feeac76ffc38427de2d7d086e2928e63eee2d44] +Signed-off-by: Auto Builder +--- + .../sanitizer_platform_limits_posix.cc | 5 +++-- + .../sanitizer_platform_limits_posix.h | 15 +-------------- + 2 files changed, 4 insertions(+), 16 deletions(-) + +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc +index 6cd4a5bac..d823a1219 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc +@@ -1156,8 +1156,9 @@ CHECK_SIZE_AND_OFFSET(ipc_perm, uid); + CHECK_SIZE_AND_OFFSET(ipc_perm, gid); + CHECK_SIZE_AND_OFFSET(ipc_perm, cuid); + CHECK_SIZE_AND_OFFSET(ipc_perm, cgid); +-#if !defined(__aarch64__) || !SANITIZER_LINUX || __GLIBC_PREREQ (2, 21) +-/* On aarch64 glibc 2.20 and earlier provided incorrect mode field. */ ++#if !SANITIZER_LINUX || __GLIBC_PREREQ (2, 31) ++/* glibc 2.30 and earlier provided 16-bit mode field instead of 32-bit ++ on many architectures. */ + CHECK_SIZE_AND_OFFSET(ipc_perm, mode); + #endif + +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h +index 73af92af1..6a673a7c9 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h +@@ -211,26 +211,13 @@ namespace __sanitizer { + u64 __unused1; + u64 __unused2; + #elif defined(__sparc__) +-#if defined(__arch64__) + unsigned mode; +- unsigned short __pad1; +-#else +- unsigned short __pad1; +- unsigned short mode; + unsigned short __pad2; +-#endif + unsigned short __seq; + unsigned long long __unused1; + unsigned long long __unused2; +-#elif defined(__mips__) || defined(__aarch64__) || defined(__s390x__) +- unsigned int mode; +- unsigned short __seq; +- unsigned short __pad1; +- unsigned long __unused1; +- unsigned long __unused2; + #else +- unsigned short mode; +- unsigned short __pad1; ++ unsigned int mode; + unsigned short __seq; + unsigned short __pad2; + #if defined(__x86_64__) && !defined(_LP64) +-- +2.17.1 + From patchwork Sun Dec 29 18:44:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182597 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5507006ild; Sun, 29 Dec 2019 10:46:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxIlwmCcNaAouUrHDwSDe94NXq6zj3Ki5HAThFc2e0MJul9aY8GK+0MOdf+gtmS/hMP9Uhb X-Received: by 2002:a63:2308:: with SMTP id j8mr40969260pgj.86.1577645165141; Sun, 29 Dec 2019 10:46:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645165; cv=none; d=google.com; s=arc-20160816; b=mh2Rm3o8i2t2ZxawjLTJq/iWdLEvKc2kyZXwXsdj7aeuQn+CYvom8yHpgWxtO5tfPz iEw9DuUkhUVnZ76c5+x54TK46uogRK4eiiIXvB48uA/OD4tWRRku/UPOzV4/pLz5fDzQ shXHnTLDlPNQ4KNRAxGtbFE8pqp+iCcmlxA4fS521FY8z03wu0AytvhOs8cqsuYBFBVi /YLfRHIueiSJGmJ31yRtHVaosVWZqee0QbAN8JSz/CZOlEPaB1V/T66AwNZfsgmhocjV wbOC7k2fX2M9Cd3/73LwNejCRIzRRQPOmJqcemFbibE8DLpMapjI3jqvSPME02SzLmt4 Fkaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=Tn7Eig8lWGyf7encC2Upfsi1+xyAJjEiUbItwytPLpk=; b=flaosxQeSvWZbmCysx9WCDxZ9GFYI/nMDzPt6qMKDWoWXljOS5jvJ+8XOdISfnVXlz nqWLMIllEESZt6SHVatbkIOqBi1AAAmFmnX3Axwi9G4fwn+NobQgJAoHj21Bq3PCB5oR CF8ByzGyFeQE9O5fLNklCDhwDeWa6i13yezlU5YNTrlup/FqTQu8s/s3RIrWfyoFU/b5 WrngKa4VTmOn1Oov+X+ZETXHDXwARRbj1adFiIIw1LYNpz+e3/Hx+0paHufuD+xz3C3h ujjFaiqnoqcLqmfzjF7vSBFw/aqeAG2UGkS3oBmEo9QSlq0ylXIQqtE4J1AxImGS6Fth SZOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Wran1LWt; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k1si38403706pls.376.2019.12.29.10.46.04; Sun, 29 Dec 2019 10:46:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Wran1LWt; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id BFCAB7F94C; Sun, 29 Dec 2019 18:45:01 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by mail.openembedded.org (Postfix) with ESMTP id 869887F877 for ; Sun, 29 Dec 2019 18:44:38 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id q127so17010667pga.4 for ; Sun, 29 Dec 2019 10:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TOAoIMBCib9hvo25aVF3koNVraXpfO9vgsHLq2keCPk=; b=Wran1LWtQUUfACu3M62CbjftcvsJsLCHi9eLy++f0KlTZ6DamoKQ2iP+gfZRMAZIJq nCH4fGMM2s+7HxnLl5NNDtgfiLW5c5qUaNeFIsSBM44DsM3Mm0Zgm2QabEdazVPdx+0v jDldRxZFMO8qjGPKPcNtQW9FV1vASQtbQ95RU6gZZXDRNOC5w2HlVhlwTytyqthsq07G X/CSJfolwNaFiWCjxnra8Nsn7hHGmRPyahw4KOV9fvpifXbrPuNpa+Xzw0PB719voEVZ 4sGu8o2ITL8Ow/PeiH7d4S1xcL0z98rPaKvgeRVqnk/ELcyxjg+Zy6wQgmNT+D+1WpZ9 XEUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TOAoIMBCib9hvo25aVF3koNVraXpfO9vgsHLq2keCPk=; b=niF+DwYn6TpA1Yu1ply+PW1yroA7NALRUQ78LmR3xgtV+qFvDZ4izJKE6pJMamWNUr 79qtmdiRhJi9hSRcWPbyH9HalCs1km0gPRP83lAms8gqo10sUXfoPJZ6J80tYhZaYMXv rDtj3X6ub+xtDdYCuO2nkFbQsdJli2T0US6O10Bc4uNRu5x3LG3HBh48h/zZOihmAmeG Q1u8SZDeTbk8HrPzvhBHhVvB69kCEUBISdLvZ5Dyfc1ze8XE+QXl7vIfWjqLj9mT2ld6 PfTSi+hmlCRKyvUCOcKuWz0GSeppX21py/PWLXYOUap0syEd6uFeRU1gZirY1INE55F6 03cA== X-Gm-Message-State: APjAAAXHuBAcjaiWAV+1Wr3fI/Y9rCTGei//c+0vQ1Q5Fyc4g5iEbmt0 KxRextN3MJbntCOVPoF9sSOo+GvXWiQ= X-Received: by 2002:a63:d442:: with SMTP id i2mr69642686pgj.349.1577645079290; Sun, 29 Dec 2019 10:44:39 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:38 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:09 -0800 Message-Id: <20191229184415.19514-13-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 13/19] qemu: Replace stime() API with clock_settime X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/qemu/qemu.inc | 1 + ...linux-user-remove-host-stime-syscall.patch | 61 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/0011-linux-user-remove-host-stime-syscall.patch -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 993ca90cf5..dff5762b80 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -27,6 +27,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ file://0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch \ file://0009-Fix-webkitgtk-builds.patch \ file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch \ + file://0011-linux-user-remove-host-stime-syscall.patch \ file://CVE-2019-15890.patch \ file://CVE-2019-12068.patch \ " diff --git a/meta/recipes-devtools/qemu/qemu/0011-linux-user-remove-host-stime-syscall.patch b/meta/recipes-devtools/qemu/qemu/0011-linux-user-remove-host-stime-syscall.patch new file mode 100644 index 0000000000..659e6be45d --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu/0011-linux-user-remove-host-stime-syscall.patch @@ -0,0 +1,61 @@ +From 0f1f2d4596aee037d3ccbcf10592466daa54107f Mon Sep 17 00:00:00 2001 +From: Laurent Vivier +Date: Tue, 12 Nov 2019 15:25:56 +0100 +Subject: [PATCH] linux-user: remove host stime() syscall + +stime() has been withdrawn from glibc +(12cbde1dae6f "Use clock_settime to implement stime; withdraw stime.") + +Implement the target stime() syscall using host +clock_settime(CLOCK_REALTIME, ...) as it is done internally in glibc. + +Tested qemu-ppc/x86_64 with: + + #include + #include + + int main(void) + { + time_t t; + int ret; + + /* date -u -d"2019-11-12T15:11:00" "+%s" */ + t = 1573571460; + ret = stime(&t); + printf("ret %d\n", ret); + return 0; + } + + # date; ./stime; date + Tue Nov 12 14:18:32 UTC 2019 + ret 0 + Tue Nov 12 15:11:00 UTC 2019 + +Upstream-Status: Backport [https://git.qemu.org/?p=qemu.git;a=commit;h=0f1f2d4596aee037d3ccbcf10592466daa54107f] +Buglink: https://bugs.launchpad.net/qemu/+bug/1852115 +Reported-by: Cole Robinson +Signed-off-by: Laurent Vivier +Reviewed-by: Peter Maydell +Message-Id: <20191112142556.6335-1-laurent@vivier.eu> +--- + linux-user/syscall.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +--- a/linux-user/syscall.c ++++ b/linux-user/syscall.c +@@ -7651,10 +7651,12 @@ static abi_long do_syscall1(void *cpu_en + #ifdef TARGET_NR_stime /* not on alpha */ + case TARGET_NR_stime: + { +- time_t host_time; +- if (get_user_sal(host_time, arg1)) ++ struct timespec ts; ++ ts.tv_nsec = 0; ++ if (get_user_sal(ts.tv_sec, arg1)) { + return -TARGET_EFAULT; +- return get_errno(stime(&host_time)); ++ } ++ return get_errno(clock_settime(CLOCK_REALTIME, &ts)); + } + #endif + #ifdef TARGET_NR_alarm /* not on alpha */ From patchwork Sun Dec 29 18:44:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182598 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5507087ild; Sun, 29 Dec 2019 10:46:12 -0800 (PST) X-Google-Smtp-Source: APXvYqwKqERXrwEsaG/rIShwn3TQCXm3NQjnU8VlI7J+G1P+C4ouIMk7k/PobxQdP8pLmSxjzgIe X-Received: by 2002:a17:90a:bc41:: with SMTP id t1mr41030168pjv.137.1577645172759; Sun, 29 Dec 2019 10:46:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645172; cv=none; d=google.com; s=arc-20160816; b=Qp1Yod06813/ycLqktweiWcDu5Btigy/ARU68NCklZxRllrBSQo24LAetBhRSsVNca tkV7s6hA8YVPmCQqXgh9JLA0leDTAGZL1aOM+ko93S7xeDaWfvv3MH+xMDCPqLyVyzLD BX6dlTyyPY0+QhpOPf7hUuOtasLNvIgCq/JmFD3wEmsTCauZM0MbwI7108ecvyzKojL1 1cbnAVqF4WDMGNkG2pxqLZGjAbIsWieuhQiOdTfxaG3wIffh6hnzrWfCeiGyWpPcAlJd 3EfFFqXfsp+9rcZogg1JgLF3jknz/VxkKA7X1iFBycdKdF9vs+hUgxbWAdvb95JSPm+T VIYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=xQpcdR6USxheSbLFF9174s8Pd8X3UHR7zzcbs1phTMo=; b=R4xxgdIJpbYV5DveLju7Am6KtCE1WMiH1D5nwHwg/y6hfVDsJDaRnkYF1mpRvygxjz bxyZkqfu5iRGp6G291rrYvMSLWuJpLIxritYJFgUZuBM5+nNsvMgZhcZL5qyFvqsVH9P vdgnAacgaEXZAI63IzVAqGsx9UlL0hN07CJbx+CIGVmwywAItsAAxVEERZUePDFKArGn 1Ozb9SQ9jp/VT0A4utlp8+8w7vFBuhjUE2wwBfNjVFoFHvvmDQmF99GVRTuYPRCWPFnY ebZFlEyfq9PwHPXESQtDbpDzh6fNzXshEn50RKSiSJMhwOB7Ggh7LQ8Sg2SGEAcG4STt SOSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lZOkVkj6; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b21si36234833pls.145.2019.12.29.10.46.12; Sun, 29 Dec 2019 10:46:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lZOkVkj6; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E96427F95B; Sun, 29 Dec 2019 18:45:02 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id 4E7F67F877 for ; Sun, 29 Dec 2019 18:44:39 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id z16so17277445pfk.0 for ; Sun, 29 Dec 2019 10:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lJaaA7Gsw9xCvhY+EVmXh7jp+Ku3APhPo3k5znWzGRU=; b=lZOkVkj6OmoLglRYL48XC1TjRhd1EU6CX5Oat15I8yhaiWLwA2sUA1FqWNWvkxwtwn qDrNjyPaeLVblR3r2AkQPSd7yzyCJXbDXktS0De2EY7MUArtL6vjOHEhacyL7z1NJQ7f KqPsSaxhA/frKNNOt7lYGDRWW3OKpuwhSSpRO1rzGLOee4TzjAX88ULtWVZdFv/UCuY6 bd7lxW/qs3XDsxlPTn5RLTO3Akf2VBM7+ZeDZjWaVILoPs3Froeqkjdk0z226pQjPsfs SMRBtIOmlOw/hi1Iyn5BiYSn5b43/Y6RFjCaovUvYOMLk8RhYLaMDMQKXMmJf6nWBQmm ztyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lJaaA7Gsw9xCvhY+EVmXh7jp+Ku3APhPo3k5znWzGRU=; b=RIm/GOI/4lSMlK5WcWvN1UC3vxzEbUedY5XN2aRgnLHju2sldLKsWxw+lYPRZEuCTJ u3yeJeGZRcxErdJ6iqubGLhHYdrZErTCVaq+zTHy3zCJXbW4rkc6Xz+QJERccmyEz4kP ZTEdVqCF5vWfSMpp4jCs1EzHoWzHN9I8EXUAJz+yNbq00uDMCw3pK/yaSwTotk6oTOE+ cWhaG+Z+eQJ8vIAJSI9kTEh5vyozDiJHalGTlLIhlUjNE0eQfRIiUtV23++dpHX7iwvJ 5oDSLS8gGn5YPREu82Jvaln0Ltc/oXppMqQrVUoeUxydzYA9H5p0ZASuXQtzUVmNZ1z1 953Q== X-Gm-Message-State: APjAAAUujpxVfOfmBZImDLAiR5q/AlnWgTR397+8cfrLgCLVnkd0hnJe 9aofRS3guWeSQfNtcCx7Ul3micTRYDY= X-Received: by 2002:a65:420d:: with SMTP id c13mr69182187pgq.101.1577645079938; Sun, 29 Dec 2019 10:44:39 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:39 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:10 -0800 Message-Id: <20191229184415.19514-14-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 14/19] valgrind: Fix build with -fno-common X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../valgrind/valgrind/s390x_vec_op_t.patch | 19 +++++++++++++++++++ .../valgrind/valgrind_3.15.0.bb | 1 + 2 files changed, 20 insertions(+) create mode 100644 meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch new file mode 100644 index 0000000000..eea671da0a --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch @@ -0,0 +1,19 @@ +s390x_vec_op_t is not needed anywhere, only elements of enum are accessed +removing it ensures that valgrind can be built with -fno-common option + +Fixes +ld: ../../VEX/libvex-amd64-linux.a(libvex_amd64_linux_a-guest_s390_helpers.o):/usr/src/debug/valgrind/3.15.0-r0/build/VEX/../../valgrind-3.15.0/VEX/priv/guest_s390_defs.h:289: multiple definition of `s390x_vec_op_t'; ../../VEX/libvexmultiarch-amd64-linux.a(libvexmultiarch_amd64_linux_a-multiarch_main_main.o):/usr/src/debug/valgrind/3.15.0-r0/build/VEX/../../valgrind-3.15.0/VEX/priv/guest_s390_defs.h:289: first defined here + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- a/VEX/priv/guest_s390_defs.h ++++ b/VEX/priv/guest_s390_defs.h +@@ -286,7 +286,7 @@ enum { + S390_VEC_OP_VFCHE = 18, + S390_VEC_OP_VFTCI = 19, + S390_VEC_OP_LAST = 20 // supposed to be the last element in enum +-} s390x_vec_op_t; ++}; + + /* Arguments of s390x_dirtyhelper_vec_op(...) which are packed into one + ULong variable. diff --git a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb index 63f972945d..aedaab27b3 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb @@ -40,6 +40,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \ file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \ file://0002-valgrind-adjust-std_list-expected-output.patch \ file://0001-adjust-path-filter-for-2-memcheck-tests.patch \ + file://s390x_vec_op_t.patch \ " SRC_URI[md5sum] = "46e5fbdcbc3502a5976a317a0860a975" SRC_URI[sha256sum] = "417c7a9da8f60dd05698b3a7bc6002e4ef996f14c13f0ff96679a16873e78ab1" From patchwork Sun Dec 29 18:44:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182599 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5507160ild; Sun, 29 Dec 2019 10:46:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwGPcD4TE9HlKYBcriibWSbT3HQlVzZhkzMa4XKNxGAA9ja95MCv7Vr3HncfqVKnk65gz3K X-Received: by 2002:aa7:8088:: with SMTP id v8mr67215289pff.142.1577645180172; Sun, 29 Dec 2019 10:46:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645180; cv=none; d=google.com; s=arc-20160816; b=ZLinmSULWMk5Nh2hjFKtL/astIJdkCvt/ATDAffJDK+6tC5MeERl4iE0MbRhcMdE6f Gt/tY8ClL5Jf6F0rG1Qea3BWBxMLecsvy7bCubmxDknWIVg2iqTc1I0N5utvC27b1h3h UuENPgN9UDc9CWdfe594pQiGCjmeQu65J9/j+n1NYIo0SV9W8KjDd/HWDaVtZGGPpSmL ZdQLEtH0bKbI9waRcTN/AOWsElIr9TmFaTEOGmNY6h567jnyhcfNG+HLFqocfngAZuz/ rpT+g3jfU9MaBiA+s8Ts4rDJ/X5s65yGyrzSfarrBoPKi/dR/R38ikV0ixAae8djcHfh qicQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=gf1++A+cjRwi2P0YAJvMoSnY0zoG1g8HSgJqRfTorSw=; b=mPywSonyGeDKDnBbQhDiOd9mzPHvzdlr/FqVsF2uPDFevW4cNAwt5UURBrxsEXIOl8 eiEZxpntADZ7PElJk4I3zZHL7nlRxA9hrPkjN9BL2UlH4RWyLqTyoKc6/Dok/YgwNtbu wlmjXRUuBefLTDr+3N+MGxCpNZY5m6dyWMYoqMV4akFb+HRipQfduO7LXcArIEnLRPUz WNCLUunAwT7rZcQaMJI0xhgxtVrwsqHZ6AB2qT/E7wjA61DkPSg967e2CCA05orR6duZ +4/G99U+y/wZn/t6uiiJHWofOqMD4odMdR1Ta4xX7+kLRH0mjiaWowRQIoZzYV382X/m 6uHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=RKi9ivNK; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id c26si35735601pfj.113.2019.12.29.10.46.19; Sun, 29 Dec 2019 10:46:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=RKi9ivNK; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 25A7E7F960; Sun, 29 Dec 2019 18:45:04 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mail.openembedded.org (Postfix) with ESMTP id EEFCA7F888 for ; Sun, 29 Dec 2019 18:44:39 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id g6so13818720plt.2 for ; Sun, 29 Dec 2019 10:44:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pFpcqFStI5VNUZYnZDY19UudTzIxDkdYnUbKkU8IRNU=; b=RKi9ivNKJn4ACbNKyOXs4+68sMZ2fmdXeLCvgabuzfiSf5kL/1DMCCfwxt+YPHZYnQ +uBGPgXeoRoWcCAUY5bJWxxG7cgiN81Y4G+glmW5eQhmQ4szpx0glXcBfx1rqX1c7O8Q smnuFa5GzZEHmEwQvd/ZlrJH+89kYyNn0FFh0l5sMrO0g64A4uQRFKlmiVwKN9unv202 Fmbs/VXEwcnFe8tbzCsHndEAz2CUWr3x649E8M5W4To5c14syGVTOvIgI23kfKyIsCiW uUXvWin7eljFyo8HZ+b6AdoL2ve5UBmqzfyZfUlM/AkvoJW/ujglEf+pr+s2oETOyJhe 4TMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pFpcqFStI5VNUZYnZDY19UudTzIxDkdYnUbKkU8IRNU=; b=E8hiEGhxRIOwTsVjMkSCNR1H+I4emmUIjM68cVGIuBYJAq4MT9Ba1dXzHUW6ULN9M0 0tbbeqk0hs03ggFrftYygAQWE3ILgVivf5DazIIAJ7Lvxh2tktQrQ02JcwoNn+dbF0+u CtXihgT2L7Mh+d5axBrEBYehhyxEeZAMvSKwpBaiQpke8ztR7z7m/u8Ukzk5Ncs+8Ckl g8jLSDURY0pOKVgBebP3T+toqs5X4ekmhRr+RhI9ZPiuA5w7bLBpskxNU+zHnB1xeqsf OLIUywok5DcgOSh02QDTED4jLHZEpoxevXANgglkkdM6d8Guv6rBfRnjuPpU7oWVIPIQ N/uA== X-Gm-Message-State: APjAAAWtVvm5rJglvyij6kSyv115U2j9niRwvPkzyk5h89F1Nv+qBpsA H8NVby0P1WYhnVkMFq/57QVg/kmt6Vk= X-Received: by 2002:a17:90a:da01:: with SMTP id e1mr41902504pjv.29.1577645080674; Sun, 29 Dec 2019 10:44:40 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:40 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:11 -0800 Message-Id: <20191229184415.19514-15-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 15/19] libdnf: Include mising X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This header is needed for runtime_error element Signed-off-by: Khem Raj --- ...-include-stdexcept-for-runtime_error.patch | 65 +++++++++++++++++++ meta/recipes-devtools/libdnf/libdnf_0.28.1.bb | 1 + 2 files changed, 66 insertions(+) create mode 100644 meta/recipes-devtools/libdnf/libdnf/0001-include-stdexcept-for-runtime_error.patch -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-include-stdexcept-for-runtime_error.patch b/meta/recipes-devtools/libdnf/libdnf/0001-include-stdexcept-for-runtime_error.patch new file mode 100644 index 0000000000..cedf539243 --- /dev/null +++ b/meta/recipes-devtools/libdnf/libdnf/0001-include-stdexcept-for-runtime_error.patch @@ -0,0 +1,65 @@ +From 5f8eee5040d7074710cd542fc50f7a40918321fc Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Dec 2019 14:30:22 -0800 +Subject: [PATCH] include for runtime_error + +Fixes + +error: class 'libdnf::ModulePackageContainer::Exception' does not have any field named 'runtime_error' + explicit Exception(const std::string &what) : runtime_error(what) {} + ^~~~~~~~~~~~~ + +Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/867] +Signed-off-by: Khem Raj +--- + libdnf/goal/Goal.hpp | 1 + + libdnf/module/ModulePackageContainer.hpp | 1 + + libdnf/repo/solvable/Dependency.cpp | 3 ++- + 3 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/libdnf/goal/Goal.hpp b/libdnf/goal/Goal.hpp +index f33dfa24..7b8d822c 100644 +--- a/libdnf/goal/Goal.hpp ++++ b/libdnf/goal/Goal.hpp +@@ -22,6 +22,7 @@ + #define __GOAL_HPP + + #include ++#include + + #include "../dnf-types.h" + #include "../hy-goal.h" +diff --git a/libdnf/module/ModulePackageContainer.hpp b/libdnf/module/ModulePackageContainer.hpp +index 1f815fda..37a8832d 100644 +--- a/libdnf/module/ModulePackageContainer.hpp ++++ b/libdnf/module/ModulePackageContainer.hpp +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + //class ModulePackageContainer; + //typedef std::shared_ptr ModulePackageContainerPtr; +diff --git a/libdnf/repo/solvable/Dependency.cpp b/libdnf/repo/solvable/Dependency.cpp +index 6682b729..0fc8b5cd 100644 +--- a/libdnf/repo/solvable/Dependency.cpp ++++ b/libdnf/repo/solvable/Dependency.cpp +@@ -18,6 +18,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include + #include "Dependency.hpp" + #include "libdnf/utils/utils.hpp" + #include "libdnf/repo/DependencySplitter.hpp" +@@ -106,4 +107,4 @@ Dependency::getReldepId(DnfSack *sack, const char * reldepStr) + } + } + +-} +\ No newline at end of file ++} +-- +2.24.1 + diff --git a/meta/recipes-devtools/libdnf/libdnf_0.28.1.bb b/meta/recipes-devtools/libdnf/libdnf_0.28.1.bb index 3f11e0231f..882c435b32 100644 --- a/meta/recipes-devtools/libdnf/libdnf_0.28.1.bb +++ b/meta/recipes-devtools/libdnf/libdnf_0.28.1.bb @@ -7,6 +7,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf \ file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \ file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \ file://0001-Add-WITH_TESTS-option.patch \ + file://0001-include-stdexcept-for-runtime_error.patch \ " SRCREV = "751f89045b80d58c0d05800f74357cf78cdf7e77" From patchwork Sun Dec 29 18:44:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182600 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5507262ild; Sun, 29 Dec 2019 10:46:28 -0800 (PST) X-Google-Smtp-Source: APXvYqxDJ/YGsvD2i1LejeUDugEJVLS0aaopXkI2PlScvzX3Wbh0hLbR4F6K3jChWh9PvzjV9Tlx X-Received: by 2002:a63:ea4b:: with SMTP id l11mr66840702pgk.357.1577645188731; Sun, 29 Dec 2019 10:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645188; cv=none; d=google.com; s=arc-20160816; b=EmoCf9AEBqkgjXawlHpmSnX94Vo6fgniEmpgiWDzMcZHmaHQEPus4ZP33kmCe7XO10 lH498zrkystLk/AqV+BOq5LkucqiQEJ7Q8XcFAftuXxT/Jqjp0eUks5M4FMv71EFy4uj /ZSgsbzajV6zZE5pYi6iBa9mG8RD6otNF7Vf1TtKF29EyUNueHSw4SDfc/s+vphNbAfT m5WQru0NpTtoLI9YaASnXDyq524MbWjv1LpZspOJbMDd4cgFhORkpoHEWVwJWDMaqkoF p8cydIiwLyp8isCP8SfQcblnDU2pSoAhJ2/oUc6yutZYIanPhMnIYejA12k640HKEWUJ Bghw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=HrtMKmelelsh5UIGY3EY0QKZ3coGX9owHv4RKNg/aUs=; b=Xdhk9jN4mMRXZLmpYiB+D1dTplZpCQ+slPHwpxvZXArEm/TqkM8q8AzKJxm/q1lv9i kZN1DP4f6+ogWH1tKWRRaXXanOOa+/MwBj12tHWOMzzadMecyUnpwM4JTJdVmMCdPZ/o uuZZU84Gpy/zMmWmHwVLNAbBCeTBNxUgxUAX50MWkInaoT8AP2DY9Togg1G/IrP879a3 Xzdr1kDuoA+k2JZuF539LfrCRxW/MPz+MyaccjZ5pJu8j96ce2l4w1SZAfuXlZvaUfLc SZuJI8XZtkFHIKl5F84rNJEKDpVeRQ1b8F+b+DrTzNFjNs3uZLfNMt12mP7teVar7D3I GwOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=e7YEbVn0; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k186si38273307pge.364.2019.12.29.10.46.28; Sun, 29 Dec 2019 10:46:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=e7YEbVn0; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DB34A7F973; Sun, 29 Dec 2019 18:45:05 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mail.openembedded.org (Postfix) with ESMTP id C2A2B7F89B for ; Sun, 29 Dec 2019 18:44:40 +0000 (UTC) Received: by mail-pg1-f180.google.com with SMTP id s64so16989614pgb.9 for ; Sun, 29 Dec 2019 10:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y0+A4pCQHoCgI1n+6fjTSDfn+JSImwP/oTgu5sqWUGA=; b=e7YEbVn0dug6EP8VaU+kqXsnsE8lf/7m/ejyUJ1VjAwE8GP6s/WpfDftcdcmGFHrCm DE+H4qvyBHQ9N7if94z1Hms5bfG28ScakqNQ6Hdn9WnwuSn163siNfmOKpK2jpJnpqmN ZNui0b9FoKXaKvH1OBWs9ireGZ0qv86OXy9i1VfZWdpWwRujF5ep0nlse1l+s7ssVh5L +D4sBTKiVNPIoiLsoeVgEtqhL5r9LItB+yP1Vwb3WTIitw+lSqkS6WT9nWLNgmtop8Dm +VCj7ULzUip0P1okZqSAxEdobiqSw9Lq7iiFTznHyeSbutxBIdQN3P9t4rOO5ebuUXsp 2pQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y0+A4pCQHoCgI1n+6fjTSDfn+JSImwP/oTgu5sqWUGA=; b=gE1V6XK/nqSB5qGPUVEbFFA1I0s0ZOsa1z6CMpzuN6PHwpvILudTLqaUJ93zPdOpUL x/3Mt0G/TRcycx0zaplw2WmE9dEjsFeba01o99LCySz/J+zvwOTsOn3Ph0ke0v5rNBy3 jLVLRa49A8jtFQ8XxgSLcpp6eg1TUC6vTAd+eVpjrxc1GwPOs2RlBjwfNFzFfb25ZCr/ +lXyeSczmovl+bGm4o+Km/Tx9KWeeYGoXMUdUszrpybG1hMetwdwOFIPcRGCsOmLJPTG LMEkpaPkYSoY0en2dFsSxysFrGEKoTzqLzfmbEH9cTyiS9N6fB6xPrMC/Tzk9GzyPAyD bNQA== X-Gm-Message-State: APjAAAW0H3IY7s+TB32O7ScW+hgk/y5DgWmghq2rwN+DC0u3gkJ3dwOS CZTnL3c1lnAJ/Tp9pdv35ah+tQpQyhQ= X-Received: by 2002:a63:a508:: with SMTP id n8mr65329378pgf.278.1577645081297; Sun, 29 Dec 2019 10:44:41 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:40 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:12 -0800 Message-Id: <20191229184415.19514-16-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 16/19] llvm: Upgrade to 9.0.1 release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/llvm/llvm_git.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 8bea58a98e..70ba7d86e9 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -26,7 +26,7 @@ QEMUVERSION ?= "4.1%" GOVERSION ?= "1.13%" # This can not use wildcards like 8.0.% since it is also used in mesa to denote # llvm version being used, so always bump it with llvm recipe version bump -LLVMVERSION ?= "9.0.0" +LLVMVERSION ?= "9.0.1" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index cb2e1164cf..a84e4d21b6 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -21,7 +21,7 @@ PROVIDES += "llvm${PV}" MAJOR_VERSION = "9" MINOR_VERSION = "0" -PATCH_VERSION = "0" +PATCH_VERSION = "1" PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" @@ -29,7 +29,7 @@ LLVM_RELEASE = "${PV}" LLVM_DIR = "llvm${LLVM_RELEASE}" BRANCH = "release/${MAJOR_VERSION}.x" -SRCREV = "0399d5a9682b3cef71c653373e38890c63c4c365" +SRCREV = "c1a0a213378a458fbea1a5c77b315c7dce08fd05" SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \ file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \ file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ From patchwork Sun Dec 29 18:44:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182601 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5507345ild; Sun, 29 Dec 2019 10:46:35 -0800 (PST) X-Google-Smtp-Source: APXvYqynDgZwf3EwG4FKP+dX/Gt2VAGmnkY7+3KrsD3TQZCiX1SfEH8FxcDvNnBVGibwjPWpJCSh X-Received: by 2002:a17:90a:3747:: with SMTP id u65mr40162887pjb.25.1577645195258; Sun, 29 Dec 2019 10:46:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645195; cv=none; d=google.com; s=arc-20160816; b=kjTMzhqMjvMCc20XcQH3Zp161T5DFJyrQstV54++RvI5yQrDgiBBh843gfmfhco9FV ANhLgtZMYDrU9CASHYP9oZQlY8OpFVvSMdJ24LchdDEVIOpQV1sATD4Z0x98uHFaUKSb M8L0uOTDX+DXs/hXB5hBwOhEAP+da17bhm/LTQjZz6ZziwTRljdGQnAKhdUxVCbKnwoJ 09SvnYY71y6vur2RovBmYwHdSio0OmGUqNDuHI/+HBO03zpHuEBTAzFm1v186txlHtTo UXiwobsf48jn8IAmj8ctahbXo7zN30jW+1c1BJ9y3j4TXngEujZ000YC5AblKXZPl9br UQeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=oUCKzZ0olceiPaF+tpqwPPlmTtULmUPBPXVNFvIr2Uk=; b=WJ8rKavzkcDdZJa5t1Mp3kaDbFirWPKbyo4op/zxUrcLzl7epjYSPHTxS2i3SDf+B6 r155ItbLqn6fPFGrfFftghS+pSc7tVqeoF/2mruEEMz58GP38Ubv9f4fcuwLwzg2kWnq H6u/UzhqcBPFLV0ejwiEnXM08mowE/G3GRbF3qADCBbRryKzgvmpjmPDFqPzeru1A9AC rPBybqgHyk90mpL3Ky9AfcHfWa+V7/6kuVUlbmNI4GbCSJ7cQ6SLcmmHFLTGRUzdiI24 zJ730aLg648Tq5hfw//aNiP8I7qbapue7GAqK1ofiZkYKxZV22T0GVE0UM15GeQxUa8I BKLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kX4rk9kh; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id s33si38051589pgk.507.2019.12.29.10.46.34; Sun, 29 Dec 2019 10:46:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kX4rk9kh; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1374C7F88B; Sun, 29 Dec 2019 18:45:07 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by mail.openembedded.org (Postfix) with ESMTP id 5CFA67F8A9 for ; Sun, 29 Dec 2019 18:44:41 +0000 (UTC) Received: by mail-pl1-f195.google.com with SMTP id a6so13075657plm.3 for ; Sun, 29 Dec 2019 10:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wqtdATYeQlCjy+o4Z/lA9ZB3cCcB29TcYwIgurG5psk=; b=kX4rk9khLp/AjxBkswXK2dXfxVndqrXcpEsXd5Nrt7mxF8+Mpt5t8jQRVC9DZ9R8KC cpJfY29iKFhSb3iD3nwppEfqwSV6Xb0s8RnTGYN8HCNW87vK6ZLY87MBzPtdAUTJg8UX DQnQz70SL1e0ckTCEMkJyF2yA5ta2wbdbheMxtks578vkvqGZPRMJwOZEac2UcGaFWnS 34gKehAqKVTUFmJeI9fzyI6X365fmGTMt4nfx7sAiYbH9XAeZyRgonXLlm5PcBtabJYE s6k6eudfwtXCzwiqOLUdlOpwWeGZ0qV0FPmTKUYTDpzNoUL7mPHyRiiyf+Ih9aPOv5J9 o6wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wqtdATYeQlCjy+o4Z/lA9ZB3cCcB29TcYwIgurG5psk=; b=ej8kHuGp4Y2QghRK22FO/yTktcnu0uqwsFhiGu2McQnBmPh8t81CjWbEAng8Soz4wN AuJxRBy8dZKBWTR3+yXOEv5DKFNjbJ2t90vDZPL/rK7wKET9Ks//Q+46vcbKsZUnS36R Par7b14Zy3qzly8BkEzIQ482F1TO9XcHSrTD6g7BDDxo6/3xwb3sTVdoowMOZMbtPAat U/LU2XY/07tsh3Gi7VFaebeWQ7QBJRa5W3vyakjN/pcI1V9sBOwEiZZzvfk0gBzhtLdD W+xui3MmAAYjTkYQuzygBYa5N/+ac/MK5BKV5G2oqv5/3v7F7e2G36yRundKR1nGyftm p4Lw== X-Gm-Message-State: APjAAAWF1cqPlGQTBLIqTguBw30Hsjg/rzCIb2yBENmSm0EonnwlGiG5 sTA5sCxXz0t+139J2IPxHhDg6DScGQE= X-Received: by 2002:a17:90a:8a8f:: with SMTP id x15mr41912783pjn.87.1577645082090; Sun, 29 Dec 2019 10:44:42 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:41 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:13 -0800 Message-Id: <20191229184415.19514-17-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 17/19] recipes: Use -fcommon explicitly X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This is needed with gcc 10 Signed-off-by: Khem Raj --- meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb | 2 +- meta/recipes-connectivity/socat/socat_1.7.3.3.bb | 2 ++ meta/recipes-core/libxcrypt/libxcrypt.inc | 2 ++ meta/recipes-devtools/llvm/llvm_git.bb | 2 ++ meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb | 2 ++ meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb | 2 ++ meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb | 2 ++ meta/recipes-graphics/mesa/mesa_19.2.4.bb | 2 ++ meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb | 2 ++ meta/recipes-support/atk/at-spi2-atk_2.32.0.bb | 2 ++ meta/recipes-support/gdbm/gdbm_1.18.1.bb | 2 ++ 11 files changed, 21 insertions(+), 1 deletion(-) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb b/meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb index 8a86cbf78c..75772d4696 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb @@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "cb1c1e45993a3bd2438543fd4332d70f1726a6e6ff97dc613a8258c993 # CFLAGS are computed in Makefile and reference CCOPTS # -EXTRA_OEMAKE_append = " CCOPTS='${CFLAGS}'" +EXTRA_OEMAKE_append = " CCOPTS='${CFLAGS} -fcommon'" diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb index 1dbbe5cd55..ee01578c1a 100644 --- a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb +++ b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb @@ -44,6 +44,8 @@ PACKAGECONFIG ??= "readline" PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" +CFLAGS += "-fcommon" + do_install_prepend () { mkdir -p ${D}${bindir} install -d ${D}${bindir} ${D}${mandir}/man1 diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc index 6d6990c3d5..accbdd6361 100644 --- a/meta/recipes-core/libxcrypt/libxcrypt.inc +++ b/meta/recipes-core/libxcrypt/libxcrypt.inc @@ -27,6 +27,8 @@ BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error" CPPFLAGS_append_class-nativesdk = " -Wno-error" +CFLAGS += "-fcommon" + API = "--disable-obsolete-api" EXTRA_OECONF += "${API}" diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index a84e4d21b6..59ab181a73 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -90,6 +90,8 @@ EXTRA_OECMAKE_append_class-nativesdk = "\ -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ " +CFLAGS += "-fcommon" + do_configure_prepend() { # Fix paths in llvm-config sed -i "s|sys::path::parent_path(CurrentPath))\.str()|sys::path::parent_path(sys::path::parent_path(CurrentPath))).str()|g" ${S}/tools/llvm-config/llvm-config.cpp diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb b/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb index a02e35d19a..53ed5e81f7 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb @@ -21,6 +21,8 @@ inherit autotools pkgconfig EXTRA_OECONF = "--disable-gssapi" +CFLAGS += "-fcommon" + do_install_append() { chown root:root ${D}${sysconfdir}/netconfig } diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb index b9961c398c..675ee40fa4 100644 --- a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb +++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb @@ -21,6 +21,8 @@ inherit autotools pkgconfig features_check # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11" +CFLAGS += "-fcommon" + FILES_${PN} = "${bindir}/* \ ${datadir}/matchbox \ ${sysconfdir}/matchbox \ diff --git a/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb b/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb index ddbbd94066..7a11228ef0 100644 --- a/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb +++ b/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb @@ -16,3 +16,5 @@ SRC_URI[sha256sum] = "ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/lxde/files/menu-cache/1.1/" inherit autotools gettext pkgconfig gtk-doc + +CFLAGS += "-fcommon" diff --git a/meta/recipes-graphics/mesa/mesa_19.2.4.bb b/meta/recipes-graphics/mesa/mesa_19.2.4.bb index 46ecee3a73..115663b066 100644 --- a/meta/recipes-graphics/mesa/mesa_19.2.4.bb +++ b/meta/recipes-graphics/mesa/mesa_19.2.4.bb @@ -13,6 +13,8 @@ SRC_URI[sha256sum] = "09000a0f7dbbd82e193b81a8f1bf0c118eab7ca975c0329181968596e5 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)" +CFLAGS += "-fcommon" + #because we cannot rely on the fact that all apps will use pkgconfig, #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER do_install_append() { diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb index 9218b4f69d..a1cd490394 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb @@ -8,6 +8,8 @@ SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.pat SRC_URI[md5sum] = "a98170084f2c8fed480d2ff601f8a14b" SRC_URI[sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1" +CFLAGS += "-fcommon" + # These extensions are now integrated into the server, so declare the migration # path for in-place upgrades. diff --git a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb index d3a9de1e41..b717a9c7f7 100644 --- a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb +++ b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb @@ -17,3 +17,5 @@ FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules" FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*" BBCLASSEXTEND = "native nativesdk" + +CFLAGS += "-fcommon" diff --git a/meta/recipes-support/gdbm/gdbm_1.18.1.bb b/meta/recipes-support/gdbm/gdbm_1.18.1.bb index 16ecc506ce..7e2efe3c9b 100644 --- a/meta/recipes-support/gdbm/gdbm_1.18.1.bb +++ b/meta/recipes-support/gdbm/gdbm_1.18.1.bb @@ -23,6 +23,8 @@ CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no" BBCLASSEXTEND = "native nativesdk" +CFLAGS += "-fcommon" + do_install_append () { # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find # these headers From patchwork Sun Dec 29 18:44:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182602 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5507393ild; Sun, 29 Dec 2019 10:46:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzF8ksFEWgd725M5uoQ2TtlMJYecnj/DbShzYviRGhvtj4pi0UScBUHCBAgVvPXWW0B+8IL X-Received: by 2002:a17:90a:cc16:: with SMTP id b22mr40838064pju.65.1577645201576; Sun, 29 Dec 2019 10:46:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645201; cv=none; d=google.com; s=arc-20160816; b=q0OYhuMKJY/0Gd0ZyUGX+oX/HCIYIRkQL4VAJGVNzQY41iDw7Xo+ixlEBETLnwjp/E eNR79adRiuJqikuXBo37omIj25xlvy/w/zeCKDXbW4/pNPhoH4F7lpcZJUiXS2Npfg+n ceeofAEWsfJcjowA0F/PshpqIgMe86r9+NEobhcKpnMFkeSHvNHDX0DZfQ58DJuWHLxF 11uvHTxyitOqLYM2nfirqPjAHuZqUyCJJ9IPtoHQOUqpp31ig1ZFeYXdh2DtjjTygawS uVhWnOUZlkte6bjPtOd5exE72Jf42+3i1969ISy9iTlClLv5s+yHBOmJRF3LfHvcjQ9i hbzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=uoukOmuBYW8rVOjRsrLv8s44l08fjBWuhXlaTcTX7kQ=; b=o+1GKW6v3VXVTY5fYyitB4jxWKNTpVpp4MEchHSD1dYlp2CNQl8Hdq/060hUc7AXZD YJf5RRt6gUl8O4umNcj5om7zDHAlEbRqNyuvcegPJt6BVBVJ4Vjl0KVDZLLFgm9fIj/t J22I+A+5n4YTZzV0wC18dozn/dSRF0FKdnbVm2Jz/YnAnziJDYAHziMhYYkL0IKCRRZl brftsg1oiu/SofpxS1lEzOJYJxng24PI7OjG1TFQpQ2sHC3J++rB8FvvM4sIzmjIwZmk SZqpj8atg842H1b5mGdhbFk661AHFzWJmWCvCRtCdM/AJgx0b4MJKlwblPb7NDKZvEuw fQ3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gcSnmOQ2; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e4si38156703pgd.123.2019.12.29.10.46.41; Sun, 29 Dec 2019 10:46:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gcSnmOQ2; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 451D57F8A0; Sun, 29 Dec 2019 18:45:08 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mail.openembedded.org (Postfix) with ESMTP id DCA747F87C for ; Sun, 29 Dec 2019 18:44:41 +0000 (UTC) Received: by mail-pg1-f171.google.com with SMTP id 6so17011355pgk.0 for ; Sun, 29 Dec 2019 10:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ItYFXZfjP2BYJPYuGXr+be47eaUl/yKHSFOR39dUiCQ=; b=gcSnmOQ2t+oT8+KppUaH2nKzBe8Jh9KkwJ86qmFFfW4sDDH6dQASZSZlHJW6V5yrQX T6AAKMJZZgfUTU/jNvk/txvqH8TuONTBSi6E009lHUGcxZmSdM5eR9aUlXMKd9GcXFV9 ZdXYXaFltvOk6ekYil7IXdOoTcm1kH7gbC92ySOhNlVrIzNbpe2MYy501a///T/bi80o +lz0c6Z4yrJHXC6IpHmpKK94JgalEtXExf2wFvZG4edG/Qtv4DFkSbDRpThl67Fl/eB8 IjYOg1mwpLzWbtxD3bOK3a09GTZECqP1UdHeFT8fbt1sSv+SIgyr+qgrvnN0QOiWVnNh wyvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ItYFXZfjP2BYJPYuGXr+be47eaUl/yKHSFOR39dUiCQ=; b=V8atEA2moygU4EkP7sW4yi313UWwRBkP8mCixEJXXq9O8mHLKL4y7sNyRdNb++RurD iTA+2026tXn3hMFli2no9eBqOqjceVlLV+IuSC0GsdUZcaXtKUzMhcM+28UKxiUMwpwO d8bJ6GPSIIp7urOwRygyYGYbu+TRFSFfE4eY2DKdd1VdHUYB3seqzKM23Rw90HsoHLVD CeYXttK7htw0C/JMitMb5CpjAL3EEDy0E8f3TeYkJE6MPPro+mS0HCCNtsvxXvHblEla 57PBYGTzSMOR1cd2R9gl1Gl+iEUcgHiD19Ote89CzhCN6T4opEYLE8h9GVizY7EvdXT5 k8SQ== X-Gm-Message-State: APjAAAWoyF0forBjfv4a1z6Gas5QfH7gahS062hoWBDpkDuZ9lj9x8Hh 8OQObYV/zuePhYKm6DrMwZEwD4p5RAY= X-Received: by 2002:a05:6a00:2ae:: with SMTP id q14mr67180992pfs.155.1577645082737; Sun, 29 Dec 2019 10:44:42 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:42 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:14 -0800 Message-Id: <20191229184415.19514-18-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 18/19] xkbcomp: Gcc 10 spits out extra warnings as errors X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Its better for us to disable these extra warnings, upstream should fix them correctly in code and we can re-enable it Signed-off-by: Khem Raj --- meta/recipes-graphics/xorg-app/xkbcomp_1.4.2.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/xorg-app/xkbcomp_1.4.2.bb b/meta/recipes-graphics/xorg-app/xkbcomp_1.4.2.bb index eaf8eaaf74..ed1eed8662 100644 --- a/meta/recipes-graphics/xorg-app/xkbcomp_1.4.2.bb +++ b/meta/recipes-graphics/xorg-app/xkbcomp_1.4.2.bb @@ -13,5 +13,7 @@ DEPENDS += "libxkbfile" BBCLASSEXTEND = "native" +EXTRA_OECONF += "--disable-selective-werror" + SRC_URI[md5sum] = "12610df19df2af3797f2c130ee2bce97" SRC_URI[sha256sum] = "6dd8bcb9be7e85bd7294abe261b8c7b0539d2fc93e41b80fb8bd013767ce8424" From patchwork Sun Dec 29 18:44:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182603 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5507473ild; Sun, 29 Dec 2019 10:46:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwybIeM8W8SffzRcnuAX9f9GIDAwNe5FoW4Bf2LizKTI0a90i0PG7FqullqCKATdsppAJI/ X-Received: by 2002:a17:90a:b106:: with SMTP id z6mr41708914pjq.91.1577645207663; Sun, 29 Dec 2019 10:46:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645207; cv=none; d=google.com; s=arc-20160816; b=S3dUkSN6J0rE3vkn3wKkL8RtdtRUM/XUgMCwNzSouYbGVGBpatIOJrdZyAIPL4tBEJ wC6+Zk1DIFMifXgUF+i+KNvGe6LdSaRcaJg6mGqXzLa4NrOi8xV2XQ17uh8Ys6w3sd/w W7kgx0SrLQWydTX6FEVsQuu3HSbD3jU69A6JKIOxTts1q/hRoifnDXmNlYKWxCAO6IYd AHXJ8TC1zXK8pbRAaTKk5VpySGCHAh4vKT30h+4gYzBw70lHraXdJ9JWjYQf+k8CG4xf msHnUvPvCButtBIyRmUi43NKP8LYt8wZk20UsJjo7DV63JSUPqmkL9V+z9yVjafWDmgw TIWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=xOFjWqZJi0gH4km2d4x4q4PaJSz4N+h194jOc68A72Q=; b=udmuZDr/KratIQ0GgYB5Loy+P7HxlI/JU6Jw58HhP0SiSYkOEoreWBGwF26Dqp/f/6 KTxz3d83GRE+5WRg+0r7qZjm+48SMz6GbubIK/k12Xo951yY6+RNnsWyjGWC2wCKF/Co yn41Uu/kN/bRSh3N193LqPSmcYP1NzI70jS/y1JqlIdEavwlnSmn0JbiuiXgyDRbkDh7 d8rOTDWLQwp54lzU90tz4wvdBHu5VGtXzjtpilD+6QYqlxy2rrqWbIiieif2s06Q9d5e Jje64C7WDItxghYRRTvBHl3cle89OZ5LXiQLTPJ9nr/IOmcHPrG3WZaHJCqQPBxh7FNr 5D7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=s7H25p6Z; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 38si6537567plf.375.2019.12.29.10.46.47; Sun, 29 Dec 2019 10:46:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=s7H25p6Z; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7D9B57F98C; Sun, 29 Dec 2019 18:45:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) by mail.openembedded.org (Postfix) with ESMTP id 14F077F88B for ; Sun, 29 Dec 2019 18:44:43 +0000 (UTC) Received: by mail-pj1-f68.google.com with SMTP id l35so7210603pje.3 for ; Sun, 29 Dec 2019 10:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kAhcOfSt51/ahjEQBHTbPIw4lzfhmFqgnOlNBWGRvEw=; b=s7H25p6ZUGUh8kpiHgjR/uUERI5njosnQBx+Z5stsW9K/34GfTp2jcYxtzzlXEAR2x MslYaiW23TsWwe7D9cGfF7x2ZGRMAoNv6+O378b0B6gb5DzGJr4AsLL7rft4FMOTYlL7 TFUQNYuFURXIIFvEjWZiieweO4i+QPJYB0HIo/JFBI2sul+HXZYTFkjKuNLLRWOKjYJR oriUHFFzYG3rKbk2RzQvP/npLsaOmvZgd3pRq0Lp4q+dgmNFnQxZkksc/hNiq2fTT1Dp kuuweWM9NDPGSmQpnFLgcwVqyp2o2FkVfUJzuXJGheTuIC6eggj068t6c7zuj9N8cIaU ACow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kAhcOfSt51/ahjEQBHTbPIw4lzfhmFqgnOlNBWGRvEw=; b=pCeI9+TgvEi8srL8aCQ7J2G4Xh/3FkYDjQ6lOq7V9iQ8GADbWFTl61nuTOEicxTXw5 3KIvGTw1Bmzp2wvBMCYtmitfY64YA7z8afysKjpAtvmroVmZ2qYqK2TVNmFlUTekJcid ezm1/wp2KxP1jIq3H4iRisgFvGYxf+vv0LcEUMZvXEnZism8ZhUCsR+2slNWov9jcwGm 4LFfHrPApf2cpBxY7NJ6qKOhFPZNcl6WxIS/zfbMsgM8IQs5fr5C6QLR4/9MXjhqGiDh vPED8dmXyQO9hTsSu41V9yKcW3nkXu07Gk0KSJb7kZFUAQJh0PaUEsNwBH82KpwSeEIB +sTg== X-Gm-Message-State: APjAAAWjUGpkhfRLOJlyn3OBKX2U3x/BkMNBkJhWR++Oklk036m+NqOP QzheSORgxhQE0cNTgLyVD7aKLYTA8U4= X-Received: by 2002:a17:90a:2808:: with SMTP id e8mr40935531pjd.63.1577645083842; Sun, 29 Dec 2019 10:44:43 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:43 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:15 -0800 Message-Id: <20191229184415.19514-19-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 19/19] pango: Disable Wimplicit-fallthrough as error X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Clang is quite a lot more stricter and ends up finding more cases, these are code format warnings so its safer to disable them here. Signed-off-by: Khem Raj --- meta/recipes-graphics/pango/pango_1.44.7.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/pango/pango_1.44.7.bb b/meta/recipes-graphics/pango/pango_1.44.7.bb index afb56a6cde..0ee8abcc09 100644 --- a/meta/recipes-graphics/pango/pango_1.44.7.bb +++ b/meta/recipes-graphics/pango/pango_1.44.7.bb @@ -32,6 +32,10 @@ PACKAGECONFIG[thai] = ",,libthai" GTKDOC_MESON_OPTION = "gtk_doc" GIR_MESON_OPTION = 'introspection' +do_configure_prepend_toolchain-clang() { + sed -i -e "/Werror=implicit-fallthrough/d" ${S}/meson.build +} + LEAD_SONAME = "libpango-1.0*" FILES_${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}"