From patchwork Sat May 5 00:13:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135037 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp657542lji; Fri, 4 May 2018 17:14:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZruCIc6TOs+tZXZIfHO+v6OghN3OeihqdOu8pv4DYzWpD5+s9Ou2YldAYlHMCTBRXmCzZON X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr30058269pla.125.1525479281188; Fri, 04 May 2018 17:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479281; cv=none; d=google.com; s=arc-20160816; b=NK/JODHE0Bi4eF3c9D7QEn28GqyoDjUFnWuC9Wa1l7y2Abv2wNh4YhWSjFRFda6Lkk wqh2YOv9SImOlxeSQxXdosj/j1wkBePjtDaDuNRK3LyFX0AhEFyDVQdkticPpx1dTjQs 5YyVZT27j6OkWsZlXK3YVUBDqyxsUqUO67gPkmp2iBIqNBQxC9THkaQVmH1g0M0WDdla ltx9ppowkGSjnB5pNNxhBDRjujZFwCoWX9jP1u28n0aGpqhgIBDiTX7vyZ1nM/JUABkq 7m6hf/0Pml4ScjjSvxYR+aQfna7Ib+j9RC6FDdQEHrQeI/xBPXkCp3w/QtUmaXoL6/YD omnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=j7B/jESjn+vuSg/QwThrg77jNCjpQD/jsXr9oJsAz5M=; b=eDIGl9Jt3U8V00CKeut7aGTR2udTQGXKi/my9wltwNt02y9XxGSo8FsMwTzx+S2XNI Vs58RDFs5dvRz4KVzdWh5VlDWx8W0FByKJFL9CqffMs8LU2ghoOOwk1To3Ch851xMm2k BWxJTR0+krg8eqxuDv619Z3aUXq6GLxQLI5dGwjHVQx8Oj0+6WtWJCMYmfhh6ZoqITfj BWxB32v6LuTPyI56z4X8qI+JlKYnmRE0tPBDlvSejpKq14Rfl3TnewbeGz4pXt8B4AE1 OHod9H6R8F8SvKF9DZYHSk6zd/paTMlZEQC86BpSh48iOqym1VMbu/eJZm4aFm1W6yNO pR7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fQRYDzhx; 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 u2-v6si4881758pgp.692.2018.05.04.17.14.40; Fri, 04 May 2018 17:14:41 -0700 (PDT) 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=fQRYDzhx; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7893674DA4; Sat, 5 May 2018 00:14:38 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id C0B1274D83 for ; Sat, 5 May 2018 00:14:23 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id p9-v6so13545471pgc.9 for ; Fri, 04 May 2018 17:14:25 -0700 (PDT) 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; bh=P8Cy9yHP3ospqj4iqrCq+T6yKLla2F2ZQaID7cLQDKo=; b=fQRYDzhxji9z0n9IvFrjffamYBtQMquy/7u0r2aUjVOCYntUyPjVPnMRmR9Uu9xYf7 /5B0KwDaSeg0VC35YuGqWQmkeQPoqKGhB+4p5+iMDEmXFig1E8FZ43l/FqbxhNDMJXPr Subhc7+LKloDewbCEOcUU183BHDg4xQ0aG510emTi1fVzdGZavKLafx6vZa0R5ly/Vqs C3UeCH1LqfHauT7vXSOQWzELbzDjIZuQmvRGd+tnQIqPUZ9H/xYYc+LfXG2DnDB5EZB0 NWKCiL77fjVi8ihgNAd/OmG8MFDKj5MvHA0RM3PZs2NykaFU6BQoT4yiU3gnI5Pg+KW9 CQgQ== 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; bh=P8Cy9yHP3ospqj4iqrCq+T6yKLla2F2ZQaID7cLQDKo=; b=f1y8Svd8nfiMq7pMblTc6nLYk7lNsBOXhtd4jtbCpKHj9N91OPrPeDiiwzFNKEikos D4g5EpJBHjTqCyDrzIxUXDrEuwCkjqBwelNcdpv8aTJ2GpRly7MpDa3zXCw1IopnootD KvV7tied71TX0PNUPCCmpYOmoCxz8jHcdIxjc4ZBgFeBr61UMnUnrqsXUq7hQGhu37ti AjmNWdfvIcIdf6Ci625AyQcnWy3c+Sv/sbwnd4ELY7aBP4lMVHUZWR8o4axcVci9jUAi hLqujiX7z0fEtQq2WDz+AgK/FuhKvH3mvY/F+EtOBAkn+nCpWHHOo2ct/LL6XGlhymiy Bq6w== X-Gm-Message-State: ALQs6tC/3WBdPQUoPeVBfCAus+k1jcREbx8fPmOKHK4APBwypQ23uuNk EmqiLgnDWcVDvcSdh14PGK7p1A== X-Received: by 10.98.130.140 with SMTP id w134mr20922935pfd.138.1525479264406; Fri, 04 May 2018 17:14:24 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:23 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:13:55 -0700 Message-Id: <3e03f5a27608290b623503497c1885cf72d6b18d.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 01/27] libssp-nonshared: Add recipe 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org libssp-nonshared is a minimal gcc runtime piece which is needed on non-glibc systems which do implement libssp APIs in libc Use PIE flags to compile libssp_nonshared.a so it works with security flags on as well Signed-off-by: Khem Raj --- meta/recipes-core/musl/libssp-nonshared.bb | 39 ++++++++++++++++ .../musl/libssp-nonshared/ssp-local.c | 45 +++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 meta/recipes-core/musl/libssp-nonshared.bb create mode 100644 meta/recipes-core/musl/libssp-nonshared/ssp-local.c -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/musl/libssp-nonshared.bb b/meta/recipes-core/musl/libssp-nonshared.bb new file mode 100644 index 0000000000..458eafef52 --- /dev/null +++ b/meta/recipes-core/musl/libssp-nonshared.bb @@ -0,0 +1,39 @@ +# Copyright (C) 2018 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Minimal libssp_nonshared.a must needed for ssp to work with gcc on musl" +LICENSE = "GPL-3.0-with-GCC-exception" +LIC_FILES_CHKSUM = "file://ssp-local.c;beginline=1;endline=32;md5=c06d391208c0cfcbc541a6728ed65cc4" +SECTION = "libs" + +SRC_URI = "file://ssp-local.c" + +PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" + +INHIBIT_DEFAULT_DEPS = "1" + +STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" +STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${SDK_SYS}" + +DEPENDS = "virtual/${TARGET_PREFIX}binutils \ + virtual/${TARGET_PREFIX}gcc-initial \ +" + +do_configure[noexec] = "1" + +S = "${WORKDIR}" + +do_compile() { + ${CC} ${CPPFLAGS} ${CFLAGS} -fPIE -c ssp-local.c -o ssp-local.o + ${AR} r libssp_nonshared.a ssp-local.o +} +do_install() { + install -Dm 0644 ${B}/libssp_nonshared.a ${D}${base_libdir}/libssp_nonshared.a +} +# +# We will skip parsing for non-musl systems +# +COMPATIBLE_HOST = ".*-musl.*" +RDEPENDS_${PN}-staticdev = "" +RDEPENDS_${PN}-dev = "" +RRECOMMENDS_${PN}-dbg = "${PN}-staticdev (= ${EXTENDPKGV})" diff --git a/meta/recipes-core/musl/libssp-nonshared/ssp-local.c b/meta/recipes-core/musl/libssp-nonshared/ssp-local.c new file mode 100644 index 0000000000..8f51afa2c1 --- /dev/null +++ b/meta/recipes-core/musl/libssp-nonshared/ssp-local.c @@ -0,0 +1,45 @@ +/* Stack protector support. + Copyright (C) 2005-2018 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +In addition to the permissions in the GNU General Public License, the +Free Software Foundation gives you unlimited permission to link the +compiled version of this file into combinations with other programs, +and to distribute those combinations without any restriction coming +from the use of this file. (The General Public License restrictions +do apply in other respects; for example, they cover modification of +the file, and distribution when not linked into a combine +executable.) + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +extern void __stack_chk_fail (void); + +/* Some targets can avoid loading a GP for calls to hidden functions. + Using this entry point may avoid the load of a GP entirely for the + function, making the overall code smaller. */ + +void +__attribute__((visibility ("hidden"))) +__stack_chk_fail_local (void) +{ + __stack_chk_fail (); +} From patchwork Sat May 5 00:13:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135038 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp657615lji; Fri, 4 May 2018 17:14:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr6yqZjPzHdpW5kutK6KVaz2qKzmCd0wCYyhO0pdlOnjqAXHVxX90m8DWVq29UJZmoKlvFl X-Received: by 2002:a65:590e:: with SMTP id f14-v6mr23932233pgu.282.1525479286772; Fri, 04 May 2018 17:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479286; cv=none; d=google.com; s=arc-20160816; b=Tfb4U76lQxqSWc1MMU890t8SuBFI8ep6I2nKcZiIg4mbvJsHZToJ7Kz8xHzvEsF5rw bXB6XD3kZM/qIN0ECI7XJb+OHu2pheNB7sy81/C28PDtxYvrPoIpKmkA9Of2gBuzTqqD hOJLtGDkTHuSpte8j+ZTHDyIU6r9cqLspWUl5cDAhLw7Ryy4h1t1btQyPh/mU6CUM9z7 klgKHUFqOieg0kPn5GvCm1VWARZWMfu91Eg/2nlu6ruO1ImFlLL4rBH8XHdOY2x48iQr HF3HICJigMNOEA3lncajt4rlVG5kRdvcfVpdQtH29oNYe2fnmZDs7NUr1Ez+2F4XA7gT f2uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Xuc/XMrlBBxj1V7UQaNwnigaS6/tX+bYzfnCllvIOsI=; b=P1g2zRCyn/Y+eirYDKzQTrl619MmispnjBnjPCMv3LRMz11WDynfUNuXPu8go+Nqnu kWtaoOpPHphye27zkvoRywCLmiNq1JMnlHcjqEyA3+OueTUcZR+H9OyZLsN3h6CuDPjA pjn3wKrlAPG1AeU/u7B3u9RpEdsVA1H9Vns8oWcBvF7Hunh/Ykt9XjM+Swh1M9y0/E3u ALltx6qkxfXVBaH0Pz+sBsYevzcWOJ79yhMSs20wO7cbwgZD+z2zN7R9mOEk6asHXJ1C dUA9Ln7+yXGj0ER4o0O6K1kjcvAo5MHQ3S764JO35/+FdD3kY/c+oFyRIjbyepxEz40k wvoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ZIXSfQuq; 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 44-v6si16754797pla.376.2018.05.04.17.14.46; Fri, 04 May 2018 17:14:46 -0700 (PDT) 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=ZIXSfQuq; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EDEC974DB1; Sat, 5 May 2018 00:14:39 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 82D9C74D81 for ; Sat, 5 May 2018 00:14:24 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id g20-v6so9771205pgv.1 for ; Fri, 04 May 2018 17:14:26 -0700 (PDT) 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; bh=YTxpdLn2vQ9esdiZmnedYD8r5iDWL4RZaBQBahT/vIo=; b=ZIXSfQuqr/p6V6LVnp1ty4prSpO1fyNEGBzbzAM/n17DUjI/zfoTzLvo490AqYGkJB GUrAmAq2PiSKC6gOVSn/RrFAYWGR6EFAgg2sKsTeRXZ3bk9SRVEe8hHXHkmSt7lBa0Tp ZxLeU9W6czH3imVlJd7zDhgE3q52eV3tIrJL2Vw0vs3RG7dqpV+j1fdpamDtW+iOq2MT XYU7CNmlUrWJelbejywBl0i89g6H/yvbsdih3HusOUeD7keMTol7dV3CNxGz5L1RM/VP tQ0GMo0/uFVolESM6Kf+76TAgauIJp3Z7ugiSt8d4wUvD5hPrjaVTMygtpxqCqhR7+Gg MlQA== 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; bh=YTxpdLn2vQ9esdiZmnedYD8r5iDWL4RZaBQBahT/vIo=; b=WqFQLVMO3WSjcPIqS9c33tqcVCZj2BAmgLsZRUzsIFfIXgwtwVgwWctFtWIurG5O93 5NDHtTwH68KNrJ8VXV8g0NcNcyDq4nhHabr56aNbMo1Lvat2lvp58++H1YhtdGiFE4OB sQ0OgKpVktyE5cPg2scoCsm/4AJ9ypAE3qqi9jjV5JxjzKCzMpOBb/7ISw4jA6+wCfJf qdlpCZieee31BzkiDku84UUle5AYUBnrwYJ1pIZ8o7WzQgAGNQWVJaGN8L45YEPpNXEq Q7BHiD7f9pJt8Ut0taOMsNzadP/AAlseEqGtm2wgki9sYVM9WT898IWTqi2YALpCZuFg svcw== X-Gm-Message-State: ALQs6tDUCWGXubN25tOuDKEJinsmoNiZY2kId3Me2KLgtgXEJYS/wlVF fvQXcnrN3KegMoxnfTMI7Ye+6g== X-Received: by 10.98.224.76 with SMTP id f73mr28808373pfh.88.1525479265444; Fri, 04 May 2018 17:14:25 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:24 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:13:56 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 02/27] musl: Depend on libssp-nonshared 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org libssp-nonshared is required on musl since it does not implement the gcc runtime piece of libssp, which actually it a gcc optimization to reach to __stack_chk_fail Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 34190e530e..01fec69aeb 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -22,6 +22,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils \ libgcc-initial \ linux-libc-headers \ bsd-headers \ + libssp-nonshared \ " export CROSS_COMPILE="${TARGET_PREFIX}" @@ -65,7 +66,7 @@ do_install() { done } -RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev" +RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev libssp-nonshared-staticdev" RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)" From patchwork Sat May 5 00:13:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135039 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp657722lji; Fri, 4 May 2018 17:14:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZolU7p5ZmzSZ6sP3jpEgv3yHGA3ESMRfHPbxTXtwT5EznFwHufMiKLLUWLKrx171pZfSqsU X-Received: by 2002:a65:5142:: with SMTP id g2-v6mr13307763pgq.349.1525479294328; Fri, 04 May 2018 17:14:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479294; cv=none; d=google.com; s=arc-20160816; b=f/W1Vef6RNhwNVSI7lQ78LTJaiaqi3N4Vhwv8bMxys5YrNC0K2Uc9hgY4MbxAUG9h8 cYikVqlqmJWGUYrxUCM9CKweb9cW3Sbxch6fdQXRiweah/j2/jYABiLFqXWItxGytpm2 WOsuSgfkVEMLYEp0EYj5FzRGfThNNVN/wuDLLKm96DB4ByWu1jAGjhafyedgsBxgRcaT YFiAY9EbZ6tXlL5ftqn4kM2t5e25uo5cifOHqBVUAGT4708IXtUyml1VtKoACKcTGL6j Uvg4u5cP+XVRAf3L7JdiUQ++0WJAH7jZI4EC1ChN4X/PKyKgNWVRIwKs4L/GEJO3vLSR 99sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=/yzB02MayMbLtZnDpqCicR+Q+rhsvb0kFqHk/dZ8980=; b=sSKv3Hy/auXs9VaQHEPKNLx6MhZLEwWd5c085t4uMMNoiXzvSvdTjKCdePgfCEPrhq mLHpuAxP+NYUE+CdH+3So6lL1jhn3zwD3yEQY9CeaFnQu5WXbbkimYtiAmac5mNnHrFg xz1uFCOuXOqGWih3SyZnv9hq57OhYKElVeg7Id9MDrccnRK6FDusFtCE6gxHyujGD720 tpt0ZLFdMbBloDnPisdYuV54q3MwJF7ONSgHkIZU++UMIgK9HeRQ9C/ErWP2xD6+G67P nNwfeZ5sm42I3rZp614dSuBCyfxqi7q1aGloEqAkfyrfxFF1hKpR5fGPuN1zrBbfl4uj aT1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=YSkgWFWL; 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 e14-v6si13737218pgq.173.2018.05.04.17.14.53; Fri, 04 May 2018 17:14:54 -0700 (PDT) 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=YSkgWFWL; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 38BD974DBB; Sat, 5 May 2018 00:14:41 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f41.google.com (mail-pg0-f41.google.com [74.125.83.41]) by mail.openembedded.org (Postfix) with ESMTP id C865974D59 for ; Sat, 5 May 2018 00:14:25 +0000 (UTC) Received: by mail-pg0-f41.google.com with SMTP id i29-v6so16435766pgn.12 for ; Fri, 04 May 2018 17:14:27 -0700 (PDT) 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; bh=ddPFADgXP3hAlwlekExbYnM/xAMwS2oXFY8YY+wJbpU=; b=YSkgWFWLVcBTbe+fo7ozBfypsKvUz8NRkTEtui3Gt49tRe9ei+uY6+f/cuqArtN8Wm sq6wZQf/KUnOwFtySfMG8iG2kFE8WwVMt7glwdWK6x+Ju3aOO35g2uONZLCd5ZTb9E3F /4jn7nvlhdY7m9pKYbFo8RaVRaXnnQgJAlf0OTAUUk328DxzTHUvfh33zKVdSZvyryYA dOeMiqyBm9+q0F3h1mrpTqL629DDoy+vLuIDMo03Bdsrb9ggIjtPioPNcQj/x+E2cJDo Ym7KJ80jn+vLBZExsjCNKlgXo1hZXIIyJOeRn6V2HlvF3HrEW9ZIWSxhz0JEAIgumMdu p/3w== 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; bh=ddPFADgXP3hAlwlekExbYnM/xAMwS2oXFY8YY+wJbpU=; b=SlYm4Sq/qcYCrfOC9EAEDQ/obS2NrpD0+VTj0zRzhbRpC1qNaLkBhwpMT8p5WdF0Ca CYJ0tS8Cd3P/00KNUPo6E62SvcJ/xeIqzwUyZgPOogqvjM0cu7HVf5pC2VwZ37JbIyX2 13f02VxSurfKLGoWdDN24aiZKGbH+R/103K0SAAYvmSUSPQqhNhgOZh+sQjKyCbct9k5 6mJIXbP2GZqqWRbP8NY1in0PwiQJYGWmg6nOF0GOzi1R5NnJv/zNxSppHci/med9F43G SHWSOz0qJNqYE1yNLEU5zAQd6Nvs0Gnard+MRyuxa4WbGqwB2Om55uWfqK6dI4fyomWN y+Rg== X-Gm-Message-State: ALQs6tCjWRK2errmvhVz7QO9I3zPWeQospLwRTKh/6tz4YRdfzJakj+d heUz1WAy2QPPoSUKm6iASaIg4g== X-Received: by 10.98.161.17 with SMTP id b17mr28362569pff.132.1525479266527; Fri, 04 May 2018 17:14:26 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:25 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:13:57 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 03/27] gcc-runtime: Disable gcc version of libssp 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org libssp is implemented fully in glibc as well as in musl so we really do not need the gcc version of this library except may be for mingw, where we keep it enabled anyway gcc in OE is built with the knowledge that C library already provides libssp implementation, we should therefore not need the gcc implementation of same. libssp_nonshared piece is a detail which is needed when gcc is the compiler, in glibc this is part of libc_nonshared.a already and libc_nonshared.a is linked always when linking with -lc becuase libc.so in glibc is actually a linker script GROUP ( /usr/lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /usr/lib/ld-linux-x86-64.so.2 ) ) which automatically links in the needed runtime bits, this however is not the case for musl, where core SSP APIs are implemented in full but compiler specific runtime isn't, for this we add a new package called libssp_nonshared which generate the needed runtime stub and gcc is already carrying patch to link to libssp_nonshared.a on musl This should fix a long standing problem where static PIE executable were not buildable with OE since it was conflicting SSP implementation one from C library and the other one from gcc and we end up with duplicate symbol errors during linking. Backport a patch from trunk which enhances enable|disable-libssp to not only disable building libssp but also not emit the gcc specs to use it for subsequent linking when stack-protector options are used on compiler cmdline Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-7.3.inc | 7 +- ...cc-override-TARGET_LIBC_PROVIDES_SSP.patch | 204 ++++++++++++++++++ meta/recipes-devtools/gcc/gcc-runtime.inc | 4 +- 3 files changed, 212 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-7.3/0049-gcc-override-TARGET_LIBC_PROVIDES_SSP.patch -- 2.17.0 -- _______________________________________________ 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-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index d968c322d2..0586182282 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3.inc +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc @@ -72,6 +72,7 @@ SRC_URI = "\ file://0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ file://0047-sync-gcc-stddef.h-with-musl.patch \ file://0048-gcc-Enable-static-PIE.patch \ + file://0049-gcc-override-TARGET_LIBC_PROVIDES_SSP.patch \ file://fix-segmentation-fault-precompiled-hdr.patch \ file://no-sse-fix-test-case-failures.patch \ ${BACKPORTS} \ @@ -93,10 +94,12 @@ FORTRAN = "" JAVA = "" LTO = "--enable-lto" +SSP ?= "--disable-libssp" +SSP_mingw32 = "--enable-libssp" EXTRA_OECONF_BASE = "\ ${LTO} \ - --enable-libssp \ + ${SSP} \ --enable-libitm \ --disable-bootstrap \ --disable-libmudflap \ @@ -120,7 +123,7 @@ EXTRA_OECONF_INITIAL = "\ --disable-plugin \ --enable-decimal-float=no \ --without-isl \ - gcc_cv_libc_provides_ssp=yes \ + --disable-libssp \ " EXTRA_OECONF_PATHS = "\ diff --git a/meta/recipes-devtools/gcc/gcc-7.3/0049-gcc-override-TARGET_LIBC_PROVIDES_SSP.patch b/meta/recipes-devtools/gcc/gcc-7.3/0049-gcc-override-TARGET_LIBC_PROVIDES_SSP.patch new file mode 100644 index 0000000000..7c53c95c3a --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-7.3/0049-gcc-override-TARGET_LIBC_PROVIDES_SSP.patch @@ -0,0 +1,204 @@ +From 9815bd97561c778ee0bc0c17f245e88e66570111 Mon Sep 17 00:00:00 2001 +From: sandra +Date: Wed, 1 Nov 2017 02:14:19 +0000 +Subject: [PATCH] 2017-10-31 Sandra Loosemore + + gcc/ + * configure.ac (--enable-libssp): New. + (gcc_cv_libc_provides_ssp): Check for explicit setting before + trying to determine target-specific default. Adjust indentation. + * configure: Regenerated. + * doc/install.texi (Configuration): Expand --disable-libssp + documentation. + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254288 138bc75d-0d04-0410-961f-82ee72b054a4 +--- +Signed-off-by: Khem Raj +Upstream-Status: Backport [https://patchwork.ozlabs.org/patch/823049/] + + gcc/ChangeLog | 9 +++++++++ + gcc/configure | 26 +++++++++++++++++++++++--- + gcc/configure.ac | 24 ++++++++++++++++++++---- + gcc/doc/install.texi | 3 ++- + 4 files changed, 54 insertions(+), 8 deletions(-) + +Index: gcc-7.3.0/gcc/configure.ac +=================================================================== +--- gcc-7.3.0.orig/gcc/configure.ac ++++ gcc-7.3.0/gcc/configure.ac +@@ -5719,10 +5719,25 @@ if test x$gcc_cv_solaris_crts = xyes; th + [Define if the system-provided CRTs are present on Solaris.]) + fi + ++AC_ARG_ENABLE(libssp, ++[AS_HELP_STRING([--enable-libssp], [enable linking against libssp])], ++[case "${enableval}" in ++ yes|no) ++ ;; ++ *) ++ AC_MSG_ERROR([unknown libssp setting $enableval]) ++ ;; ++esac], []) ++ + # Test for stack protector support in target C library. + AC_CACHE_CHECK(__stack_chk_fail in target C library, +- gcc_cv_libc_provides_ssp, +- [gcc_cv_libc_provides_ssp=no ++ gcc_cv_libc_provides_ssp, ++ [gcc_cv_libc_provides_ssp=no ++ if test "x$enable_libssp" = "xno"; then ++ gcc_cv_libc_provides_ssp=yes ++ elif test "x$enable_libssp" = "xyes"; then ++ gcc_cv_libc_provides_ssp=no ++ else + case "$target" in + *-*-musl*) + # All versions of musl provide stack protector +@@ -5759,8 +5774,9 @@ AC_CACHE_CHECK(__stack_chk_fail in targe + AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes], + [echo "no __stack_chk_fail on this target"]) + ;; +- *) gcc_cv_libc_provides_ssp=no ;; +- esac]) ++ *) gcc_cv_libc_provides_ssp=no ;; ++ esac ++ fi]) + + if test x$gcc_cv_libc_provides_ssp = xyes; then + AC_DEFINE(TARGET_LIBC_PROVIDES_SSP, 1, +Index: gcc-7.3.0/gcc/doc/install.texi +=================================================================== +--- gcc-7.3.0.orig/gcc/doc/install.texi ++++ gcc-7.3.0/gcc/doc/install.texi +@@ -1658,7 +1658,8 @@ not be built. + + @item --disable-libssp + Specify that the run-time libraries for stack smashing protection +-should not be built. ++should not be built or linked against. On many targets library support ++is provided by the C library instead. + + @item --disable-libquadmath + Specify that the GCC quad-precision math library should not be built. +Index: gcc-7.3.0/gcc/configure +=================================================================== +--- gcc-7.3.0.orig/gcc/configure ++++ gcc-7.3.0/gcc/configure +@@ -940,6 +940,7 @@ enable_fix_cortex_a53_843419 + with_glibc_version + enable_gnu_unique_object + enable_linker_build_id ++enable_libssp + enable_default_ssp + with_long_double_128 + with_gc +@@ -1679,6 +1680,7 @@ Optional Features: + extension on glibc systems + --enable-linker-build-id + compiler will always pass --build-id to linker ++ --enable-libssp enable linking against libssp + --enable-default-ssp enable Stack Smashing Protection as default + --enable-maintainer-mode + enable make rules and dependencies not useful (and +@@ -18450,7 +18452,7 @@ else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +-#line 18436 "configure" ++#line 18455 "configure" + #include "confdefs.h" + + #if HAVE_DLFCN_H +@@ -18556,7 +18558,7 @@ else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +-#line 18542 "configure" ++#line 18561 "configure" + #include "confdefs.h" + + #if HAVE_DLFCN_H +@@ -25234,6 +25236,7 @@ $as_echo "#define HAVE_AS_SPARC5_VIS4 1" + + fi + ++ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for SPARC6 instructions" >&5 + $as_echo_n "checking assembler for SPARC6 instructions... " >&6; } + if test "${gcc_cv_as_sparc_sparc6+set}" = set; then : +@@ -25270,6 +25273,7 @@ $as_echo "#define HAVE_AS_SPARC6 1" >>co + + fi + ++ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for LEON instructions" >&5 + $as_echo_n "checking assembler for LEON instructions... " >&6; } + if test "${gcc_cv_as_sparc_leon+set}" = set; then : +@@ -28947,6 +28951,18 @@ $as_echo "#define HAVE_SOLARIS_CRTS 1" > + + fi + ++# Check whether --enable-libssp was given. ++if test "${enable_libssp+set}" = set; then : ++ enableval=$enable_libssp; case "${enableval}" in ++ yes|no) ++ ;; ++ *) ++ as_fn_error "unknown libssp setting $enableval" "$LINENO" 5 ++ ;; ++esac ++fi ++ ++ + # Test for stack protector support in target C library. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking __stack_chk_fail in target C library" >&5 + $as_echo_n "checking __stack_chk_fail in target C library... " >&6; } +@@ -28954,6 +28970,11 @@ if test "${gcc_cv_libc_provides_ssp+set} + $as_echo_n "(cached) " >&6 + else + gcc_cv_libc_provides_ssp=no ++ if test "x$enable_libssp" = "xno"; then ++ gcc_cv_libc_provides_ssp=yes ++ elif test "x$enable_libssp" = "xyes"; then ++ gcc_cv_libc_provides_ssp=no ++ else + case "$target" in + *-*-musl*) + # All versions of musl provide stack protector +@@ -29001,8 +29022,9 @@ else + fi + + ;; +- *) gcc_cv_libc_provides_ssp=no ;; ++ *) gcc_cv_libc_provides_ssp=no ;; + esac ++ fi + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_libc_provides_ssp" >&5 + $as_echo "$gcc_cv_libc_provides_ssp" >&6; } +@@ -29037,18 +29059,15 @@ fi + + + # Test for on the target. +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5 +-$as_echo_n "checking sys/sdt.h in the target C library... " >&6; } +-have_sys_sdt_h=no ++#GCC_TARGET_TEMPLATE([HAVE_SYS_SDT_H]) ++#AC_MSG_CHECKING(sys/sdt.h in the target C library) ++#have_sys_sdt_h=no + #if test -f $target_header_dir/sys/sdt.h; then + # have_sys_sdt_h=yes +-# +-#$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h +-# ++# AC_DEFINE(HAVE_SYS_SDT_H, 1, ++# [Define if your target C library provides sys/sdt.h]) + #fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5 +-$as_echo "$have_sys_sdt_h" >&6; } ++#AC_MSG_RESULT($have_sys_sdt_h) + + # Check if TFmode long double should be used by default or not. + # Some glibc targets used DFmode long double, but with glibc 2.4 diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 7629fa56ff..72b8081cd3 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc @@ -22,8 +22,10 @@ RUNTIMELIBITM_nios2 = "" RUNTIMELIBITM_microblaze = "" RUNTIMELIBITM_riscv32 = "" RUNTIMELIBITM_riscv64 = "" +RUNTIMELIBSSP ?= "" +RUNTIMELIBSSP_mingw32 ?= "libssp" -RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \ +RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \ ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \ " RUNTIMETARGET_append_x86 = " libmpx" From patchwork Sat May 5 00:13:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135040 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp657831lji; Fri, 4 May 2018 17:15:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZopIFpmZ+jETsUDLVnTgCTWgbx1wtxRP+TB868JwJDKNeRJA9uD5t/xuf47RfepwZXgIT4g X-Received: by 2002:a17:902:8d8c:: with SMTP id v12-v6mr29625066plo.366.1525479305065; Fri, 04 May 2018 17:15:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479305; cv=none; d=google.com; s=arc-20160816; b=FX7S0fXsjEuLpBWs9ixgy0iuk3Ljg69gKetVgqGpPVL3Z5Jif3hUAwvI1I2+85qpJv cfnLFYwS3eke72nxKIW0gbyywIKbUt/BKMDkINCOOLTRrnrg/VZu3J5OMVhe9d+S5UQA hvjC5gqP1/NE2H82N/577u1AiiPwrYMfI8cPd5UxTXPBh8rNbCntBiNos2RS4ERxxFEo oppe9clfWtw7gGPGhtPstaq+GN9O5jOkwvdIOrHRWwgh0FmF6/Z5YPJSCkU0h9YcxRjr 3fMeb3311XSNaD7rIkklIHX31W8U5qetQE8OLAidL9ll+05oS/nGtyz2W7ixnn6AlgRU BfZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=w11hcF0UTu64lk+53U623+xXZvcrmdnxIZCh1N5ls/s=; b=ujiHlyJkH7pXdiTpnk3ZSUBXmSrpIveyfJEAgnady/SdbBVQzZ7tjH7vRTHiKI1kf6 tqPFFOCsIUazm4Xnft4HBcFACli2svQhXejWFrWQNYaO29gbDqbmVUmeIovH6ynMuwvQ mEzAwtLct2RjkoSnGuX7EcCTAyKbQ32w6lt6OfaGdUE5RxKmT5gmRX8O94s268mtKSyi 8L55enMmkJjirTFc4xhBBF9F/BXKA2pkzIz4CkoqMqDZ/7KO7KmNcmvYmFeQYbPvmQcu DQqirR8Q+uxk2aSBrlwCQiAxf7Z0Qo4CEFnwroNeF9N28qF1GrErXCZ4FUkaI7VdUMNb R7Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jOQKcXKO; 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 a5-v6si18035663pla.117.2018.05.04.17.15.04; Fri, 04 May 2018 17:15:05 -0700 (PDT) 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=jOQKcXKO; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 23CEF74DBA; Sat, 5 May 2018 00:14:46 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 540E774D8C for ; Sat, 5 May 2018 00:14:26 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id q22so18606502pff.11 for ; Fri, 04 May 2018 17:14:28 -0700 (PDT) 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; bh=XH50gH3v5Zfcm0YQpiX+2GbtcXf2EsakvQGwlY91Gt8=; b=jOQKcXKOnNA1SlrsBrKoePc9D2JA6YNmkD8Pi24paKDuSMAkT6dZ+KQuQPwk4o9WKx XnQaLmLjwySXUi2mGqlpZ6AkQUFWgZPO4u5BVPwORz4zBdJ0GlQz+0eJuunSPbbVAzZB XmBsx24AuSiXYqe7sqqnc/f0BUqaCRcWO2n93RXCTAdWUzz+8VVyQq8SaWzdF/t8tuwx jo4/0OwJWyPLQ7cqC8sPl1nqovu+Vz4qhbOQso/OAPXro/2Y9F5ubqlTblwXDpVkKkmM 6/W82rpYBnJvS+tv2RgS8RYXthc1CqArcB8Z5CkuvQrZZooM5hIwy/okP1YzqQqBgUYm 54zg== 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; bh=XH50gH3v5Zfcm0YQpiX+2GbtcXf2EsakvQGwlY91Gt8=; b=gXG7uw9imZ7MjtGVC1R60bdtJEDRn2EAQdOj8DxaCtkkjBzO3nvvF+jAX6VAoLU3/n dBc+siQMJEBC2ksoHQKNKuaTApsq4YrISl68EYmaVjHovlG0E7NQ8tZD0cskZetOdJJs Cj+xfbJa3jkh+kpdrWHqme4Ab53NLcVbWYI/iOBY06mjXd4TsapGihTMmFav7NZ8KRgL Oych7iJWhCT7hdqGdkpPy6Hxm/SnpkMW/7VSzb4Zj4NbaemT8gYERWYDkGmJzaFLLiNX CQLhTbTmk/vnmXkAZEPdp6O42YERA3VGy0sEckhAiIRTQ8JfheijtRh6cQctfQMPN/EY lHBg== X-Gm-Message-State: ALQs6tBa/aMb/j98T11JVAfCo89MmaVUwqsK0un9+4qMZJXlMI9hYCbx LZCokoY9nr+xHvL1IuWJJKKAqw== X-Received: by 10.98.178.208 with SMTP id z77mr28701309pfl.122.1525479267814; Fri, 04 May 2018 17:14:27 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:27 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:13:58 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 04/27] libunwind: Drop adding libssp to linker flags 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This is no longer needed as gcc provided libssp is not built Signed-off-by: Khem Raj --- meta/recipes-support/libunwind/libunwind.inc | 2 -- 1 file changed, 2 deletions(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index b9c532d3ad..36851d07ed 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc @@ -14,8 +14,6 @@ PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, lat EXTRA_OECONF_arm = "--enable-debug-frame" EXTRA_OECONF_aarch64 = "--enable-debug-frame" -SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp" - do_install_append () { oe_multilib_header libunwind.h } From patchwork Sat May 5 00:13:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135041 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp657944lji; Fri, 4 May 2018 17:15:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo8VNLBEqfOQpggg+uEK1L4TMLcixDwcP8AdIVIPcLropnxaaShcMzNB65GP8CNMEOP/fGx X-Received: by 2002:a17:902:850a:: with SMTP id bj10-v6mr21076063plb.239.1525479313355; Fri, 04 May 2018 17:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479313; cv=none; d=google.com; s=arc-20160816; b=gVXNS3ljLO5GB4sI6s1ze4r62hqCNC5xoHUVVx6qgn5u5ADsFaForkqv/7YEk23f4t l9iiG4Jep5WwcXWvqtmv5HHV/P7ZAI1Pi8qIUYXo4H8N06KfxIFxfd9Ni7NPrSz9n4Pv l6oeCfrQWCUJmNiwyjojfbXoFlVzQjeq3jHorl/IMrnxDM3V5wUz4Nfd1QCpiMRk0mrf 2NWoB3bRNdXbha+8o7ArUaamDir3fxJjq3Jw6Hx25TlqN2NGwWak7h0/WUsxtYLodrt7 0rkYU+orJHfGu7vxEOrOxEuU+sXr3xk5F35JZSSMtTlxf4rgIKCyRiPvd/iYx52j+ykU pJzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=FcJGm3OzsRyTvSRC775QxldDT8fkrcLOs+EwbAVZNqg=; b=jOwBpAtxbrlRB2l+1AgE+dhgZpkUPErxvO0MvH6URuk/zO4vSVChEUvStvU7r2JrWV kT4LGAIUQ885wc46mbQ4Welwbpslctp1DtCFDUvnNQTC55N33x1mNHDlSQrje/+bk99d beLlf7dSjXbGafyglJmxKGaptlCxpqPhQ/k/xP4FcGOlx9USVVDA27AA8PrZqD9j2uOL bKcJpi6+5jkB5Ax1Z31k0v8/QAwwXnJk0vCJORrWu1O9IrWSLHTwzwYY6770dzSXuDeo uBD5YHqI1vPxWFm48pOPamyLpWQSFq+H2MKeCGkxr/DNztfSgdxa3BkX7H+i3vEKoLY7 h8nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kaS1ljEF; 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 u10si1748130pfn.44.2018.05.04.17.15.13; Fri, 04 May 2018 17:15:13 -0700 (PDT) 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=kaS1ljEF; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3CC3A74DD5; Sat, 5 May 2018 00:14:47 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 22E2174D40 for ; Sat, 5 May 2018 00:14:27 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id 82-v6so16445999pge.11 for ; Fri, 04 May 2018 17:14:29 -0700 (PDT) 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; bh=f1CUzw2V3Rnb2rsCTHsIcyWrQZao6r+c4hEKZhbeft0=; b=kaS1ljEF2FXuMI2mlz/EdeIzvE/o2edvyAUxlp13ceAsunjLSW6APjJrARq+2M9upx N0ay0R5U7ptHddHaYR6aAWQQAkHpk+Xjgxa4KaQLCPqVmbKHr6IsbGdhe7Nf0ukQhh06 j80PPjlSXdx+nXhJGFn33rlPliT5/KSTuulvhIGQLTq8IKXfFE+fZ6UO7nCpk7qEbdF2 WYAHS5ywQthNQYTDwCdjR7W5Wsm6bXR38tUD0oNoDat0Aej0WglmtI/aXfFPnnZlpJo6 wf0RiBQRjg7nJP+wCPwsGG/jiX6XqcwJHSYnUFbaezIQV0PDKBHnLsI4Aa1tG63qjP8x a5oA== 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; bh=f1CUzw2V3Rnb2rsCTHsIcyWrQZao6r+c4hEKZhbeft0=; b=EEubDQyRE8tifIVFiUciPbANszd7ABwlgE7SVvb28AQP5q9qGo0MiCOVxKEAPTDnTb STcCIsWRLjkR6lkVEgvL8zmI7oQYfqnNz4LntsvPl7FtBWVtDaPvpziqRWXUS+eUdegR XtvUyUMJxbWxKzvvcapD0uBwD8CMX5i2wt1zid6tXDmgIQu2dI7AA0wFzcArIOsTgzlk 17c5nc/2XB1J/hTf17bc7K7dBfu37A6Dlx34OFwNwxsTv7TUECZpECxk7N2mgcsuWAoM tQYcJ5P9dkrYveyGdNg/rIyULNKqJvN87jOEZZcL5JEMPdg17x5AAxWXm+4cq9rR57Jc mMYw== X-Gm-Message-State: ALQs6tBsCtkyi87lO9Ut34GvInb+b7H8YftogHwH5mBsj1EI5RNv9ZAM QIwZEI4LPIO3NwMD2D2wYjIEZQ== X-Received: by 10.98.10.72 with SMTP id s69mr28752207pfi.134.1525479268869; Fri, 04 May 2018 17:14:28 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:28 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:13:59 -0700 Message-Id: <87e08c2b1c32706ab2a2fffeb947c7ec1d684970.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 05/27] musl: Upgrade to latest 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Changes are here https://git.musl-libc.org/cgit/musl/log/?qt=range&q=618b18c78e33acfe54a4434e91aa57b8e171df89..941bd884cc0221d051840ce6d21650339e711863 Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 01fec69aeb..a0a098f5b4 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -3,7 +3,7 @@ require musl.inc -SRCREV = "618b18c78e33acfe54a4434e91aa57b8e171df89" +SRCREV = "941bd884cc0221d051840ce6d21650339e711863" PV = "1.1.19+git${SRCPV}" From patchwork Sat May 5 00:14:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135042 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658040lji; Fri, 4 May 2018 17:15:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp567Skp5HeLfWYe8c0rhBzNahoNHkCJvsN0GxM5fVRn4U2oqblpK4yIIK4NHYriBXQhVvL X-Received: by 2002:a63:6fce:: with SMTP id k197-v6mr23702505pgc.125.1525479321858; Fri, 04 May 2018 17:15:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479321; cv=none; d=google.com; s=arc-20160816; b=LJmnH+m/XV9STomAXmBiaw/UqTEdZbH8MjJAnI4UfPj+/9sRIDkznT0Mw9HPzgdNwR VWOOgyd/Qf/20z4vF+yt7MyMjG7gw1/+0vlyUBB4ca98BQKzcsAvwDls41DAaIEyWbo0 Wz+PWCeolzrx81ZuqmKtaNe8RD2NG7sNjTpNtgGippJwVSbFSD/ZFwu9Sn6zAXwwcvwD BT4YAkg7TdvfctxPqzscVlrwRE9ITTQ9qrYY/TGKzolGOk/CfU0WfzIWeyhyrYyDnfYu 88HfQN2QR4iYzhklP2TY97mm5lSXeW2NIJaWPfPBexAwglLsLOhVeVIwsO9XRS8H97Kn HUhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=KGATNvjwwl0h3GHQ0p3tDibeJcO5neR3Fo+AXSnPlA8=; b=nrVf8WbkGVOb7dhF94ccOyyt86xr36p78ZqwfHMurCEdTlzAgy9paDqrBzNVrx0XKZ M9OFAXo/R52ormfZxPFRCq303Awjl8V/wS9vFwaLkjPhXbtnMuUc+/TvmSQHiYPZ7n7X tIdFynD6lpj6e4Q9QsNAqisI/2Av+G4D7u+8Vs9OALJwDwl8o5TG0tqQidtUVE0gu6ay SixVgLK6KNXHrYtiH08WougQKSu0MDBPnz+0XOyKLS9O3Qbz9DH9gHoIqcSCNUbE4NA/ x8EgMTxkquJ7EMKJ6/a0Nx/zQ6Tg7lIT+cDS9r/KNRpHoETVllfRBZXOua2ZclTUVqat uK/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=o4SWxwcq; 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 z13si13142595pfg.140.2018.05.04.17.15.21; Fri, 04 May 2018 17:15:21 -0700 (PDT) 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=o4SWxwcq; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 568C274DE0; Sat, 5 May 2018 00:14:48 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id F239E74D59 for ; Sat, 5 May 2018 00:14:28 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id e1-v6so5105705pga.6 for ; Fri, 04 May 2018 17:14:30 -0700 (PDT) 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; bh=/QfBBneGn71npxKpBC8dFk7/MldPV31lAoDx1mt9gxQ=; b=o4SWxwcqCsspEX6fdhGwk9N3ooXOcN5EfxNaxaMh3n8BGt7ObxbXS9sTQR0I0Q26zn 8XgkxSWIMNsdS0aV4kePwppZDbGV8pDNdvwHmKlTGE1miHiIZRA5W57ZLCp53pO+AqbQ 0oyPxNxRM11ac86bpdHqxCfXN7UPVjOqu7v5uYFkNxr2bZnFI617MmyRu3DnRuL6k6e6 Q6tVy/xW3DR4z8YyyH2ykiS0CLLANGW0z5pHErnFwKrvnup++06gv89a+xfTTPaQNlnM Sbsnclu2NsUXOUipeFVcxRME8kfUj+0TfwSHlyjCIL6e08OXfzUreGQviGKZLHkStiEz JD4Q== 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; bh=/QfBBneGn71npxKpBC8dFk7/MldPV31lAoDx1mt9gxQ=; b=iGNgYtIYDP7/rJpOzgJUHfnJJDWPey0Gp2h/95Jx6vZL5FiPEsM/l/igTXPgGsWADX FOeJKPMfFcPJuwj2p5BJnpdGjKD44h1ZpUrMJUJw+0CEcUxtvFKQf1R9H+gDNnvmoX8u pdA7G3YIPQa4okiGsb2/IUOPsLwozD5nonn5Gn4TUzsxzKXRdB7/1sMXTtNXlkip9ish xTZjEf1riyOrjNx3VRSLSPhC7e+yqnpNjqtORygmFwKl3DAnwoZYBConf1VN7uCCtvpP +hKbeLg3ZGE/jJ9fNsBhSWfzBAiy8NHvwnruR3aSWL/XOnNHdeiAjLloup6AghD7Cqd5 O00g== X-Gm-Message-State: ALQs6tALgJDV7NwLcs7AeegCOTlDnr7PRoQ9l6k7HtGH3pAFD5Iilgs3 L6AQBbwmHs7ubAV760o9Jz773Q== X-Received: by 10.167.131.134 with SMTP id u6mr11153918pfm.253.1525479269967; Fri, 04 May 2018 17:14:29 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:29 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:00 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 06/27] pbzip2: Fix C++11 warnings found with clang 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...valid-suffix-on-literal-C-11-warning.patch | 73 +++++++++++++++++++ meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb | 4 +- 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/pbzip2/pbzip2/0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/pbzip2/pbzip2/0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch b/meta/recipes-extended/pbzip2/pbzip2/0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch new file mode 100644 index 0000000000..8fc377c31b --- /dev/null +++ b/meta/recipes-extended/pbzip2/pbzip2/0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch @@ -0,0 +1,73 @@ +From de4a948d356c9befb88c796168e97eb05b9a3385 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Apr 2018 22:54:42 -0700 +Subject: [PATCH] pbzip2: Fix invalid suffix on literal C++11 warning + +Fixes -Wreserved-user-defined-literal] errors. +Also reported in launchpad here https://bugs.launchpad.net/pbzip2/+bug/1746369 + +Upstream-Status: Submitted [https://launchpadlibrarian.net/355230152/pbzip2.patch] + +Signed-off-by: Khem Raj +--- + pbzip2.cpp | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/pbzip2.cpp b/pbzip2.cpp +index 66ca978..4287ea7 100644 +--- a/pbzip2.cpp ++++ b/pbzip2.cpp +@@ -1220,7 +1220,7 @@ int producer_decompress(int hInfile, OFF_T fileSize, queue *fifo) + // give warning to user if block is larger than 250 million bytes + if (fileData->bufSize > 250000000) + { +- fprintf(stderr, "pbzip2: *WARNING: Compressed block size is large [%"PRIuMAX" bytes].\n", ++ fprintf(stderr, "pbzip2: *WARNING: Compressed block size is large [%" PRIuMAX " bytes].\n", + (uintmax_t) fileData->bufSize); + fprintf(stderr, " If program aborts, use regular BZIP2 to decompress.\n"); + } +@@ -1829,7 +1829,7 @@ void *fileWriter(void *outname) + + if (QuietMode != 1) + { +- fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); ++ fprintf(stderr, " Output Size: %" PRIuMAX " bytes\n", (uintmax_t)CompressedSize); + } + + #ifdef PBZIP_DEBUG +@@ -2072,7 +2072,7 @@ int directcompress(int hInfile, OFF_T fileSize, int blockSize, const char *OutFi + close(hOutfile); + if (QuietMode != 1) + { +- fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); ++ fprintf(stderr, " Output Size: %" PRIuMAX " bytes\n", (uintmax_t)CompressedSize); + } + + syncSetProducerDone(1); // Not really needed for direct version +@@ -2794,7 +2794,7 @@ void outputBufferInit(size_t size) + // unlikely to get here since more likely exception will be thrown + if (OutputBuffer.size() != size) + { +- fprintf(stderr, "pbzip2: *ERROR: Could not initialize (OutputBuffer); size=%"PRIuMAX"! Aborting...\n", (uintmax_t)size); ++ fprintf(stderr, "pbzip2: *ERROR: Could not initialize (OutputBuffer); size=%" PRIuMAX "! Aborting...\n", (uintmax_t)size); + safe_mutex_unlock(OutMutex); + exit(1); + } +@@ -4102,7 +4102,7 @@ int main(int argc, char* argv[]) + if (decompress == 1) + fprintf(stderr, " BWT Block Size: %c00k\n", BWTblockSizeChar); + if (hasInFile) +- fprintf(stderr, " Input Size: %"PRIuMAX" bytes\n", (uintmax_t)InFileSize); ++ fprintf(stderr, " Input Size: %" PRIuMAX " bytes\n", (uintmax_t)InFileSize); + } + + if (decompress == 1) +@@ -4224,7 +4224,7 @@ int main(int argc, char* argv[]) + { + NumBufferedBlocksMax = numCPU; + if (QuietMode != 1) +- fprintf(stderr, "*Warning* Max memory limit increased to %"PRIuMAX" MB to support %d CPUs\n", (uintmax_t)((NumBufferedBlocksMax + (numCPU * 2)) * blockSize)/1000000, numCPU); ++ fprintf(stderr, "*Warning* Max memory limit increased to %" PRIuMAX " MB to support %d CPUs\n", (uintmax_t)((NumBufferedBlocksMax + (numCPU * 2)) * blockSize)/1000000, numCPU); + } + else + { diff --git a/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb b/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb index 06d37adc36..4e96de2ed3 100644 --- a/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb +++ b/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb @@ -11,7 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=398b8832c6f840cfebd20ab2be6a3743" DEPENDS = "bzip2" DEPENDS_append_class-native = " bzip2-replacement-native" -SRC_URI = "https://launchpad.net/${BPN}/1.1/${PV}/+download/${BP}.tar.gz" +SRC_URI = "https://launchpad.net/${BPN}/1.1/${PV}/+download/${BP}.tar.gz \ + file://0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch \ + " SRC_URI[md5sum] = "4cb87da2dba05540afce162f34b3a9a6" SRC_URI[sha256sum] = "8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6" From patchwork Sat May 5 00:14:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135043 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658125lji; Fri, 4 May 2018 17:15:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpY/ykO6vmy1+I/dPdb9qtzorLRjPSAr3lphP68oqHVYvjI4AEdgzSl8EKrnpZ3awIRbsBJ X-Received: by 2002:a65:5c4d:: with SMTP id v13-v6mr23684622pgr.428.1525479328452; Fri, 04 May 2018 17:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479328; cv=none; d=google.com; s=arc-20160816; b=YMFUdELfneNZIyg/Kt7DbvYvtEw+MxJnjyK7k65g/G5nST44FR8kp8lt05Gam9JlsF P3eZiWLkImPGu30KSIZbOqJHqoW92hl2zbVZ+voKK6FdNwkWnFi7gxNWzHyfs/W3i+K5 RbTS9DNSzmSsHbjjwNtR+vQ3jvC329fMptpevLMGqW1MWHUshZAgnrSBsSTsPTiWwbqt 67tyjX+U7yBO/WNoeVM9YxsrBnerAQ53kFlPCVtj3SR1qBblOd5wZ4+Se10Aq4AYQ5Vf GXB6xRuXXw9vnImTSksthDLSJHvHI/tR6qhsDzwAcE8Eqo3zPTxWvtg/37eS2U47kYFS rB2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=sDqf7r5NvUjRmxd7xLHFuMpKeNlDx+OwXmhNynKeYzQ=; b=ausmREWariPR5NDVBtRnhwlRL3yfnMMVhOegOjVZdrcraDDIy3WPmkh94pB/yGy8pV 1R/EYHO9pBTV4QQ2mNphECdHNx81BqX3a167MvvxAXI8z1FlZXlQaPYR2lyrlKXXHiW2 qtc0+z989Q29V8C+mQQNbFuhP4+4yFAA7GC7I0FztBpPQ+sOfFlPCK7yK9zVgZ7wXuAM i2rfLjMDmXpP17L6sNbavydvb2AIV+iXLALT66ryePEiDvWJDdTyXKq+wPZFvz9WNwxh hDt5phqJD/JJTElr1xG7ul/QX1b8AuhavrbAMss3cCdJWac+az9/g7vDNWvhkuJB+otK KuZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hiJk2vbu; 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 c9-v6si15622213plz.501.2018.05.04.17.15.28; Fri, 04 May 2018 17:15:28 -0700 (PDT) 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=hiJk2vbu; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 70DCE74DE4; Sat, 5 May 2018 00:14:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id 5E5AA74D40 for ; Sat, 5 May 2018 00:14:30 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id m21-v6so16457819pgv.8 for ; Fri, 04 May 2018 17:14:31 -0700 (PDT) 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; bh=q+/KYeW1Dzw7V++BUU1meha0JXDuFNIF/nOxZY7iUNg=; b=hiJk2vbue+fghf9yAMYIvDLj0b+cqLA2MuNNZWSXNeKhz2D2cR7P1jhnkctxAag6Dd KuIZUakJiL9l8wiPsuiO/yyQHXkshPiWItF0E5/JB2Zg9UGJgsfopFEgBsjuDVahRc4m +U9XIiYJUK1yAeOyMwDZDLc2x+mwIKtmu6Oa8WmMvtvtp1HvsQKyrImIB2sJPnvpBVjH A22jq/5t4wJdbWMy62dMzsY4I9xSHpIybLg5zLGvPNsWyWBzASkhmmsqc2UPSgM30S+e u3lggTSBEzMufQIV9f9wMiXRb+TNNa/HQ3KLwrJN4j4Zgt1TKWQpDV65gdCBv4xvaUS6 WcmQ== 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; bh=q+/KYeW1Dzw7V++BUU1meha0JXDuFNIF/nOxZY7iUNg=; b=fycX34jGcW0dIfOlDCSuQ+H/tOpnYi7umhS4fqBLrhsDPDWP8hjcBO/Y/Em+AkHfOP 93PbrxpeZJIX05wStwIZ6u4TNJiVnG2Z6b/pC6RV+NucszMIpdCpD23xF1X6bPV6TCSO yBLwIo4gZiSbaaJolCRc1qsmMPvoBAG/Nr2O/kFN5YR34f2t1p+Mpys4EAzFUm1gF4p0 nRY0n8gmKDK2gPBmNueGRbyHIhU8KocTAC+oqKcjfvbTu4odPshwD71PYP+j/YjnGezc vyWW7w8mSOYPTmT7GvrTlUyTLx/CAyPdVMPyUQWmmodpYXGRC3DBVmfp4XVMGa3quRUk J2+g== X-Gm-Message-State: ALQs6tAoaXcTX0tCLDX0fTanFxPtVI9W/rAz8eCKa6+YQONPeWSnQkpG 9mJLhoTTdgeZ5ZyzjutgCo913g== X-Received: by 10.98.133.154 with SMTP id m26mr28513483pfk.247.1525479271131; Fri, 04 May 2018 17:14:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:30 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:01 -0700 Message-Id: <7190a8705c65669662f0581b7cc4e65798fc1a54.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 07/27] alsa-tools: Update to 1.1.6 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org License-Update: FSF address updated in hdsploader/COPYING and ld10k1/COPYING.LIB Fix built with clang along the way Package python dependent tools into a separate package Signed-off-by: Khem Raj --- ...served-user-defined-literal-warnings.patch | 28 +++++++++++++ .../alsa/alsa-tools/autotools.patch | 42 ++++++++++++------- ...lsa-tools_1.1.5.bb => alsa-tools_1.1.6.bb} | 25 ++++++++--- 3 files changed, 75 insertions(+), 20 deletions(-) create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch rename meta/recipes-multimedia/alsa/{alsa-tools_1.1.5.bb => alsa-tools_1.1.6.bb} (62%) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch b/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch new file mode 100644 index 0000000000..2290915eab --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch @@ -0,0 +1,28 @@ +From 2e48e4045e1e951433da0ca4b1e49798eedde14f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 24 Apr 2018 12:21:18 -0700 +Subject: [PATCH] Fix clang -Wreserved-user-defined-literal warnings + +| us428control.cc:66:18: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] +| printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n"); +| ^ + +Upstream-Status: Submitted [https://patchwork.kernel.org/patch/10360805/] +Signed-off-by: Khem Raj +--- + us428control/us428control.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/us428control/us428control.cc b/us428control/us428control.cc +index e839bf4..8cb3c42 100644 +--- a/us428control/us428control.cc ++++ b/us428control/us428control.cc +@@ -63,7 +63,7 @@ static void usage(void) + { + printf("Tascam US-428 Control\n"); + printf("version %s\n", VERSION); +- printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n"); ++ printf("usage: " PROGNAME " [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n"); + printf("mode is one of (us224, us428, mixxx)\n"); + } + /* diff --git a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch index 2e74963c89..c85834a593 100644 --- a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch +++ b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch @@ -1,3 +1,8 @@ +From b9a65bf3ba5628cfe8cfd2d10ce2dcf11a606775 Mon Sep 17 00:00:00 2001 +From: Dongxiao Xu +Date: Thu, 14 Jul 2011 15:40:36 +0800 +Subject: [PATCH] alsa-tools: Fix recipe build error. + Add parameters to autoreconf to support cross compile. Remove some sub-components which needs further recipe support. @@ -5,22 +10,17 @@ Signed-off-by: Dongxiao Xu Upstream-Status: Inappropriate [configuration] -diff -ruN alsa-tools-1.0.24.1-orig//ld10k1/gitcompile alsa-tools-1.0.24.1/ld10k1/gitcompile ---- alsa-tools-1.0.24.1-orig//ld10k1/gitcompile 2011-07-06 11:27:40.227665002 +0800 -+++ alsa-tools-1.0.24.1/ld10k1/gitcompile 2011-07-14 13:26:18.017665004 +0800 -@@ -1,6 +1,6 @@ - #!/bin/bash - --autoreconf -fi || exit 1 -+autoreconf $ACLOCAL_FLAGS -fi || exit 1 - export CFLAGS='-O2 -Wall -pipe -g' - echo "CFLAGS=$CFLAGS" - echo "./configure $@" -diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile ---- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800 -+++ alsa-tools-1.0.24.1/Makefile 2011-07-14 15:08:08.877665009 +0800 +--- + Makefile | 4 ++-- + ld10k1/gitcompile | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index c32bf25..1119372 100644 +--- a/Makefile ++++ b/Makefile @@ -1,8 +1,8 @@ - VERSION = 1.1.5 + VERSION = 1.1.6 TOP = . -SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \ +SUBDIRS = as10k1 envy24control \ @@ -30,3 +30,15 @@ diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile hwmixvolume hdajackretask hda-verb hdajacksensetest all: +diff --git a/ld10k1/gitcompile b/ld10k1/gitcompile +index 99429ac..20005d9 100755 +--- a/ld10k1/gitcompile ++++ b/ld10k1/gitcompile +@@ -1,6 +1,6 @@ + #!/bin/bash + +-autoreconf -fi || exit 1 ++autoreconf $ACLOCAL_FLAGS -fi || exit 1 + export CFLAGS='-O2 -Wall -pipe -g' + echo "CFLAGS=$CFLAGS" + echo "./configure $@" diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb similarity index 62% rename from meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb rename to meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb index 1be43aa6e7..e065eec6b8 100644 --- a/meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb +++ b/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb @@ -5,17 +5,19 @@ SECTION = "console/utils" LICENSE = "GPLv2 & LGPLv2+" DEPENDS = "alsa-lib ncurses glib-2.0" -LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" +LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ + file://ld10k1/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \ + " SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \ file://autotools.patch \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://makefile_no_gtk.patch', d)} \ file://gitcompile_hdajacksensetest \ + file://0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch \ " -SRC_URI[md5sum] = "3afb92eb1b4f2edc8691498e57c3ec78" -SRC_URI[sha256sum] = "bc3c6567de835223ee7d69487b8c22fb395a2e8c613341b0c96e6a5f6a2bd534" +SRC_URI[md5sum] = "5ca8c9437ae779997cd62fb2815fef19" +SRC_URI[sha256sum] = "d69c4dc2fb641a974d9903e9eb78c94cb0c7ac6c45bae664f0c9d6c0a1593227" inherit autotools-brokensep pkgconfig @@ -37,4 +39,17 @@ do_compile_prepend () { cp ${WORKDIR}/gitcompile_hdajacksensetest ${S}/hdajacksensetest/gitcompile } -FILES_${PN} += "${datadir}/ld10k1" +do_install_append() { + sed -i -e "s|/usr/bin/python2|/usr/bin/env python2|g" ${D}${bindir}/hwmixvolume +} + +PACKAGES =+ "${PN}-hwmixvolume" + +FILES_${PN}-hwmixvolume = "${bindir}/hwmixvolume" + +FILES_${PN} += "${datadir}/ld10k1 \ + ${datadir}/icons/hicolor \ + " + +RDEPENDS_${PN}-hwmixvolume += "python" + From patchwork Sat May 5 00:14:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135044 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658190lji; Fri, 4 May 2018 17:15:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrtYMK4bFhh9ekdrfoDtMZyhVEwI825lIXUCemNP3zZf1la8sS/EzNMDe2mePQ8/0jLlkB0 X-Received: by 10.98.198.21 with SMTP id m21mr24215949pfg.232.1525479335105; Fri, 04 May 2018 17:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479335; cv=none; d=google.com; s=arc-20160816; b=Xk/glTPRrsWpYG0ljFSlixaIqTWyKsS2x8MDdtXo1hfrE/QS8tIGJ38GsTt5lsYC3W bb5aNTH92Cp90elnX4fLMGk6fIVvWw8MDTr73rSNq0Tg9hIcQu/UGvhXANHlsTLpam0F tnIKrOLGVI5vLzZBihoNHE8Tc+ty/IHm0qGviX5H5IocTgMVKgec4+/Sdc6XkSmC5bEX ve2UZ+Fhz3y55mx6A17xQY1RI3uhcFuW5Z3O3ONHIBVroMtCU+B4Fpcx7Yz7LwaT5rxd C68X7LcPAnazUI465eKPRIiLlIHpEbMRfc2olEeaF0T9GVgugEXvTDksu0LF8UH7DhG7 QzXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=1nzTXs6yoGQJabP0taEPk2Q4coZeOglQ8rw8eLSrS0c=; b=G2v4u3QUVVvwTV0siLP1vwModQ22O0g9ZuEjom/dqSmVHVpW0gPECwKMSQ1k3NhlgM KyjdV7hUrb0xndi4AE3UzdLaaLZfZH3Y3NWnRPHWLzSRhaACLtJfAUQNzlaZ2UvFwOCD DBcASk6QJpreK5aFHYKdLTKDY5CB/gi6LrTfI882TuKkoad9oseiuJQrB46OeHBGsh5D WyeQBUVj2D+qErT4dSalAP5XsV/bfXRnhw8MfH3T24b6sQW3RghwMTfSOFDViCgBj4Io Q3gn1TMh5Lyuckpb3rcZ2BV/AnlpdMEO7Oz3rlRswhXvDqvzd0IpHAlIGPiAPW3US/yC FVig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Vl++Dk9c; 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 z16-v6si5931667plo.5.2018.05.04.17.15.34; Fri, 04 May 2018 17:15:35 -0700 (PDT) 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=Vl++Dk9c; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B9B1374DC5; Sat, 5 May 2018 00:14:50 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 6139374D59 for ; Sat, 5 May 2018 00:14:30 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id p12so18591174pff.13 for ; Fri, 04 May 2018 17:14:32 -0700 (PDT) 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; bh=9lX3AlVtWL3IZdO6m4lA+pA5fvtc11Vxgp2DniA4pB8=; b=Vl++Dk9cA36E7GKkz/2EYDDbTZb9OI/LJkzGZPdfXIq14oQENEhuLvNCxH88IMK5WG GaTo/tkVcJHnhn80zVVafKiKWFM4urs7/FMi4KMCXwTtpZ2YGgVXXfX0UQpH6C0/P039 sVWvgPJQMs0sxU6bGyKaZS335dlr9n/mGBQci72zSrWdJxsqVfFQmewxKquLTpywEYQl mpiGVlfCfLHUILahYefs1WRKMJGLrogpSmBuDnizJ0I++QD1D6tTVFxlGBpcIfysu0RH DqkIzsbi6osHwZ/K4CLnWMxFOTHQcwcYjVGi11zxLLy9eqJROW0+IEk1HZ/N4dHyXzKe eoQA== 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; bh=9lX3AlVtWL3IZdO6m4lA+pA5fvtc11Vxgp2DniA4pB8=; b=r9Wbbt5uhu5ciGNYB+St0pjWYOq56Zl5we9Tgdr2ErXeN1AOZlPhTzid9CarAKNUyn N225NIUJTuV6OjyZ4pbg+WkauKe4055MRUzSzREcpBbFpruDo5ZuLNvFfcqAIsgLfiPP 9L9E3ypN8BKRe310Wv1AU1NXLLX9o3gob0qgWTOrOz4rrwoIMAqcTDOXeKjE3aRCsPow OlR6sc5n6WMJ58NOUF/FVN3S1LE6aCp3B6xbvuR9lkPYuxK8UlbKwsTlMzgMMVi3l6QF Aj2l/BJB9L1rv4dokYieoW1qTZJ1QQOe4J+FtT+Wwbb0QOc+bPRZHSqmQ1JAzPeMtWsW EyKg== X-Gm-Message-State: ALQs6tDBYhFWLk9yWjTQmCinRdq3VKZXA2Bhv/RX7D4ju9MbWtdvRlhA xTmNg3vd619i6kEvklYAgc3m0w== X-Received: by 10.98.89.89 with SMTP id n86mr27413179pfb.217.1525479271999; Fri, 04 May 2018 17:14:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:31 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:02 -0700 Message-Id: <1250b11a55062f6d2253a9eba3d33deeb7139245.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 08/27] alsa-lib: Upgrade to 1.1.6 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org License-Update: FSF address updated Signed-off-by: Khem Raj --- .../alsa/{alsa-lib_1.1.5.bb => alsa-lib_1.1.6.bb} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.5.bb => alsa-lib_1.1.6.bb} (75%) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb similarity index 75% rename from meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb rename to meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb index c5bf107e5e..db77a01cf6 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb @@ -3,14 +3,15 @@ HOMEPAGE = "http://www.alsa-project.org" BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking" SECTION = "libs/multimedia" LICENSE = "LGPLv2.1 & GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ - file://src/socket.c;beginline=1;endline=26;md5=11ff89a8a7a4a690a5c78effe8159545" +LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ + file://src/socket.c;md5=dd1bc7f44872690224d89c1a9806e495;beginline=1;endline=26 \ + " BBCLASSEXTEND = "native nativesdk" SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2" -SRC_URI[md5sum] = "a2b465c3a5265d8a57f3ff39c6c4fc29" -SRC_URI[sha256sum] = "f4f68ad3c6da36b0b5241ac3c798a7a71e0e97d51f972e9f723b3f20a9650ae6" +SRC_URI[md5sum] = "2f981a8f7897c59ec2ddc44916d33788" +SRC_URI[sha256sum] = "5f2cd274b272cae0d0d111e8a9e363f08783329157e8dd68b3de0c096de6d724" inherit autotools pkgconfig From patchwork Sat May 5 00:14:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135045 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658269lji; Fri, 4 May 2018 17:15:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpd1GbtqqP1XG/4EUBJtMdb6YvJntEcTfIT9AcE1YOQ+hPBQQBohRFsNSCPSieTURFQAQGZ X-Received: by 2002:a17:902:8ec5:: with SMTP id x5-v6mr29580350plo.57.1525479342761; Fri, 04 May 2018 17:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479342; cv=none; d=google.com; s=arc-20160816; b=Fzw37RWnMuRtDLJ8S7ogIS/7UN3XTAdM/6PylTatKjgWLO6HSxvSrfmaDYkcAMSuVH eyAU8XSGJU3hPGQfbnX1QLAH5BWOU3tt4CQfB+DFDFfvE5+RFWPBuk4A8yjjJlGs9qUK cik5wa72oxekGntoYqiVefTPVwtFgsmNV1n8nU9GGe08feN2kBpipy/mghk0TQxqfo6y UM9g2ikNAtoacVKbivY/rxnn+z4INxxUdtJ2RuaDlNGlqG7LsDtH1LqiR6VBd4BPtiPu APlm+5efgCgFNBR6L2L6fyU67UmOeaLwqvQv9pIIlOcCFFPLHi+nYo5YpUOlJ9+LIsZG JWJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=eWkM0vTrVQ6OPwrTQdlBgHaJZ7B/9Gs6YYYA4lym6DQ=; b=U6aYq4ruvO+LBi3Z3/dwlmN3tIuCYFHwex+qWlwLUbwv6SHZyVg46DwYtMSqweEuwz ynop7l+XKTpVBxNlxNzcdQZwLF8jbIgjtxwFMidwu1V6/7xITiA22y7Jy6RZIeFuo4k/ Ikvj1Jh2J8U0aQswPPPtwO44TlCf4XkjolG0jnkyKQ2Ox1PCT1E5qiJoB7sHPkPVSQph Hyn2JxUbuagsIE5H0RbHI+1Nm9yTFAAOLANqXVmd5DeQ2w+16L6r+7bFf7BP4jh5suqB hCZuZ4s9D+NFdefMCsWRKcA4OT81Q/LVUS1BsNPOry08pbR5L8//DD2PvLJhFZcN52Wh sZEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=rSMxs10e; 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 u14-v6si16598212plq.439.2018.05.04.17.15.42; Fri, 04 May 2018 17:15:42 -0700 (PDT) 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=rSMxs10e; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 59BEB74DFD; Sat, 5 May 2018 00:14:52 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by mail.openembedded.org (Postfix) with ESMTP id F383174D40 for ; Sat, 5 May 2018 00:14:32 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id i194-v6so16456392pgd.0 for ; Fri, 04 May 2018 17:14:34 -0700 (PDT) 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; bh=N4oYEBYPk9k7iaDMgNKpjngdtkPkUqJfDGIrMxDdEBo=; b=rSMxs10eIXkWM2NmEvBclyVQlsUdJu6/JEcWK/oNiN4JS4bo1e2HfjpFqE4Dt95TmA Z7BLc5ouQLOoHDdrTL8DHhp+q6lzcSjsap0U2J/68Dsn+5MkcbtAlOoIHOUx69Vc0z0l lthgvO3+DVdgNoillp1MhroOvYRCRMC1DP7GVlrnBIjnDC65M/SWJRxppysHsw5CM6eG I0dCneerRtQT7lQ/zFUANWVgHs2gDiu2c1DlOde2p3QwLmqsxPRHuET1fsY1NJ459J9a QtU89YEZz1NxXk4K3abroOebOBQkJOSHSuZACRAHzi4deH6VvY5OW/HK381o/b/BXVC1 pjOw== 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; bh=N4oYEBYPk9k7iaDMgNKpjngdtkPkUqJfDGIrMxDdEBo=; b=PeoD/uXGD59tDe9w6TFu15kEA0x8xCV+87ckXDJUo1cKPqPf+zweTzCz086+ywyoHO FwFy2pK6a4VXHLbEYO6gZNSecUPxJhL5wGVjiHHZSBw78RGwmQ47Nj1FOEGXjwJaloRf YxCdEwd2629mhE+tWurfXi9yxCIDEJrsSnEjQa7hinLGgZbh5Yl+3HwglFBrNwZPV74l nN0lofXm51u4Zjnwf80K4zGJAkOck7lY+kk9BbqWLS+8VWnsgr+mmBdW6cQH9FMqwZVi tZybva1hXp+A1tPrVpfmScgExXP09j9RwRcEvyGjay7Jed6pPIS3tN8b81sytXZERQYC WcEw== X-Gm-Message-State: ALQs6tDqB9+5wYyqbRc+qlkcWQQen631XcQlLxFv+C4Pir17z14b91nW zOcq+wXREEmWCtLwZ3N9yXw+cQ== X-Received: by 2002:a17:902:462:: with SMTP id 89-v6mr29303163ple.300.1525479273471; Fri, 04 May 2018 17:14:33 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:32 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:03 -0700 Message-Id: <7328af9b771d35aecdad13d2a2c71902d99874ee.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 09/27] glibc: Drop obsolete rpc and libnsl 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org use libnsl2 and rpcsvc-proto packages Signed-off-by: Khem Raj --- meta/classes/libc-common.bbclass | 4 - .../distro/include/default-distrovars.inc | 2 +- meta/conf/local.conf.sample.extended | 2 +- .../glibc/cross-localedef-native_2.27.bb | 1 - meta/recipes-core/glibc/glibc-initial.inc | 4 +- meta/recipes-core/glibc/glibc-package.inc | 5 +- meta/recipes-core/glibc/glibc.inc | 4 - .../0021-eglibc-Install-PIC-archives.patch | 123 ------------------ meta/recipes-core/glibc/glibc_2.27.bb | 18 +-- 9 files changed, 7 insertions(+), 156 deletions(-) delete mode 100644 meta/recipes-core/glibc/glibc/0021-eglibc-Install-PIC-archives.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass index 9ea2c03749..0e351b6746 100644 --- a/meta/classes/libc-common.bbclass +++ b/meta/classes/libc-common.bbclass @@ -1,9 +1,5 @@ do_install() { oe_runmake install_root=${D} install - for r in ${rpcsvc}; do - h=`echo $r|sed -e's,\.x$,.h,'` - install -m 0644 ${S}/sunrpc/rpcsvc/$h ${D}/${includedir}/rpcsvc/ - done install -Dm 0644 ${WORKDIR}/etc/ld.so.conf ${D}/${sysconfdir}/ld.so.conf install -d ${D}${localedir} make -f ${WORKDIR}/generate-supported.mk IN="${S}/localedata/SUPPORTED" OUT="${WORKDIR}/SUPPORTED" diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 9620ad48de..5aa3434ec7 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc @@ -14,7 +14,7 @@ DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth ext2 irda largefile pcmcia u DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code \ - libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \ + libc-memusage libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams \ libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ libc-posix-wchar-io" DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}" diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended index 5d6c37dbcf..e698acb84b 100644 --- a/meta/conf/local.conf.sample.extended +++ b/meta/conf/local.conf.sample.extended @@ -32,7 +32,7 @@ #DISTRO_FEATURES_LIBC = "ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ # libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ # libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-locales libc-locale-code \ -# libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \ +# libc-memusage libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams \ # libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ # libc-posix-wchar-io" diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.27.bb b/meta/recipes-core/glibc/cross-localedef-native_2.27.bb index 5e92eb71d5..6a26376ac2 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.27.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.27.bb @@ -32,7 +32,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0018-eglibc-Help-bootstrap-cross-toolchain.patch \ file://0019-eglibc-Clear-cache-lines-on-ppc8xx.patch \ file://0020-eglibc-Resolve-__fpscr_values-on-SH4.patch \ - file://0021-eglibc-Install-PIC-archives.patch \ file://0022-eglibc-Forward-port-cross-locale-generation-support.patch \ file://0023-Define-DUMMY_LOCALE_T-if-not-defined.patch \ file://archive-path.patch \ diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc index b86e2fb2db..28f006fc7f 100644 --- a/meta/recipes-core/glibc/glibc-initial.inc +++ b/meta/recipes-core/glibc/glibc-initial.inc @@ -13,9 +13,9 @@ do_configure () { cfgscript=`python3 -c "import os; print(os.path.relpath('${S}', '.'))"`/configure $cfgscript --host=${TARGET_SYS} --build=${BUILD_SYS} \ --prefix=/usr \ - --without-cvs --disable-sanity-checks \ + --disable-sanity-checks \ --with-headers=${STAGING_DIR_TARGET}${includedir} \ - --enable-hacker-mode --enable-addons + --enable-hacker-mode } do_compile () { diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 728bc5381f..ae3f2f63a5 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc @@ -28,7 +28,7 @@ FILES_sln = "${base_sbindir}/sln" FILES_${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/*.o" FILES_libsotruss = "${libdir}/audit/sotruss-lib.so" FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}" -FILES_${PN}-dev += "${bindir}/rpcgen ${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal" +FILES_${PN}-dev += "${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal" FILES_${PN}-staticdev += "${libdir}/*.a ${base_libdir}/*.a" FILES_nscd = "${sbindir}/nscd* ${sysconfdir}/init.d/nscd ${systemd_unitdir}/system/nscd* ${sysconfdir}/tmpfiles.d/nscd.conf \ ${sysconfdir}/nscd.conf ${sysconfdir}/default/volatiles/98_nscd ${localstatedir}/db/nscd" @@ -51,7 +51,7 @@ DESCRIPTION_glibc-extra-nss = "glibc: nis, nisplus and hesiod search services." SUMMARY_ldd = "print shared library dependencies" DESCRIPTION_ldd = "${bindir}/ldd prints shared library dependencies for each program or shared library specified on the command line." SUMMARY_${PN}-utils = "Miscellaneous utilities provided by glibc" -DESCRIPTION_${PN}-utils = "Miscellaneous utilities including getconf, iconv, locale, gencat, rpcgen, ..." +DESCRIPTION_${PN}-utils = "Miscellaneous utilities including getconf, iconv, locale, gencat, ..." DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through PLTs" DESCRIPTION_tzcode = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" @@ -71,7 +71,6 @@ do_install_append () { if [ -f ${D}${bindir}/mtrace ]; then sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' -e '2s,exec.*perl,exec ${USRBINPATH}/env perl,' ${D}${bindir}/mtrace fi - rm -rf ${D}${includedir}/rpcsvc/rquota* # Info dir listing isn't interesting at this point so remove it if it exists. if [ -e "${D}${infodir}/dir" ]; then rm -f ${D}${infodir}/dir diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index ce1222be68..3db55f926f 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -33,8 +33,6 @@ siteconfig_do_siteconfig_gencache_prepend = " \ # nptl needs unwind support in gcc, which can't be built without glibc. DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial libgcc-initial linux-libc-headers virtual/${TARGET_PREFIX}libc-initial" -# nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this -#RDEPENDS_${PN} += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}" CRYPTPROVIDES = "virtual/crypt" CRYPTPROVIDES_class-nativesdk = "" @@ -80,8 +78,6 @@ do_configure_prepend() { sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in } -GLIBC_ADDONS ?= "nptl,libidn" - # Enable backtrace from abort() do_configure_append_arm () { echo "CFLAGS-abort.c = -fasynchronous-unwind-tables" >> ${B}/configparms diff --git a/meta/recipes-core/glibc/glibc/0021-eglibc-Install-PIC-archives.patch b/meta/recipes-core/glibc/glibc/0021-eglibc-Install-PIC-archives.patch deleted file mode 100644 index 530f4e1087..0000000000 --- a/meta/recipes-core/glibc/glibc/0021-eglibc-Install-PIC-archives.patch +++ /dev/null @@ -1,123 +0,0 @@ -From c1beab8a11985f96f5eb644e7103d343b705afc6 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 18 Mar 2015 01:57:01 +0000 -Subject: [PATCH 21/27] eglibc: Install PIC archives - -Forward port from eglibc - -2008-02-07 Joseph Myers - - * Makerules (install-extras, install-map): New variables. - (installed-libcs): Add libc_pic.a. - (install-lib): Include _pic.a files for versioned shared - libraries. - (install-map-nosubdir, install-extras-nosubdir): Add rules for - installing extra files. - (install-no-libc.a-nosubdir): Depend on install-map-nosubdir and - install-extras-nosubdir. - -2008-04-01 Maxim Kuvyrkov - - * Makerules (install-lib): Don't install libpthread_pic.a. - (install-map): Don't install libpthread_pic.map. - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - Makerules | 42 ++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 40 insertions(+), 2 deletions(-) - -diff --git a/Makerules b/Makerules -index ef6abeac6d..eeaa667f49 100644 ---- a/Makerules -+++ b/Makerules -@@ -778,6 +778,9 @@ ifeq ($(build-shared),yes) - $(common-objpfx)libc.so: $(common-objpfx)libc.map - endif - common-generated += libc.so libc_pic.os -+ifndef subdir -+install-extras := soinit.o sofini.o -+endif - ifdef libc.so-version - $(common-objpfx)libc.so$(libc.so-version): $(common-objpfx)libc.so - $(make-link) -@@ -1029,6 +1032,7 @@ endif - - install: check-install-supported - -+installed-libcs := $(installed-libcs) $(inst_libdir)/libc_pic.a - install: $(installed-libcs) - $(installed-libcs): $(inst_libdir)/lib$(libprefix)%: lib $(+force) - $(make-target-directory) -@@ -1057,6 +1061,22 @@ versioned := $(strip $(foreach so,$(install-lib.so),\ - install-lib.so-versioned := $(filter $(versioned), $(install-lib.so)) - install-lib.so-unversioned := $(filter-out $(versioned), $(install-lib.so)) - -+# Install the _pic.a files for versioned libraries, and corresponding -+# .map files. -+# libpthread_pic.a breaks mklibs, so don't install it and its map. -+install-lib := $(install-lib) $(install-lib.so-versioned:%.so=%_pic.a) -+install-lib := $(filter-out libpthread_pic.a,$(install-lib)) -+# Despite having a soname libhurduser and libmachuser do not use symbol -+# versioning, so don't install the corresponding .map files. -+ifeq ($(build-shared),yes) -+install-map := $(patsubst %.so,%.map,\ -+ $(foreach L,$(install-lib.so-versioned),$(notdir $L))) -+install-map := $(filter-out libhurduser.map libmachuser.map libpthread.map,$(install-map)) -+ifndef subdir -+install-map := $(install-map) libc.map -+endif -+endif -+ - # For versioned libraries, we install three files: - # $(inst_libdir)/libfoo.so -- for linking, symlink or ld script - # $(inst_slibdir)/libfoo.so.NN -- for loading by SONAME, symlink -@@ -1311,9 +1331,22 @@ $(addprefix $(inst_includedir)/,$(headers-nonh)): $(inst_includedir)/%: \ - endif # headers-nonh - endif # headers - -+ifdef install-map -+$(addprefix $(inst_libdir)/,$(patsubst lib%.map,lib%_pic.map,$(install-map))): \ -+ $(inst_libdir)/lib%_pic.map: $(common-objpfx)lib%.map $(+force) -+ $(do-install) -+endif -+ -+ifdef install-extras -+$(addprefix $(inst_libdir)/libc_pic/,$(install-extras)): \ -+ $(inst_libdir)/libc_pic/%.o: $(elf-objpfx)%.os $(+force) -+ $(do-install) -+endif -+ - .PHONY: install-bin-nosubdir install-bin-script-nosubdir \ - install-rootsbin-nosubdir install-sbin-nosubdir install-lib-nosubdir \ -- install-data-nosubdir install-headers-nosubdir -+ install-data-nosubdir install-headers-nosubdir install-map-nosubdir \ -+ install-extras-nosubdir - install-bin-nosubdir: $(addprefix $(inst_bindir)/,$(install-bin)) - install-bin-script-nosubdir: $(addprefix $(inst_bindir)/,$(install-bin-script)) - install-rootsbin-nosubdir: \ -@@ -1326,6 +1359,10 @@ install-data-nosubdir: $(addprefix $(inst_datadir)/,$(install-data)) - install-headers-nosubdir: $(addprefix $(inst_includedir)/,$(headers)) - install-others-nosubdir: $(install-others) - install-others-programs-nosubdir: $(install-others-programs) -+install-map-nosubdir: $(addprefix $(inst_libdir)/,\ -+ $(patsubst lib%.map,lib%_pic.map,$(install-map))) -+install-extras-nosubdir: $(addprefix $(inst_libdir)/libc_pic/,\ -+ $(install-extras)) - - # We need all the `-nosubdir' targets so that `install' in the parent - # doesn't depend on several things which each iterate over the subdirs. -@@ -1335,7 +1372,8 @@ install-%:: install-%-nosubdir ; - - .PHONY: install install-no-libc.a-nosubdir - install-no-libc.a-nosubdir: install-headers-nosubdir install-data-nosubdir \ -- install-lib-nosubdir install-others-nosubdir -+ install-lib-nosubdir install-others-nosubdir \ -+ install-map-nosubdir install-extras-nosubdir - ifeq ($(build-programs),yes) - install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \ - install-rootsbin-nosubdir install-sbin-nosubdir \ --- -2.16.1 - diff --git a/meta/recipes-core/glibc/glibc_2.27.bb b/meta/recipes-core/glibc/glibc_2.27.bb index c814798bbd..d3bdeaefc3 100644 --- a/meta/recipes-core/glibc/glibc_2.27.bb +++ b/meta/recipes-core/glibc/glibc_2.27.bb @@ -35,7 +35,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0018-eglibc-Help-bootstrap-cross-toolchain.patch \ file://0019-eglibc-Clear-cache-lines-on-ppc8xx.patch \ file://0020-eglibc-Resolve-__fpscr_values-on-SH4.patch \ - file://0021-eglibc-Install-PIC-archives.patch \ file://0022-eglibc-Forward-port-cross-locale-generation-support.patch \ file://0023-Define-DUMMY_LOCALE_T-if-not-defined.patch \ file://0024-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch \ @@ -76,14 +75,11 @@ COMPATIBLE_HOST_libc-musl_class-target = "null" GLIBCPIE ??= "" EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ - --without-cvs --disable-profile \ + --disable-profile \ --disable-debug --without-gd \ --enable-clocale=gnu \ - --enable-add-ons=libidn \ --with-headers=${STAGING_INCDIR} \ --without-selinux \ - --enable-obsolete-rpc \ - --enable-obsolete-nsl \ --enable-tunables \ --enable-bind-now \ --enable-stack-protector=strong \ @@ -113,22 +109,10 @@ do_configure () { CPPFLAGS="" oe_runconf } -rpcsvc = "bootparam_prot.x nlm_prot.x rstat.x \ - yppasswd.x klm_prot.x rex.x sm_inter.x mount.x \ - rusers.x spray.x nfs_prot.x rquota.x key_prot.x" - do_compile () { # -Wl,-rpath-link /lib in LDFLAGS can cause breakage if another glibc is in staging unset LDFLAGS base_do_compile - ( - cd ${S}/sunrpc/rpcsvc - for r in ${rpcsvc}; do - h=`echo $r|sed -e's,\.x$,.h,'` - rm -f $h - ${B}/sunrpc/cross-rpcgen -h $r -o $h || bbwarn "${PN}: unable to generate header for $r" - done - ) echo "Adjust ldd script" if [ -n "${RTLDLIST}" ] then From patchwork Sat May 5 00:14:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135046 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658353lji; Fri, 4 May 2018 17:15:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo4H6zKUt5LGeMFASBncKq7Mmz1KRyLNgIL07G5nB3y3LdbM7VFFpH1KqoWP+b+OLDu6m2o X-Received: by 10.167.133.81 with SMTP id y17mr14217080pfn.163.1525479350096; Fri, 04 May 2018 17:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479350; cv=none; d=google.com; s=arc-20160816; b=v/wdGvyVSBW6dVTD72RZ8HL08CSW80+YRUCDpIQE0gk/kaGbp2NGdyMDfjaX6+0l+e 4mnjcSpd04l+HL1Q2jCE4tojYzVNOBK9Sl3CvVzlNJWdIfWYlKqcTJA79w7aOxRTB3Ni 9hQ4DLrTL8pnWQ4LAi0WWceaJ1WwCJEJHnfLOVWodCbSMCPbSvYMhCAII7tnu+z4Wwx7 qcoQc23U8XlDCHl5h87L+0GosF/ypOWafCYnQarktZAj5MRhUYoDwjF+EBZkuT8RkdNG qiPXR7pBe3NzskLlkkT0O9hqpdaUcjWLN+EO0tJgmqpsIjGBXqv4t+Ma+PIlMBfyg0Oa ZYHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=tiKHC+GqmWPBoSBthROIZXz/95zbSIb0+jL1ElNYb0s=; b=Y84kkjYeCS2Z+1NxUt3nIS3YPWeuSNj3twz1KyzM8iEHRO5vEz1/69/YjUqnzvOIky yqaMSC0NmS9qVHycJJbmHa+xuPeTRHOGpeMYxJAh2ydWadeJQUoGWfYtryRnQxFgvIha Uc8afI/tvl2+dEoG1WUTxCQVYMa5WGGwbOmqjZru5SPlkHNiVAAsu9hlKM0TDHNF4iGk sclWh99RYytkveRf3llTVYCJJnIW/zIgkVQr4/m+Zsbo9zN6muPmUAV9v7dtBlRECp/d 8NZm7zl9l0Yt7RADLWYObzfJ2F5VLv/TtoUn8j1752YK9jbF5raSCdNPSzQFp/bs2s0r ezYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dLy7oVZZ; 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 v2-v6si13893011pgf.75.2018.05.04.17.15.49; Fri, 04 May 2018 17:15:50 -0700 (PDT) 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=dLy7oVZZ; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9FAF074E03; Sat, 5 May 2018 00:14:53 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com [209.85.192.170]) by mail.openembedded.org (Postfix) with ESMTP id 1C93A74D40 for ; Sat, 5 May 2018 00:14:33 +0000 (UTC) Received: by mail-pf0-f170.google.com with SMTP id f189so18601871pfa.7 for ; Fri, 04 May 2018 17:14:35 -0700 (PDT) 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; bh=VfvZYDKxu/cRYZN+VGTmlV5MldGMHzij7IIo3ciDtbw=; b=dLy7oVZZcUTTzBL0E5gjT6d8ZHb5TKHhHSq+e2Gff110hROh4gFYi6/Z5bh+hPdVlW Wa4/EhPGIONpNWymtxM8/d6x7z79FNDC/xPnZ3VQdQotfGKIit4ZkP3qjGsjXyJtBFr+ 6LKtA0ww8kNJIDzxB2UmXFv4PWHvW03AJcrlkxJn73gTeF3d6unHDueJnm/n7XIUBkff 11dad2Rt8nNBiH2ut+6IlmL+KWJ6Wfn0gAVsdunmcdUUZt1+V3rxwadlRGCpBQpF/WoE NBgI4C8sXGDBxB3WvVJv7DrJDcIl6BGTgE3kS253KAUdqb4w9F+H5gcildgIQ7l2pHMk j1nA== 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; bh=VfvZYDKxu/cRYZN+VGTmlV5MldGMHzij7IIo3ciDtbw=; b=NQzImc6hHC1CEddzIuDK0TVXyHqunpLKWj7CVk6+S/M01P9yOupP3IMiWqynp84NHW eW/MxPl2wwqupeCX2tPYUnUU01W8dEmoWe5W4pM7NY/mScPM9SkTfR5bvWCExroWUwZ0 ICG7+GxOLY0iAI0HQMto1tBYp4wj8UGyY0t+4qsBodLudB4QnchT6f5i3l92lRFUOoHL MF58md1cFwSJ/3JfmPMELnKrYgV17odI7CwgyRq7k1vv6VsHc18C9xRBQ0hHzqFqu+BX hF8CFXcSKT+7e8fJkgqvEw9KjglINpMsIWKnttbdW95hnuLrOrjS/JP+4rwvowXitPDa 5vxQ== X-Gm-Message-State: ALQs6tAdKa6kczm+qX7tipfzwwIsL0QDD38qXKXLw4n9aaIHyL0t7zXB dvhYYFppiGhO1Y0TGBMNXoDtrA== X-Received: by 2002:a17:902:76c3:: with SMTP id j3-v6mr5327530plt.376.1525479274756; Fri, 04 May 2018 17:14:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:33 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:04 -0700 Message-Id: <983014617fdb15bb4a7be7936cd928f66e7fc7bd.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 10/27] rpcsvc-proto: Add recipe 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/conf/distro/include/maintainers.inc | 1 + .../rpcsvc-proto/rpcsvc-proto.bb | 37 +++++++++++++++++++ .../0001-Use-cross-compiled-rpcgen.patch | 26 +++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb create mode 100644 meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 4fb9fc23d1..d7d0c1e2da 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -613,6 +613,7 @@ RECIPE_MAINTAINER_pn-resolvconf = "Chen Qi " RECIPE_MAINTAINER_pn-rgb = "Armin Kuster " RECIPE_MAINTAINER_pn-rpcbind = "Hongxu Jia " RECIPE_MAINTAINER_pn-rng-tools = "Maxin B. John " +RECIPE_MAINTAINER_pn-rpcsvc-proto = "Khem Raj " RECIPE_MAINTAINER_pn-rpm = "Mark Hatle " RECIPE_MAINTAINER_pn-rpmresolve = "Mark Hatle " RECIPE_MAINTAINER_pn-rsync = "Yi Zhao " diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb new file mode 100644 index 0000000000..fdeafe283a --- /dev/null +++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb @@ -0,0 +1,37 @@ +# Copyright (C) 2018 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "rpcsvc protocol definitions from glibc" + +DESCRIPTION = "This package contains rpcsvc proto.x files from glibc, which are\ +missing in libtirpc. Additional it contains rpcgen, which is needed\ +to create header files and sources from protocol files.\ +This package is only needed, if glibc is installed without the\ +deprecated sunrpc functionality and libtirpc should replace it." + +HOMEPAGE = "https://github.com/thkukuk/rpcsvc-proto" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=0daaf958d5531ab86169ec6e275e1517" +SECTION = "libs" +DEPENDS += "rpcsvc-proto-native" + +PV = "1.3.1+git${SRCPV}" + +SRCREV = "abcf24a09665b3def0f54c87d2acd4796de5d83a" + +SRC_URI = "git://github.com/thkukuk/${BPN} \ + file://0001-Use-cross-compiled-rpcgen.patch \ + " + +S = "${WORKDIR}/git" + +inherit autotools + +EXTRA_OEMAKE_class-native = " -C rpcgen" + +do_install_append() { + # They come from quota recipe + rm -rf ${D}${includedir}/rpcsvc/rquota.[hx] +} + +BBCLASSEXTEND += "native nativesdk" diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch new file mode 100644 index 0000000000..4ee4940295 --- /dev/null +++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch @@ -0,0 +1,26 @@ +From de9345207beb71e4d5b6b40b52cac4ebd2e3858c Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 27 Apr 2018 23:23:20 -0700 +Subject: [PATCH] Use cross compiled rpcgen + +Upstream-Status: Inappropriate [OE-Specific] + +Signed-off-by: Khem Raj +--- + rpcsvc/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/rpcsvc/Makefile.am b/rpcsvc/Makefile.am +index 83867c0..4753242 100644 +--- a/rpcsvc/Makefile.am ++++ b/rpcsvc/Makefile.am +@@ -12,5 +12,5 @@ nodist_rpcsvc_HEADERS = klm_prot.h nlm_prot.h rstat.h spray.h \ + nfs_prot.h rquota.h sm_inter.h + + %.h: %.x +- $(top_builddir)/rpcgen/rpcgen -h -o $@ $< ++ rpcgen -h -o $@ $< + +-- +2.17.0 + From patchwork Sat May 5 00:14:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135047 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658414lji; Fri, 4 May 2018 17:15:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr5NTUNdUfJgPoOMy2OE7Tj6GkJIUc3YOw1jQN/Y6pqkhHNyaZl4slQvGTCBCw332WFpNsG X-Received: by 10.167.128.198 with SMTP id a6mr7363565pfn.120.1525479356813; Fri, 04 May 2018 17:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479356; cv=none; d=google.com; s=arc-20160816; b=KUDGK6GSydPNMetBLYlwlJf0m2+tGe1V0xpU/UvP3BEI4MjWfd/5cZiNNgob2cpkzz hXqegD13CrMYJ7DBjqrAyzMTahrg6Rtykwi1lzQtO+3t3ffEuwR4EUCGQCIfSKa0gc2y At9FKAvhuHkMuxvhNvnd5VgWG679+yePXgStMdhba6+nSJlFjdTf5Tg1NlTAaUT0adWn qkOSXhVbvpRZD8RuxIVEAE4d3yvdAaIIx6+6AwKnKCZixYtPz2+ArZ/tqwVKJxvFZm9Y PemCg8dtbeuUwCammfYqS2m9q+tNgQj6OdD/Eanj35LCHLw8udrdrLeP2P2PIknXoxeU /Kvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=FNT4YgHhtFj7OqUSwqvVtqW3irpkZxiB3hF/wEwKM54=; b=X+ZRo+m3mXTVJTmNoDXnRgTZu/JPQR+YPacSlq7yj8QCsDc/lATfd+RRuGo1VaO3FT cBLLvtwXAigitasu1fJU9MxZz1k6JuWqe0Q+wuGrqySc+Oyc9dfuuhI5OYN1+aZBmRW9 lg71dZhCQ6hkZ1Qsi4QSCmqmYxS60tmNl3/BNoTGIa8u33BWhlMTpuz5qRILsEuLzurh F0Y3+wkoN6sBE+BMvZx8U3ijEa6yHQ54AyDmNle2itVpCLCfNLw4ayVQqp8Adf3OZAJS Ym6GvMAebc/xyaDr0XsblxTrEFn8q5mgRBJoJWRsSQNVuhPk7botlYJuyLHbWS30nipg KHOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=JQcd88VM; 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 a16-v6si14148400pgn.39.2018.05.04.17.15.56; Fri, 04 May 2018 17:15:56 -0700 (PDT) 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=JQcd88VM; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id BFFF174DF2; Sat, 5 May 2018 00:14:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by mail.openembedded.org (Postfix) with ESMTP id 5E06D74D40 for ; Sat, 5 May 2018 00:14:34 +0000 (UTC) Received: by mail-pf0-f169.google.com with SMTP id f20so9817049pfn.0 for ; Fri, 04 May 2018 17:14:36 -0700 (PDT) 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; bh=82ROawBEAeIENCx9rmrG/1VD2PG8n9XJ8SMT+J0mAQM=; b=JQcd88VMzh7DngRrshqQEqkQ8W6Xuuma7lO8OxN9Bv5YwY385jBifxeflg1KWn8N0a uSKBMoMwCyUjNLaieoApwpEqb6u378nGq+lMSJV1heA4L46zjWpdIKh4PrQmzrakyUT7 vwZv3xZEKhZf5ptn36i1u0leRj/qdpLCaKUXPbJy9/7Ec/emLEm8xyhCMkxIsR3/QTE9 wFtpKhlRsVv34mnnOwcZMcXLzys5H97iT4rGEvIvObhu9P7on5SCz5nYeM8xxvWoIYbd KB71RKr8Jcp+5MyaWHoTwNbiagvJQvOwEj1IUmbWw+sT/k3rial3461tO/JEka6hj+wV JP3w== 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; bh=82ROawBEAeIENCx9rmrG/1VD2PG8n9XJ8SMT+J0mAQM=; b=UGfKxCgoI6RAFuJc5mscepk+T6GtL6IbkiRelw9i2jiLaXy/jtYVuOsPzsV/SXo8qV eE4inrj1JIZIEB8dSUWzMuW0S8pM7F8oS5jnrW0Xxy64PlVxDLvmCEP4ocA3S80LvhoD /PwcDZ7KA/srfRU/ewlDxwSg1xC0LTTAfREkOgxyJMIHHKdwcMKxj5t4eGRYFQ165fn9 xiwzmWf5jGDIexhwln/KjDiH+u+O3VvZXVJCNp55DvpBC/5opgc2wY16KGyDWQJtM6CQ Y76t+7wmEAy/FKgjy5vyPkY2qqON42X6b9T0CklHQZybpvpqLAQC3GtnFgKdsr65BiqE 0i5g== X-Gm-Message-State: ALQs6tClULx18meS9wBiTK8h5o4sY5hQKmzn9hCecyzGHQG8XUKrACa3 DLu3NSUTXv21Kz1Y1JF20T+YmA== X-Received: by 2002:a17:902:6041:: with SMTP id a1-v6mr29451062plt.59.1525479275954; Fri, 04 May 2018 17:14:35 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:34 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:05 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 11/27] libnss-nis: Add recipe 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This will substitute the glibc nis module which has been removed Skip for non-glibc systems Signed-off-by: Khem Raj --- meta/conf/distro/include/maintainers.inc | 1 + .../recipes-extended/libnss-nis/libnss-nis.bb | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-extended/libnss-nis/libnss-nis.bb -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index d7d0c1e2da..d8fc181879 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -349,6 +349,7 @@ RECIPE_MAINTAINER_pn-libnl = "Alexander Kanavin " RECIPE_MAINTAINER_pn-libnotify = "Maxin B. John " RECIPE_MAINTAINER_pn-libnsl2 = "Khem Raj " RECIPE_MAINTAINER_pn-libnss-mdns = "Alexander Kanavin " +RECIPE_MAINTAINER_pn-libnss-nis = "Khem Raj " RECIPE_MAINTAINER_pn-libogg = "Maxin B. John " RECIPE_MAINTAINER_pn-libomxil = "Maxin B. John " RECIPE_MAINTAINER_pn-libowl = "Maxin B. John " diff --git a/meta/recipes-extended/libnss-nis/libnss-nis.bb b/meta/recipes-extended/libnss-nis/libnss-nis.bb new file mode 100644 index 0000000000..e0f69b02ef --- /dev/null +++ b/meta/recipes-extended/libnss-nis/libnss-nis.bb @@ -0,0 +1,36 @@ +# Copyright (C) 2018 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "NSS module for glibc, to provide NIS support for glibc" + +DESCRIPTION = "This package contains the NSS NIS plugin for glibc.\ +This code was formerly part of glibc, but is now standalone to\ +be able to link against TI-RPC for IPv6 support." + +HOMEPAGE = "https://github.com/thkukuk/libnss_nis" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +SECTION = "libs" +DEPENDS += "libtirpc libnsl2" + +PV = "3.0+git${SRCPV}" + +SRCREV = "d4aea48657a8e90d7922574b8021ee03915a36cb" + +SRC_URI = "git://github.com/thkukuk/libnss_nis \ + " + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +BBCLASSEXTEND += "native nativesdk" +# +# We will skip parsing this packagegeoup for non-glibc systems +# +python __anonymous () { + if d.getVar('TCLIBC') != "glibc": + raise bb.parse.SkipRecipe("incompatible with %s C library" % + d.getVar('TCLIBC')) +} + From patchwork Sat May 5 00:14:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135048 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658482lji; Fri, 4 May 2018 17:16:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq1sDMcGSAx2kQqsPcGWEqQu3Ga9TmyWQviYbq7hQqVbJ8X2SVhTdZnO/gsT6JhbQ9vzJzB X-Received: by 2002:a17:902:6e08:: with SMTP id u8-v6mr29465422plk.96.1525479363128; Fri, 04 May 2018 17:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479363; cv=none; d=google.com; s=arc-20160816; b=gJ6iSJuKLT7NoMg0CmUsq7EBluQeGRjTm2VvqZSzm19pDygI2vjVgpwUf3VHAJDEi9 MCh435B5x8d+7q0DAa9sGU9n1rkwmESy+BDlHx9k2+ePtFR0pH8yMSwChhko1BFqmDhL r265tycAF1glJesoCDyYWHPgfF7cJKBN0ShvJQPiD6yQH4z2zVW6jE2U2VFvLd9f21mB VeDIIVqgVGzfeaS7sJSFDvT+Ot0Gcy9cbE2ik6vRx0h5Iirogxc1+yX1fkhoDlMemobS bqLYskyZnEJtYXyQGPwKxYkQlKyREgFSJVCuHhTAE6QeotD66RelVAk7Dg5QLXgwxBA7 ZmxQ== 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 :references:in-reply-to:mime-version:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=EYS4FOXE2q+tNsw0cUvzheGGdvoXn4su1XOrRQXAKuc=; b=A9x9nQ3XOZIKISI94cPkar6h1lfOcG4SBLYdoLitecT1zenjtnfnUi2qLJEfjs2Zz9 XZnG3oMW+2KqIFAb2QaRvgAwtVLy2YHddptbuLjgjcIDIYOFsT0DBweK29iJYgD5gE1V XkiSfEDzJuh1kvQtAWNME1FZqCvAVtbv3J1b1aBfizRPKZZcBeLk5fL4PnR7erjnYKvd WWy0Oym2XkXptu1uMJoNFrUXUSZLMQgewoz0h2ub5UOq+gDqNst1GkHeUQyXREJIDavU cEB6aBDsbpyI+jvlVICTc9g/BLXZCcGo6jY9MqEraWgpRr6c8WALRrq9RdJOVZohexfH NblA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=f/Ohkc/O; 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 t11-v6si13822561pgn.337.2018.05.04.17.16.02; Fri, 04 May 2018 17:16:03 -0700 (PDT) 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=f/Ohkc/O; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D727C74E04; Sat, 5 May 2018 00:14:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by mail.openembedded.org (Postfix) with ESMTP id 3D4C874D40 for ; Sat, 5 May 2018 00:14:36 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id o76so18609455pfi.5 for ; Fri, 04 May 2018 17:14:38 -0700 (PDT) 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:in-reply-to :references:content-transfer-encoding; bh=tPCckBkMoG8c5rS+trzIYtKs0XGvCO4IZdx3S4mvics=; b=f/Ohkc/OTczTnW+LVJoBi1hQAstbvSZVGDvfA1d81Eoi6MXAhWl3l3YBs/eA2q01IX eJtfN/uW4YCnHgU+/ogs0XFXnD8BUlXx43XZKD/buFT7qveMS0B5hCYYqmyoflrj4Ylb y76a7KWauh8KPugs8cExMsHwSMDn77hWF/qo8/hakmHQG/KY0Xm93lfSZqnDqp7MlYDR voq4X07rDxtCDsnC73uPXelO91UqR1RrDzehN8gtLvYIjOpsxwoJphn02keHiXg2rnR+ acYSiaJbv4wEb9cpaYNz6ip0C6Zi8geU1zb32xoqLQutJ0Y4qGHgjcou3ozQ1nrW+AeS d/fg== 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 :in-reply-to:references:content-transfer-encoding; bh=tPCckBkMoG8c5rS+trzIYtKs0XGvCO4IZdx3S4mvics=; b=YsZVVn6aZTDIEgDnMFRgO0aur/kum2kDDKaufByNXQAovCgqdT5RyUaI3eI8Fk5eRl 37DwI4Jq0DAEVSzEm7Tv4djo7M/NObmDV/CP12YR0sOCLOLL94AhIxrZoefvNieqLQNd K1WqwQ6HJ29wSiMNl1JKtbvPwXVhgr511YbXhTcDbiikEctSUr30PFlUVG6ctCs4iWUL 9MfBSig41Src8MeGC54Fo7ZTXbeRmHL+meOdsIde4Jr050uKEen0KPq9DMt4rXiSQdX1 4aoklsfrfaTvUmDmSCl3ZJUvKC6iTpwNch/1h44oOqe5AqnyBJ82faZPo30EbxGMuIFT D+5w== X-Gm-Message-State: ALQs6tCnOQ8b65XvtSncUhmtvENhc36IiqRntNBgbu5IQBb6i1R89ign sLjgJwyQk151urQ+aM5Mhn3BfQ== X-Received: by 2002:a17:902:b28:: with SMTP id 37-v6mr29429991plq.207.1525479277174; Fri, 04 May 2018 17:14:37 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:36 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:06 -0700 Message-Id: <05bd0dbf128997976bfd71db770b35bed89ffdf9.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 In-Reply-To: References: Subject: [OE-core] [PATCH 12/27] libtirpc: Upgrade to 1.0.4-tc1 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 Drop backported patches Redo musl support patch such that it can be applied universally Signed-off-by: Khem Raj --- .../0001-include-stdint.h-for-uintptr_t.patch | 29 - ...0001-replace-__bzero-with-memset-API.patch | 64 -- .../libtirpc/Use-netbsd-queue.h.patch | 878 ------------------ .../export_key_secretkey_is_set.patch | 31 - .../libtirpc/libtirpc-1.0.4-rc1.patch | 103 ++ .../libtirpc/libtirpc/musl.patch | 18 + .../{libtirpc_1.0.2.bb => libtirpc_1.0.3.bb} | 13 +- 7 files changed, 125 insertions(+), 1011 deletions(-) delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/Use-netbsd-queue.h.patch delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch create mode 100644 meta/recipes-extended/libtirpc/libtirpc/libtirpc-1.0.4-rc1.patch create mode 100644 meta/recipes-extended/libtirpc/libtirpc/musl.patch rename meta/recipes-extended/libtirpc/{libtirpc_1.0.2.bb => libtirpc_1.0.3.bb} (63%) diff --git a/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch deleted file mode 100644 index 7e3e2f86ad..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch +++ /dev/null @@ -1,29 +0,0 @@ -Upstream-Status: Backport -Signed-off-by: Ross Burton - -From acb9a37977cf0a9630eac74af9adebf35e38e719 Mon Sep 17 00:00:00 2001 -From: Thorsten Kukuk -Date: Tue, 14 Nov 2017 10:39:08 -0500 -Subject: [PATCH] Include stdint.h from xdr_sizeof.c to avoid missing - declaration errors. - -Signed-off-by: Thorsten Kukuk -Signed-off-by: Steve Dickson ---- - src/xdr_sizeof.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c -index d23fbd1..79d6707 100644 ---- a/src/xdr_sizeof.c -+++ b/src/xdr_sizeof.c -@@ -39,6 +39,7 @@ - #include - #include - #include -+#include - #include "un-namespace.h" - - /* ARGSUSED */ --- -1.8.3.1 diff --git a/meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch b/meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch deleted file mode 100644 index 7ae19cb319..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch +++ /dev/null @@ -1,64 +0,0 @@ -Upstream-Status: Backport -Signed-off-by: Ross Burton - -From 5356b63005e9d8169e0399cb76f26fbd29a78dee Mon Sep 17 00:00:00 2001 -From: Joshua Kinard -Date: Wed, 23 Aug 2017 14:31:36 -0400 -Subject: [PATCH] Replace bzero() calls with equivalent memset() calls - -As annotated in the bzero(3) man page, bzero() was marked as LEGACY in -POSIX.1-2001 and removed in POSIX.1-2008, and should be replaced with -memset() calls to write zeros to a memory region. The attached patch -replaces two bzero() calls and one __bzero() call in libtirpc with -equivalent memset() calls. The latter replacement fixes a compile error -under uclibc-ng, which lacks a definition for __bzero() - -Signed-off-by: Joshua Kinard -Signed-off-by: Steve Dickson ---- - src/auth_time.c | 2 +- - src/des_impl.c | 2 +- - src/svc_auth_des.c | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/auth_time.c b/src/auth_time.c -index 7f83ab4..69400bc 100644 ---- a/src/auth_time.c -+++ b/src/auth_time.c -@@ -317,7 +317,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) - sprintf(ipuaddr, "%d.%d.%d.%d.0.111", a1, a2, a3, a4); - useua = &ipuaddr[0]; - -- bzero((char *)&sin, sizeof(sin)); -+ memset(&sin, 0, sizeof(sin)); - if (uaddr_to_sockaddr(useua, &sin)) { - msg("unable to translate uaddr to sockaddr."); - if (needfree) -diff --git a/src/des_impl.c b/src/des_impl.c -index 9dbccaf..15bec2a 100644 ---- a/src/des_impl.c -+++ b/src/des_impl.c -@@ -588,7 +588,7 @@ _des_crypt (char *buf, unsigned len, struct desparams *desp) - } - tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0; - tbuf[0] = tbuf[1] = 0; -- __bzero (schedule, sizeof (schedule)); -+ memset (schedule, 0, sizeof (schedule)); - - return (1); - } -diff --git a/src/svc_auth_des.c b/src/svc_auth_des.c -index 2e90146..19a7c60 100644 ---- a/src/svc_auth_des.c -+++ b/src/svc_auth_des.c -@@ -356,7 +356,7 @@ cache_init() - - authdes_cache = (struct cache_entry *) - mem_alloc(sizeof(struct cache_entry) * AUTHDES_CACHESZ); -- bzero((char *)authdes_cache, -+ memset(authdes_cache, 0, - sizeof(struct cache_entry) * AUTHDES_CACHESZ); - - authdes_lru = (short *)mem_alloc(sizeof(short) * AUTHDES_CACHESZ); --- -1.8.3.1 diff --git a/meta/recipes-extended/libtirpc/libtirpc/Use-netbsd-queue.h.patch b/meta/recipes-extended/libtirpc/libtirpc/Use-netbsd-queue.h.patch deleted file mode 100644 index f93223feb4..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc/Use-netbsd-queue.h.patch +++ /dev/null @@ -1,878 +0,0 @@ -musl does not provide sys/queue.h implementation. Borrow queue.h from -the NetBSD project -http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.68 - -Upstream-Status: Inappropriate [musl specific] - -Signed-off-by: Jörg Krause -Signed-off-by: Maxin B. John ---- -diff -Naur libtirpc-1.0.1-orig/src/clnt_bcast.c libtirpc-1.0.1/src/clnt_bcast.c ---- libtirpc-1.0.1-orig/src/clnt_bcast.c 2015-10-30 17:15:14.000000000 +0200 -+++ libtirpc-1.0.1/src/clnt_bcast.c 2015-12-21 17:03:52.066008311 +0200 -@@ -40,7 +40,6 @@ - */ - #include - #include --#include - - #include - #include -@@ -62,6 +61,7 @@ - #include - #include - -+#include "queue.h" - #include "rpc_com.h" - #include "debug.h" - -diff -Naur libtirpc-1.0.1-orig/tirpc/queue.h libtirpc-1.0.1/tirpc/queue.h ---- libtirpc-1.0.1-orig/tirpc/queue.h 1970-01-01 02:00:00.000000000 +0200 -+++ libtirpc-1.0.1/tirpc/queue.h 2015-12-21 17:02:44.427853905 +0200 -@@ -0,0 +1,846 @@ -+/* $NetBSD: queue.h,v 1.68 2014/11/19 08:10:01 uebayasi Exp $ */ -+ -+/* -+ * Copyright (c) 1991, 1993 -+ * The Regents of the University of California. All rights reserved. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions -+ * are met: -+ * 1. Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * 2. Redistributions in binary form must reproduce the above copyright -+ * notice, this list of conditions and the following disclaimer in the -+ * documentation and/or other materials provided with the distribution. -+ * 3. Neither the name of the University nor the names of its contributors -+ * may be used to endorse or promote products derived from this software -+ * without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -+ * SUCH DAMAGE. -+ * -+ * @(#)queue.h 8.5 (Berkeley) 8/20/94 -+ */ -+ -+#ifndef _SYS_QUEUE_H_ -+#define _SYS_QUEUE_H_ -+ -+/* -+ * This file defines five types of data structures: singly-linked lists, -+ * lists, simple queues, tail queues, and circular queues. -+ * -+ * A singly-linked list is headed by a single forward pointer. The -+ * elements are singly linked for minimum space and pointer manipulation -+ * overhead at the expense of O(n) removal for arbitrary elements. New -+ * elements can be added to the list after an existing element or at the -+ * head of the list. Elements being removed from the head of the list -+ * should use the explicit macro for this purpose for optimum -+ * efficiency. A singly-linked list may only be traversed in the forward -+ * direction. Singly-linked lists are ideal for applications with large -+ * datasets and few or no removals or for implementing a LIFO queue. -+ * -+ * A list is headed by a single forward pointer (or an array of forward -+ * pointers for a hash table header). The elements are doubly linked -+ * so that an arbitrary element can be removed without a need to -+ * traverse the list. New elements can be added to the list before -+ * or after an existing element or at the head of the list. A list -+ * may only be traversed in the forward direction. -+ * -+ * A simple queue is headed by a pair of pointers, one the head of the -+ * list and the other to the tail of the list. The elements are singly -+ * linked to save space, so elements can only be removed from the -+ * head of the list. New elements can be added to the list after -+ * an existing element, at the head of the list, or at the end of the -+ * list. A simple queue may only be traversed in the forward direction. -+ * -+ * A tail queue is headed by a pair of pointers, one to the head of the -+ * list and the other to the tail of the list. The elements are doubly -+ * linked so that an arbitrary element can be removed without a need to -+ * traverse the list. New elements can be added to the list before or -+ * after an existing element, at the head of the list, or at the end of -+ * the list. A tail queue may be traversed in either direction. -+ * -+ * A circle queue is headed by a pair of pointers, one to the head of the -+ * list and the other to the tail of the list. The elements are doubly -+ * linked so that an arbitrary element can be removed without a need to -+ * traverse the list. New elements can be added to the list before or after -+ * an existing element, at the head of the list, or at the end of the list. -+ * A circle queue may be traversed in either direction, but has a more -+ * complex end of list detection. -+ * -+ * For details on the use of these macros, see the queue(3) manual page. -+ */ -+ -+/* -+ * Include the definition of NULL only on NetBSD because sys/null.h -+ * is not available elsewhere. This conditional makes the header -+ * portable and it can simply be dropped verbatim into any system. -+ * The caveat is that on other systems some other header -+ * must provide NULL before the macros can be used. -+ */ -+#ifdef __NetBSD__ -+#include -+#endif -+ -+#if defined(QUEUEDEBUG) -+# if defined(_KERNEL) -+# define QUEUEDEBUG_ABORT(...) panic(__VA_ARGS__) -+# else -+# include -+# define QUEUEDEBUG_ABORT(...) err(1, __VA_ARGS__) -+# endif -+#endif -+ -+/* -+ * Singly-linked List definitions. -+ */ -+#define SLIST_HEAD(name, type) \ -+struct name { \ -+ struct type *slh_first; /* first element */ \ -+} -+ -+#define SLIST_HEAD_INITIALIZER(head) \ -+ { NULL } -+ -+#define SLIST_ENTRY(type) \ -+struct { \ -+ struct type *sle_next; /* next element */ \ -+} -+ -+/* -+ * Singly-linked List access methods. -+ */ -+#define SLIST_FIRST(head) ((head)->slh_first) -+#define SLIST_END(head) NULL -+#define SLIST_EMPTY(head) ((head)->slh_first == NULL) -+#define SLIST_NEXT(elm, field) ((elm)->field.sle_next) -+ -+#define SLIST_FOREACH(var, head, field) \ -+ for((var) = (head)->slh_first; \ -+ (var) != SLIST_END(head); \ -+ (var) = (var)->field.sle_next) -+ -+#define SLIST_FOREACH_SAFE(var, head, field, tvar) \ -+ for ((var) = SLIST_FIRST((head)); \ -+ (var) != SLIST_END(head) && \ -+ ((tvar) = SLIST_NEXT((var), field), 1); \ -+ (var) = (tvar)) -+ -+/* -+ * Singly-linked List functions. -+ */ -+#define SLIST_INIT(head) do { \ -+ (head)->slh_first = SLIST_END(head); \ -+} while (/*CONSTCOND*/0) -+ -+#define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ -+ (elm)->field.sle_next = (slistelm)->field.sle_next; \ -+ (slistelm)->field.sle_next = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define SLIST_INSERT_HEAD(head, elm, field) do { \ -+ (elm)->field.sle_next = (head)->slh_first; \ -+ (head)->slh_first = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define SLIST_REMOVE_AFTER(slistelm, field) do { \ -+ (slistelm)->field.sle_next = \ -+ SLIST_NEXT(SLIST_NEXT((slistelm), field), field); \ -+} while (/*CONSTCOND*/0) -+ -+#define SLIST_REMOVE_HEAD(head, field) do { \ -+ (head)->slh_first = (head)->slh_first->field.sle_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define SLIST_REMOVE(head, elm, type, field) do { \ -+ if ((head)->slh_first == (elm)) { \ -+ SLIST_REMOVE_HEAD((head), field); \ -+ } \ -+ else { \ -+ struct type *curelm = (head)->slh_first; \ -+ while(curelm->field.sle_next != (elm)) \ -+ curelm = curelm->field.sle_next; \ -+ curelm->field.sle_next = \ -+ curelm->field.sle_next->field.sle_next; \ -+ } \ -+} while (/*CONSTCOND*/0) -+ -+ -+/* -+ * List definitions. -+ */ -+#define LIST_HEAD(name, type) \ -+struct name { \ -+ struct type *lh_first; /* first element */ \ -+} -+ -+#define LIST_HEAD_INITIALIZER(head) \ -+ { NULL } -+ -+#define LIST_ENTRY(type) \ -+struct { \ -+ struct type *le_next; /* next element */ \ -+ struct type **le_prev; /* address of previous next element */ \ -+} -+ -+/* -+ * List access methods. -+ */ -+#define LIST_FIRST(head) ((head)->lh_first) -+#define LIST_END(head) NULL -+#define LIST_EMPTY(head) ((head)->lh_first == LIST_END(head)) -+#define LIST_NEXT(elm, field) ((elm)->field.le_next) -+ -+#define LIST_FOREACH(var, head, field) \ -+ for ((var) = ((head)->lh_first); \ -+ (var) != LIST_END(head); \ -+ (var) = ((var)->field.le_next)) -+ -+#define LIST_FOREACH_SAFE(var, head, field, tvar) \ -+ for ((var) = LIST_FIRST((head)); \ -+ (var) != LIST_END(head) && \ -+ ((tvar) = LIST_NEXT((var), field), 1); \ -+ (var) = (tvar)) -+ -+#define LIST_MOVE(head1, head2) do { \ -+ LIST_INIT((head2)); \ -+ if (!LIST_EMPTY((head1))) { \ -+ (head2)->lh_first = (head1)->lh_first; \ -+ LIST_INIT((head1)); \ -+ } \ -+} while (/*CONSTCOND*/0) -+ -+/* -+ * List functions. -+ */ -+#if defined(QUEUEDEBUG) -+#define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) \ -+ if ((head)->lh_first && \ -+ (head)->lh_first->field.le_prev != &(head)->lh_first) \ -+ QUEUEDEBUG_ABORT("LIST_INSERT_HEAD %p %s:%d", (head), \ -+ __FILE__, __LINE__); -+#define QUEUEDEBUG_LIST_OP(elm, field) \ -+ if ((elm)->field.le_next && \ -+ (elm)->field.le_next->field.le_prev != \ -+ &(elm)->field.le_next) \ -+ QUEUEDEBUG_ABORT("LIST_* forw %p %s:%d", (elm), \ -+ __FILE__, __LINE__); \ -+ if (*(elm)->field.le_prev != (elm)) \ -+ QUEUEDEBUG_ABORT("LIST_* back %p %s:%d", (elm), \ -+ __FILE__, __LINE__); -+#define QUEUEDEBUG_LIST_POSTREMOVE(elm, field) \ -+ (elm)->field.le_next = (void *)1L; \ -+ (elm)->field.le_prev = (void *)1L; -+#else -+#define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) -+#define QUEUEDEBUG_LIST_OP(elm, field) -+#define QUEUEDEBUG_LIST_POSTREMOVE(elm, field) -+#endif -+ -+#define LIST_INIT(head) do { \ -+ (head)->lh_first = LIST_END(head); \ -+} while (/*CONSTCOND*/0) -+ -+#define LIST_INSERT_AFTER(listelm, elm, field) do { \ -+ QUEUEDEBUG_LIST_OP((listelm), field) \ -+ if (((elm)->field.le_next = (listelm)->field.le_next) != \ -+ LIST_END(head)) \ -+ (listelm)->field.le_next->field.le_prev = \ -+ &(elm)->field.le_next; \ -+ (listelm)->field.le_next = (elm); \ -+ (elm)->field.le_prev = &(listelm)->field.le_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define LIST_INSERT_BEFORE(listelm, elm, field) do { \ -+ QUEUEDEBUG_LIST_OP((listelm), field) \ -+ (elm)->field.le_prev = (listelm)->field.le_prev; \ -+ (elm)->field.le_next = (listelm); \ -+ *(listelm)->field.le_prev = (elm); \ -+ (listelm)->field.le_prev = &(elm)->field.le_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define LIST_INSERT_HEAD(head, elm, field) do { \ -+ QUEUEDEBUG_LIST_INSERT_HEAD((head), (elm), field) \ -+ if (((elm)->field.le_next = (head)->lh_first) != LIST_END(head))\ -+ (head)->lh_first->field.le_prev = &(elm)->field.le_next;\ -+ (head)->lh_first = (elm); \ -+ (elm)->field.le_prev = &(head)->lh_first; \ -+} while (/*CONSTCOND*/0) -+ -+#define LIST_REMOVE(elm, field) do { \ -+ QUEUEDEBUG_LIST_OP((elm), field) \ -+ if ((elm)->field.le_next != NULL) \ -+ (elm)->field.le_next->field.le_prev = \ -+ (elm)->field.le_prev; \ -+ *(elm)->field.le_prev = (elm)->field.le_next; \ -+ QUEUEDEBUG_LIST_POSTREMOVE((elm), field) \ -+} while (/*CONSTCOND*/0) -+ -+#define LIST_REPLACE(elm, elm2, field) do { \ -+ if (((elm2)->field.le_next = (elm)->field.le_next) != NULL) \ -+ (elm2)->field.le_next->field.le_prev = \ -+ &(elm2)->field.le_next; \ -+ (elm2)->field.le_prev = (elm)->field.le_prev; \ -+ *(elm2)->field.le_prev = (elm2); \ -+ QUEUEDEBUG_LIST_POSTREMOVE((elm), field) \ -+} while (/*CONSTCOND*/0) -+ -+/* -+ * Simple queue definitions. -+ */ -+#define SIMPLEQ_HEAD(name, type) \ -+struct name { \ -+ struct type *sqh_first; /* first element */ \ -+ struct type **sqh_last; /* addr of last next element */ \ -+} -+ -+#define SIMPLEQ_HEAD_INITIALIZER(head) \ -+ { NULL, &(head).sqh_first } -+ -+#define SIMPLEQ_ENTRY(type) \ -+struct { \ -+ struct type *sqe_next; /* next element */ \ -+} -+ -+/* -+ * Simple queue access methods. -+ */ -+#define SIMPLEQ_FIRST(head) ((head)->sqh_first) -+#define SIMPLEQ_END(head) NULL -+#define SIMPLEQ_EMPTY(head) ((head)->sqh_first == SIMPLEQ_END(head)) -+#define SIMPLEQ_NEXT(elm, field) ((elm)->field.sqe_next) -+ -+#define SIMPLEQ_FOREACH(var, head, field) \ -+ for ((var) = ((head)->sqh_first); \ -+ (var) != SIMPLEQ_END(head); \ -+ (var) = ((var)->field.sqe_next)) -+ -+#define SIMPLEQ_FOREACH_SAFE(var, head, field, next) \ -+ for ((var) = ((head)->sqh_first); \ -+ (var) != SIMPLEQ_END(head) && \ -+ ((next = ((var)->field.sqe_next)), 1); \ -+ (var) = (next)) -+ -+/* -+ * Simple queue functions. -+ */ -+#define SIMPLEQ_INIT(head) do { \ -+ (head)->sqh_first = NULL; \ -+ (head)->sqh_last = &(head)->sqh_first; \ -+} while (/*CONSTCOND*/0) -+ -+#define SIMPLEQ_INSERT_HEAD(head, elm, field) do { \ -+ if (((elm)->field.sqe_next = (head)->sqh_first) == NULL) \ -+ (head)->sqh_last = &(elm)->field.sqe_next; \ -+ (head)->sqh_first = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \ -+ (elm)->field.sqe_next = NULL; \ -+ *(head)->sqh_last = (elm); \ -+ (head)->sqh_last = &(elm)->field.sqe_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define SIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do { \ -+ if (((elm)->field.sqe_next = (listelm)->field.sqe_next) == NULL)\ -+ (head)->sqh_last = &(elm)->field.sqe_next; \ -+ (listelm)->field.sqe_next = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define SIMPLEQ_REMOVE_HEAD(head, field) do { \ -+ if (((head)->sqh_first = (head)->sqh_first->field.sqe_next) == NULL) \ -+ (head)->sqh_last = &(head)->sqh_first; \ -+} while (/*CONSTCOND*/0) -+ -+#define SIMPLEQ_REMOVE_AFTER(head, elm, field) do { \ -+ if (((elm)->field.sqe_next = (elm)->field.sqe_next->field.sqe_next) \ -+ == NULL) \ -+ (head)->sqh_last = &(elm)->field.sqe_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define SIMPLEQ_REMOVE(head, elm, type, field) do { \ -+ if ((head)->sqh_first == (elm)) { \ -+ SIMPLEQ_REMOVE_HEAD((head), field); \ -+ } else { \ -+ struct type *curelm = (head)->sqh_first; \ -+ while (curelm->field.sqe_next != (elm)) \ -+ curelm = curelm->field.sqe_next; \ -+ if ((curelm->field.sqe_next = \ -+ curelm->field.sqe_next->field.sqe_next) == NULL) \ -+ (head)->sqh_last = &(curelm)->field.sqe_next; \ -+ } \ -+} while (/*CONSTCOND*/0) -+ -+#define SIMPLEQ_CONCAT(head1, head2) do { \ -+ if (!SIMPLEQ_EMPTY((head2))) { \ -+ *(head1)->sqh_last = (head2)->sqh_first; \ -+ (head1)->sqh_last = (head2)->sqh_last; \ -+ SIMPLEQ_INIT((head2)); \ -+ } \ -+} while (/*CONSTCOND*/0) -+ -+#define SIMPLEQ_LAST(head, type, field) \ -+ (SIMPLEQ_EMPTY((head)) ? \ -+ NULL : \ -+ ((struct type *)(void *) \ -+ ((char *)((head)->sqh_last) - offsetof(struct type, field)))) -+ -+/* -+ * Tail queue definitions. -+ */ -+#define _TAILQ_HEAD(name, type, qual) \ -+struct name { \ -+ qual type *tqh_first; /* first element */ \ -+ qual type *qual *tqh_last; /* addr of last next element */ \ -+} -+#define TAILQ_HEAD(name, type) _TAILQ_HEAD(name, struct type,) -+ -+#define TAILQ_HEAD_INITIALIZER(head) \ -+ { TAILQ_END(head), &(head).tqh_first } -+ -+#define _TAILQ_ENTRY(type, qual) \ -+struct { \ -+ qual type *tqe_next; /* next element */ \ -+ qual type *qual *tqe_prev; /* address of previous next element */\ -+} -+#define TAILQ_ENTRY(type) _TAILQ_ENTRY(struct type,) -+ -+/* -+ * Tail queue access methods. -+ */ -+#define TAILQ_FIRST(head) ((head)->tqh_first) -+#define TAILQ_END(head) (NULL) -+#define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) -+#define TAILQ_LAST(head, headname) \ -+ (*(((struct headname *)((head)->tqh_last))->tqh_last)) -+#define TAILQ_PREV(elm, headname, field) \ -+ (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) -+#define TAILQ_EMPTY(head) (TAILQ_FIRST(head) == TAILQ_END(head)) -+ -+ -+#define TAILQ_FOREACH(var, head, field) \ -+ for ((var) = ((head)->tqh_first); \ -+ (var) != TAILQ_END(head); \ -+ (var) = ((var)->field.tqe_next)) -+ -+#define TAILQ_FOREACH_SAFE(var, head, field, next) \ -+ for ((var) = ((head)->tqh_first); \ -+ (var) != TAILQ_END(head) && \ -+ ((next) = TAILQ_NEXT(var, field), 1); (var) = (next)) -+ -+#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ -+ for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last));\ -+ (var) != TAILQ_END(head); \ -+ (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last))) -+ -+#define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, prev) \ -+ for ((var) = TAILQ_LAST((head), headname); \ -+ (var) != TAILQ_END(head) && \ -+ ((prev) = TAILQ_PREV((var), headname, field), 1); (var) = (prev)) -+ -+/* -+ * Tail queue functions. -+ */ -+#if defined(QUEUEDEBUG) -+#define QUEUEDEBUG_TAILQ_INSERT_HEAD(head, elm, field) \ -+ if ((head)->tqh_first && \ -+ (head)->tqh_first->field.tqe_prev != &(head)->tqh_first) \ -+ QUEUEDEBUG_ABORT("TAILQ_INSERT_HEAD %p %s:%d", (head), \ -+ __FILE__, __LINE__); -+#define QUEUEDEBUG_TAILQ_INSERT_TAIL(head, elm, field) \ -+ if (*(head)->tqh_last != NULL) \ -+ QUEUEDEBUG_ABORT("TAILQ_INSERT_TAIL %p %s:%d", (head), \ -+ __FILE__, __LINE__); -+#define QUEUEDEBUG_TAILQ_OP(elm, field) \ -+ if ((elm)->field.tqe_next && \ -+ (elm)->field.tqe_next->field.tqe_prev != \ -+ &(elm)->field.tqe_next) \ -+ QUEUEDEBUG_ABORT("TAILQ_* forw %p %s:%d", (elm), \ -+ __FILE__, __LINE__); \ -+ if (*(elm)->field.tqe_prev != (elm)) \ -+ QUEUEDEBUG_ABORT("TAILQ_* back %p %s:%d", (elm), \ -+ __FILE__, __LINE__); -+#define QUEUEDEBUG_TAILQ_PREREMOVE(head, elm, field) \ -+ if ((elm)->field.tqe_next == NULL && \ -+ (head)->tqh_last != &(elm)->field.tqe_next) \ -+ QUEUEDEBUG_ABORT("TAILQ_PREREMOVE head %p elm %p %s:%d",\ -+ (head), (elm), __FILE__, __LINE__); -+#define QUEUEDEBUG_TAILQ_POSTREMOVE(elm, field) \ -+ (elm)->field.tqe_next = (void *)1L; \ -+ (elm)->field.tqe_prev = (void *)1L; -+#else -+#define QUEUEDEBUG_TAILQ_INSERT_HEAD(head, elm, field) -+#define QUEUEDEBUG_TAILQ_INSERT_TAIL(head, elm, field) -+#define QUEUEDEBUG_TAILQ_OP(elm, field) -+#define QUEUEDEBUG_TAILQ_PREREMOVE(head, elm, field) -+#define QUEUEDEBUG_TAILQ_POSTREMOVE(elm, field) -+#endif -+ -+#define TAILQ_INIT(head) do { \ -+ (head)->tqh_first = TAILQ_END(head); \ -+ (head)->tqh_last = &(head)->tqh_first; \ -+} while (/*CONSTCOND*/0) -+ -+#define TAILQ_INSERT_HEAD(head, elm, field) do { \ -+ QUEUEDEBUG_TAILQ_INSERT_HEAD((head), (elm), field) \ -+ if (((elm)->field.tqe_next = (head)->tqh_first) != TAILQ_END(head))\ -+ (head)->tqh_first->field.tqe_prev = \ -+ &(elm)->field.tqe_next; \ -+ else \ -+ (head)->tqh_last = &(elm)->field.tqe_next; \ -+ (head)->tqh_first = (elm); \ -+ (elm)->field.tqe_prev = &(head)->tqh_first; \ -+} while (/*CONSTCOND*/0) -+ -+#define TAILQ_INSERT_TAIL(head, elm, field) do { \ -+ QUEUEDEBUG_TAILQ_INSERT_TAIL((head), (elm), field) \ -+ (elm)->field.tqe_next = TAILQ_END(head); \ -+ (elm)->field.tqe_prev = (head)->tqh_last; \ -+ *(head)->tqh_last = (elm); \ -+ (head)->tqh_last = &(elm)->field.tqe_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ -+ QUEUEDEBUG_TAILQ_OP((listelm), field) \ -+ if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != \ -+ TAILQ_END(head)) \ -+ (elm)->field.tqe_next->field.tqe_prev = \ -+ &(elm)->field.tqe_next; \ -+ else \ -+ (head)->tqh_last = &(elm)->field.tqe_next; \ -+ (listelm)->field.tqe_next = (elm); \ -+ (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ -+ QUEUEDEBUG_TAILQ_OP((listelm), field) \ -+ (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \ -+ (elm)->field.tqe_next = (listelm); \ -+ *(listelm)->field.tqe_prev = (elm); \ -+ (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define TAILQ_REMOVE(head, elm, field) do { \ -+ QUEUEDEBUG_TAILQ_PREREMOVE((head), (elm), field) \ -+ QUEUEDEBUG_TAILQ_OP((elm), field) \ -+ if (((elm)->field.tqe_next) != TAILQ_END(head)) \ -+ (elm)->field.tqe_next->field.tqe_prev = \ -+ (elm)->field.tqe_prev; \ -+ else \ -+ (head)->tqh_last = (elm)->field.tqe_prev; \ -+ *(elm)->field.tqe_prev = (elm)->field.tqe_next; \ -+ QUEUEDEBUG_TAILQ_POSTREMOVE((elm), field); \ -+} while (/*CONSTCOND*/0) -+ -+#define TAILQ_REPLACE(head, elm, elm2, field) do { \ -+ if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != \ -+ TAILQ_END(head)) \ -+ (elm2)->field.tqe_next->field.tqe_prev = \ -+ &(elm2)->field.tqe_next; \ -+ else \ -+ (head)->tqh_last = &(elm2)->field.tqe_next; \ -+ (elm2)->field.tqe_prev = (elm)->field.tqe_prev; \ -+ *(elm2)->field.tqe_prev = (elm2); \ -+ QUEUEDEBUG_TAILQ_POSTREMOVE((elm), field); \ -+} while (/*CONSTCOND*/0) -+ -+#define TAILQ_CONCAT(head1, head2, field) do { \ -+ if (!TAILQ_EMPTY(head2)) { \ -+ *(head1)->tqh_last = (head2)->tqh_first; \ -+ (head2)->tqh_first->field.tqe_prev = (head1)->tqh_last; \ -+ (head1)->tqh_last = (head2)->tqh_last; \ -+ TAILQ_INIT((head2)); \ -+ } \ -+} while (/*CONSTCOND*/0) -+ -+/* -+ * Singly-linked Tail queue declarations. -+ */ -+#define STAILQ_HEAD(name, type) \ -+struct name { \ -+ struct type *stqh_first; /* first element */ \ -+ struct type **stqh_last; /* addr of last next element */ \ -+} -+ -+#define STAILQ_HEAD_INITIALIZER(head) \ -+ { NULL, &(head).stqh_first } -+ -+#define STAILQ_ENTRY(type) \ -+struct { \ -+ struct type *stqe_next; /* next element */ \ -+} -+ -+/* -+ * Singly-linked Tail queue access methods. -+ */ -+#define STAILQ_FIRST(head) ((head)->stqh_first) -+#define STAILQ_END(head) NULL -+#define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next) -+#define STAILQ_EMPTY(head) (STAILQ_FIRST(head) == STAILQ_END(head)) -+ -+/* -+ * Singly-linked Tail queue functions. -+ */ -+#define STAILQ_INIT(head) do { \ -+ (head)->stqh_first = NULL; \ -+ (head)->stqh_last = &(head)->stqh_first; \ -+} while (/*CONSTCOND*/0) -+ -+#define STAILQ_INSERT_HEAD(head, elm, field) do { \ -+ if (((elm)->field.stqe_next = (head)->stqh_first) == NULL) \ -+ (head)->stqh_last = &(elm)->field.stqe_next; \ -+ (head)->stqh_first = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define STAILQ_INSERT_TAIL(head, elm, field) do { \ -+ (elm)->field.stqe_next = NULL; \ -+ *(head)->stqh_last = (elm); \ -+ (head)->stqh_last = &(elm)->field.stqe_next; \ -+} while (/*CONSTCOND*/0) -+ -+#define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ -+ if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\ -+ (head)->stqh_last = &(elm)->field.stqe_next; \ -+ (listelm)->field.stqe_next = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define STAILQ_REMOVE_HEAD(head, field) do { \ -+ if (((head)->stqh_first = (head)->stqh_first->field.stqe_next) == NULL) \ -+ (head)->stqh_last = &(head)->stqh_first; \ -+} while (/*CONSTCOND*/0) -+ -+#define STAILQ_REMOVE(head, elm, type, field) do { \ -+ if ((head)->stqh_first == (elm)) { \ -+ STAILQ_REMOVE_HEAD((head), field); \ -+ } else { \ -+ struct type *curelm = (head)->stqh_first; \ -+ while (curelm->field.stqe_next != (elm)) \ -+ curelm = curelm->field.stqe_next; \ -+ if ((curelm->field.stqe_next = \ -+ curelm->field.stqe_next->field.stqe_next) == NULL) \ -+ (head)->stqh_last = &(curelm)->field.stqe_next; \ -+ } \ -+} while (/*CONSTCOND*/0) -+ -+#define STAILQ_FOREACH(var, head, field) \ -+ for ((var) = ((head)->stqh_first); \ -+ (var); \ -+ (var) = ((var)->field.stqe_next)) -+ -+#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \ -+ for ((var) = STAILQ_FIRST((head)); \ -+ (var) && ((tvar) = STAILQ_NEXT((var), field), 1); \ -+ (var) = (tvar)) -+ -+#define STAILQ_CONCAT(head1, head2) do { \ -+ if (!STAILQ_EMPTY((head2))) { \ -+ *(head1)->stqh_last = (head2)->stqh_first; \ -+ (head1)->stqh_last = (head2)->stqh_last; \ -+ STAILQ_INIT((head2)); \ -+ } \ -+} while (/*CONSTCOND*/0) -+ -+#define STAILQ_LAST(head, type, field) \ -+ (STAILQ_EMPTY((head)) ? \ -+ NULL : \ -+ ((struct type *)(void *) \ -+ ((char *)((head)->stqh_last) - offsetof(struct type, field)))) -+ -+ -+#ifndef _KERNEL -+/* -+ * Circular queue definitions. Do not use. We still keep the macros -+ * for compatibility but because of pointer aliasing issues their use -+ * is discouraged! -+ */ -+ -+/* -+ * __launder_type(): We use this ugly hack to work around the the compiler -+ * noticing that two types may not alias each other and elide tests in code. -+ * We hit this in the CIRCLEQ macros when comparing 'struct name *' and -+ * 'struct type *' (see CIRCLEQ_HEAD()). Modern compilers (such as GCC -+ * 4.8) declare these comparisons as always false, causing the code to -+ * not run as designed. -+ * -+ * This hack is only to be used for comparisons and thus can be fully const. -+ * Do not use for assignment. -+ * -+ * If we ever choose to change the ABI of the CIRCLEQ macros, we could fix -+ * this by changing the head/tail sentinal values, but see the note above -+ * this one. -+ */ -+static __inline const void * __launder_type(const void *); -+static __inline const void * -+__launder_type(const void *__x) -+{ -+ __asm __volatile("" : "+r" (__x)); -+ return __x; -+} -+ -+#if defined(QUEUEDEBUG) -+#define QUEUEDEBUG_CIRCLEQ_HEAD(head, field) \ -+ if ((head)->cqh_first != CIRCLEQ_ENDC(head) && \ -+ (head)->cqh_first->field.cqe_prev != CIRCLEQ_ENDC(head)) \ -+ QUEUEDEBUG_ABORT("CIRCLEQ head forw %p %s:%d", (head), \ -+ __FILE__, __LINE__); \ -+ if ((head)->cqh_last != CIRCLEQ_ENDC(head) && \ -+ (head)->cqh_last->field.cqe_next != CIRCLEQ_ENDC(head)) \ -+ QUEUEDEBUG_ABORT("CIRCLEQ head back %p %s:%d", (head), \ -+ __FILE__, __LINE__); -+#define QUEUEDEBUG_CIRCLEQ_ELM(head, elm, field) \ -+ if ((elm)->field.cqe_next == CIRCLEQ_ENDC(head)) { \ -+ if ((head)->cqh_last != (elm)) \ -+ QUEUEDEBUG_ABORT("CIRCLEQ elm last %p %s:%d", \ -+ (elm), __FILE__, __LINE__); \ -+ } else { \ -+ if ((elm)->field.cqe_next->field.cqe_prev != (elm)) \ -+ QUEUEDEBUG_ABORT("CIRCLEQ elm forw %p %s:%d", \ -+ (elm), __FILE__, __LINE__); \ -+ } \ -+ if ((elm)->field.cqe_prev == CIRCLEQ_ENDC(head)) { \ -+ if ((head)->cqh_first != (elm)) \ -+ QUEUEDEBUG_ABORT("CIRCLEQ elm first %p %s:%d", \ -+ (elm), __FILE__, __LINE__); \ -+ } else { \ -+ if ((elm)->field.cqe_prev->field.cqe_next != (elm)) \ -+ QUEUEDEBUG_ABORT("CIRCLEQ elm prev %p %s:%d", \ -+ (elm), __FILE__, __LINE__); \ -+ } -+#define QUEUEDEBUG_CIRCLEQ_POSTREMOVE(elm, field) \ -+ (elm)->field.cqe_next = (void *)1L; \ -+ (elm)->field.cqe_prev = (void *)1L; -+#else -+#define QUEUEDEBUG_CIRCLEQ_HEAD(head, field) -+#define QUEUEDEBUG_CIRCLEQ_ELM(head, elm, field) -+#define QUEUEDEBUG_CIRCLEQ_POSTREMOVE(elm, field) -+#endif -+ -+#define CIRCLEQ_HEAD(name, type) \ -+struct name { \ -+ struct type *cqh_first; /* first element */ \ -+ struct type *cqh_last; /* last element */ \ -+} -+ -+#define CIRCLEQ_HEAD_INITIALIZER(head) \ -+ { CIRCLEQ_END(&head), CIRCLEQ_END(&head) } -+ -+#define CIRCLEQ_ENTRY(type) \ -+struct { \ -+ struct type *cqe_next; /* next element */ \ -+ struct type *cqe_prev; /* previous element */ \ -+} -+ -+/* -+ * Circular queue functions. -+ */ -+#define CIRCLEQ_INIT(head) do { \ -+ (head)->cqh_first = CIRCLEQ_END(head); \ -+ (head)->cqh_last = CIRCLEQ_END(head); \ -+} while (/*CONSTCOND*/0) -+ -+#define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \ -+ QUEUEDEBUG_CIRCLEQ_HEAD((head), field) \ -+ QUEUEDEBUG_CIRCLEQ_ELM((head), (listelm), field) \ -+ (elm)->field.cqe_next = (listelm)->field.cqe_next; \ -+ (elm)->field.cqe_prev = (listelm); \ -+ if ((listelm)->field.cqe_next == CIRCLEQ_ENDC(head)) \ -+ (head)->cqh_last = (elm); \ -+ else \ -+ (listelm)->field.cqe_next->field.cqe_prev = (elm); \ -+ (listelm)->field.cqe_next = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \ -+ QUEUEDEBUG_CIRCLEQ_HEAD((head), field) \ -+ QUEUEDEBUG_CIRCLEQ_ELM((head), (listelm), field) \ -+ (elm)->field.cqe_next = (listelm); \ -+ (elm)->field.cqe_prev = (listelm)->field.cqe_prev; \ -+ if ((listelm)->field.cqe_prev == CIRCLEQ_ENDC(head)) \ -+ (head)->cqh_first = (elm); \ -+ else \ -+ (listelm)->field.cqe_prev->field.cqe_next = (elm); \ -+ (listelm)->field.cqe_prev = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \ -+ QUEUEDEBUG_CIRCLEQ_HEAD((head), field) \ -+ (elm)->field.cqe_next = (head)->cqh_first; \ -+ (elm)->field.cqe_prev = CIRCLEQ_END(head); \ -+ if ((head)->cqh_last == CIRCLEQ_ENDC(head)) \ -+ (head)->cqh_last = (elm); \ -+ else \ -+ (head)->cqh_first->field.cqe_prev = (elm); \ -+ (head)->cqh_first = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \ -+ QUEUEDEBUG_CIRCLEQ_HEAD((head), field) \ -+ (elm)->field.cqe_next = CIRCLEQ_END(head); \ -+ (elm)->field.cqe_prev = (head)->cqh_last; \ -+ if ((head)->cqh_first == CIRCLEQ_ENDC(head)) \ -+ (head)->cqh_first = (elm); \ -+ else \ -+ (head)->cqh_last->field.cqe_next = (elm); \ -+ (head)->cqh_last = (elm); \ -+} while (/*CONSTCOND*/0) -+ -+#define CIRCLEQ_REMOVE(head, elm, field) do { \ -+ QUEUEDEBUG_CIRCLEQ_HEAD((head), field) \ -+ QUEUEDEBUG_CIRCLEQ_ELM((head), (elm), field) \ -+ if ((elm)->field.cqe_next == CIRCLEQ_ENDC(head)) \ -+ (head)->cqh_last = (elm)->field.cqe_prev; \ -+ else \ -+ (elm)->field.cqe_next->field.cqe_prev = \ -+ (elm)->field.cqe_prev; \ -+ if ((elm)->field.cqe_prev == CIRCLEQ_ENDC(head)) \ -+ (head)->cqh_first = (elm)->field.cqe_next; \ -+ else \ -+ (elm)->field.cqe_prev->field.cqe_next = \ -+ (elm)->field.cqe_next; \ -+ QUEUEDEBUG_CIRCLEQ_POSTREMOVE((elm), field) \ -+} while (/*CONSTCOND*/0) -+ -+#define CIRCLEQ_FOREACH(var, head, field) \ -+ for ((var) = ((head)->cqh_first); \ -+ (var) != CIRCLEQ_ENDC(head); \ -+ (var) = ((var)->field.cqe_next)) -+ -+#define CIRCLEQ_FOREACH_REVERSE(var, head, field) \ -+ for ((var) = ((head)->cqh_last); \ -+ (var) != CIRCLEQ_ENDC(head); \ -+ (var) = ((var)->field.cqe_prev)) -+ -+/* -+ * Circular queue access methods. -+ */ -+#define CIRCLEQ_FIRST(head) ((head)->cqh_first) -+#define CIRCLEQ_LAST(head) ((head)->cqh_last) -+/* For comparisons */ -+#define CIRCLEQ_ENDC(head) (__launder_type(head)) -+/* For assignments */ -+#define CIRCLEQ_END(head) ((void *)(head)) -+#define CIRCLEQ_NEXT(elm, field) ((elm)->field.cqe_next) -+#define CIRCLEQ_PREV(elm, field) ((elm)->field.cqe_prev) -+#define CIRCLEQ_EMPTY(head) \ -+ (CIRCLEQ_FIRST(head) == CIRCLEQ_ENDC(head)) -+ -+#define CIRCLEQ_LOOP_NEXT(head, elm, field) \ -+ (((elm)->field.cqe_next == CIRCLEQ_ENDC(head)) \ -+ ? ((head)->cqh_first) \ -+ : (elm->field.cqe_next)) -+#define CIRCLEQ_LOOP_PREV(head, elm, field) \ -+ (((elm)->field.cqe_prev == CIRCLEQ_ENDC(head)) \ -+ ? ((head)->cqh_last) \ -+ : (elm->field.cqe_prev)) -+#endif /* !_KERNEL */ -+ -+#endif /* !_SYS_QUEUE_H_ */ diff --git a/meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch b/meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch deleted file mode 100644 index d7f4968669..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch +++ /dev/null @@ -1,31 +0,0 @@ -Upstream-Status: Backport -Signed-off-by: Ross Burton - -From e51d67549b516b2dac6c71d92c8499f6e67125ad Mon Sep 17 00:00:00 2001 -From: Thorsten Kukuk -Date: Tue, 14 Nov 2017 10:43:53 -0500 -Subject: [PATCH] Fix typo in src/libtirpc.map - -Which prevents that key_secretkey_is_set will be exported. - -Signed-off-by: Thorsten Kukuk -Signed-off-by: Steve Dickson ---- - src/libtirpc.map | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/libtirpc.map b/src/libtirpc.map -index f385de5..21d6065 100644 ---- a/src/libtirpc.map -+++ b/src/libtirpc.map -@@ -298,7 +298,7 @@ TIRPC_0.3.2 { - key_gendes; - key_get_conv; - key_setsecret; -- key_secret_is_set; -+ key_secretkey_is_set; - key_setnet; - netname2host; - netname2user; --- -1.8.3.1 diff --git a/meta/recipes-extended/libtirpc/libtirpc/libtirpc-1.0.4-rc1.patch b/meta/recipes-extended/libtirpc/libtirpc/libtirpc-1.0.4-rc1.patch new file mode 100644 index 0000000000..6d40d3cce8 --- /dev/null +++ b/meta/recipes-extended/libtirpc/libtirpc/libtirpc-1.0.4-rc1.patch @@ -0,0 +1,103 @@ +Patch from Fedora https://src.fedoraproject.org/rpms/libtirpc/raw/master/f/libtirpc-1.0.4-rc1.patch + +Upstream-Status: Backport +Signed-off-by: Khem Raj + +diff --git a/src/clnt_generic.c b/src/clnt_generic.c +index e5a314f..3f3dabf 100644 +--- a/src/clnt_generic.c ++++ b/src/clnt_generic.c +@@ -47,7 +47,6 @@ + + extern bool_t __rpc_is_local_host(const char *); + int __rpc_raise_fd(int); +-extern int __binddynport(int fd); + + #ifndef NETIDLEN + #define NETIDLEN 32 +@@ -341,8 +340,7 @@ clnt_tli_create(int fd, const struct netconfig *nconf, + servtype = nconf->nc_semantics; + if (!__rpc_fd2sockinfo(fd, &si)) + goto err; +- if (__binddynport(fd) == -1) +- goto err; ++ bindresvport(fd, NULL); + } else { + if (!__rpc_fd2sockinfo(fd, &si)) + goto err; +diff --git a/src/rpc_soc.c b/src/rpc_soc.c +index af6c482..5a6eeb7 100644 +--- a/src/rpc_soc.c ++++ b/src/rpc_soc.c +@@ -67,8 +67,6 @@ + + extern mutex_t rpcsoc_lock; + +-extern int __binddynport(int fd); +- + static CLIENT *clnt_com_create(struct sockaddr_in *, rpcprog_t, rpcvers_t, + int *, u_int, u_int, char *, int); + static SVCXPRT *svc_com_create(int, u_int, u_int, char *); +@@ -147,8 +145,7 @@ clnt_com_create(raddr, prog, vers, sockp, sendsz, recvsz, tp, flags) + bindaddr.maxlen = bindaddr.len = sizeof (struct sockaddr_in); + bindaddr.buf = raddr; + +- if (__binddynport(fd) == -1) +- goto err; ++ bindresvport(fd, NULL); + cl = clnt_tli_create(fd, nconf, &bindaddr, prog, vers, + sendsz, recvsz); + if (cl) { +diff --git a/src/rpcb_clnt.c b/src/rpcb_clnt.c +index a94fc73..4b44364 100644 +--- a/src/rpcb_clnt.c ++++ b/src/rpcb_clnt.c +@@ -752,7 +752,7 @@ __try_protocol_version_2(program, version, nconf, host, tp) + + client = getpmaphandle(nconf, host, &parms.r_addr); + if (client == NULL) +- return (NULL); ++ goto error; + + /* + * Set retry timeout. +@@ -771,11 +771,11 @@ __try_protocol_version_2(program, version, nconf, host, tp) + if (clnt_st != RPC_SUCCESS) { + rpc_createerr.cf_stat = RPC_PMAPFAILURE; + clnt_geterr(client, &rpc_createerr.cf_error); +- return (NULL); ++ goto error; + } else if (port == 0) { + pmapaddress = NULL; + rpc_createerr.cf_stat = RPC_PROGNOTREGISTERED; +- return (NULL); ++ goto error; + } + port = htons(port); + CLNT_CONTROL(client, CLGET_SVC_ADDR, (char *)&remote); +@@ -789,14 +789,24 @@ __try_protocol_version_2(program, version, nconf, host, tp) + free(pmapaddress); + pmapaddress = NULL; + } +- return (NULL); ++ goto error; + } + memcpy(pmapaddress->buf, remote.buf, remote.len); + memcpy(&((char *)pmapaddress->buf)[sizeof (short)], + (char *)(void *)&port, sizeof (short)); + pmapaddress->len = pmapaddress->maxlen = remote.len; + ++ CLNT_DESTROY(client); + return pmapaddress; ++ ++error: ++ if (client) { ++ CLNT_DESTROY(client); ++ client = NULL; ++ ++ } ++ return (NULL); ++ + } + #endif + diff --git a/meta/recipes-extended/libtirpc/libtirpc/musl.patch b/meta/recipes-extended/libtirpc/libtirpc/musl.patch new file mode 100644 index 0000000000..0c3ce603ea --- /dev/null +++ b/meta/recipes-extended/libtirpc/libtirpc/musl.patch @@ -0,0 +1,18 @@ +Consider musl provided built-in defines + +Helps compile libtirpc with musl + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +--- ./tirpc/rpc/types.h.orig 2018-03-17 10:23:10.022055255 +0100 ++++ ./tirpc/rpc/types.h 2018-03-17 10:23:30.877751656 +0100 +@@ -66,7 +66,7 @@ + #define mem_free(ptr, bsize) free(ptr) + + +-#if defined __APPLE_CC__ || defined __FreeBSD__ ++#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined(__GLIBC__) + # define __u_char_defined + # define __daddr_t_defined + #endif diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.3.bb similarity index 63% rename from meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb rename to meta/recipes-extended/libtirpc/libtirpc_1.0.3.bb index 99212600e0..17bc038d67 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_1.0.2.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_1.0.3.bb @@ -10,17 +10,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \ PROVIDES = "virtual/librpc" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ - file://export_key_secretkey_is_set.patch \ - file://0001-replace-__bzero-with-memset-API.patch \ - file://0001-include-stdint.h-for-uintptr_t.patch \ + file://libtirpc-1.0.4-rc1.patch \ + file://musl.patch \ " -SRC_URI_append_libc-musl = " \ - file://Use-netbsd-queue.h.patch \ - " - -SRC_URI[md5sum] = "d5a37f1dccec484f9cabe2b97e54e9a6" -SRC_URI[sha256sum] = "723c5ce92706cbb601a8db09110df1b4b69391643158f20ff587e20e7c5f90f5" +SRC_URI[md5sum] = "f8403a10695348854e71d525c4db5931" +SRC_URI[sha256sum] = "86c3a78fc1bddefa96111dd233124c703b22a78884203c55c3e06b3be6a0fd5e" inherit autotools pkgconfig From patchwork Sat May 5 00:14:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135049 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658573lji; Fri, 4 May 2018 17:16:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZolzuFGV6vSHK/ndIbnlvR05xtgJEsjAm67UCOnD3nzXOMv3jY++FOOgapJE/rFgDy2tBZl X-Received: by 10.98.160.150 with SMTP id p22mr28790045pfl.9.1525479370540; Fri, 04 May 2018 17:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479370; cv=none; d=google.com; s=arc-20160816; b=m7XUQZXnmWJNhyGyCc49+Tgo6F21e1tQsOjJ+aQkUggcLPaPnRo7Nkqyedi6AJ1BlH 59egg+flZ+L02CBYWzgsu6cDf+j+Hj6ftAY30z/CyzRQpfbnQIxPXorQN7jnisfZXM6i hVxv18K8tV1PDT3uzEh1pr+xXGOsHEOw11Mpxo6qTPz5PlbyP8bDvjzfOMqITDF01a5s QiJ0Q1VGxzcLvLmHKQqoMJbcFFanRX8JCYQawaUPgT/ykEbmDQyFqvf5jhL2RVo0VDdz S08Bsenus292oCEUiowhCw2808/0b5qbwn/zC3OnUy+L9Jqsz0Bm7PJTvbwMU1D74O31 Jw8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=VZ429I0Ljtc9wrSZ1DpiU3ob1gm3o5nxtOdBBr+Bwyo=; b=hMGZg4mZsVOwitJ9IIjq1mtBoFnjNcOjDQITjPpwq2/VZKpYTNxYaldCPjwAJ+YBKy LxTRaFgmK1bUR77MYpB6nbOZdhZPfb2AAuVuBU0NvUg7lx+yGxkYCVtn5/0+5oqvBzVb t1bRnbAnvkBG9PyC7IlbEOGGwmLplXoghbd0X0QOGyixpdrsUlBBgGXWnh3CckFuhLnt VtekqtU1GBUVvI1cYW6LmSK5wrt/0UtONQmLMgi2n7XAqjxpCcaNUlPYZL4Gdj/QRihg k3jodGephv5Sn0C4PQ1mqG6cGvyB6y8/TuTEu72dd3tfHrSEtkF68VytAfdSZWxT+sHb mjVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ZIKVRY1m; 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 o28-v6si5204328pgd.77.2018.05.04.17.16.10; Fri, 04 May 2018 17:16:10 -0700 (PDT) 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=ZIKVRY1m; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1D14274E12; Sat, 5 May 2018 00:14:57 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 72AFC74D40 for ; Sat, 5 May 2018 00:14:37 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id j11-v6so16456727pgf.2 for ; Fri, 04 May 2018 17:14:38 -0700 (PDT) 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; bh=2bPRJcZIlKFvDF1OnT5ZG6LP5ZKdlq4/cHfpS1ectak=; b=ZIKVRY1mVdj5BGPeXSD9L6TULFEW0tXVbZLD3s1UuAkPytMbc0wXMmPl86BbBKAIW8 HSxosFb+ZJphLE7NmoG0GKIpFlEzziL0KLBpsW4IUZRB1SjdL4ywBQntDMilw4DkrFJd 1JiXioJ4CY91R9KwubWfkDBkdOUhvZ39OxnD16XxwDKn3ZdXIxiDYKtl4afCcceQnz/S 9mlc6c4p0zNHJ9Yxn+kR7IiffD9/C9IXDSLTDp/119pqBQY+40V2irmpNDUsCTFGIX1i 6TsLYENI0OXlSWLYOruFA05D8CYesHAXO44vHA6qm2W2amVen96EapGlgHzWIXz3rlTC hfng== 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; bh=2bPRJcZIlKFvDF1OnT5ZG6LP5ZKdlq4/cHfpS1ectak=; b=IkCevIvELnWJDPDcAUvthr5EkmxsdWBd7ORPvz/qnX/8NLH6RcvEHj9ZqCIPrqqad3 W/qLi3U4g+/WyebPZB95nfA4TR3Kslp3ICrYX6gmabqXzSICVYQM+85VZeJ3s1YyyQBF xPx+DoRSRB19h03Ta9s5NDn3JKVdmosC4dfXO9Z1u8Ic2jfDPP4ktjK2OHwtYpoO5q2s 4p5UHNA42vT/1QyS5CX9yU2UurqQY8gi6LGbnVfoJvRw97z9nQ8M23ykirHwJGRqJjbp QCjX3r3g7mNSywAjLalA7g7uvVSRy4nuA6SSCbCBpkwjBVlj+FBHM9PCPT+72GCYns01 GpMg== X-Gm-Message-State: ALQs6tDqwm1BGLDWwwllvqJUX7BRskkH47ZXPCGrLyWtB1tQksfJFMaT N8744+kcKdb8OvF1Dpeo0E2R4Q== X-Received: by 2002:a65:6188:: with SMTP id c8-v6mr23946586pgv.131.1525479278171; Fri, 04 May 2018 17:14:38 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:37 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:07 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 13/27] libnsl: Upgrade to tip beyond 1.2.0 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../0001-include-sys-cdefs.h-explicitly.patch | 68 ------------------- ...de-stdint.h-for-uintptr_t-definition.patch | 27 -------- .../0002-Define-glibc-specific-macros.patch | 57 ---------------- meta/recipes-extended/libnsl/libnsl2_git.bb | 8 +-- 4 files changed, 2 insertions(+), 158 deletions(-) delete mode 100644 meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch delete mode 100644 meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch delete mode 100644 meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch b/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch deleted file mode 100644 index bd647ac55e..0000000000 --- a/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 508a0ff690dfebc17c4f55a5f81824ed549bed66 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 18 Apr 2017 09:13:33 -0700 -Subject: [PATCH 1/2] include sys/cdefs.h explicitly - -glibc includes this header indirectly but not musl - -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending - - src/rpcsvc/nis.h | 1 + - src/rpcsvc/nislib.h | 1 + - src/rpcsvc/ypclnt.h | 1 + - src/rpcsvc/ypupd.h | 1 + - 4 files changed, 4 insertions(+) - -diff --git a/src/rpcsvc/nis.h b/src/rpcsvc/nis.h -index 933c4d9..88cbca0 100644 ---- a/src/rpcsvc/nis.h -+++ b/src/rpcsvc/nis.h -@@ -32,6 +32,7 @@ - #ifndef _RPCSVC_NIS_H - #define _RPCSVC_NIS_H 1 - -+#include - #include - #include - #include -diff --git a/src/rpcsvc/nislib.h b/src/rpcsvc/nislib.h -index a59c19b..a53fab3 100644 ---- a/src/rpcsvc/nislib.h -+++ b/src/rpcsvc/nislib.h -@@ -19,6 +19,7 @@ - #ifndef __RPCSVC_NISLIB_H__ - #define __RPCSVC_NISLIB_H__ - -+#include - #include - - __BEGIN_DECLS -diff --git a/src/rpcsvc/ypclnt.h b/src/rpcsvc/ypclnt.h -index fe43fd4..a686b61 100644 ---- a/src/rpcsvc/ypclnt.h -+++ b/src/rpcsvc/ypclnt.h -@@ -20,6 +20,7 @@ - #ifndef __RPCSVC_YPCLNT_H__ - #define __RPCSVC_YPCLNT_H__ - -+#include - #include - - /* Some defines */ -diff --git a/src/rpcsvc/ypupd.h b/src/rpcsvc/ypupd.h -index d07fd4d..2c57301 100644 ---- a/src/rpcsvc/ypupd.h -+++ b/src/rpcsvc/ypupd.h -@@ -33,6 +33,7 @@ - #ifndef __RPCSVC_YPUPD_H__ - #define __RPCSVC_YPUPD_H__ - -+#include - #include - - #include --- -2.12.2 - diff --git a/meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch b/meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch deleted file mode 100644 index e9ae517107..0000000000 --- a/meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch +++ /dev/null @@ -1,27 +0,0 @@ -From d71cbeb3b76e54778a4d5eec6d387cce653537ca Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 9 Jun 2017 09:49:35 -0700 -Subject: [PATCH] nis_call.c: Include stdint.h for uintptr_t definition - -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending - - src/nisplus/nis_call.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/nisplus/nis_call.c b/src/nisplus/nis_call.c -index 1a2b90c..1dc982d 100644 ---- a/src/nisplus/nis_call.c -+++ b/src/nisplus/nis_call.c -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - #include - #include - #include --- -2.13.1 - diff --git a/meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch b/meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch deleted file mode 100644 index 75fda4b0f0..0000000000 --- a/meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 60282514ea01af004d7f9e66dd3929223b7d2e7b Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 18 Apr 2017 09:16:12 -0700 -Subject: [PATCH 2/2] Define glibc specific macros - -Check and define -rawmemchr, __asprintf, __mempcpy, __strtok_r -__always_inline, TEMP_FAILURE_RETRY - -if not existing. Helps compiling with musl - -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending - -diff --git a/src/rpcsvc/nis.h b/src/rpcsvc/nis.h -index 88cbca0..23fc20c 100644 ---- a/src/rpcsvc/nis.h -+++ b/src/rpcsvc/nis.h -@@ -57,6 +57,34 @@ __BEGIN_DECLS - * - */ - -+#ifndef rawmemchr -+#define rawmemchr(s,c) memchr((s),(size_t)-1,(c)) -+#endif -+ -+#ifndef __asprintf -+#define __asprintf asprintf -+#endif -+ -+#ifndef __mempcpy -+#define __mempcpy mempcpy -+#endif -+ -+#ifndef __strtok_r -+#define __strtok_r strtok_r -+#endif -+ -+#ifndef __always_inline -+#define __always_inline __attribute__((__always_inline__)) -+#endif -+ -+#ifndef TEMP_FAILURE_RETRY -+#define TEMP_FAILURE_RETRY(exp) ({ \ -+typeof (exp) _rc; \ -+ do { \ -+ _rc = (exp); \ -+ } while (_rc == -1 && errno == EINTR); \ -+ _rc; }) -+#endif - - #ifndef __nis_object_h - #define __nis_object_h --- -2.12.2 - diff --git a/meta/recipes-extended/libnsl/libnsl2_git.bb b/meta/recipes-extended/libnsl/libnsl2_git.bb index a539148caf..c6ba80c943 100644 --- a/meta/recipes-extended/libnsl/libnsl2_git.bb +++ b/meta/recipes-extended/libnsl/libnsl2_git.bb @@ -9,16 +9,12 @@ LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" SECTION = "libs" DEPENDS = "libtirpc" -DEPENDS_append_libc-musl = " bsd-headers" -PV = "1.0.5+git${SRCPV}" +PV = "1.2.0+git${SRCPV}" -SRCREV = "dfa2f313524aff9243c4d8ce1bace73786478356" +SRCREV = "37c5ffe3038d42e9fa9ed232ad2cbca4d8f14681" SRC_URI = "git://github.com/thkukuk/libnsl \ - file://0001-include-sys-cdefs.h-explicitly.patch \ - file://0002-Define-glibc-specific-macros.patch \ - file://0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch \ " S = "${WORKDIR}/git" From patchwork Sat May 5 00:14:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135050 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658642lji; Fri, 4 May 2018 17:16:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZotcE56weSp/BhFsDVCMc2abeRx2tpRRQi/7yrS/0R4BEQzAfmvKA94EhDwm00mi/hTenMu X-Received: by 2002:a17:902:8305:: with SMTP id bd5-v6mr29591788plb.13.1525479378602; Fri, 04 May 2018 17:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479378; cv=none; d=google.com; s=arc-20160816; b=TtjFsHAV12lCp9l4Vl+PxkLh8jsyYW1iaINXNjmZFqqItm6xXBzbFxnavxY0hr8fdK gffWnue+FUYdF+GcEs7aEjoPbby6GQ1F0E5tpnKzOdA/XGRjsHMS4U4cfagaMMMYfZJO xQYKtN3zJdb93ebnUatc5ba+xO+LuGllukjSEtl/Fip3bEqk7h5qR8cHLpIyjJ03uU+o pwdxRcnmdb/SnQaLDj2RWnjWt3StogzwSXYkE+3b8aRDn3ezf67Si9uUJscOGPlqEVze +g2E4d8yM6/ZZMA0R0QZu0n3YBHQCgbe2qCxMYc0xFas0dsN995WfqihoeNKuY4+Xi2b Zyzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=gUWC9L5nAwL7il0ZNvbF1iAxtZTTmf4GO0458Cy3iUA=; b=rd04ckaxZMzV8/7ZnhMa2KGBD56qDI3gepcobvmkvcaLxdYkNnbOMB5ufWMWSgKpdq MTgknOjiSNWaYSMeBm6yEGX1cV6TpglzgtcuIA7R5dYImk6x4ynRg7FxpXddsX8REJkI p0VC5qHDLwFZJ44iTZ0l54z7dEoWOxev3zorj2sL6g7m3CdmWUHnxzfoXjKZCh5QKcib BWSGckJoujmCykbOAfvkHCpZbFG710jPMkxqmq2fU6TIYBmdlJm9ItFX74qOTrzb/Ek7 xkVxzSQ2dlp6jPWE3/vEyEn+VjlKAH4ZBIu5xfKR0H3BGw2UFlhbxUUjbBELr95Gp+0O 4gXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=P/nkAYy2; 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 d65si17530790pfa.263.2018.05.04.17.16.18; Fri, 04 May 2018 17:16:18 -0700 (PDT) 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=P/nkAYy2; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8F0D274E00; Sat, 5 May 2018 00:14:58 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 8D5B574DAA for ; Sat, 5 May 2018 00:14:38 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id n9-v6so16461624pgq.5 for ; Fri, 04 May 2018 17:14:40 -0700 (PDT) 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; bh=x7CWv/KGEQ3fZP5lpcH1ygwLNsAqx70tTetzHE9RSaM=; b=P/nkAYy22tQ9U1i2VdQ7DY7CWfrlCsgSCo9je+WNJ6YTvrkWBcad5JdWND4bFs40bd QJJkrmTmU66XXLbgR5Sge6CPWHosMY9OUPSFtWJhxyBapMykph5qiKTz/+TXoIpx0Tn5 EaoPFH4zyPHyF4MqPtqdOml++lzTRTL3oW39b/Y9gWuCJqZVbxn1jK/F4Qv33WRoQZBh 9Ph3PpLHHho98RVD8d3apbhLKRy/0YaDKXS5phjl006NcIR/W2xg7mcd1wh5bzgN68qS HCLVZTDNzL6ye6D89us0i4SAarGMaJbonELJyiVaza1UwHmhhJkGl8qf8K9UHBdA3qqS 9Tlg== 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; bh=x7CWv/KGEQ3fZP5lpcH1ygwLNsAqx70tTetzHE9RSaM=; b=RgbkuyKKJYxpIKAwMZfXsxPjo+TSw+rcSzQevk4wmiD4ipZfQdz+bIhD8gaLQqeJdd TSeuztvqp2/vgw1Vo/61FnmPwfpA7uneZGERo5Rs2JD5dT0V8R9dAFSvQRPmH72ygZFX R48qCXWeHc0AK0sBiDZN49Mntb2DkOZYexWycfqAfWDjat/ygs58jg4i8hNyfiGSuCwe WBjqDTvdDHNoXyH3gDP8UVST0VpJzKCbn9+pmWnjdBANyCiFiODL/Yw0fX+iPalAsIb0 RbxaDw+m2XnjjWLmyOsaUNnjW9HMKui48vkyDWabFqVJsQ+KViipn49YqXAJ48Lg/O+l yc5A== X-Gm-Message-State: ALQs6tDjss1k+rnGgxO81PHeSB/uNlXa8suF8vcmJBW7m6y6Fe5MN4Vf kF4wpHznWldwXiltT8MIvf0WmA== X-Received: by 2002:a63:7e09:: with SMTP id z9-v6mr24188641pgc.437.1525479279322; Fri, 04 May 2018 17:14:39 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:38 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:08 -0700 Message-Id: <7a574b3fb5b155090d40c52a0e47311dc32facde.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 14/27] ltp: Fix build after removing rpc and libnsl in glibc 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...0001-Disable-rpc01-on-glibc-and-musl.patch | 29 +++++++++++++++++++ ...option-to-select-libc-implementation.patch | 14 --------- meta/recipes-extended/ltp/ltp_20180118.bb | 1 + 3 files changed, 30 insertions(+), 14 deletions(-) create mode 100644 meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch b/meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch new file mode 100644 index 0000000000..78c6dfb2b1 --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch @@ -0,0 +1,29 @@ +From ff39e6b69f0b26dad8ab685ee6116ff92bc363db Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 28 Apr 2018 00:08:55 -0700 +Subject: [PATCH] Disable rpc01 on glibc and musl + +It is not buildable with libtirpc + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + testcases/network/rpc/basic_tests/Makefile | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/testcases/network/rpc/basic_tests/Makefile b/testcases/network/rpc/basic_tests/Makefile +index 66e9d5675..16a64e7da 100644 +--- a/testcases/network/rpc/basic_tests/Makefile ++++ b/testcases/network/rpc/basic_tests/Makefile +@@ -23,4 +23,7 @@ + top_srcdir ?= ../../../.. + + include $(top_srcdir)/include/mk/env_pre.mk ++ ++FILTER_OUT_DIRS += rpc01 ++ + include $(top_srcdir)/include/mk/generic_trunk_target.mk +-- +2.17.0 + diff --git a/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch b/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch index 84ab37ea39..0781ba1743 100644 --- a/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch +++ b/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch @@ -102,20 +102,6 @@ Index: git/testcases/network/nfsv4/acl/Makefile +endif + include $(top_srcdir)/include/mk/generic_leaf_target.mk -Index: git/testcases/network/rpc/basic_tests/Makefile -=================================================================== ---- git.orig/testcases/network/rpc/basic_tests/Makefile -+++ git/testcases/network/rpc/basic_tests/Makefile -@@ -23,4 +23,9 @@ - top_srcdir ?= ../../../.. - - include $(top_srcdir)/include/mk/env_pre.mk -+ -+ifeq ($(LIBC),musl) -+FILTER_OUT_DIRS += rpc01 -+endif -+ - include $(top_srcdir)/include/mk/generic_trunk_target.mk Index: git/testcases/realtime/func/pi-tests/Makefile =================================================================== --- git.orig/testcases/realtime/func/pi-tests/Makefile diff --git a/meta/recipes-extended/ltp/ltp_20180118.bb b/meta/recipes-extended/ltp/ltp_20180118.bb index 14fb41b3bd..8992f1b0f2 100644 --- a/meta/recipes-extended/ltp/ltp_20180118.bb +++ b/meta/recipes-extended/ltp/ltp_20180118.bb @@ -45,6 +45,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \ file://0039-commands-ar01-Fix-for-test-in-deterministic-mode.patch \ file://0040-safe_macros-make-is_fuse-return-zero-if-fs_type-is-N.patch \ + file://0001-Disable-rpc01-on-glibc-and-musl.patch \ " S = "${WORKDIR}/git" From patchwork Sat May 5 00:14:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135051 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658734lji; Fri, 4 May 2018 17:16:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrAEAfs88KkbtoXCAwaK6yHua5hG1mwopQunijOeV+cMpfxDrDD742WqI39HZlCKequRKPH X-Received: by 10.98.212.90 with SMTP id u26mr28601766pfl.166.1525479385556; Fri, 04 May 2018 17:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479385; cv=none; d=google.com; s=arc-20160816; b=OQObnMx6wllrw/HlUVZsvW3O7SvoWLYnyzqh6p8Im6T1iXTJmrN6jHW9IQ2rqMnvKq jF9KTIsGfxq2pWfPNeeRNSm7oPEnV1PG5VSxCq0a+iPmAbHOjfEq7/xjennvGWz2gkRL 1xqmUqxgjncvF8PnCpBE5nMJDvLm9oHTtSkJmYH6Jz0rmuKE6wlTcr9uDQ3PAIefp62e hEDG2CFHmZ7GqKN64FFfbIIIIXIXFJSL58GyommR+RnSBOoH5bpvwZesxTBA4n3q6huP neEAsH8JdbOLNLmjgg07SDDiV6jCVroYFCKVoA0eqkPr4EjnpbSq6ybrselgNQ4FNO20 bFKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=mThHOXafigSZYudN7055FmQlOlCpr53YpVnAUQRA8s0=; b=y7EMEp7jTfdY5Am71e/RqqW7poIhywrtDQOgnpt+QOXjR3Lw/zIVbdHlohMIlrSWLn 6BNvlWzq3mZvG7W6EKExtzzkhfIHZX/z0MB5Y0LAwDxa5DoSS9Lq431cax+q5wTpxH8c lewcfCc6lU4i3gRwy2M3iPMWJqq72o6KyLNy8kfplcYw62Z/8iX2K0CVoHyQrqxe0X3K 6QW4Twp6s8JBMEBEcDdSr94FM61VF4C0eQkbZ2a6bXMW9Oc72bS8c0Eiqzykh24jJMcw 8kcsKvBy+0XPFVDs8LCQ59fxrSXtYYKmDaS/25GhNTTE8UifonNCtZdCoxeODMKXrfx4 Y7Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VA4x5l3p; 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 c21-v6si13939835pgn.355.2018.05.04.17.16.25; Fri, 04 May 2018 17:16:25 -0700 (PDT) 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=VA4x5l3p; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9D37A74E1E; Sat, 5 May 2018 00:14:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id AF67B74D87 for ; Sat, 5 May 2018 00:14:39 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id o76so18609496pfi.5 for ; Fri, 04 May 2018 17:14:40 -0700 (PDT) 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; bh=EFX1ar+1wpkjGK2hy4+ZXhxFM6AEDNJXgrkAWgfIWOA=; b=VA4x5l3p3p9bYNNIvg8Rr3V3eOzoOkJ8W8bfCRFTH9Q0QF2Ms4PfuXbSxoON7S5/Mw F8RzeZDoYreO6O16DgN0t+RRB2xlSyYy9yUzWTVcnOHDYb0WdIGXLarvIG+T8FSysiZ1 SrG2Syy2C4H0O+GsnMAlqWlp/JSobcaf7xeysjTN8a5KnBvC/3smArahkMn+MCcuyauM bCMZIB2s3ox6FqlWWogMqMbKoDIbKkqSZjaWvuU6qD9NJ0pm+bvNI8YcbmyovxIZ6jFX Si7sSda9H1vtOOtMegL0D3hQoJvTsDP6KonHMvVgO8IZlXfiKIKCR593oT2lGrcPF2gr r78Q== 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; bh=EFX1ar+1wpkjGK2hy4+ZXhxFM6AEDNJXgrkAWgfIWOA=; b=LQ/THV6+XNQ2m7qV/Gy1aLqxAU35iAhV7NZQ6yUawoz1C1XlNwC7ucFueDlDKzmHqP bgPfBbfi1xdZGiXo+ebmZLbUvahcGKxCCqm2Bqaf9SCUDtphLIL6RM8wN9OOl84+k4GQ WVPuRiuAmwgZMMVbU/lZ9bSWUC/vYaW74/bHJqW+4fn6auNgFcZrFijkQmyjjsGyiIxY 6d/TnU7lWhpoR1LLA8aakbyYSXGrmtoGKQV+QJVhud6c8f4m/XbfzyGjWLv+Hk0xANK1 X454CHvim/3DntrR6autDGCVklMhxeIOPNO3oYIhiEB2T6qxt9ULzU+zL+Y9MCjoCZd/ hlEw== X-Gm-Message-State: ALQs6tDDRKxCNTD8untUCXGXaQ1FJXM9/AKsjYMF/pRZi0EZdWiW7yxC gi2HmfOpqBGqAj3Y89YZrRqL5g== X-Received: by 10.98.70.155 with SMTP id o27mr28515117pfi.124.1525479280202; Fri, 04 May 2018 17:14:40 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:39 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:09 -0700 Message-Id: <3e09e546b68d596525e691c9eb01e9d3e476634e.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 15/27] xinetd: Use libtirpc even on glibc 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org We dropped in-tree obsoleted rpc from glibc Signed-off-by: Khem Raj --- meta/recipes-extended/xinetd/xinetd_2.3.15.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb index 1beb5456e1..6e43f5be6f 100644 --- a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb +++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb @@ -6,8 +6,7 @@ HOMEPAGE = "https://github.com/xinetd-org/xinetd" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" -DEPENDS = "" -DEPENDS_append_libc-musl = " libtirpc " +DEPENDS += "libtirpc" PR = "r2" # Blacklist a bogus tag in upstream check @@ -42,8 +41,8 @@ EXTRA_OECONF="--disable-nls" PACKAGECONFIG ??= "tcp-wrappers" PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers" -CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc " -LDFLAGS_append_libc-musl = " -ltirpc " +CFLAGS += "-I${STAGING_INCDIR}/tirpc" +LDFLAGS += "-ltirpc" do_configure() { # Looks like configure.in is broken, so we are skipping From patchwork Sat May 5 00:14:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135052 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658812lji; Fri, 4 May 2018 17:16:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqqzkevxPhLgFdD4xoyG4t+bek1927QcJ4saSOrsIaX7+rn3woeNOxUXxF+Vo2HTf76+lXM X-Received: by 2002:a63:751d:: with SMTP id q29-v6mr23975138pgc.269.1525479392364; Fri, 04 May 2018 17:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479392; cv=none; d=google.com; s=arc-20160816; b=bTlexxHLRxfZBm0MnrczQf1E6G3Pp8v4sctyk73+vfwgr4u9QSM9wgoYQLMUU9xNHN 37pb0BsFxfQrsmWjegwgghsJrpr3w6PATrlukSXy61Ug3CmDbrdzONU401//EKHFlRCR RzOuVZjSHAqxg7ZyZZe0MGgn2cQkaXsCKLWXH7hrbp6ilo0F0C6WRy0/IHRczMI6ak6m 9ymB90UXiuKSUrdvJhFI6KMhoTynT2Jeza/9j19Q29KUSClxhPQ44W75qNmzZLFwbgA6 RaJvqzvVd1Wuy5teobP4jzkd4T9f4nADC3XDrlkMTsO2DTi96hlJ9HG6Z+bYis6d3i39 fM0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=cchKmdXqBRUxmsVzAj69wteLb3jHHpoFbIlxAsMpzLw=; b=nkbXbWR+UrdeRqtafvxrX7ngezkZE4VW2dCyv9ytWE7s6htGlQEue40ulKgbCk/ocY /eNDOF/rals6DMeq5q2ykqb1ZrEGyvbD4wSdIfV5hKFXtxVk8Nh7cWnJklXeeAD4QDz8 UrveIwWmDjsrI6mk5eOPVIhMRVZAyv3pI4YpUvhPE3nKk49T2Vcu4r6AZeLnQS4PoT8t UOf0DdwgIVi1M/S1JMSME9QvcIbFhVYhnc3mfE4hPvZH5m12GMYqDlmGyelntv3h2Nov X3Rl0GQXhWxmJyX4wj9R20y+qKhii0/7wUc0vPYmnPFjAIeouX9WhZBopDKj8+NB92s5 oL6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pFJQjEQC; 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 n22si16360984pfb.126.2018.05.04.17.16.32; Fri, 04 May 2018 17:16:32 -0700 (PDT) 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=pFJQjEQC; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AE7D474D9F; Sat, 5 May 2018 00:15:00 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 811F374DA6 for ; Sat, 5 May 2018 00:14:40 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id a22so4507187pfn.6 for ; Fri, 04 May 2018 17:14:41 -0700 (PDT) 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; bh=21Ps+SPJ0/+LJh4UIt/AY9S2kYB49U5eugpfpW4byLM=; b=pFJQjEQCU99sVdh6Nqbzmg35ozip0RiH44S1qzRTVgzdnh/tGyhK8DkSvgNmSzC52E 7QEyUIZup7YenViXnKZFM2DJ7i8XGbct6kP+8psv9VErfg8bu7SuvygJwYorfy0OB9jG MXTXNCqsTqJ882ahnD5fhZyX6kfy0TyXkhzOU+ZtnOG0XGBjR+4IBN5b5RSlXWvIY+Bg KMFfdz913eAv48o0TbQtFruRLwRzXU4DLqUeMihuwQXAvl7qgIjYtQWnjovNe7A1Jm6N C7nB+u19ZHI8dr72zKk1qgMk/ryGaw1dkxcFjUPbqbtFMkUGB/dOyG6v2XvIlTBlTvsH o7ZQ== 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; bh=21Ps+SPJ0/+LJh4UIt/AY9S2kYB49U5eugpfpW4byLM=; b=Xo6Y520FSSBwDN50ur+qzdOh8m1R6mCIrNVwf6mnzZ/x0gjLQhWTm5WFy0bWjQSu2z TtG+1NvKKUWimEXkwy3tIpAuZEQc+12ODSIZE2ZD/7XzjL0kNAdAF2zSCElPqTPo5KFo RApuB5gvEihU8oSHgJQvSTP6Kk/K/l3UIVj0ZP7UvLevywwuUg4PIAhoCnabQxkl7L8x fnEI3AjALhaa8Qsc6rGJ2lh4VfBHzRP8bZl/aEIp+dnAXZPVzS/MwOf/4bWbkKhu9QR/ HQfz9BG9bB04OE/akaPCMvnmL6tvR0KkQOoQegvH3Jz8KHDaYnc0KMqer/1NptxaNRYH a5hA== X-Gm-Message-State: ALQs6tBMPt00ck9F5r0jNNGhkQNeelpsyxcRggbmwo9k/qcFlKrEeW1c OqMcFmAzuwU7opanvrKz4df/QQ== X-Received: by 10.98.192.220 with SMTP id g89mr28682277pfk.223.1525479281314; Fri, 04 May 2018 17:14:41 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:40 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:10 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 16/27] tcp-wrapper: Use external libnsl 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org We dropped in-tree obsoleted libnsl from glibc Signed-off-by: Khem Raj --- meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index 3ece8c3012..0f50674653 100644 --- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb +++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb @@ -8,6 +8,7 @@ LICENSE = "BSD" LIC_FILES_CHKSUM = "file://DISCLAIMER;md5=071bd69cb78b18888ea5e3da5c3127fa" PR ="r10" +DEPENDS += "libnsl2" PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev libwrap-staticdev ${PN} ${PN}-doc" FILES_libwrap = "${base_libdir}/lib*${SOLIBS}" @@ -67,7 +68,6 @@ EXTRA_OEMAKE = "'CC=${CC}' \ 'KILL_OPT=-DKILL_IP_OPTIONS' \ 'UMASK=-DDAEMON_UMASK=022' \ 'NETGROUP=${EXTRA_OEMAKE_NETGROUP}' \ - 'LIBS=-lnsl' \ 'ARFLAGS=rv' \ 'AUX_OBJ=weak_symbols.o' \ 'TLI=' \ From patchwork Sat May 5 00:14:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135053 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658873lji; Fri, 4 May 2018 17:16:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZptlOzLNywmUWE5UtDSMcku4bP7RaNC/EH0uYSa5jSV1DKajYCJ9dnPNV1JAFc7QGAa05nQ X-Received: by 10.98.209.92 with SMTP id t28mr28641672pfl.148.1525479398876; Fri, 04 May 2018 17:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479398; cv=none; d=google.com; s=arc-20160816; b=BUAz/iBDcelWdB5r+DFXrb+onwTTDMSG1BZYMkhjj7Z6VdIoulgze1Ts2CEwbVdQah 92FuJCwJZ7bU/WCDLf/6ZJQe7dqUSxPi0/QRn6GFlJU44k/t3kvwb2IHzZXzIIvfNd7e n/YuvoeHzuse5jKGzs4cGPi/AyIPa9ISwsGp1Yj6QuGEwfmDnC49x4sBXaaIjqoGPINl MW/opc7F2uy6SlTr+b9mErW+TY0GvhO/6FwdL0tlHMDkNsU20gzedCacCRpSNdpSghHi n7yTk00dry55ixv2wUOvsZfq3QC39QXwGeQZKL8QjuXbM4/xZITCti4kuMXOS1JVJvMK 7DwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=8Z+qT5fUOnfUkqE43F3Gty4e8w0UjkW+fPSbVu30jNY=; b=lHJ0Jejvb2ga6dIYi3Ywb1A56zJLdeFS7yamK9ml+NLVc9c6v6P+eg7cACXz8cijwy P82C7PV67fG7oGvkeBNcR7wAp1aH+elXryCO5jv5GpQEEDi7pSIbm5qmJ7xmEMZPbO0H oOSIhyeU/p2xQZXSf+oBp55FBdZRchBL/FjM+lfHYfGgO1yEOQ/djkNwuW5d2YEK1xYh 7XMfHjMfXDMDQW1abSmwbFL1AiktBPDCEblqarGCyRd5LXdZq+gtTwpEsm8PTuPmlNEF u+2Iv785S0Obp8q0GUAVtIYeA1kXJy7TJ8r4Kow+8lUZjLlUs/ziu0AozHMtHpgWRcfc QTJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=QLJdwZ9j; 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 c23-v6si17015408pli.540.2018.05.04.17.16.38; Fri, 04 May 2018 17:16:38 -0700 (PDT) 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=QLJdwZ9j; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C084E74E20; Sat, 5 May 2018 00:15:01 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id CB38174DC1 for ; Sat, 5 May 2018 00:14:41 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id q22so18606804pff.11 for ; Fri, 04 May 2018 17:14:43 -0700 (PDT) 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; bh=3DGvKFoZh+MQzz1o0j040YS0FlZCeqavuYA9r83umDw=; b=QLJdwZ9j081j33rQLcSll/wNu3HFyTDjNWKLPhyzW7l/D33c+21PbrtuuBv/yuxPI6 Wkvy3aQS2B7qjpVXEJcjSNz42I1foKhmry7vLbjadvf4BZIqCJOcCrY1sT89T+Ea3hL0 IM7TrqKmrjRArD5qPmeQJ8pkLt5oZgFxhasYb04TWnb1TAIsw9hEKahTxNCBdDSnDWkF ChoSen7Uc6jT7eyjsZ3C8rhuo3RWvWsOvoXJY7oWdHc9+5BCpe7RhpP4mxqQ3wvtWZav du2eV8G0CThzhJ3Crkav7oAbQ1q3Lqf890/ODTabX0GNIikk95x4pzzaaTPYIt5nUYH9 2Fhg== 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; bh=3DGvKFoZh+MQzz1o0j040YS0FlZCeqavuYA9r83umDw=; b=efwgMzx9AnSaszcBrzu/QgFTY5U3PfSh9m0Gf9n72DQ/SLDRSCPCM/dpSeSgQGJoHN eFVHb2FHh+Fg1CLiIyDbZ4+g8It5fR52anKNauoKV6Q7Jy3LTQWW2HKrX73LUTFtX5vC F6HhNTYwrhRubgP0FaUOC5pbWbeurhggE85L2DURWfxMTtcXTg2wsOSM2iD5G039jb83 XxA1+UbQEHB+dAmwKOnl2DTruDBRhnKxUq/QRp29vocMZ5bvZ1FWOLDSPHYWfO4Xxu3Y QTEybps/bxlZfAsAEEXs83wa4Y/bY39vfMhFwuhUXVTwCtNRwbgVr26X+Ypr+aontPnd aADw== X-Gm-Message-State: ALQs6tAx/MkeavW3HGuQnRo7ox++HGXnfSXgovCiDBbYtQ54md55lfaK q0/uzimmNPoOD0DYtCbKL71Hiw== X-Received: by 10.98.98.194 with SMTP id w185mr22744437pfb.78.1525479282450; Fri, 04 May 2018 17:14:42 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:41 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:11 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 17/27] Use libtirpc even on glibc 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org We dropped in-tree obsoleted rpc from glibc Signed-off-by: Khem Raj --- meta/recipes-extended/watchdog/watchdog_5.15.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/watchdog/watchdog_5.15.bb b/meta/recipes-extended/watchdog/watchdog_5.15.bb index 37b37ae12f..24791c4170 100644 --- a/meta/recipes-extended/watchdog/watchdog_5.15.bb +++ b/meta/recipes-extended/watchdog/watchdog_5.15.bb @@ -22,12 +22,13 @@ SRC_URI[sha256sum] = "ffdc865137ad5d8e53664bd22bad4de6ca136d1b4636720320cb52af0c UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/" UPSTREAM_CHECK_REGEX = "/watchdog/(?P(\d+[\.\-_]*)+)/" -inherit autotools update-rc.d systemd +inherit autotools update-rc.d systemd pkgconfig -DEPENDS_append_libc-musl = " libtirpc " -CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc " -LDFLAGS_append_libc-musl = " -ltirpc " -EXTRA_OECONF_append_libc-musl = " --disable-nfs " +DEPENDS += "libtirpc" +CFLAGS += "-I${STAGING_INCDIR}/tirpc" +LDFLAGS += "-ltirpc" + +EXTRA_OECONF += " --disable-nfs " INITSCRIPT_PACKAGES = "${PN} ${PN}-keepalive" From patchwork Sat May 5 00:14:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135054 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658945lji; Fri, 4 May 2018 17:16:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr8WvZc+zmxRIFeSEt5e0W4/abiczdz7ChR1szfJLLOMLiPbYBVeAVASmsBAoJcRk6xQ75H X-Received: by 2002:a63:7e52:: with SMTP id o18-v6mr23674964pgn.116.1525479406261; Fri, 04 May 2018 17:16:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479406; cv=none; d=google.com; s=arc-20160816; b=dn64yQGmGLzwId11sP545BoJupp3TW9eAcBxGJ8L9cUWXquOquU/wrzr+d5OMown7J kXGUqhul3+8OPCTjl29K+BT+LCJ9s1W/oEdE1vfwZzQu3DsfiqlF5S4ltcR4hGWIpGF8 Yi7hY1pKkJJiNkHhZ4jlRhQNe5+RNQwC1EUCYL27rB2JK8ox5QRJq6c2quCLkK/xYpH5 kI+dAax3yFzhlDIKleO2NLB5ERL9F7Q4LnHleOOBsM5xb0azDxo7iM9B7HN6/3ucz0Pa o4fXQ5lQehUJ5VcOai9GLKVDQzTxk98afRjAUpHE4hwgIpZDAftQsuaZQP5VAoKSFqGu TceQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=d28yWAnrSyUHOf8Pa91jx7+F4TGVq20OuM0kNS4SQqI=; b=Tdz+ydbtgyq4gaFz/pJkAUFQudZuNEHUnb5mGeQYLTdVFG3p+FZU4RiZT7kcJ6atXc lftIKgyFYMYRUMHiF1+jUw1avWJjDE/44ydfb+zVcTbpDjOnWETok+13DT28J9lgPaDc gn5OPYvFrITJ5AjMMXJWDa7pp9b1iLJNYeuB7ifMjNZHmKyO8ORwBUJdIIkqMwZ0Xebo JKYvt1sq/K5CKFBF7940pBrferHCK6oJ2YLl+jEqs+lOjy157JvFeJaHNE6DcBnsXuDt nw1oqNH/NP8hJEBA0iReQIPbGRwEbQNDFF9Pcv11fmrxQcqVmN/VnQOQ38gZxTFvAeoE a6Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=oQI/umFI; 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 p21-v6si13660824pgv.401.2018.05.04.17.16.45; Fri, 04 May 2018 17:16:46 -0700 (PDT) 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=oQI/umFI; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DB2B974E25; Sat, 5 May 2018 00:15:02 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id AFED574DA6 for ; Sat, 5 May 2018 00:14:42 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id 82-v6so16446259pge.11 for ; Fri, 04 May 2018 17:14:44 -0700 (PDT) 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; bh=9j1gxdZD9kdGLhTEa2htQCbYO69/4Mz88479tDh3cig=; b=oQI/umFIWLXTrvjXR/K0w5jSIuvkBWo0J6tus9IDa+JdLMG/JZ1yXpaD2JOAxj3h8Z m7CGzCbQV+HfcwUDZyyVU4bT727Z6VnBBwNmFJyPeV5yac386Wql0xzu7WX9Fdm7GNgE 7senCVFkfQ1ulK0D5bqXKElohSWCbPTjX/MpeymIRM3xqKA5Y37STeXoB54nPzSpRPIP IDCKH8PMzCcuUr/X254noGQXPzgAK4Fa9dpfE91WOyoIvkIRWWviDNQ1sboZAd3UMhlL MoCUy+zehT48VRFfdzlx+NQwTzoZ/YwCtAnsOrZEfkB9goY7hNOt0Lm7949LcMIMmWNr 6x2A== 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; bh=9j1gxdZD9kdGLhTEa2htQCbYO69/4Mz88479tDh3cig=; b=a4oDfrJ4eSi1T//rvBebcC1VSFI1IjEz8knlq/OG1/XfmPxTN+uOsoSA4tN4Mcz0/3 2vTTl3TByXc8iMUNq/LbIRWSIV0bTChwCJTAcvA3x5ZV5Lfk1Rq2IzCYMp8e+0r0aC7/ o7rNxM8Ql1jYySxQoCz9zY47ZMfTaDV9+JUE5n2tKb+6wL9WdAA4spBLa7TR5d1DZeUB +xl+UrcR0GSaKo6QedU7LcZzvmraLowYtNyYIGVQXJ4YpYczDCJctEtDHbd3xYdZUX/r vBgT9Za5CByLkS+JjxNcBYHL+xRRt0m2e3OyGdUCW6Zq++gIaOB7V4W5nvr8FFKMmWCD GU6g== X-Gm-Message-State: ALQs6tBZDM+QxRA9+7/ntCnDOycAHMVt4/ycC51CZBdC5jEIenAJiVab eV3RHOLU+fWnDQPKUXGcg9yn1g== X-Received: by 2002:a63:a84f:: with SMTP id i15-v6mr24092687pgp.367.1525479283707; Fri, 04 May 2018 17:14:43 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:42 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:12 -0700 Message-Id: <2102ede34551334c34fe9333ea069e9ef1730bfd.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 18/27] perl: Account for libnsl being dropped from glibc 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org -lnsl needs to be removed even on glibc Signed-off-by: Khem Raj --- meta/recipes-devtools/perl/perl_5.24.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb index 53a426289a..6b16689386 100644 --- a/meta/recipes-devtools/perl/perl_5.24.1.bb +++ b/meta/recipes-devtools/perl/perl_5.24.1.bb @@ -145,7 +145,6 @@ do_configure() { -e "s,\(i_fcntl=\)'undef',\1'define',g" \ -e "s,\(h_fcntl=\)'false',\1'true',g" \ -e "s,-fstack-protector,-fno-stack-protector,g" \ - -e "s,-lnsl,,g" \ config.sh-${TARGET_ARCH}-${TARGET_OS} fi @@ -158,6 +157,7 @@ do_configure() { -e "s,@BASELIBDIR@,${base_libdir},g" \ -e "s,@EXECPREFIX@,${exec_prefix},g" \ -e 's,@USRBIN@,${bindir},g' \ + -e "s,-lnsl,,g" \ config.sh-${TARGET_ARCH}-${TARGET_OS} case "${TARGET_ARCH}" in From patchwork Sat May 5 00:14:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135055 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659028lji; Fri, 4 May 2018 17:16:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqIhrv2ynjYA+/RpAqs+eIH1nT9OPq0jjVAiSQ65H+mNVcaw8so21RhWnFqdKanQ2x0TPP5 X-Received: by 2002:a63:ba05:: with SMTP id k5-v6mr23634781pgf.39.1525479413907; Fri, 04 May 2018 17:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479413; cv=none; d=google.com; s=arc-20160816; b=Z5ccJTGRm8tqu4+lSxpa5x/3va+y0jeo2RhDofZmZd1UR+830YEQFKm4hvPmx1BJHM hrQjHUlKbwNkCqE0UmipukbzuLfOsCWEt22WPCa+C6SbuEHOHd4WW4Ao4MRXibdp9bJT EnDkJhCKUH+/iqGw8Zk/BqZYWGfZZXGagb/IheUKspO4ynfpcZCdqJVOJ7eJrhrn3A4o 38650AKXM3Jrs0bF2C6XE6f7O2e8U+5yvaYnaedIZHM2LMtioSGpLhK9LlnZrUpSjMca HpUNpWVJeH3a+Jx5dww+d45BjBxBJ943VARa946j/ShPk3enqBIxAF8rpXt+kd+UEeD9 zpFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=ww+TcWDG5hcMymEse0fvuP1mqOR6r+BTsxT97l0Rl8A=; b=AHsIbg+Q7bS9tcgRZ44k/RVARyOouFRhyLQF3PPUZB3fh37nclLxLipnOlXHchS9yl 76lrvv6ED6p72wONW/7KEIQZdLTPgkoxnRXF0DkJDizr3hl16Wav9cM2SNH2GA7Sf/9e LgTte++LKqbck56r05DdHVogjZ00t7f53tJhYBCxwnmD3mmtQ3KnrBd8JqRKCDtx/Smx bTDKBkE1CyP4LQQMnypVHS5u3k3fJuWpW7uP7RDFGE5y9kNkSEQXOO3qpGYeQcesPI57 vwIXIFV1Cg6iPt/Epy43py9FbSjB3hfqSsx2N7GmAEAA+8lJkaciFUgLNP7+vGk+xkJw qHnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=QNQtdMWQ; 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 a14-v6si16952150plt.484.2018.05.04.17.16.53; Fri, 04 May 2018 17:16:53 -0700 (PDT) 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=QNQtdMWQ; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 20F9674E3A; Sat, 5 May 2018 00:15:04 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id D70E674DC7 for ; Sat, 5 May 2018 00:14:43 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id l2-v6so16447429pgc.7 for ; Fri, 04 May 2018 17:14:45 -0700 (PDT) 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; bh=s7XgoqtL04aE/6n0tUCrZYQUDdG4q0mBXhXzMzP/ewc=; b=QNQtdMWQnL3X6L6H+S1E3+GxHbhIXjxZDPDQ9lBsvgH8sabMwVhyWdjwjVMeTJ35/j yI2ZA5uFnkdwRr8hTwjHRxi2eY8IQFrMuNpoJBmqDXT9EmTPiIdi7ePnRlA7kAG44PPh oEuo2YYd1Aod/0CGRyYYNwV/ydMeG4G2hIFLJF4bEdVTInDECB4tyyswQhbIX/9ecao2 4jCcHRWVwLMJqOJPnU9XITq3VMWWPI5uVosNNVTzNWks8UtI8zx+qTmcpsDot8IF7BBv HtS0U3KTqlpMzrckuq0dk8TrPl4xQyO8IZei/arrhrqm4GkMgZZuhUFh3Mg+pt4S/Fc7 NHdg== 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; bh=s7XgoqtL04aE/6n0tUCrZYQUDdG4q0mBXhXzMzP/ewc=; b=Anl7tVOUFKppmI0MI5WqbkP3ZI4xq+jr9LvA8i6VWyHjpWbQzNLQnY2SB+IwmQqace WtI3bV7y5Yxu+zRa3wd9NPXnYOV5g63xViG611pm/y3/f8yMQ12jIMt7uV0j4O3d3jbC xKDyGx5Y29lMhUp+YobOX6mBzVYKnniYgzrasGrK9mdrsWLoyOmnTlLt71jsYQjrnSp7 h2yT+YP38hKrOa9TbDt3MjxiJT7G4JsHz+PRzchVirVcQEQPSGaN46OJ7H2lP2xGsh6q vs3mH7jEq7maDnhlVvBYDiANRDEE65cZLLbmc+oma1JTyQ5dd44/1giU2VIs/TMsUnm5 8AnQ== X-Gm-Message-State: ALQs6tC/Yo2k9Pn6bYft+m1aEn4dEwCJOffb29N9mckMacpaLFpb2MeX +i4iFigNl+1Yg9HjXmw9KDfLpw== X-Received: by 2002:a63:6fc5:: with SMTP id k188-v6mr2497642pgc.135.1525479284834; Fri, 04 May 2018 17:14:44 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:44 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:13 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 19/27] mdadm: Fix build with gcc8 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...able-errors-due-to-new-gcc8-warnings.patch | 30 ++++++++++++++++++ ...tead-of-memcpy-on-overlapping-region.patch | 31 +++++++++++++++++++ meta/recipes-extended/mdadm/mdadm_4.0.bb | 2 ++ 3 files changed, 63 insertions(+) create mode 100644 meta/recipes-extended/mdadm/files/0001-Disable-errors-due-to-new-gcc8-warnings.patch create mode 100644 meta/recipes-extended/mdadm/files/0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/mdadm/files/0001-Disable-errors-due-to-new-gcc8-warnings.patch b/meta/recipes-extended/mdadm/files/0001-Disable-errors-due-to-new-gcc8-warnings.patch new file mode 100644 index 0000000000..003d8d059b --- /dev/null +++ b/meta/recipes-extended/mdadm/files/0001-Disable-errors-due-to-new-gcc8-warnings.patch @@ -0,0 +1,30 @@ +From aeee2c585d3bf2470691f570ace80c4d75fe871a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 28 Apr 2018 09:39:57 -0700 +Subject: [PATCH] Disable errors due to new gcc8 warnings + +This is needed until +https://bugzilla.redhat.com/show_bug.cgi?id=1553958 + +is fixed + +Upstream-Status: Inappropriate [Workaround] + +Signed-off-by: Khem Raj +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index a04d82a..a893120 100644 +--- a/Makefile ++++ b/Makefile +@@ -43,7 +43,7 @@ KLIBC_GCC = gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIB + + CC ?= $(CROSS_COMPILE)gcc + CXFLAGS ?= -ggdb +-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter ++CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=stringop-truncation + ifdef WARN_UNUSED + CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3 + endif diff --git a/meta/recipes-extended/mdadm/files/0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch b/meta/recipes-extended/mdadm/files/0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch new file mode 100644 index 0000000000..44351b6569 --- /dev/null +++ b/meta/recipes-extended/mdadm/files/0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch @@ -0,0 +1,31 @@ +From ab18f04cf89ef4e8521c81c50477e1363b2d333b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 28 Apr 2018 09:46:12 -0700 +Subject: [PATCH] use memmove instead of memcpy on overlapping region + +Fixes +super0.c:526:3: error: 'memcpy' accessing 3936 bytes at offsets 156 and 160 overlaps 3932 bytes at offset 160 [-Werror=restrict] + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + super0.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/super0.c b/super0.c +index f5b4507..264b598 100644 +--- a/super0.c ++++ b/super0.c +@@ -523,7 +523,7 @@ static int update_super0(struct supertype *st, struct mdinfo *info, + * up 4 bytes before continuing + */ + __u32 *sb32 = (__u32*)sb; +- memcpy(sb32+MD_SB_GENERIC_CONSTANT_WORDS+7, ++ memmove(sb32+MD_SB_GENERIC_CONSTANT_WORDS+7, + sb32+MD_SB_GENERIC_CONSTANT_WORDS+7+1, + (MD_SB_WORDS - (MD_SB_GENERIC_CONSTANT_WORDS+7+1))*4); + if (verbose >= 0) +-- +2.17.0 + diff --git a/meta/recipes-extended/mdadm/mdadm_4.0.bb b/meta/recipes-extended/mdadm/mdadm_4.0.bb index dc098f19b6..097875110c 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.0.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.0.bb @@ -22,6 +22,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \ file://0004-mdadm-Forced-type-conversion-to-avoid-truncation.patch \ file://0005-Add-a-comment-to-indicate-valid-fallthrough.patch \ file://0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch \ + file://0001-Disable-errors-due-to-new-gcc8-warnings.patch \ + file://0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch \ " SRC_URI[md5sum] = "2cb4feffea9167ba71b5f346a0c0a40d" SRC_URI[sha256sum] = "1d6ae7f24ced3a0fa7b5613b32f4a589bb4881e3946a5a2c3724056254ada3a9" From patchwork Sat May 5 00:14:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135056 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659111lji; Fri, 4 May 2018 17:17:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqX0NQKU33AgsRhxBsrsGZcnACP7kZR62G3d/ZaLRzEaJEN8XH0R/QLHLqulNcxRn9162DR X-Received: by 10.98.249.9 with SMTP id o9mr22995298pfh.256.1525479420378; Fri, 04 May 2018 17:17:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479420; cv=none; d=google.com; s=arc-20160816; b=Qn6cuepyBHDu5Bh42qgEcFhFU+NNq0t0eMdkAwc8livpERDBLNKzn3R4t5n8K+BSJW iLfYxnBtgDY58baD9iv2llNEOFEiAkv4JIjE0W9CzgVTQeLIP0pGNqh6NmzRVzALK9a0 wH/ncOmuaDVLK3MCosujfCJykZ1P6FFlufpEgd6h8kgh1niAxRcZ+LKJ6PYzwsyLe8gW STPu2BTqaVnAyU2puVwaofFHVtQ2aBTyQkipKkr9ilhXUHlk6ezoN5QIba6eS916E7jS OVX1HYwTQlvmMGFqWND6GbXz9AtN+F9iDtewtozCgYURx+vfYPv+OkCRK6b2TU0X1VMs Q1Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=iShXUTaG1ovDonjoBdLzxwYQeJjpSoSqNfpyntUXl4A=; b=csmPGlK3Sjc/wmHsHUiAp8sYjKAav3kkYkuQJSnGiSz0tOdOaFcWDHhT9J68zzZuYX bICrtmKvYtkuKlUQA0dELQDA50ZxvdOoCUZRcCLIdOGa0NmETlQRFmp5ze/edwkwCl/P qQKbAlVW+VPFGrP2d9GHEkYzuJrutzn307yc2gY6zYyT/JeqA+SpBhMbslWBn0oKrTM+ XKN0uY4bNgBc2+RTgGCSuYcz7i6TgEQfWDwZO5z8zBt4IiadEUed/EykomaQw8OYb017 dmP9MqOMVGoTqn9g0EkFS0PdNvxC89U1PRHtC5NxScfFGbcCobGDM3zhI402iHy3pwDJ KiPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=E2H4gc4L; 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 i14-v6si13837217pgf.284.2018.05.04.17.17.00; Fri, 04 May 2018 17:17:00 -0700 (PDT) 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=E2H4gc4L; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 36EF374E44; Sat, 5 May 2018 00:15:05 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 357E374D80 for ; Sat, 5 May 2018 00:14:44 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id a13-v6so16458797pgu.4 for ; Fri, 04 May 2018 17:14:46 -0700 (PDT) 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; bh=FVSh+HMUfB53l3u2iev7PAPk2oMLReQtBeKA0bW8sEI=; b=E2H4gc4LBXeSAZWnRoDhd//WRO09BmtOzv2HDyR8KXn5USbcwaTUikOE6GTkqFUUGa xVFZw2AF5jwryWdOB+0kyoO+JM4/LoWPX8bMCwywEHr61VOQyB2vVxMKvKQQfzHjVntA FwdLvctjzrN4t8FZjqZw5o/+f6mVe+32ysz7U94Xns2A6PEC5bIx69JByD/caPESIflh zmr/P0NmuXxNhzrLz3ePFkGtWRASH/OCgVhgRZnB1VdrkA8vOacSEHmwZrWp3wigdrNV fTsAjq7/bob3GdnKg2je4dukn+vsFIZupKT10WYmu+bAW5nXQga2+4iq7O0iDIytBdd5 Do8Q== 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; bh=FVSh+HMUfB53l3u2iev7PAPk2oMLReQtBeKA0bW8sEI=; b=thYE1uqQms71V2PkyXiHYKNYv6T13OWJ3agbh2BH9IUKnj/IaDOK0QWG9bIAbU2tNS ByD9WSpzM8u+JOxovFGl9/t8SBPBJO8VywPtsCjm/Q/YCzSn99UqfJWrkNl1NS7pthat tCNQkMM3FqfepAPJmN1hfTH5wX6uAbOxjQsFvhZHzFwp9tyGq6jkg/BHo9vgWmhBYG5k a5Dh7lMaD1ou2Ow3Utw0MX4LVW5YiFWyIgEVLHrW2UlSc+NH+XHmYGZw6BcejU0nfEoq CRgYLU4cUVQpM5TmmCJ58BIrdVYftCXgQ2lHl787wrRvhfFIfrCAGrLJKAtZGAacCqFt Kjag== X-Gm-Message-State: ALQs6tDfiDMbWMR+DyDKD7kDjyIyqXwW2VDk9KYUc3piNX5h55Ot7zva Sg3ApjqjnuA3Ci2Chjbaoiha2A== X-Received: by 2002:a17:902:8c91:: with SMTP id t17-v6mr30172426plo.182.1525479286035; Fri, 04 May 2018 17:14:46 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:45 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:14 -0700 Message-Id: <16b82cbd23979b59491d1289e1d5d762c2ebc17a.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 20/27] libnsl2: Install into /usr/include and /usr/lib 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Extend to native and nativesdk variants Signed-off-by: Khem Raj --- meta/recipes-extended/libnsl/libnsl2_git.bb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libnsl/libnsl2_git.bb b/meta/recipes-extended/libnsl/libnsl2_git.bb index c6ba80c943..c3a24face1 100644 --- a/meta/recipes-extended/libnsl/libnsl2_git.bb +++ b/meta/recipes-extended/libnsl/libnsl2_git.bb @@ -21,13 +21,4 @@ S = "${WORKDIR}/git" inherit autotools pkgconfig gettext -EXTRA_OECONF += "--libdir=${libdir}/nsl --includedir=${includedir}/nsl" - -do_install_append() { - install -d ${D}${libdir} - mv ${D}${libdir}/nsl/pkgconfig ${D}${libdir} -} - -FILES_${PN} += "${libdir}/nsl/*.so.*" -FILES_${PN}-dev += "${includedir}/nsl ${libdir}/nsl/*.so" -FILES_${PN}-staticdev += "${libdir}/nsl/*.a" +BBCLASSEXTEND = "native nativesdk" From patchwork Sat May 5 00:14:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135057 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659178lji; Fri, 4 May 2018 17:17:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZroKJHF9c2qPnnnboVLwsRFJ4zE1FJIZhDa61pRVZzav1bqKX9RvHIHOmt0s0Eek3L65C1d X-Received: by 2002:a17:902:b609:: with SMTP id b9-v6mr29215912pls.29.1525479427026; Fri, 04 May 2018 17:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479427; cv=none; d=google.com; s=arc-20160816; b=Jy8K+Vce6RlsbpCvaOy/CJbtDQ0R+X9oPEuoQASP8UDjwjlTdvmao3VfEBBSVn8EYV FhNi8r9Z4McCCqdljgKbBZRQmNb5ZB3kc8uCwwFH9tN8cSUVXFIEujmR4FJQjG1HGm2g XH/vAjgvceglgGEeiLwpQF5brJ0Of52AUKOQn/Sp4txGSEvABYX0V0o8MwDY3V93yDEg sjfclxP/W89+A8m3++H6NZVd52z1+ov0GVD8ojKoWwltqbLnu7HaDxxFd9Ie8z6AD43A 2GEXhQ8zdKOgkGz2I5wFERF8qXwO8+AycrpTMWzRNnhVnhc+oe+AjMCOz1Vr7t1IxDA5 EE4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=B7LI0NCQBuZ5/8Tr/80uawrSxhh4YopNgCAfLz1XRKg=; b=IbidHi/xnFXzFTTkiFEChv31HFSolfqwZ29Nt83LgFOAdRMkzT+YQqI8hsg20wglWz QzAXaRhCPgzXgAxZUJJ5AelVKTfb7huc3UfiuhCV161ZVSD22x10a8GnZyeiV2H8Tv/+ qZ6hUUGam3DIms1hlTktrBdhV5w+IOQ2qspwCbXzmydcsnurPgEVmDa464yaaW3bip/s 77E1kgVbBLp6Y2RfAMBU86KfYsvrx0wxTMiE24qc9pxSC6DyYbWH6Wkvj+ZmG9fcfHxA yVTKQ/vW4iXHgL+9WwogiOMHNJiOxln224LtC2n2Fo8cSgfoXOO7U7MkcnKUvUSwJu0/ G47g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sy0c/APV; 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 n4si16591498pfa.66.2018.05.04.17.17.06; Fri, 04 May 2018 17:17:07 -0700 (PDT) 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=sy0c/APV; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 6A8D474E4A; Sat, 5 May 2018 00:15:06 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 0096474D97 for ; Sat, 5 May 2018 00:14:46 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id v63so18599367pfk.8 for ; Fri, 04 May 2018 17:14:47 -0700 (PDT) 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; bh=4G0FxhK4ny4S4DNqksOQvurfb9LCXySfOv2S4y1e6Sk=; b=sy0c/APVkDzNBpRAntBflO+vvRhFvr+PXufSOc57GQjSRXPnBd5e8zHRMU7pFiS1m5 1xgPsyBJFC3JFA6oaKBkdivD1Axwzqs8yJa2OmK1MmbwFuQZhHFVJahOAUgWMCoFD7qU XJ+IwMF6wTTDlpLamS8G57ny9r+euurS6oxFae3N36jjCdDsCD01lcwSQLtwfbvSGBfo 10gkj8iafRmdran+2kTpnLHnzaMJsdPB8UR/HfRQ+4W86SgPIJ5pDvIIU89BsWKyK2ej CvBzowoZEs9xDnxW+rCj0vFWBpzg/d7VcCnHdx2WcHp1jGaIPmiS009NOE0Zndt9iO0q dLkQ== 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; bh=4G0FxhK4ny4S4DNqksOQvurfb9LCXySfOv2S4y1e6Sk=; b=twv1cv2Zt5OJklpWUgB4dm3T4dpGalbvnBUdZ219JYGlu2zxnYDyaldiRf0Ws7MF4h ygutRXjzhQ2bmxHs6KGCx24RSE4bBcV/MKBXXPCU2x5dfz1bcsQOrzN+01vSkXaG8MrU yzso/3kAuoml3ILW4MijQjfGB0w/tRW7SniuzRPhPbPLTOUU1AUXHNWj9o0ksdELCTL1 EVMaQ/rNIVCRN4uTI3gdQdc07/rU9V3cbN/ilIip19hHsLvG3nD+LLB5hNjQDMZUgc51 oXBTuV9D1mRHb4Y/+gqq7idL92XJBwaqI+4qI1LimAjDKlUrcdMOWJ8Z9ZbHzXG6cKro dIWw== X-Gm-Message-State: ALQs6tCKROt46tTiLS8Riq7irknJ5Xnza6A8AzgePNYtXl+OZV5QJ+WC kW7sncNp4o3vAE08DTOgq4gAcg== X-Received: by 2002:a17:902:b7cb:: with SMTP id v11-v6mr4755107plz.266.1525479287034; Fri, 04 May 2018 17:14:47 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:46 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:15 -0700 Message-Id: <6a2c8bb93c50b02100549c23c1b7c0aec2304e95.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 21/27] ppp: Install net/ppp_defs.h on musl 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This header is used by other apps e.g. ippool glibc provides an internal version which it should not Signed-off-by: Khem Raj --- meta/recipes-connectivity/ppp/ppp_2.4.7.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb index a5f764f6ec..a1bb7d71c1 100644 --- a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb +++ b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb @@ -80,6 +80,10 @@ do_install_append () { chmod u+s ${D}${sbindir}/pppd } +do_install_append_libc-musl () { + install -Dm 0644 ${S}/include/net/ppp_defs.h ${D}${includedir}/net/ppp_defs.h +} + CONFFILES_${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options" PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools" FILES_${PN} = "${sysconfdir} ${bindir} ${sbindir}/chat ${sbindir}/pppd ${systemd_unitdir}/system/ppp@.service" From patchwork Sat May 5 00:14:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135058 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659234lji; Fri, 4 May 2018 17:17:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqB8fksjyWI6JFfsO9o83/nBE8NtE3PwX2HKmcgEqhdefWtolM7gkvmfzo4XuaWvOES65KX X-Received: by 2002:a65:530a:: with SMTP id m10-v6mr5554123pgq.429.1525479433108; Fri, 04 May 2018 17:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479433; cv=none; d=google.com; s=arc-20160816; b=H7Xp0FD/cxyf0wv4KlKH30OpIUgWuRq71F1xWKUapB6Le9AZMSQreDKauAPOD/AXBV LXh9Ulq14idYonhgDwA3I56YM1usccEjccdb8Sw9ZVMWbAoYyrwb7d1kY/kOof2yGug7 e/c+5qHWAYG8I6WCa/h6G1bj3z6mpwA4pzCaEY/v3Md5ONGKzUTf5ubuiYkIoydQ//14 Ooo3FCJh8ARtF379mH+plS4QdATc5DUczWmdtCAEXYdpyLLqBobpjJ+d4s+n4uCJMLpr XvKYAdWJZgTeoYwJzP2t19UdRq05Mv1wLrgtsS0POeXR6Gpk0mrjEEg0eFu72OFv3VZp 0Udg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=SOiEwpcbp41EJbQvNRnurQDd5lW7CW4cYRqVmkZEjhA=; b=bPLUa/XQjHhK69z9aFn+AfB3n//jTy9RxezQjDHVEsOVloZkDf1gaASHY2wJuVdFp0 +lMcjvDRaYyriKpLRWE/oFP23UpXM+XVujPvpvDWgtYDKmDFxGoO/kndGufb1/3obOOp NNYK0uKJOoPiWLman6dD2ZuSrXgBXqUtNwWlj+2pGjyRqXkFqlRJWUWi00lBa/ODIfiD JgqP+k4Cegxeb5LTdEH6GI5SW8kyhHIJmiQcuCR50mLKFRZKepl+ZpHbW9uwrbDF7+XN IJ7JC5pKMz3M1pxQmTO9V2wt8XqT9HdNPbv07cADeI3cccCe+a6wE4H8hQOg4dQQfOMJ 3qwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WHZDmImh; 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 n6si11718608pfi.360.2018.05.04.17.17.12; Fri, 04 May 2018 17:17:13 -0700 (PDT) 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=WHZDmImh; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 85C9774E4D; Sat, 5 May 2018 00:15:07 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 3E6AC74DDA for ; Sat, 5 May 2018 00:14:47 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id p9-v6so13545906pgc.9 for ; Fri, 04 May 2018 17:14:48 -0700 (PDT) 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; bh=rDjOx9JKZd+yZsuc/wtqNsuwD+B0Vx+tt4bnYcGFwMk=; b=WHZDmImhnj57r4G8MHfShGiWJcqxjUwTStPl42dAVSjCXBEWvl/uqYbI2oPxFj8pYL ANR23XfCoLXObUb6siw+ZN2e1Ucsq1MrJ2f3F9TYHmqBDJ/TEbAnrOG8svto9M3lB/Go 4D4oJO/M3P07yS+p7HemQ6VMmOu0pwOn33m7ABhWAA6kRgOCxYCMT695fHqNCz3wEksv efLkSrEDC3Ybss+HjM+OFhUl+wy8m+ETKe9YCyhw/K7rFsqgOLxPpNddvJwkyqh3cFJ0 q6X6In7Jryv2RTl0fRS+DQo6ujjKQ4rNJZL/QKavM5TlOddbK5wvye0WJu1MEhly65eW j3Vg== 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; bh=rDjOx9JKZd+yZsuc/wtqNsuwD+B0Vx+tt4bnYcGFwMk=; b=LPFSO+ettd/+rAcplviDmPIqiPSCmtXUq/lKVg79ckfDEwQF33g3O5spwM3by/ZIC+ FwY6uK0wC1qG8o7rAHXUhpL5BvZBvP/+C4c74mI5lJpO6vSbfeX01+KZlmgOAICEHQEq DUgfp8UXAXUft1b/ULmuG+tdWJB7Z3kArbDClzBHFoO1UyNbWAEGbZwhP5yO52gsvNEN PkssfT48/o01jbz36eMvKQWOUyttjIt3PQtKV5ets6ErC0sG9HtVI+vTFM0xy/a+G9ef yGxzjwgAuOwAmzfhpPn4WVvWYWs9b2x3AgOqrMN1K/N8YvFHR+xPEtqTY8/DBPHYLZya yz8Q== X-Gm-Message-State: ALQs6tDleDhTbs/QxXuUSUbuwFE3ITZ2LWch+4pwkMPlSlqcW7HA2LPF pdwQ/jsoLzgkhzIkmrUZ6uE4xA== X-Received: by 2002:a65:45c2:: with SMTP id m2-v6mr23834500pgr.433.1525479288204; Fri, 04 May 2018 17:14:48 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:47 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:16 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 22/27] allarch.bbclass: Exclude package_do_shlibs from do_package signature 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org shlibs is largely useless for allarch, the particular usecase where it fails is when DISTRO_FEATURE is changing due to libc being different e.g. Variable package_do_shlibs value changed: -DISTRO_FEATURES{ldconfig} = Set +DISTRO_FEATURES{ldconfig} = Unset musl -> glibc or other way around 'ldconfig' gets added or deleted to DISTRO_FEATURE set, neither this distro feature nor the shlibs processing during packaging is of interest to allarch packages which are largely arch independent scripts Signed-off-by: Khem Raj --- meta/classes/allarch.bbclass | 1 + 1 file changed, 1 insertion(+) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 51ba509cd0..1eebe0bf2e 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -45,6 +45,7 @@ python () { # These multilib values shouldn't change allarch packages so exclude them d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS") d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS") + d.appendVarFlag("do_package", "vardepsexclude", " package_do_shlibs") elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) } From patchwork Sat May 5 00:14:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135059 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659317lji; Fri, 4 May 2018 17:17:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqkEovRbIxYo07iC5/WZwZfLvSF3zfsqXa01wlbpbIVl86LJWZHqy9I9Utujp8NXOhvo4D0 X-Received: by 2002:a17:902:1682:: with SMTP id h2-v6mr29817560plh.127.1525479439751; Fri, 04 May 2018 17:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479439; cv=none; d=google.com; s=arc-20160816; b=RvIxjX9p6oHePRvfxuzVBJsbaMgGGNNyQ4yV+dIBM9UyhEwEkO15tjogGDQ+84phUH kFrKiH32Jn7Vn+hDZnC6eBzDoV+RloKVvRIV2GvKbdaxmHiRICP5vUb8zIg1otaBAhB6 ouiJ13RVCIkekuBqGDDV9zEr+N3gQE1PWGD4tx1E/L+6pKppEYw/KmxY8RaNXKcs5Kz/ KdT3jwyXfL610tZ+RL73AGqOxYDn0Idz2CCndCnkxo/7I46F+tfLkagsuCrBbcG1wRE+ 8d69Sv/ZstWl5pXVLq+gvEvtou4k9zMbiJ6m/u23qoD5cD0w0c+BTjNxSxfd3gDfbwEW RkGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=vu2Ei1+5b4ljE2+kLGzsEO0VsKfszZ/TnHsM+jaXusw=; b=SJTmk/d5TKlMjrJ83BenQ8cfuZUB6PQbDZEQx1Skyx7Fh6spKBejmeLGB3z6xpr4A+ dAWqp0J5Tizo06tt2f4wwL7GOC7h3oB71XeTt3hT7lbUBYmPhdytv6UJIpGlPO5jtv11 m0DD2spgaYZ8SOtpUweW1TRSnaTo4cr7/j5eO5M/G5emmTtMw2RIej4LX/0DjEl7nAg+ iZmkmS3fkH6vLyTdsfVIiJ5llb3yi1oEQaL65sthHAKIwVWggdle8qqamm3bm0ICBw4y b7VMctDI8+Jgzh/LUEHF9JLVLOXussuAS3nuz2r0/fJlirCwpzOBvXHZk7/t7HE4lGxn h/Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Y5Nqv/RM; 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 h8si7395035pfi.115.2018.05.04.17.17.19; Fri, 04 May 2018 17:17:19 -0700 (PDT) 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=Y5Nqv/RM; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9CA9374DEA; Sat, 5 May 2018 00:15:08 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 8262B74DC4 for ; Sat, 5 May 2018 00:14:48 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id q22so18606943pff.11 for ; Fri, 04 May 2018 17:14:50 -0700 (PDT) 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; bh=oMbmqL98t8dcMNAS+W8mp86YEcqU7ruq4As7AUW/TKM=; b=Y5Nqv/RMneceg1muSIr3QiaSpbTYXN/ANYEaMcNqZBoJN4kTvR4shH2UQREe9ME1uB eA021rL1sFlypHizPIZqpoetlZSNwuzKCTdD+EMP0t0f7WADgbcC8lLq5gA1zxDNBKpd f6j/j50cb6PPrD7DInHLtKL1lYtIPdRwopdWdmdaEBqagnmrGr853W+Jw8LAklTvcoTO dX6TdlYs5GIc2pAterBaUmfZPgw6pkzPLtZatgD92dV6JIK4cClVc0f0ZXSegAHD/K1u usp7yK3I99Cib0H0uaKuGknaECSdxWDW8QkOAA5hxhq9DgsCy4utoHayllviej3EXEbS dAUQ== 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; bh=oMbmqL98t8dcMNAS+W8mp86YEcqU7ruq4As7AUW/TKM=; b=fcpg0ax8b4r92VgsgOELSMPUtOYdXJp5Tsw8tF0nNQ1BDGAZrg3U69qGZSVJF6PLYG 6cCmn0zhEG761Ug2Dnfw7YklQdz4848BGyE0hWKkXAM274KXwAPulU6jM3LpUUnTRbTO TOQ7FUBaYwBoKFUbBgC+nM4BYrLNLcP9WPlrjMQarUdzUQJ08taZSankT0LHevAU7LvJ 3AlESMYZGo7rx84rltTVQ1huz7wQsD8VL9CPcLOjX5SqH9PtputwXKWlf8UgJcrzNTBb 5lH8JjMv7VlBFbk47v0+0CpKq6FC2eMGsWpEZUF1gxWtBUL7GqwWe+hc4ulbE/qt2pIB EvhA== X-Gm-Message-State: ALQs6tB5wyoV9TEhIMqACrK0Ew3GirhmLrV0QiuuRF79usXzb70Xodpu oGwceC63Kih39dV7mZBW3ESPrg== X-Received: by 2002:a63:6d41:: with SMTP id i62-v6mr23818829pgc.233.1525479289457; Fri, 04 May 2018 17:14:49 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:48 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:17 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 23/27] packagegroup: Do not add libssp to SDK 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Libssp is only needed on mon-glibc/non-musl systems Add rpcsvc-proto for rpcgen since its not part of glibc anymore Signed-off-by: Khem Raj --- .../packagegroup-core-standalone-sdk-target.bb | 2 +- .../packagegroups/packagegroup-self-hosted.bb | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb index 43fc599c73..f5b2d69cef 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb @@ -13,7 +13,7 @@ RDEPENDS_${PN} = "\ ${LIBC_DEPENDENCIES} \ " -RRECOMMENDS_${PN} = "\ +RRECOMMENDS_${PN}_mingw32 = "\ libssp \ libssp-dev \ " diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb index adb0c56c3a..f1273e8a17 100644 --- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb @@ -76,9 +76,6 @@ RDEPENDS_packagegroup-self-hosted-sdk = "\ intltool \ ldd \ less \ - libssp \ - libssp-dev \ - libssp-staticdev \ libstdc++ \ libstdc++-dev \ libtool \ @@ -90,10 +87,16 @@ RDEPENDS_packagegroup-self-hosted-sdk = "\ quilt \ sed \ " -# glibc-utils: for rpcgen +RDEPENDS_packagegroup-self-hosted-sdk_append_mingw32 = "\ + libssp \ + libssp-dev \ + libssp-staticdev \ + " +# rpcsvc-proto: for rpcgen RDEPENDS_packagegroup-self-hosted-sdk_append_libc-glibc = "\ glibc-gconv-ibm850 \ glibc-utils \ + rpcsvc-proto \ " RDEPENDS_packagegroup-self-hosted-debug = " \ gdb \ From patchwork Sat May 5 00:14:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135060 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659367lji; Fri, 4 May 2018 17:17:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZokQPrNZhwdlR1cZ0bhjuJUNiEi4V527FL0jkKO+DG7pxvbZZzjHOXGty/U/ZRUcSlkiSOf X-Received: by 10.98.214.5 with SMTP id r5mr29051381pfg.8.1525479446002; Fri, 04 May 2018 17:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479445; cv=none; d=google.com; s=arc-20160816; b=rehh6y3fOEIJjc1qWtm0dCl+GfgC3MxtecURx3Q+tRZCQe0WexUoIiXbgHelmkIjPa vgdHSvY1ZsAvizjdbQCx90nnhKUP9t8tK60yNx3DnN9s8KcKw0xtili/WNCn9log/3Th vV+Ebia7sLe81NwiSK/HcPXaIoBldVsrmK7eTmWJXYre4BLOLYdei/CPa+tlXDVVZPXV 2Hq0VyFKviQk8C3+6E3Udk9JzS44NGSKMCMNxC1mTX7oPqsPvEEHYmkEZEZ4WkqCkQDj dpVLXB9pWyEj1VxbZYPqXHTfPCCojuzlknSyNX1OA/VFgFhcFeXJNtn3BSCSHI+zv17W s0MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=31EBZ9n9ruyzq4h0dlTQiabvRweBdgatwvOZlD9U7Fs=; b=cnXxLZrNtK8yX8B7wUfNK43WTYly8U/NNZ7t4Zom0Ijp8RNe3+na7EtAxsyIPthAzQ LOSmHlIu0qyvUgGW91cyStLSodZeOsPSJh8hfeMwycsj9WZOd27V3qZezOszEUemfiYP LCjtHe5UOHAyKa0MYhw3hL7X8BMsDG6t/7wIfKD/W/az8Yo2hTImuAVjoalxSWumeeec WXeOanNqBysfSpW5AMtF+Nwh6kMXjZyOAugQitScDQp9qmrtcpwzqX3PQ4vCLVpJhHRt lCbCzOB2TRP8IRmV7jWV9SR85nEIGPUTbmjtMKJKZol/7CcXfXBrAbUv+frzlLjNdcOx 0qJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=cZenbyqs; 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 d1-v6si17712318plr.410.2018.05.04.17.17.25; Fri, 04 May 2018 17:17:25 -0700 (PDT) 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=cZenbyqs; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B246374DC6; Sat, 5 May 2018 00:15:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id D679874D80 for ; Sat, 5 May 2018 00:14:49 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id 82-v6so16446395pge.11 for ; Fri, 04 May 2018 17:14:51 -0700 (PDT) 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; bh=a8tdDY4NWb0/WFSGV8AOycfxIGYazx0m5OIim3ov2nk=; b=cZenbyqs/w3AP1sRRxz+ud5MyzoI+jtOGYI+pWIFAf1WwKmqMEdvn2ApoDLmmmgLqH PSn75LFkh+d4yOEqLC2lkz4baz/yZaNi+eVkeS1N4jcsXMKnkacgyKPclcZxWxFVu+yr /DkjcYhI1ouy1jvGiiElpvn4vHPIR7OX00Tu06Q8NrejZSzfbUJtfYCKwSMRhL3O2vCV DRF6bDdAvQYTV1C7uCv5l1tvqMQnYlu2urpa2UFGOM3U4A3dwXlCGYa+A8V7YdTkZDTB 3k7t4osCN7Pmxw46rrCuCEkPhV3mrylizHJ9MxcgZyBeUL7MUKxHLfkuPt1wkbcgDyFu cCTA== 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; bh=a8tdDY4NWb0/WFSGV8AOycfxIGYazx0m5OIim3ov2nk=; b=ghEzlI9Invm2tDAL85SzcI+kJoo/5cAeF8d/kXJ91hr0+CnpRqDb1rRAolZMMi9Ufy Cvi935ln8DdZzn69o2OZ5lbex+qyezxc9yjn0aPUgjbrkDiwW+NQrmx0p68sq+0bOS1M 62l1lRjhq+RPrG35YM4nQ9XNmD8J8ud8XVoKgJBdmB+nwwFQNwhyFcD+yOmVZ5Co5ds1 Zn7GrxBTZk7ipGVLx8xbxehr+5kc0YNmfHQiaHhfksQVMJX8GYnwS5hM5cwkFaZf/Llm 2Cg3kOMLuu4PKpNh+VhYJLJ26911zY5ws+dtCw2z8w9ZdvhUieqwuoqUCxOuxu5YWD55 aLFg== X-Gm-Message-State: ALQs6tCSEHdSd1N3R3jJy/pCCwC+zvKbpBiXYVQ+OoQvX1jLggcGJfWZ nl4eo2o6hI8AkPuQW8DRArLecA== X-Received: by 2002:a65:61ad:: with SMTP id i13-v6mr23655500pgv.449.1525479290869; Fri, 04 May 2018 17:14:50 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:49 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:18 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 24/27] Disable using GST_GL if gst does not enable it 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../webkitgtk/detect-gstreamer-gl.patch | 20 +++++++++++++++++++ meta/recipes-sato/webkit/webkitgtk_2.20.0.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch b/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch new file mode 100644 index 0000000000..57ae48c141 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch @@ -0,0 +1,20 @@ +From: Alberto Garcia +Subject: Disable USE_GSTREAMER_GL is the package is not found +Forwarded: no +Upstream-Status: Pending +Signed-off-by: Khem Raj + +Index: webkitgtk/Source/cmake/GStreamerChecks.cmake +=================================================================== +--- webkitgtk.orig/Source/cmake/GStreamerChecks.cmake ++++ webkitgtk/Source/cmake/GStreamerChecks.cmake +@@ -43,7 +43,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO) + message(FATAL_ERROR "GStreamer 1.10 is needed for USE_GSTREAMER_GL.") + else () + if (NOT PC_GSTREAMER_GL_FOUND) +- message(FATAL_ERROR "GStreamerGL is needed for USE_GSTREAMER_GL.") ++ set(USE_GSTREAMER_GL OFF) ++ message(STATUS "GStreamerGL is needed for USE_GSTREAMER_GL.") + endif () + endif () + endif () diff --git a/meta/recipes-sato/webkit/webkitgtk_2.20.0.bb b/meta/recipes-sato/webkit/webkitgtk_2.20.0.bb index 50e2666578..e357c64214 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.20.0.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.20.0.bb @@ -20,6 +20,7 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ file://detect-atomics-during-configure.patch \ file://0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch \ file://0001-Fix-build-with-musl.patch \ + file://detect-gstreamer-gl.patch \ " SRC_URI[md5sum] = "51cc47345c3ec53802718cd6fc9b746f" From patchwork Sat May 5 00:14:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135061 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659439lji; Fri, 4 May 2018 17:17:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpYlHzN/BPPMTPDW9P8Ac6vZq0gHM5J0+qOICfHPWigMPyZxHQBP0thKgC2hyW/AKJa249S X-Received: by 2002:a63:351:: with SMTP id 78-v6mr24505923pgd.355.1525479452343; Fri, 04 May 2018 17:17:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479452; cv=none; d=google.com; s=arc-20160816; b=TXUs5dF9uEaSqmkfxU3Y73dQ/ty935y+d8MtMONH4/4DhbzTxSUbzNDve7g9xJxWcl cg0XEozMSQKDrW6nUoQCXSXaBlMJqYYhaAWGPpBEECvi/Z1KAg0bB24DHC+Ta/9/M6Y8 wmvELjHcHFmiwa2+C4mkHJXevN9UgAhpENClwROLbk/U7Q+lTEvSW7M3W7WQd9ztTsVv wu/41lF/ub7Dll4+li/4w9pDBJkLw7F+RgYfu15ZdoX/jtRnRJracWYrPlTP30eGhAv1 2rMWKFD22CahwFWwSHRDQZf9xquuqlPq6Z1uIY0QUGx7BmqwKmytaEl0WN/TN5/zqNmk ppMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=ceBBgd2qHPSSaRvMWhDgWA6hpRYx+DkrDjsGpyz2fmA=; b=vLr2BEiiMzf6gPwpkiFDSBkL+6zbzND0RbYZ4BG3fJnL2k6FY74g2FY0Zqhjt7uYWW 1UBMkASBBff/Ckjii3kTtqNfFQlQ3nlBMV722ciYWATBZmRGlnJWaWd+Yeo4WikXl/MR esw1mv9QfgXcm+lPB+YuKkjGzFd5GApwcJl3+/8364ivw0hvLGUUv3/+F8JSMmvcQYDg bLpgP8oRyxhg5URTQQwI2GVuF1LP1Ppw0rgujy7mLbyD5f6nKqzZR4DXAG/FGNGwK70e yJ45l8QMb2gR6ino4L3kQKKpJX6L9ajcOIitwKEegVRlVv3kIp7N5PYa4h+0dmDiaDXT EC7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lIVyGoBd; 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 y8si17166369pfd.47.2018.05.04.17.17.32; Fri, 04 May 2018 17:17:32 -0700 (PDT) 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=lIVyGoBd; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C710C74E57; Sat, 5 May 2018 00:15:10 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id DE89174DF0 for ; Sat, 5 May 2018 00:14:50 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id a22so4507351pfn.6 for ; Fri, 04 May 2018 17:14:52 -0700 (PDT) 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; bh=jvvfG14KDHvHcnWe87Wp+vrQdPqR8xPDDEjubxy9Q3w=; b=lIVyGoBdkrUcsoWK9DT4EA0nqMqkYMuFgdyzDwteyyKr2UbJG+BqwEpxMWnJwwknNB nU4lTAqSIcI53FcZx3/rdwvQoM8OpTQa8z3glDcZd4Z3qbKovXgf44PI/sccInlHpodY 3shiZAbitKzWUklmpX/ePzNmBNxNV0Leqo7T4EyNNF0bfGHEIBGnxEvvRh1lJrEovish YB/n5cDiTU3mL3x4FpmnNBUccyZiXg4404Jg1CsDHorKuSAs0idC4wIKzhuFYTwJTTiN UYk0Ox9ibFoQEmgJ+tuFaA1NuwTlXwZZgNwMGSdKmf9YLlo2bJy8G3x5AIqrWGxWOp/d /Oew== 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; bh=jvvfG14KDHvHcnWe87Wp+vrQdPqR8xPDDEjubxy9Q3w=; b=JGBKz9fRyrszLKi2eBJIVSRU7hKGaFfUR0trArb7yUFxA8lPn8QlZalPFvVqEyhGfN +yvwz2K2KhsKwMOe0qhtvvk63ZP0R4Aq17r1l3MK3nKcdg8COo5OlB+Ph6WUcmKc1z7p S9yNr+7bdQbZNd5sIo5kL5VCRT4/2xUyQZPLek6dDlxZUcBTVQwR+mF6KCmsq8HEkq9c uj9netWaXqQ1scpgk3/SCCvVC39rc9MWCj/vXrnjysjAhjW8hiyQLYdIS0jb69lxUg+o 1Z5Rbx9Nk0vSjGnh7G4jjmCrxjDVx7yaFuUdsGQjbv24QFBsuh9+mdXHaAos7UdfojPr MHTw== X-Gm-Message-State: ALQs6tA+8Gp7CINA+3eduD/yIHhn4aIY6jhj5y/JySEX+DYRIGRp+U5E xtFu14ZPiDicopDrqmVent0c9A== X-Received: by 2002:a63:a54f:: with SMTP id r15-v6mr24582434pgu.236.1525479291954; Fri, 04 May 2018 17:14:51 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:51 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:19 -0700 Message-Id: <0697c7845e50ac8803151867abf15246be492f46.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 25/27] mesa: Define PYTHON2 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Ensure that python2 is not assumed to be python which can point to python3 in some cases, when building gallium-llvm there are scripts which are requiring python2 and wont work with python3 Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa.inc | 1 + 1 file changed, 1 insertion(+) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 354271e826..5d4a452d33 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -35,6 +35,7 @@ export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}" export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config" EXTRA_OECONF = "--enable-shared-glapi \ --disable-opencl \ + PYTHON2=python2 \ --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} \ --with-platforms='${PLATFORMS}'" From patchwork Sat May 5 00:14:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135062 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659517lji; Fri, 4 May 2018 17:17:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo3jgC4EFrO/uvn8LxWyuLdFvZmpK4dzLSGVD3JAUasQjD1JQCsI8XkYu1z4bc4ZO09WURM X-Received: by 2002:a17:902:407:: with SMTP id 7-v6mr29864191ple.47.1525479459416; Fri, 04 May 2018 17:17:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479459; cv=none; d=google.com; s=arc-20160816; b=AVckm/3z1q1jQCoJD7L8SpAKTILka9thH8Qf2jox0zCAGIvUylMtmcvAZogwaaURrS pwjhRgmpQ1HvDQYBEnlJPrwVeKTfXgVacElKD9APdlGhINvZ4tbMF5664IHnhs06fsNq HZx+DHRfVzsEb1TSvZhUGzqcMfishnmiQr4SUE9bpAZ6QWQ+DVsHTPGx+Mw8oftzmeaw od7988eBkbV+F+by4TUqnITPcMWu5WlEOU9OlpDYMcIO54bcnL1sTqwlFoO316ebj7z3 5RK5iV+0PG9EEWG6198WIRfgSlByI0UcsHCxYldIVZ9QvhAZxIG53PZr+CE/PWmJV1s2 u/ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=mtrl6lxYeENOURhDkOT7sG2Or/4TDH29uzr4gdLcWoo=; b=sGTEEzaNkPsZPkZcvE7w+2PSr0mtSklhUDdwQB4FaDBQzjwFzgMakfu92LYtvM/1KJ TFRVoEOH+ju6i8C6yBSXpxTg1QdSudqAdDH+06KRTrG2BGe5iEZjvRKA9xVgYEDmIPYU blVL+lLb2hqGmR1pWafmGklfNKomVxW+ZEANb7xkJki3rO6ppqYa7B0vvG2B1IwbJtcw x8cCfgTNDBdW8lgJrnIebW/vkJymNsl1LbyLK851JxGqSqvC2viLeUsMzeAaOPDUvBkL coR426UujyEBrYuTio8UXfho9ulgocCWLQJQc5stNUXZbl7S0L1Rm9PgY8nHd5BW5GYY OczA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WAt2SeeL; 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 j6-v6si11627161pll.238.2018.05.04.17.17.39; Fri, 04 May 2018 17:17:39 -0700 (PDT) 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=WAt2SeeL; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 105A274E5E; Sat, 5 May 2018 00:15:12 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 7AFA174DF8 for ; Sat, 5 May 2018 00:14:52 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id a14so18629699pfi.1 for ; Fri, 04 May 2018 17:14:53 -0700 (PDT) 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; bh=pg1QRVBeZFPGtAElXvlDhOlUqrLg6jOJ8lkwuzcIgXY=; b=WAt2SeeLcK63sBY51W6w0IWb9ktj4z/pvZlYR+e6HW6TpRwxy+7RSnP3Gqs129jc7z FEUggjyiFspH7qr2G+d7gjd7/+jb2KXvuVCTvITNPo3A9PIy8fIcXWDRAn1D/zdfy3b1 3MZvPSFnJ2weKadPCpYSlCVrdww6CV17mrfnUqfiQb9si6wCXr41uhFlWNUCrGF/Se6K DdpCvewvYIAsqTs8eZMilyb1482SQhud2DwijTpGEa9XSqX9gpkkakMaMfcPYGsjfy7g DihfaOhgQ5tNZUAqzykg2DtlI04wCwkY6GYzQAcGlpSTpvgLDDYsSreUDNEVXiYX98cF GfAg== 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; bh=pg1QRVBeZFPGtAElXvlDhOlUqrLg6jOJ8lkwuzcIgXY=; b=Ce/jI1XBn9nXfEV/7rVGy4PJC9LIhaBujwemntOlesBf6DyBxshXa6AU2szz+xDNpn ArTK5eCz1flHXYjffP1gbgWvOoMuPEVRVm4B4LQyuG2xpJpwEzBrV7JMj7KTdHjCLwmx Sxm2ATi5YZ5+z8GCtnHsfBhGucQAnYcYhF8nSnTSRmTBJcd3v3ku/v9HcPR3eb+k2C4g Gvhj6W6PRs5zIWrTEaa7LHGAPuHzJtRbPxXtIXVZnWSzqPuqt/srugWFhpp3jAMnkUHH Qw3pL4ZbWO1GiWiiSSot653zIVk6KC+DUqwk39EcIPswJGSeRkyMLKiEN7WFxfQgTfrA CFdg== X-Gm-Message-State: ALQs6tCFVlfkEr+JvwLyOnQRS00mM4ijtp1fbknwkvRkt1p1rEBwms70 8VxB+kvx2pJqQSJtkpd4kjGohg== X-Received: by 10.98.242.13 with SMTP id m13mr28955572pfh.170.1525479293283; Fri, 04 May 2018 17:14:53 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:52 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:20 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 26/27] strace: Upgrade to 4.22 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org License-Update: Update Copyright years Signed-off-by: Khem Raj --- .../strace/disable-git-version-gen.patch | 12 +++++----- ...st-test-for-m32-mx32-compile-support.patch | 22 +++++++++---------- .../strace/{strace_4.20.bb => strace_4.22.bb} | 11 ++++++---- 3 files changed, 23 insertions(+), 22 deletions(-) rename meta/recipes-devtools/strace/{strace_4.20.bb => strace_4.22.bb} (85%) -- 2.17.0 -- _______________________________________________ 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/disable-git-version-gen.patch b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch index 76daf3a3b7..47b1139c53 100644 --- a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch +++ b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch @@ -5,16 +5,16 @@ Upstream-Status: Inappropriate [configuration] Signed-off-by: Andre McCurdy -diff --git a/configure.ac b/configure.ac -index 7004bd3..b2b03c6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -31,7 +31,7 @@ +Index: strace-4.22/configure.ac +=================================================================== +--- strace-4.22.orig/configure.ac ++++ strace-4.22/configure.ac +@@ -32,7 +32,7 @@ AC_PREREQ(2.57) AC_INIT([strace], - m4_esyscmd([./git-version-gen .tarball-version]), + m4_esyscmd_s([cat .tarball-version]), - [strace-devel@lists.sourceforge.net], + [strace-devel@lists.strace.io], [strace], [https://strace.io]) 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 756cd8bb82..3d4913d68e 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 @@ -22,25 +22,23 @@ 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 1fe8a8e..d72c717 100644 ---- a/m4/mpers.m4 -+++ b/m4/mpers.m4 -@@ -53,12 +53,14 @@ case "$arch" in - CFLAGS="$CFLAGS CFLAG $IFLAG" - AC_CACHE_CHECK([for CFLAG compile support], [st_cv_cc], +Index: strace-4.22/m4/mpers.m4 +=================================================================== +--- strace-4.22.orig/m4/mpers.m4 ++++ strace-4.22/m4/mpers.m4 +@@ -108,6 +108,7 @@ case "$arch" in + CFLAGS="$CFLAGS MPERS_CFLAGS $IFLAG" + AC_CACHE_CHECK([for mpers_name personality compile support], [st_cv_cc], [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include + #include int main(){return 0;}]])], [st_cv_cc=yes], [st_cv_cc=no])]) - if test $st_cv_cc = yes; then - AC_CACHE_CHECK([for CFLAG runtime support], [st_cv_runtime], +@@ -115,6 +116,7 @@ case "$arch" in + AC_CACHE_CHECK([for mpers_name personality runtime support], + [st_cv_runtime], [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + #include int main(){return 0;}]])], [st_cv_runtime=yes], [st_cv_runtime=no], --- -1.9.1 - diff --git a/meta/recipes-devtools/strace/strace_4.20.bb b/meta/recipes-devtools/strace/strace_4.22.bb similarity index 85% rename from meta/recipes-devtools/strace/strace_4.20.bb rename to meta/recipes-devtools/strace/strace_4.22.bb index 869c12f65a..196c9d8587 100644 --- a/meta/recipes-devtools/strace/strace_4.20.bb +++ b/meta/recipes-devtools/strace/strace_4.22.bb @@ -2,7 +2,7 @@ SUMMARY = "System call tracing tool" HOMEPAGE = "http://strace.io" SECTION = "console/utils" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=f132b4d2adfccc63da4139a609367711" +LIC_FILES_CHKSUM = "file://COPYING;md5=6ddb91734b9c705f3e87362e97e5f64b" SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://disable-git-version-gen.patch \ @@ -15,12 +15,15 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \ file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \ " - -SRC_URI[md5sum] = "f2271ab0fac49ebee9cbd7f3469227cb" -SRC_URI[sha256sum] = "5bf3148dd17306a42566f7da17368fdd781afa147db05ea63a4ca2b50f58c523" +SRC_URI[md5sum] = "7a2a7d7715da6e6834bc65bd09bace1c" +SRC_URI[sha256sum] = "068cd09264c95e4d591bbcd3ea08f99a693ed8663cd5169b0fdad72eb5bdb39d" inherit autotools ptest bluetooth +EXTRA_OECONF += "--enable-mpers=no" + +CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext" + RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed" PACKAGECONFIG_class-target ??= "\ From patchwork Sat May 5 00:14:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135063 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659584lji; Fri, 4 May 2018 17:17:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrDZgS1znfeGTOkepfJrQNQFQHTOCbSssjoX7AX7YVOePX3bIBkO0VvIuK9E2DKvWBNBOYj X-Received: by 2002:a65:4b4d:: with SMTP id k13-v6mr1275093pgt.198.1525479465721; Fri, 04 May 2018 17:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479465; cv=none; d=google.com; s=arc-20160816; b=y8ZwX8Uwvy+EGjssoiPXJT3Kneb9b3VMcXFud3kwYQz0quqKus/uKOhzGc+YW1b51q cBAwZQI17+0MOAONlCTCiNCdG7IYyYAP8XPirfv9IjNsee3ssqaWSUFZj8H+9ZLSWvZq YE5lbvxCweh11LcYidvuIynCkZIjPTli6+PiXr4a5qLGi3w8rN5kuX/CiAFgYy+miVKK V9dEa0EVu/v/+k2VBjWnMEZ4cmboUbNCJGas1gL3e1lcqswXBVd11h3bVf/d3bpnRPO7 3YwNs2jy/II+6ShXeNr2xNN1KTqUge7ywMxNhRuRtlYRsy0oFQ8T4Q0vW2tMhFo33Jxy XPJA== 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 :references:in-reply-to:mime-version:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=TeGWkqguYhCi1pmUt5ao7hJYrbt/NOSRujdFyowbQL4=; b=BWmhI+9qnh36pPKISlH2TXl2KEr60c2p1tUwU4d+QSLBhyGi0TVW+qmBApwuWJxH0m rC/F/T+DDbMYJ1kY1IbKjl4aNPh83wMtxKmAOILYbJp6e1bNlgcwJ+ivT+jWUCIpOJWN eeg2NKZul2A3EVcQiosZmejAQCqKpqn6hYwT3eVDHB7BgCpYWogSyRjjSKt87CagA8+y kgIhYLmQe31UorBm0vSdmEIE0kiNMJ6d0YaXT9VKXd/XeJ0xTrM7WsFPlltfF+0IIjwP E4dEP3Amq4Y7Y5TSX4qBWw+pIzMWwO6TwxcT+1jSuYFmxobqG+ynp7UaaB5kLicvWGGG 7lCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hY2odbAg; 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 e98-v6si16808298plb.273.2018.05.04.17.17.45; Fri, 04 May 2018 17:17:45 -0700 (PDT) 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=hY2odbAg; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2446974E63; Sat, 5 May 2018 00:15:13 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 17A1774DF9 for ; Sat, 5 May 2018 00:14:53 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id p12so18591610pff.13 for ; Fri, 04 May 2018 17:14:55 -0700 (PDT) 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:in-reply-to :references:content-transfer-encoding; bh=ZzE6YxrMA3hjowYeK3p5o0KGYEgCmHkgA6hxMr3u6hc=; b=hY2odbAgXSbBnW8HBzt+Qw05tciKhyz2LQkkPLdv4IvD6PTJy69PpXCMYidi+5BtmD rSAKvLCEtUFJ0Jv74c4SLgB3nJ+kjOlb4qlPmFLkW7uuQcJeEfcNnvQ5oSO1dyqVJ5Um aZMDr0lX0+rbbUsJ+hK4Yu4Q9ObTErM83l2b+LdnFARJFWUHcuGqTlXgZYQhmDTlXIBe F6mnN9ERncUlG5gzUqFLvMbhtt8VH5bxsp/UUe6VumQwnVaAMtEf6976o7CUqF5o+sg9 RkbrehU27dhYEWfQIpkJkNGwn7bgW7X+XiRY7f5Ms9AGV9ZOc3aUzUH+/LhTGUL/g/bf Vdlg== 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 :in-reply-to:references:content-transfer-encoding; bh=ZzE6YxrMA3hjowYeK3p5o0KGYEgCmHkgA6hxMr3u6hc=; b=R923rK2XNDudIdqAG2b5ypCxlv3I5+cWtsxTl1mp8zKFS61uIiT+B5OG7+j0q0ePMO apNAc+0XAyQzKx7tAmDL6a3zEVH1cK9Sn6fVyMXXoluhYgL5DsPc9CM5mw3H0aL4pWhA splKB7llr411JS5xzfVjBwWizxzOLSiCv2cISsFIe0o2jwsP0uEndtFVphMLCq0wQ9AZ yT8eWxqOeCDUIfceL7iSHc4rggMfQcFu6MORE9MtuieWxVrRjJHX12WKoR1ikDwOr8KQ m7mDKHWuZjdRHWAhKmjI3/Ayae9tSvsze2IyPNVnNYXbe2OHmHIuknF3WgKmkSM3il15 ++Qw== X-Gm-Message-State: ALQs6tAVQSxbc2+VQO0Qg2y4bnuSXYrijlyU9/o8eu6mgUcmsVSlADvz YjtFJ+frG52FeF548GLPV2bNhw== X-Received: by 2002:a65:5b4a:: with SMTP id y10-v6mr23985202pgr.243.1525479294527; Fri, 04 May 2018 17:14:54 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:53 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:21 -0700 Message-Id: <0ab2ebb4e5a94a88b3767f2e1c5ba529c042cb31.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 In-Reply-To: References: Subject: [OE-core] [PATCH 27/27] gdb: Upgrade to 8.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 +- .../gdb/{gdb-8.0.1.inc => gdb-8.1.inc} | 5 +- ...ian_8.0.1.bb => gdb-cross-canadian_8.1.bb} | 0 .../{gdb-cross_8.0.1.bb => gdb-cross_8.1.bb} | 0 .../0001-include-sys-types.h-for-mode_t.patch | 12 +- ...port-for-Renesas-SH-sh4-architecture.patch | 153 ++++++++---------- ...0012-Unbreak-GDBserver-build-for-x32.patch | 101 ------------ .../gdb/{gdb_8.0.1.bb => gdb_8.1.bb} | 0 8 files changed, 80 insertions(+), 193 deletions(-) rename meta/recipes-devtools/gdb/{gdb-8.0.1.inc => gdb-8.1.inc} (85%) rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.0.1.bb => gdb-cross-canadian_8.1.bb} (100%) rename meta/recipes-devtools/gdb/{gdb-cross_8.0.1.bb => gdb-cross_8.1.bb} (100%) delete mode 100644 meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch rename meta/recipes-devtools/gdb/{gdb_8.0.1.bb => gdb_8.1.bb} (100%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 00399ae820..4b58df0459 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -25,7 +25,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "7.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.30%" -GDBVERSION ?= "8.0%" +GDBVERSION ?= "8.1%" GLIBCVERSION ?= "2.27%" LINUXLIBCVERSION ?= "4.15%" QEMUVERSION ?= "2.11%" diff --git a/meta/recipes-devtools/gdb/gdb-8.0.1.inc b/meta/recipes-devtools/gdb/gdb-8.1.inc similarity index 85% rename from meta/recipes-devtools/gdb/gdb-8.0.1.inc rename to meta/recipes-devtools/gdb/gdb-8.1.inc index 4a5299b73f..4d9faa2d4b 100644 --- a/meta/recipes-devtools/gdb/gdb-8.0.1.inc +++ b/meta/recipes-devtools/gdb/gdb-8.1.inc @@ -16,9 +16,8 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \ file://0009-Change-order-of-CFLAGS.patch \ file://0010-resolve-restrict-keyword-conflict.patch \ file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \ - file://0012-Unbreak-GDBserver-build-for-x32.patch \ file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \ " -SRC_URI[md5sum] = "48cac527e6f3018b865ece021e9723ac" -SRC_URI[sha256sum] = "3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3" +SRC_URI[md5sum] = "f46487561f9a16916a8102316f7fd105" +SRC_URI[sha256sum] = "af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34" diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_8.0.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb-cross-canadian_8.0.1.bb rename to meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb diff --git a/meta/recipes-devtools/gdb/gdb-cross_8.0.1.bb b/meta/recipes-devtools/gdb/gdb-cross_8.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb-cross_8.0.1.bb rename to meta/recipes-devtools/gdb/gdb-cross_8.1.bb diff --git a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch index 4f06d46d70..5d19380e30 100644 --- a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch +++ b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch @@ -1,7 +1,7 @@ -From 91da0458b333249eb9c2f4c1f1e53fa4bc085cc9 Mon Sep 17 00:00:00 2001 +From ff37f9360ab6f841f28ced9f23f66542febcc0f6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 19 Jan 2016 18:18:52 -0800 -Subject: [PATCH 01/10] include sys/types.h for mode_t +Subject: [PATCH 01/11] include sys/types.h for mode_t mode_t is used in target.h, so we need to include sys/types.h to get the defintion @@ -14,17 +14,17 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+) diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h -index 3cc2bc4bab..e6b19b06b9 100644 +index 25accd2207..7f6bca8aa4 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h -@@ -28,6 +28,7 @@ - #include "target/waitstatus.h" +@@ -29,6 +29,7 @@ #include "mem-break.h" #include "btrace-common.h" + #include +#include struct emit_ops; struct buffer; -- -2.13.1 +2.17.0 diff --git a/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch b/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch index cb1b7abd07..f678598284 100644 --- a/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch +++ b/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch @@ -1,7 +1,7 @@ -From 60ac68f601885ea6480229a5c8a89a0257da376c Mon Sep 17 00:00:00 2001 +From 8757b36be6109f6d7ea0bd8dafbaed647e0d2192 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 02:31:12 +0000 -Subject: [PATCH 05/10] Add support for Renesas SH (sh4) architecture. +Subject: [PATCH 05/11] Add support for Renesas SH (sh4) architecture. gdb (7.4-1~cvs20111117.2) experimental; urgency=low . @@ -15,35 +15,35 @@ Signed-off-by: Khem Raj --- gdb/Makefile.in | 2 + gdb/configure.host | 1 + - gdb/sh-linux-tdep.c | 519 +++++++++++++++++++++++++++++++++++ - gdb/sh-tdep.c | 54 ++-- - gdb/sh-tdep.h | 49 ++++ + gdb/sh-linux-tdep.c | 519 +++++++++++++++++++++++++++ + gdb/sh-tdep.c | 53 ++- + gdb/sh-tdep.h | 49 +++ gdb/testsuite/gdb.asm/asm-source.exp | 5 + gdb/testsuite/gdb.asm/sh.inc | 3 +- gdb/testsuite/gdb.base/annota1.c | 3 + gdb/testsuite/gdb.base/annota3.c | 4 + gdb/testsuite/gdb.base/sigall.c | 3 + gdb/testsuite/gdb.base/signals.c | 4 + - 11 files changed, 618 insertions(+), 29 deletions(-) + 11 files changed, 617 insertions(+), 29 deletions(-) -diff --git a/gdb/Makefile.in b/gdb/Makefile.in -index 8be73ba423..e287ff6a2e 100644 ---- a/gdb/Makefile.in -+++ b/gdb/Makefile.in -@@ -2638,6 +2638,8 @@ ALLDEPFILES = \ - sh-nbsd-tdep.c \ - sh-tdep.c \ - sh64-tdep.c \ -+ sh-linux-tdep.c \ -+ sh-linux-nat.c \ - sol2-tdep.c \ - solib-aix.c \ - solib-spu.c \ -diff --git a/gdb/configure.host b/gdb/configure.host -index d74fd04934..be12de1446 100644 ---- a/gdb/configure.host -+++ b/gdb/configure.host -@@ -150,6 +150,7 @@ powerpc*-*-linux*) gdb_host=linux ;; +Index: gdb-8.1/gdb/Makefile.in +=================================================================== +--- gdb-8.1.orig/gdb/Makefile.in ++++ gdb-8.1/gdb/Makefile.in +@@ -758,6 +758,8 @@ ALL_TARGET_OBS = \ + sh-linux-tdep.o \ + sh-nbsd-tdep.o \ + sh-tdep.o \ ++ sh-linux-tdep.o \ ++ sh-linux-nat.o \ + sh64-tdep.o \ + sol2-tdep.o \ + solib-aix.o \ +Index: gdb-8.1/gdb/configure.host +=================================================================== +--- gdb-8.1.orig/gdb/configure.host ++++ gdb-8.1/gdb/configure.host +@@ -152,6 +152,7 @@ powerpc*-*-linux*) gdb_host=linux ;; s390*-*-linux*) gdb_host=linux ;; @@ -51,10 +51,10 @@ index d74fd04934..be12de1446 100644 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) gdb_host=nbsd ;; sh*-*-openbsd*) gdb_host=nbsd ;; -diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c -index c5c745d218..84e539aad3 100644 ---- a/gdb/sh-linux-tdep.c -+++ b/gdb/sh-linux-tdep.c +Index: gdb-8.1/gdb/sh-linux-tdep.c +=================================================================== +--- gdb-8.1.orig/gdb/sh-linux-tdep.c ++++ gdb-8.1/gdb/sh-linux-tdep.c @@ -18,14 +18,37 @@ along with this program. If not, see . */ @@ -93,7 +93,7 @@ index c5c745d218..84e539aad3 100644 #include "glibc-tdep.h" #include "sh-tdep.h" #include "linux-tdep.h" -@@ -180,9 +203,505 @@ static struct tramp_frame sh_linux_rt_sigreturn_tramp_frame = { +@@ -180,9 +203,505 @@ static struct tramp_frame sh_linux_rt_si sh_linux_rt_sigreturn_init }; @@ -599,10 +599,10 @@ index c5c745d218..84e539aad3 100644 linux_init_abi (info, gdbarch); /* GNU/Linux uses SVR4-style shared libraries. */ -diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c -index 2c2b26847d..14f5281ed4 100644 ---- a/gdb/sh-tdep.c -+++ b/gdb/sh-tdep.c +Index: gdb-8.1/gdb/sh-tdep.c +=================================================================== +--- gdb-8.1.orig/gdb/sh-tdep.c ++++ gdb-8.1/gdb/sh-tdep.c @@ -21,6 +21,9 @@ sac@cygnus.com. */ @@ -613,15 +613,7 @@ index 2c2b26847d..14f5281ed4 100644 #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" -@@ -35,6 +38,7 @@ - #include "arch-utils.h" - #include "floatformat.h" - #include "regcache.h" -+#include "regset.h" - #include "doublest.h" - #include "osabi.h" - #include "reggroups.h" -@@ -68,23 +72,6 @@ static const char *const sh_cc_enum[] = { +@@ -67,23 +70,6 @@ static const char *const sh_cc_enum[] = static const char *sh_active_calling_convention = sh_cc_gcc; @@ -645,7 +637,7 @@ index 2c2b26847d..14f5281ed4 100644 static int sh_is_renesas_calling_convention (struct type *func_type) { -@@ -1052,7 +1039,7 @@ sh_treat_as_flt_p (struct type *type) +@@ -1051,7 +1037,7 @@ sh_treat_as_flt_p (struct type *type) return 0; /* Otherwise if the type of that member is float, the whole type is treated as float. */ @@ -654,7 +646,7 @@ index 2c2b26847d..14f5281ed4 100644 return 1; /* Otherwise it's not treated as float. */ return 0; -@@ -1102,7 +1089,7 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch, +@@ -1101,7 +1087,7 @@ sh_push_dummy_call_fpu (struct gdbarch * in four registers available. Loop thru args from first to last. */ for (argnum = 0; argnum < nargs; argnum++) { @@ -663,7 +655,7 @@ index 2c2b26847d..14f5281ed4 100644 len = TYPE_LENGTH (type); val = sh_justify_value_in_reg (gdbarch, args[argnum], len); -@@ -1828,7 +1815,7 @@ sh_dwarf2_frame_init_reg (struct gdbarch *gdbarch, int regnum, +@@ -1835,7 +1821,7 @@ sh_dwarf2_frame_init_reg (struct gdbarch reg->how = DWARF2_FRAME_REG_UNDEFINED; } @@ -672,7 +664,7 @@ index 2c2b26847d..14f5281ed4 100644 sh_alloc_frame_cache (void) { struct sh_frame_cache *cache; -@@ -1855,7 +1842,7 @@ sh_alloc_frame_cache (void) +@@ -1862,7 +1848,7 @@ sh_alloc_frame_cache (void) return cache; } @@ -681,7 +673,7 @@ index 2c2b26847d..14f5281ed4 100644 sh_frame_cache (struct frame_info *this_frame, void **this_cache) { struct gdbarch *gdbarch = get_frame_arch (this_frame); -@@ -1922,9 +1909,9 @@ sh_frame_cache (struct frame_info *this_frame, void **this_cache) +@@ -1929,9 +1915,9 @@ sh_frame_cache (struct frame_info *this_ return cache; } @@ -694,7 +686,7 @@ index 2c2b26847d..14f5281ed4 100644 { struct gdbarch *gdbarch = get_frame_arch (this_frame); struct sh_frame_cache *cache = sh_frame_cache (this_frame, this_cache); -@@ -1938,7 +1925,7 @@ sh_frame_prev_register (struct frame_info *this_frame, +@@ -1945,7 +1931,7 @@ sh_frame_prev_register (struct frame_inf the current frame. Frob regnum so that we pull the value from the correct place. */ if (regnum == gdbarch_pc_regnum (gdbarch)) @@ -703,7 +695,7 @@ index 2c2b26847d..14f5281ed4 100644 if (regnum < SH_NUM_REGS && cache->saved_regs[regnum] != -1) return frame_unwind_got_memory (this_frame, regnum, -@@ -2247,8 +2234,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch, +@@ -2254,8 +2240,8 @@ sh_return_in_first_hidden_param_p (struc static struct gdbarch * sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { @@ -713,7 +705,7 @@ index 2c2b26847d..14f5281ed4 100644 /* SH5 is handled entirely in sh64-tdep.c. */ if (info.bfd_arch_info->mach == bfd_mach_sh5) -@@ -2264,6 +2251,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) +@@ -2271,6 +2257,18 @@ sh_gdbarch_init (struct gdbarch_info inf tdep = XCNEW (struct gdbarch_tdep); gdbarch = gdbarch_alloc (&info, tdep); @@ -732,7 +724,7 @@ index 2c2b26847d..14f5281ed4 100644 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); -@@ -2418,10 +2417,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) +@@ -2425,10 +2423,11 @@ sh_gdbarch_init (struct gdbarch_info inf break; } @@ -745,10 +737,10 @@ index 2c2b26847d..14f5281ed4 100644 frame_unwind_append_unwinder (gdbarch, &sh_stub_unwind); frame_unwind_append_unwinder (gdbarch, &sh_frame_unwind); -diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h -index d15ef050e0..c4642cefa4 100644 ---- a/gdb/sh-tdep.h -+++ b/gdb/sh-tdep.h +Index: gdb-8.1/gdb/sh-tdep.h +=================================================================== +--- gdb-8.1.orig/gdb/sh-tdep.h ++++ gdb-8.1/gdb/sh-tdep.h @@ -21,6 +21,12 @@ /* Contributed by Steve Chamberlain sac@cygnus.com. */ @@ -828,10 +820,10 @@ index d15ef050e0..c4642cefa4 100644 /* Non-NULL when debugging from a core file. Provides the offset where each general-purpose register is stored inside the associated core file section. */ -diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp -index e07e5543f2..f5e60e1002 100644 ---- a/gdb/testsuite/gdb.asm/asm-source.exp -+++ b/gdb/testsuite/gdb.asm/asm-source.exp +Index: gdb-8.1/gdb/testsuite/gdb.asm/asm-source.exp +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.asm/asm-source.exp ++++ gdb-8.1/gdb/testsuite/gdb.asm/asm-source.exp @@ -116,6 +116,11 @@ switch -glob -- [istarget] { append link-flags " -m elf32ppc" } @@ -844,10 +836,10 @@ index e07e5543f2..f5e60e1002 100644 "sh*-*-*" { set asm-arch sh set debug-flags "-gdwarf-2" -diff --git a/gdb/testsuite/gdb.asm/sh.inc b/gdb/testsuite/gdb.asm/sh.inc -index a4a5fc545e..89efed7795 100644 ---- a/gdb/testsuite/gdb.asm/sh.inc -+++ b/gdb/testsuite/gdb.asm/sh.inc +Index: gdb-8.1/gdb/testsuite/gdb.asm/sh.inc +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.asm/sh.inc ++++ gdb-8.1/gdb/testsuite/gdb.asm/sh.inc @@ -40,9 +40,8 @@ mov.l .Lconst\@,r1 bra .Lafterconst\@ @@ -859,10 +851,10 @@ index a4a5fc545e..89efed7795 100644 .long \subr .align 1 .Lafterconst\@: -diff --git a/gdb/testsuite/gdb.base/annota1.c b/gdb/testsuite/gdb.base/annota1.c -index 424e1b8327..0de2e7b633 100644 ---- a/gdb/testsuite/gdb.base/annota1.c -+++ b/gdb/testsuite/gdb.base/annota1.c +Index: gdb-8.1/gdb/testsuite/gdb.base/annota1.c +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.base/annota1.c ++++ gdb-8.1/gdb/testsuite/gdb.base/annota1.c @@ -1,6 +1,9 @@ #include #include @@ -873,10 +865,10 @@ index 424e1b8327..0de2e7b633 100644 void handle_USR1 (int sig) -diff --git a/gdb/testsuite/gdb.base/annota3.c b/gdb/testsuite/gdb.base/annota3.c -index 424e1b8327..952aaf218a 100644 ---- a/gdb/testsuite/gdb.base/annota3.c -+++ b/gdb/testsuite/gdb.base/annota3.c +Index: gdb-8.1/gdb/testsuite/gdb.base/annota3.c +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.base/annota3.c ++++ gdb-8.1/gdb/testsuite/gdb.base/annota3.c @@ -1,6 +1,10 @@ #include #include @@ -888,10 +880,10 @@ index 424e1b8327..952aaf218a 100644 void handle_USR1 (int sig) -diff --git a/gdb/testsuite/gdb.base/sigall.c b/gdb/testsuite/gdb.base/sigall.c -index 81f3b08d6b..1574b2d6cb 100644 ---- a/gdb/testsuite/gdb.base/sigall.c -+++ b/gdb/testsuite/gdb.base/sigall.c +Index: gdb-8.1/gdb/testsuite/gdb.base/sigall.c +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.base/sigall.c ++++ gdb-8.1/gdb/testsuite/gdb.base/sigall.c @@ -1,6 +1,9 @@ #include #include @@ -902,10 +894,10 @@ index 81f3b08d6b..1574b2d6cb 100644 /* Signal handlers, we set breakpoints in them to make sure that the signals really get delivered. */ -diff --git a/gdb/testsuite/gdb.base/signals.c b/gdb/testsuite/gdb.base/signals.c -index 756606880f..1205a9bc9c 100644 ---- a/gdb/testsuite/gdb.base/signals.c -+++ b/gdb/testsuite/gdb.base/signals.c +Index: gdb-8.1/gdb/testsuite/gdb.base/signals.c +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.base/signals.c ++++ gdb-8.1/gdb/testsuite/gdb.base/signals.c @@ -3,6 +3,10 @@ #include #include @@ -917,6 +909,3 @@ index 756606880f..1205a9bc9c 100644 static int count = 0; --- -2.13.1 - diff --git a/meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch b/meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch deleted file mode 100644 index 18a3ce3d63..0000000000 --- a/meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch +++ /dev/null @@ -1,101 +0,0 @@ -From 3e1e401053ea5f02a9e9c65abddd31a03baa1bd1 Mon Sep 17 00:00:00 2001 -From: Yao Qi -Date: Fri, 29 Dec 2017 12:57:25 +0800 -Subject: [PATCH] Unbreak GDBserver build for x32 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -When I verify my target description changes, I build GDB and GDBserver for -x32, but it failed. - -/../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c: In function ‘const target_desc* get_ipa_tdesc(int)’: -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c:184:10: error: ‘X86_TDESC_AVX512’ was not declared in this scope - case X86_TDESC_AVX512: - ^ -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c:185:14: error: ‘tdesc_x32_avx512_linux’ was not declared in this scope - return tdesc_x32_avx512_linux; - ^ -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c: In function ‘void initialize_low_tracepoint()’: -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c:282:36: error: ‘init_registers_x32_avx512_linux’ was not declared in this scope - init_registers_x32_avx512_linux (); - ^ - -ipa_x32_linux_regobj use to be there, but removed by -22049425ce40324139be82d9a6ec518c46b65815 by mistake. - -gdb/gdbserver: - -2017-08-04 Yao Qi - - * configure.srv (ipa_x32_linux_regobj): New. - * linux-amd64-ipa.c (get_ipa_tdesc): Use X86_TDESC_AVX_AVX512 - instead of X86_TDESC_AVX512. - (initialize_low_tracepoint): Call - init_registers_x32_avx_avx512_linux. - -Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=f02fd7745d003d65fd3b981618e07b874b721d79] - -Signed-off-by: Anuj Mittal ---- - ChangeLog | 8 ++++++++ - gdb/gdbserver/configure.srv | 1 + - gdb/gdbserver/linux-amd64-ipa.c | 6 +++--- - 3 files changed, 12 insertions(+), 3 deletions(-) - -diff --git a/ChangeLog b/ChangeLog -index 4ac2d63..b5b8228 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,11 @@ -+ 2017-08-04 Yao Qi -+ -+ * configure.srv (ipa_x32_linux_regobj): New. -+ * linux-amd64-ipa.c (get_ipa_tdesc): Use X86_TDESC_AVX_AVX512 -+ instead of X86_TDESC_AVX512. -+ (initialize_low_tracepoint): Call -+ init_registers_x32_avx_avx512_linux. -+ - 2017-04-13 Andrew Jenner - - * config.sub: Sync with master version in config project. -diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv -index d00d9e2..56951c8 100644 ---- a/gdb/gdbserver/configure.srv -+++ b/gdb/gdbserver/configure.srv -@@ -31,6 +31,7 @@ srv_amd64_linux_regobj="amd64-linux.o amd64-avx-linux.o amd64-avx-avx512-linux.o - - ipa_i386_linux_regobj="i386-linux-ipa.o i386-avx-linux-ipa.o i386-avx-mpx-linux-ipa.o i386-avx-avx512-linux-ipa.o i386-avx-mpx-avx512-pku-linux-ipa.o i386-mpx-linux-ipa.o i386-mmx-linux-ipa.o" - ipa_amd64_linux_regobj="amd64-linux-ipa.o amd64-avx-linux-ipa.o amd64-avx-mpx-linux-ipa.o amd64-avx-avx512-linux-ipa.o amd64-avx-mpx-avx512-pku-linux-ipa.o amd64-mpx-linux-ipa.o" -+ipa_x32_linux_regobj="x32-linux-ipa.o x32-avx-linux-ipa.o x32-avx-avx512-linux-ipa.o" - ipa_ppc_linux_regobj="powerpc-32l-ipa.o powerpc-altivec32l-ipa.o powerpc-cell32l-ipa.o powerpc-vsx32l-ipa.o powerpc-isa205-32l-ipa.o powerpc-isa205-altivec32l-ipa.o powerpc-isa205-vsx32l-ipa.o powerpc-e500l-ipa.o powerpc-64l-ipa.o powerpc-altivec64l-ipa.o powerpc-cell64l-ipa.o powerpc-vsx64l-ipa.o powerpc-isa205-64l-ipa.o powerpc-isa205-altivec64l-ipa.o powerpc-isa205-vsx64l-ipa.o" - - srv_i386_32bit_xmlfiles="i386/32bit-core.xml i386/32bit-sse.xml i386/32bit-avx.xml i386/32bit-avx512.xml i386/32bit-mpx.xml i386/32bit-pkeys.xml" -diff --git a/gdb/gdbserver/linux-amd64-ipa.c b/gdb/gdbserver/linux-amd64-ipa.c -index 67f36c2..683339b 100644 ---- a/gdb/gdbserver/linux-amd64-ipa.c -+++ b/gdb/gdbserver/linux-amd64-ipa.c -@@ -181,8 +181,8 @@ get_ipa_tdesc (int idx) - return tdesc_x32_linux; - case X86_TDESC_AVX: - return tdesc_x32_avx_linux; -- case X86_TDESC_AVX512: -- return tdesc_x32_avx512_linux; -+ case X86_TDESC_AVX_AVX512: -+ return tdesc_x32_avx_avx512_linux; - default: - break; - } -@@ -279,7 +279,7 @@ initialize_low_tracepoint (void) - #if defined __ILP32__ - init_registers_x32_linux (); - init_registers_x32_avx_linux (); -- init_registers_x32_avx512_linux (); -+ init_registers_x32_avx_avx512_linux (); - #else - init_registers_amd64_linux (); - init_registers_amd64_avx_linux (); --- -2.7.4 - diff --git a/meta/recipes-devtools/gdb/gdb_8.0.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb_8.0.1.bb rename to meta/recipes-devtools/gdb/gdb_8.1.bb