From patchwork Sun Apr 29 19:35:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134668 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037007lji; Sun, 29 Apr 2018 12:36:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoVaqcX2wIf5hF6jpnahNZQqeP54NTH830VE/OLmBcs8nMx7Bo3bEXlpRra6oTDc1Rm6I2M X-Received: by 10.98.135.133 with SMTP id i127mr9718658pfe.201.1525030579871; Sun, 29 Apr 2018 12:36:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030579; cv=none; d=google.com; s=arc-20160816; b=zLI8xx0qoG14qaunIMZQfbOHj3YHd7GsWOXeZW58vwj857Zb8l8XEWCe1m7XtQNd+z Y4Usw6w2n1FK7D7tW5KZATXSjcZzMj6dBgiMkB6s3OPl1fRgDMD9Db8uSU77DEQwIvFf Lsxgq2TxNEG0WYidtSHTqIxwQMJ8bdeT536vSRNrTIxnHoa7rfElMYHCAvzXy6eDPdxt xLbw4KGujpA2+VFSF5ARDkFMvz2bgY39mTdi9lZW3nBUpXNuikH7k4UJJBdcPvWYt3No y8yWTdtrd+eOMSeKDWVoQrgLITFA4wSXXbujQ8/JdeIfYE1HUUyX7KVPjd/C8WGClo4a vnsQ== 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=vcrdoWkWEyC3HJhnN9PlfNXh2ri8g9AhbZYHDEejUxM=; b=n1Hmozk+1ilUK3YvFjH0LTPNIFOogEkG8+oGCUa8RR0pA2VRTjtV/sWkO6ac4TlNkS 8APUuzVoUKrgbF9YyeKLRw8EFhHx7rUA2pDHvag8IPj6ks1caAs+iQiMpQ54U0gZLQZ1 v7ebFEYtN4lKt+G2Uxu0iAeOLDWdlMSp3eLaaq/yvX6+XHqDKvih9VDi6qCufweLXHAk MKHt03gci11EHKoK0huPyz8PxSnljHWlfFTaW70LEggdk1sltV0P8ztMTH3sIZqynShG nsz8tlSLc4SV+8ZXDGdiUb8Z60N7GEbmANLQxN869AgXJ2UgY+64HJ8gnIRxmBxEtLxX nJNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lJo8FjsN; 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 u7-v6si5211642pgq.232.2018.04.29.12.36.19; Sun, 29 Apr 2018 12:36: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=lJo8FjsN; 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 3177472EE1; Sun, 29 Apr 2018 19:36:17 +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 9546D6093D for ; Sun, 29 Apr 2018 19:36:15 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id i194-v6so4927687pgd.0 for ; Sun, 29 Apr 2018 12:36:16 -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=CSmGuycJctMbok3N6fIQBVZEhOYkYoO9i7FSJYXZxr4=; b=lJo8FjsNJpjwCA35BB8Ss1VKWiR2ipxjKtiQdjpZWVWMCs+/PahApph/G1wCLQA64D 3sOv1KQdYbtsPzQ3+IEd4WbItH1LFjPtlax5Y4ibrct3iXql8dECaosn6wiM5xbYClx7 3jsxTPJjDojYo0IHwr7EqddjC2PCdt3U+G13pF3WuN1bxYNd8demjg8eqHK5YTyjp/SE euocLyIchns/AV+e5QjHN1q3pQI5un/qB2Z8drhqoJ1Zka55pfr+ljmm9U39lC6gV9kl PR1ERos7uKH8UKBg5h+fONjovt4DzRsSBlLSo0+Cw0LzPcJ1o7xwvUmev41x86eFZLvf xAzw== 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=CSmGuycJctMbok3N6fIQBVZEhOYkYoO9i7FSJYXZxr4=; b=KaPAQkXQqvNkstIoenG6uuD71UlcPCMbSvmP92KpW8FhblC5bniAYbH4yU4RKi8iRq 0g8Ad6ZmAIG3xBVX7YMfR1PZOWknVjflhjk7ykCDrJIokezBfGOS67UuFgAwCmchkbvL +8Y0CJS1hOyQwCyBbA2I4AOQaP3dr1jTJQa7cymxwqNZzR3poBNY6Fq1LCOV6qoJp+SV Ud4f4m5P8VgRwQwjRH27S8A+C74Ruw660ZHzrBBgxyg3CjPlPyzqAEqTF0YEXq5fvuxh a99nD0MxI/5Kmp+VCFtzJr/EEi9JJlC/L9oNJaFd36eO7766rSdONdHC90YixZTJBdJA OqLw== X-Gm-Message-State: ALQs6tB+2dXnAAvc2Z5KiBrikYM/eb37xnUiNShIPeSuFizoWYuBDMi0 UrAN0YQauX6dCEEcfXSwKlg5Yw== X-Received: by 10.98.56.144 with SMTP id f138mr9619911pfa.173.1525030576226; Sun, 29 Apr 2018 12:36:16 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:15 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:48 -0700 Message-Id: <3b8f5c652ccde28998678f42575bb9c04c334950.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 01/24] 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 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..00a0a3d411 --- /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} -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 Sun Apr 29 19:35:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134669 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037071lji; Sun, 29 Apr 2018 12:36:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq8t2NG05icvIjByL8iqb8WvLh78nkK8/WfQ3RVvJvirtB7WuppJXJK75e0LQM3FJcCFM+C X-Received: by 2002:a17:902:8d96:: with SMTP id v22-v6mr9834743plo.373.1525030585069; Sun, 29 Apr 2018 12:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030585; cv=none; d=google.com; s=arc-20160816; b=Hf/Pl4zp+cJ6t2ANcEBnLjfk2R4cA+PwxnDd9KNLlwPQ4XRWlIVBnvVuN+qDaemD4P y9tcp7oCv+5VPWZpC7ZRqF7b8RPVURqGL1fxVuYOlPW3Df/oUkx0XDjDkWQdqow06fWI W0/yiSNM4NGjResuRKSz4dSnn+Le5VvshMtAf6XWghVIEkZYtKvIn65/uhQm+VsqB6ES CxoPPxjS6FDiXE5RXZ9JUEH2gz0+ixxzVzNWWotZHGhebtFntU9K4qcVHsA5mqge8lbr h01WI08qfJWIJ70Csrp9/Nz7Svc3Bq02Ogko7bZJW4F3NSSyACOC5qzVCwXuQObO+1tn YepA== 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=HGJZMUY0BZB2b6KKBWfxX9zpxgH8eryYQ18YW7NR/5g=; b=mODQV1jigp/Z/DHz8753LBhMuptK6PFZ8/VyIEv5gSG3FkSIpYt3X/u/gvsI8XzxAf gGOFntNEJTvv6flaLm6MGMVSgIpQlvFCO9LUZdl+aT09SO+afZKl27NuNeVkKcJyT7R3 JkLlDCVP80wR0V3QnsvKHGCmzhLkNtaZHjlfj7RyWpzyWPlT8Fc7ew9mfjueXhKQeG2t u8v5hBEqwMPKX579fEXIp02B9vH+a8rT/rH1xTlrI6HLRqO2Y/seleXvr5+BuoJTmGuD AaqiQJ3vZDnv+pbnfFXLh5tN2zPjrpB3iTG4uOLwHQABomxK206PUsdyNGCn0+A1LYKr 7S3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=MEGLlCHu; 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 t23-v6si4907851ply.237.2018.04.29.12.36.24; Sun, 29 Apr 2018 12:36: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=MEGLlCHu; 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 87416744C5; Sun, 29 Apr 2018 19:36:18 +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 C870972EAD for ; Sun, 29 Apr 2018 19:36:16 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id z129-v6so747283pgz.3 for ; Sun, 29 Apr 2018 12:36:18 -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=/9rrMQFaghaCEsnzXmiiGbYenaF9f5zbW1cyPGKz6eU=; b=MEGLlCHuBrRiorvq4YZdCUsZ/MMQvi7fURd2NSdcKd6+eQNb7P1ADsl7JlmLu+PkDF f1KVxcYzez7dRKXEYPyAxoWB3U1a+faO8lklU99vP1Uwugh0UBDAkTzxqHBohT6YNeoA zAEtGjjwcXkWKepLLopOEwEl6sne112Wn57DDbw1vcYmStCwyR4uoUuC0wZMMt/voH+F 12LP4PL0pey6B++0lwJmOfStuhE8OskTy6Z5zYh1KH1WXg71TS92n6VDoXe8qll9Fz47 BQ23fMt93VvisCXpm/mjNVKvZPK6r2mMFsY8My7HbY2SY6zRJGalpEBQqHW2R8Nvsfok qVKw== 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=/9rrMQFaghaCEsnzXmiiGbYenaF9f5zbW1cyPGKz6eU=; b=lr+VUjsqypXXa9NkbPD6Tm39NuW4ssUUEyfbRZ2N4U28/dn2lUS+gJb79/kg00bKDM qjghY+1uyLNov79VrSVO3PBqV5/qmjJivr5jfSvv0xzdWyk0C09ij7+SbAB/8fnI0ptS YI6bCPZSDtTgE1Yj2baiS04pI1JNdyBuhUUzx1JeL+t8hgALMAqKuj+dv/6uAQtcYgRD hp9+omc5Ib76ETzMtsg3fsVmVgeTzc5PkesIU/GwVbhJ3YnLrEfanbASDOgGd4PLXo9Q us6z2+GwqGBqJhXdj2aKrWItvxf2UBXQQfeuCbD/zx5eDglvptuoCy+gnSma9ZLhCPfn t3cQ== X-Gm-Message-State: ALQs6tCKE2pw40+2ITTgJKVvdqPvDS2/M8noQOvUxzwnA98KUZdS0OfP aBhaKdLJt1waJYmGbPPNgIPrbw== X-Received: by 10.98.237.18 with SMTP id u18mr2974529pfh.127.1525030577845; Sun, 29 Apr 2018 12:36:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:17 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:49 -0700 Message-Id: <0cd556741ed6086c2089272835ab8a0ef7f3e819.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 02/24] 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 9f8c5126e8..a57460ddd2 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 Sun Apr 29 19:35:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134670 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037163lji; Sun, 29 Apr 2018 12:36:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrAN8ssQWuJiHcsMLX/QWaGqcYyoIYz8bJODGCyM+9D3G+xsw4k/uho9Jqal2oxwjJq2nlx X-Received: by 2002:a63:6e84:: with SMTP id j126-v6mr8305823pgc.310.1525030592196; Sun, 29 Apr 2018 12:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030592; cv=none; d=google.com; s=arc-20160816; b=K8H0iYZJz1CMjBnurNnlMHGQ4WYw74RpeBtb8xRs3Ag2E/weRD16vvOBheuh36m4mJ HBUS1mVK+7Y/hgllW311tUlu8sdw0DinP1TJoAaTkTy1lHaMe1hpouHH0eXhhGRNOpIp 4l/WncJracPiRyPJehewiMa1FX40DHCh0S4b0M1ErhFCJBps5OsX0Z8US32QpWpVNZqX ALMiib5EsdnPaaHq8kFxZcbyXK8RK/7CwH61e1mRMVDTy1qUxfdwOgNfz6FkyDlqSVL3 WFxHDuAsBFIl3z+B4irxRteSXEZ7pm9KlzvWOBvftCizQ+X+6Jt4oNwqJJ32XjoNFFWe ziTQ== 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=h6dSm5/V/cVrIA2P+qvtpn1DT1ELDotyYCuqq0ETZDpTW/1EftkyRb8Y7GqGdlwKSo y6MljGre2xyzq4821gYrfYBbamfqp5bxOeWjNgZEAUOx+cp7rVtINR5zEThX7vxQzHCN fpBF7HFN6zvlpBQkFDeLcndYhkoSvlxbSIwZn7U1bspSJ59WSLXLGvlSOg4v6TJ8T/R7 SDaj98xISs9g8EkRk94of+HPcjnmOQHb4l7rjmaidKz5fXnOTLDlxqb9U2r0R7uQO2Yl vaKHgAmvFHFpCpGDJ2Cu1VTJBdLtVQsgZgRFugmCiVo15etSTtQZ7ggqRzFLB2LXhgqA s1hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=oAC5nPse; 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 j63-v6si5066406pgc.474.2018.04.29.12.36.31; Sun, 29 Apr 2018 12:36: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=oAC5nPse; 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 49D0972EB3; Sun, 29 Apr 2018 19:36:23 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f47.google.com (mail-pg0-f47.google.com [74.125.83.47]) by mail.openembedded.org (Postfix) with ESMTP id AB25E744D2 for ; Sun, 29 Apr 2018 19:36:18 +0000 (UTC) Received: by mail-pg0-f47.google.com with SMTP id z129-v6so747311pgz.3 for ; Sun, 29 Apr 2018 12:36:19 -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=oAC5nPsebV8SgJxfnb5ueAD/VwzdAwci+udzmbKUfMarAz1tCw69cNCGnvpBI/239J KPVIyakq9EpQfhPhBts7/GO4cYrH6n4iXVwk/r8WombfHnJsMKS776Tx90R3F/a38Ne+ zD/qgpEemooYn9z3tNN+QXtN/75luFC+Y5bOloWoo8TwbzNOwoVmuNPRCs1EWA04RxKx PsTv4JGw/LaEEzqoRXWOBXDkm2aE2rHe9/YAA2eaV1afU2i8If+h1BCXDlc7EnizVYdj LZDiJo7EpyTQwVrzVQjFVnkzle4Vd9arGPFZ3B9u8sfrHHT/aiG2qFbGatKbJqH+nXBQ fOwQ== 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=V6W0bL3sw8y4uOnyqAMFrKD9q9LrwsDX6CsP67ADZ/46DO7cZmFQ7LHT0Lmd+Ok2Bo WY0yNg5e/mYUvlC2t7FW7BuY2phHofbD8eL4GIyQTmcKmWr0xUSVbxsvOrMlHBaH9E5L OdmlQviJuzMVisElR5qfqfc0R5pL4LDgy36CIXNOL5pvkI+KbUdHstpuYFQ5vezIpYVH 37HyK/L/mnFDzhXKVciUmIhJzIuddqBmX2isuckRdIP3nUvUBOfUXJ/2NqxjtQ5BJTZp JsRnn4crAbg8BOBi9aQgqcbIFi1aEutu1+rkdL4VNbp7r8eWwcAW4acL95Nqy8vp9AZH zJKA== X-Gm-Message-State: ALQs6tDB/Rk/c8ng24u6WtAW3Z6Dt3+JyyANiCyhBo65Denu0bu2k6G2 VF6L/Z0jmjgF0LHP9pBESGN89g== X-Received: by 10.98.127.145 with SMTP id a139mr9616058pfd.25.1525030579121; Sun, 29 Apr 2018 12:36:19 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:18 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:50 -0700 Message-Id: <21d44f26de7793f64a78548457ed16d126d13e16.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 03/24] 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 Sun Apr 29 19:35:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134671 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037247lji; Sun, 29 Apr 2018 12:36:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp2W5N353IHwi+nD00DxEO7kzM/PgGYmcYs6DpqziM+nKkeguHyxPzhAYLShCDvyTrO6s9W X-Received: by 2002:a65:6023:: with SMTP id p3-v6mr7979100pgu.175.1525030599569; Sun, 29 Apr 2018 12:36:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030599; cv=none; d=google.com; s=arc-20160816; b=pd4Le+uzuMBXX6VZBOfq6f62X3iLVfaDIrgmWYTPzIKpnaQUKvx322Mlv7uEyTHlcZ C7MwSofrNUvTK/HRkgNtl+Tv571+H9jpkJSyggVh2zs/vf7EWuYn++GSHFJAbt6Eo4+W 16tA6bggamkrP5GdUJyWhxuX1LWuNRuG1lTnr3OtLNqFwR8wl3Djg5urFoNYoyQaMGD7 FMifRfMUHBsRorRFg3gG8it7OMbvRP1mFPSDlQT/bLD27IsGJVavrHXuqHspQeKsyagR 7WzleWHA4U9JIiCpi4AwPjYjeRonmmewiNNaFcBryxLZbp5OjEilNdC4EnLWIop6PEyk RYAQ== 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=r4nlx17a9ulNGd/37FUA8Mn37fr2ZCNu/ytCW0Q3wttn2h0EHsBth5TialFgxEbEhG O3RWocZV7pkP4NrZa4dxI4OiD90kpvWiZ2c7OwmjxgVucpfw50+zpD33fKvioJXUPqVN Pa1490UhApx/p2QA/xbOl816EMiAcikvvIctRfWyj0el8t9FhJ+0tW8uz4+jiOdJm9Td bKZv3BFyrGuFyLgRFB6kpjZl2wCpLPuqewTv1YYKb+KtAaTMmIjBtHnHONIqrIEMRlVz mu3pznd/XZX+TvJ9A4vtgQKMNIscjtxj0UHioGIBc0TPJJMSTiAt4yPCyLIcbGeluOd0 k8Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=LbHrujGA; 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 h8-v6si6219073pli.474.2018.04.29.12.36.39; Sun, 29 Apr 2018 12:36: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=LbHrujGA; 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 74D50744F8; Sun, 29 Apr 2018 19:36:24 +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 07C437320B for ; Sun, 29 Apr 2018 19:36:19 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id f189so5129311pfa.7 for ; Sun, 29 Apr 2018 12:36:21 -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=LbHrujGAy6Dncr7GCOuzSGAEOWXKRJC4xh5nSTsYRq7S3ImuxBCXDEZRpXJzjaBReJ PaPOiM91kj4JxkkygCwYN+11bXEAXDNC2MNh6veBXOw5xAeH1WLVDXfYay82JskvMI2m Pn0EPnf4HLBXb47JXKnecZOsRThlq6vCrnilriRfetyizQs63sXPqtQjzGzfyoWLvZiT 8PYDSFOIrzsNPgoro7vBn7ANbqKk5ALCWlhGfwAiAR7g+nnOmLuHPLZ87S3tZSVHugWO dnShYp9yclBPUn9a3nbroRArLLQB5skM8w2ZzXcQ2xKjgHL9La8OKx0FXDziquyXm8E+ 3k3A== 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=jjrMLYBtHFP4ms456KeaPkJdy3zvhN/78WTZfY2v/gnJPbQpgUHYmufhPrfXscCBlT uzk5etKUaf8mKV6UEORxp/yJLkoKtqTmLcywuwFj+9gp+PH3Xk6Oy5+Vq+pWCN0MdWT5 yHLlizwUSqY9ogNVqkOqD3VF3hfiSohJSubN+hpO2umDMt/ve3ktWHp7VHhGiNh9wXhu pxjHTPVSstAgOchxiBPAmcZP6jzUz8zc1dVcGem4X34pFpgv0P8eWii51EKCSRsARew8 NQ5hvNVzWvCvTxKwwuimVjSGJS0qGYeZbjJdjB/tPSjwmLO8SUu2/oUeDWNOjByz9z9F AG2Q== X-Gm-Message-State: ALQs6tBj3qgd1JQCPkaMRFAnWxoPHphKUrE8gmCoDiuEGFmCK/LzgXUA PawElJpbsLsxPPL28KpZva74bw== X-Received: by 2002:a65:4c4f:: with SMTP id l15-v6mr8221052pgr.61.1525030580764; Sun, 29 Apr 2018 12:36:20 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:19 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:51 -0700 Message-Id: <420f0ec2bab73b9d25b0b8e055cec9b3fc2e85ed.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 04/24] 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 Sun Apr 29 19:35:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134672 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037322lji; Sun, 29 Apr 2018 12:36:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoY9ANyG15wdtlNfUalz/PPMCgYGeNUXoczY9+Ld1SmiskK22TTfI9bHWbyxye53cThMvpH X-Received: by 2002:a63:7b55:: with SMTP id k21-v6mr8330200pgn.364.1525030607341; Sun, 29 Apr 2018 12:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030607; cv=none; d=google.com; s=arc-20160816; b=HPG/HZt5BIC5Gg5BSPkliEtIhaS3pvSTYvQCtJ13AhlAqzolO1GQtgOm6k7TaNGaI7 XFKMOPCcseDvKNa1xfHXaLWXPcEHKH4o0sCcb/Pr3+Kgilp1hQ6j8XeSjThxvvF761o/ O9TMo/Hwm0Nx65MVrkIMeUovwLkrGC2qGxcZcqakKjTWCdetji8gshkPO8yRMnsgzJ+4 HIykroDy72l+wjw+/Sx9vHSk27FKd2WOeDwiX6xd/qSsbXEn5XOQN0NIWkz5IFX2ETDv K0aTVCuxRG7ElaWOY3w5QTwox79LImfIWO9TZt72bx46M51/qRGM491aNA9xGpqJon4B N6Mw== 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=+QPSEREBETx6Eam1IABTYwCN1MhIkDR9o2LV6ZZlq/8=; b=x20hNHgTgdIo6Eg0D30m1uXvB/CiRI47p+OFS+mL+KoKkbIGAfgPPICADhpYgSrTWQ gXnsYSEBTFxlqsc9AbvjKc5fNbdfUtIcSMIxLOIHHayfZVkOZCCJ3Wrt/TGY7C6gE+iP xmTHp7ldwDIWKzfh6x5E3FeCBqtd1kRJaTNpkGtCmcKHQQhwK3cex6ULzkCUtVzwedZV xi2m7EDeGz3JIk0b3WTiDqW2UkmONnNV75ufXK4ieCnrtr3p8Apf6ZK9Lr8TfF12GuIb L9v2hDs34WerZaX2XhPm32QFjr3VTnNS0dY/2c7elcEOoWC9Waz866WtPsxTFIaaabET hqlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=JP5J3gHM; 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 68-v6si6092964pla.452.2018.04.29.12.36.47; Sun, 29 Apr 2018 12:36:47 -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=JP5J3gHM; 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 92B2F7450E; Sun, 29 Apr 2018 19:36:25 +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 A75FE74499 for ; Sun, 29 Apr 2018 19:36:21 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id a11so5121924pfn.9 for ; Sun, 29 Apr 2018 12:36:22 -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=O5KBnxFMWhmfySvERECp+R0R+BKCVklfQA3PTfW6eZg=; b=JP5J3gHMYGEwnmMSZsvePy/cnYzXjJEj2gVLjxk+7N8PuBq/+oqtBKeEvLOoHj5Vbf 5mqsyZgr0TYu1SULogRTqNoZvJ4PqJdgO8GVr/X50Axet1+qVwQMSICXQUmloUclTcmL o4vI1oDM7C8jj9+JdgXtdSfvj3DuelnpoRDlrXUES+EnltlULRjOhKjbXNF6YXj8OYLn h8gRsyXwVa2LUzS5mcH1+LSr7SsDV+TGgPELfhzdUFShQ1+G0e7q0DQoWXuxaReCdk1P fgy6AtU3EHm9s1oNtXz++tlSgLSFdpZgMNTiTjMGy8Ymd7ChWnwuWjknjKlFRbZ27Wos RUHA== 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=O5KBnxFMWhmfySvERECp+R0R+BKCVklfQA3PTfW6eZg=; b=KSI97wpgDWo5og/6378cnqARH/imIxhYKCqOr+oTMOm6ZIcCv4FXbgGtlSuQFfWgea 7nsi0v+mHLpPvQmoO+xPyu61rck2Dg5+EfipZ1iJj18vokEHau2iY/2moPSfcSKFP2vN K2ndAd3hK6j2d9V+KlOYJpFNPHwJnvX8H2brpaaqiduH4cM0UJovgcOf9OWstrE5W59e qnPZ5mbdFK2z3FkL/Wm+38CeKlPZ6SDhnCFQg+fvwjBEHWl7AImlaZhy2hMpNFQAtBRz O7wrZNb1QujRw1XY4pHXRdhlv0cAfqaun0g63Q+r7EbAjbIIIrC7obXGm+xAzqPRXQz5 xmDw== X-Gm-Message-State: ALQs6tAufRA6sbnB9cS2wHDJke0Q0/wQVLpAWJfi71FSjCOa0mZsgfsR 7yu12BT9Omu6X924rB9gsTvslw== X-Received: by 2002:a63:6fc9:: with SMTP id k192-v6mr8240196pgc.143.1525030582176; Sun, 29 Apr 2018 12:36:22 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:21 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:52 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 05/24] 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=55df09bfccbfe21fc9dd7d8f94550c0ff25ace04..9be4ed5d89ecca80123311a4ec73781e5cc97a9c 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 a57460ddd2..f12ca16b0c 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 = "55df09bfccbfe21fc9dd7d8f94550c0ff25ace04" +SRCREV = "9be4ed5d89ecca80123311a4ec73781e5cc97a9c" PV = "1.1.19+git${SRCPV}" From patchwork Sun Apr 29 19:35:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134673 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037432lji; Sun, 29 Apr 2018 12:36:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo2r0I4qqYR5prctZ8cCVFIt3MU4cBcsC6OxQJc6XJEqyZ1zb9xC0Ebx+qIz4Or8Awp8Csb X-Received: by 2002:a65:5c88:: with SMTP id a8-v6mr7983000pgt.373.1525030615097; Sun, 29 Apr 2018 12:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030615; cv=none; d=google.com; s=arc-20160816; b=ix7OmVCf1kpnwc+cPgKnxlaDnqAjie3ZprPDW/j/3Ld22H3RUvcraDP3alho5usyLq OU80Zdw2nQ5HiOswk8q/r+NAZ04JNwePaQDIPFJHjNY4FvuAmQ3IGvVHLGGKQT0FQpvm gUiRIND+3DjaTafe6r1gkPjSPSLuHi11+h2UBUlZQutneGmYsduToryKWP04+R3XiH7Y DqFaKh/i7Y6AM9n3Z3vvyDzX9CrO9HTkTamHCxQIYVkbIf7g19NJi85S11SSqwJsNldv M94xxZTmbudZ8gEDMyDQlrfT7+ANekWRUyZGZ1TiOuNr7WIKf9VEjLLNW0o1oGNmcwog zUXw== 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=HGwaU9mnzVGyeY6DNaYLx7RV5YjbantCLFbxOV31cwg=; b=TTym6/lM6DuQOVkhlL0+AKLvfYMENRWwcwTOyfGY3wBs1T4ADxcd4UUGsGq5uAqDw1 8cBECC4tK1LWL4rJBJskUDEKUdbSfev74eJzmdBhvMmfgd77OGioint1GJauUjj1fIJ7 fDsqzuLBnXxlxbemkfoCRHVDiKiVqefoWk3EwcS82aD9DCrlDP6WqlNGFjlvamvHis9P zBWCSM5mmdoUUrJKkw+RP8v1JPtiHzhkmr7jsJfFvroVY5x+nK6lZkGISvGRxPYV0J8j bz4qsHRAO1jiYtJcc9mqeNkMfcZM5JoXqM6uH4IRUL9v3uxwCkyIO+0Q2m4yRZGv8DXW l4YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Prnli7eO; 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 j18-v6si5147184pgn.78.2018.04.29.12.36.54; Sun, 29 Apr 2018 12:36:55 -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=Prnli7eO; 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 BBC5C74551; Sun, 29 Apr 2018 19:36:26 +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 EB802744DA for ; Sun, 29 Apr 2018 19:36:22 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id i194-v6so4927792pgd.0 for ; Sun, 29 Apr 2018 12:36:24 -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=nAYdMu5LfR9o8kygTwAPuW4irLns4fhZSo0gUVaY5+0=; b=Prnli7eOdKvVJeg/RzM7+xAqpL/jOfp7c4YNdbxxTyiHxBZkOfjWi5ZW4edmPtcrbC kKEW6fTFQXX8RMz3Xjy4TLzjmrfbOOD23o1yOQYo8dyaCB8AXaWdT29m8BaTMo36LqHd FEUdbQAQy8J6pUeYLxw+q7MetJkjmjUqr6ZGAsAcdxswrAvOOuBnHr080D7scv6JrHgw EfC0w910Sl9nnL4AU9ULbgs0GdtDqKIe5yXrVu3NZbH0EtbDeBkr9Jd9TvYlknK6nXHC yXzzvweEkJxGE1uCdjenHY/4FRETwqDG58tlTGKQI7m1NKM9NiHjE/z7B//DiWNgHe9r q9Rg== 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=nAYdMu5LfR9o8kygTwAPuW4irLns4fhZSo0gUVaY5+0=; b=Sv4egyhutb0qY1ZWKyHeEfidAB3tAtBAYiThl3AqlPtqgtKcoWSCLCypexUDUyc32t eMIjCdbrQWh7QEGkdoqVZ4zGho1SNPnY1Hc3VWMhAoLlCPQIM2+WdkmweXvXpHOIEk3G yDmGKmK0xEo1r3rEQYXb4klEITGkbqwzJjvnCh+lkymYYG0SJ4UAxc3UnsgG6lDpMdho 3HSB93rwNBIvr8cKiLd6kVddnhYrzdFtCJ+NXi+31j8P+jkNF25690L4ipaQDO5j/yNL PiyCR74Bi5Q6lUWRurR9HEvILGuRgVv6wbw0WzepicVlHffY6JwpcINi4sl7n+e1dtWM mIqQ== X-Gm-Message-State: ALQs6tCmouHmN4EinKPKOJHxgvQcAFJsRWsXOuGko6LFMY2YjW1NMcr4 CktSOWbIdx+fuMe4nNSs1sbR1A== X-Received: by 2002:a65:42c7:: with SMTP id l7-v6mr8270729pgp.335.1525030583612; Sun, 29 Apr 2018 12:36:23 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:22 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:53 -0700 Message-Id: <1b3364fc5d0c8d2748eef12bf713f6cc9aeef11c.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 06/24] llvm: Fix [compile-host-path] QA issue 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 Its trying to build NATIVE llvm-config which is already built with llvm-native so we do not need to rebuild it Drop setting NINJA_STATUS explicitly, its no longer needed, on the contrary it hinders the task status update Signed-off-by: Khem Raj --- ...able-generating-a-native-llvm-config.patch | 41 +++++++++++++++++++ meta/recipes-devtools/llvm/llvm_git.bb | 7 ++-- 2 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-devtools/llvm/llvm/0001-Disable-generating-a-native-llvm-config.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/llvm/llvm/0001-Disable-generating-a-native-llvm-config.patch b/meta/recipes-devtools/llvm/llvm/0001-Disable-generating-a-native-llvm-config.patch new file mode 100644 index 0000000000..2809e4c594 --- /dev/null +++ b/meta/recipes-devtools/llvm/llvm/0001-Disable-generating-a-native-llvm-config.patch @@ -0,0 +1,41 @@ +From 7f7743ce233fcd735ec580c75270413493658aa6 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 19 Apr 2018 18:08:31 -0700 +Subject: [PATCH] Disable generating a native llvm-config + +OpenEmbedded already builds this as part of llvm-native + +Upstream-Status: Inappropriate [OE-Specific] + +Signed-off-by: Khem Raj +--- + tools/llvm-config/CMakeLists.txt | 16 ---------------- + 1 file changed, 16 deletions(-) + +diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt +index 25f99cec978..c45e9b642a8 100644 +--- a/tools/llvm-config/CMakeLists.txt ++++ b/tools/llvm-config/CMakeLists.txt +@@ -63,19 +63,3 @@ endif() + + # Add the dependency on the generation step. + add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/llvm-config.cpp ${BUILDVARIABLES_OBJPATH}) +- +-if(CMAKE_CROSSCOMPILING) +- set(${project}_LLVM_CONFIG_EXE "${LLVM_NATIVE_BUILD}/bin/llvm-config") +- set(${project}_LLVM_CONFIG_EXE ${${project}_LLVM_CONFIG_EXE} PARENT_SCOPE) +- +- add_custom_command(OUTPUT "${${project}_LLVM_CONFIG_EXE}" +- COMMAND ${CMAKE_COMMAND} --build . --target llvm-config --config $ +- DEPENDS ${LLVM_NATIVE_BUILD}/CMakeCache.txt +- WORKING_DIRECTORY ${LLVM_NATIVE_BUILD} +- COMMENT "Building native llvm-config..." +- USES_TERMINAL) +- add_custom_target(${project}NativeLLVMConfig DEPENDS ${${project}_LLVM_CONFIG_EXE}) +- add_dependencies(${project}NativeLLVMConfig CONFIGURE_LLVM_NATIVE) +- +- add_dependencies(llvm-config ${project}NativeLLVMConfig) +-endif(CMAKE_CROSSCOMPILING) +-- +2.17.0 + diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 77c095d9a3..cb3bba6fab 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -26,6 +26,7 @@ PATCH_VERSION = "0" SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};protocol=http \ file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \ file://0002-llvm-allow-env-override-of-exe-path.patch \ + file://0001-Disable-generating-a-native-llvm-config.patch \ " UPSTREAM_CHECK_COMMITS = "1" S = "${WORKDIR}/git" @@ -85,15 +86,15 @@ do_configure_prepend() { } do_compile() { - NINJA_STATUS="[%p] " ninja -v ${PARALLEL_MAKE} + ninja -v ${PARALLEL_MAKE} } do_compile_class-native() { - NINJA_STATUS="[%p] " ninja -v ${PARALLEL_MAKE} llvm-config llvm-tblgen + ninja -v ${PARALLEL_MAKE} llvm-config llvm-tblgen } do_install() { - NINJA_STATUS="[%p] " DESTDIR=${LLVM_INSTALL_DIR} ninja -v install + DESTDIR=${LLVM_INSTALL_DIR} ninja -v install install -D -m 0755 ${B}/bin/llvm-config ${D}${libdir}/${LLVM_DIR}/llvm-config install -d ${D}${bindir}/${LLVM_DIR} From patchwork Sun Apr 29 19:35:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134674 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037536lji; Sun, 29 Apr 2018 12:37:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqGA9eEYktldVRIKcD549Y7tNBslqdlyTc5YyzyzF2yywCX+eD2U2ZmDzn/h+aOufv8gQhe X-Received: by 2002:a17:902:5a0d:: with SMTP id q13-v6mr9890711pli.199.1525030622198; Sun, 29 Apr 2018 12:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030622; cv=none; d=google.com; s=arc-20160816; b=spu+zDFpz3yux+KAc/czFAB8oniPJjRTpDlOnyr81YlM5teK+sioYMHec4k5mSTRFf lOLi4WYJP39un/h/drNAxluysUWXavazeiWm2i5JsVK2x9fWfJeSo1vDAMYqqAa1fOjV U1DvGzItmoPJih4zpNVug7VZ9DmEDNwQlnq38XNmNvvoJTwL5gyeO9Rh/rn3WcXfK5RG KGJOeHEuCRiuM0S4mBimYB8wvuhebTAKSOUpuuaVzjHkFk9a6hLzaJgcFw8nLHoJwCyW PZhSbvgGV5f19PjXV1ogEy6D83bzRAV11LT8xNv1zPDH+cKofZ+RKuj65g6qidOsbTxk l/iQ== 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=kRh+vVC8yZmAlkmuagsaINMsHG1bVbsgG51EWzyEBOUootCd72m9f/euJJu3iwF5gv zgryMkc+i896Py75kltU0NCnhKmYXcbg9KiBgrzgKyeVD09kH0chPbKTfKPeU/gHcuFj PsWYWTAdF92iq6PgCKDfquOxJmj9sqOMdeXkGh8fbX/z6cdo0M36ngy8idZduSKWww3I dYfH6oHVUDwwmthvZrgmZR6vKsYxYT2qVMS0WsQbNC+o2HwcbDgmOQ0j6yfbD8W61K2u e7lIht0N2Nf6S4TELeqzZSUAy+5p9B/X8smrm17dQC+WCVDCPVtrxQkeD/i1KYKxhzQt ijtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gKOfIMd+; 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 v7-v6si6206698plp.31.2018.04.29.12.37.01; Sun, 29 Apr 2018 12:37:02 -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=gKOfIMd+; 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 D4E55744DC; Sun, 29 Apr 2018 19:36:28 +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 1909D72F01 for ; Sun, 29 Apr 2018 19:36:24 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id z129-v6so747396pgz.3 for ; Sun, 29 Apr 2018 12:36: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=/QfBBneGn71npxKpBC8dFk7/MldPV31lAoDx1mt9gxQ=; b=gKOfIMd+csQC+fACdAO7eqvbOzVpAg73GIOuGyEOfjLolj4kqUrbSe0eBwGBx7Of1B Wo94dNuCVMZA92IMiQXqt+a73zDXxUdE2vdvTrMr1sdmRi0Dwiu/WVM0mj+Om2F0S4jA z+cmNEoPmItoR9NmUmhGp9/RRYAoMFj9lENksZR12PH3SB/zFbdaBFJegDoVAcInfigG M6HCDf37CXGRXQu5AW8NKPqcKfrERflQ1KtkH5aYheEqmQQw4y+Pv/qP6oEmp60/3KRz qfGImLUDvvFrt/EoPWX3ueSzNy3uFkv40oDnNSfvWdw8rZxuQRmB/vxMQ1FxCkvawCAT /aog== 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=HcmDiT2f4XMl6P0rn3V8MdRT3nlWU65Sh59+kTGDjg44getd2XYaT2RX7QhrvrbXxM yH4qhfgJfvYTE6gYtu9wF77RYyZhcYTJM4xRumtBKplKJWfIKgDQ87sgjXCpJxb5M1Tc 93JI2sEO7ZAdTYzySx08vt2FTVuGPswQ9oftiyNx9RRvhLjcGyfBmlkHg3fr9vTelxsi i8GGlZ0p+T7PxuTigE5G5QilrpryJivJq5lbaeLW90s1X3721aLLrRN6KjP8PHdRSKpk /ZyAZzsHvWyvWy0kuvNAfB2jEYk5YiFtsiLZqsXYAk5iE0XW8PT5DIrKdviguJU1Aqzc f9RQ== X-Gm-Message-State: ALQs6tA/IRIp3UQBZtYjaQAVNP5P4mC31OFIdOBeQ7DaA583HWhJTyPq AM77tJgnchIARz+o7f9d0Xgljw== X-Received: by 2002:a17:902:5402:: with SMTP id d2-v6mr10033412pli.386.1525030585039; Sun, 29 Apr 2018 12:36:25 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:23 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:54 -0700 Message-Id: <8910043065dc4a3e7e40c5c287c33dbe3a95f169.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 07/24] 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 Sun Apr 29 19:35: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: 134675 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037627lji; Sun, 29 Apr 2018 12:37:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoKR35SPPST+Igdh2yTtNGYjwuz3/NL0qlzpM/GAO7IVdfg5J5AKkCcGh3kk/kKmTFZmN1U X-Received: by 2002:a65:4a84:: with SMTP id b4-v6mr8140605pgu.36.1525030628820; Sun, 29 Apr 2018 12:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030628; cv=none; d=google.com; s=arc-20160816; b=ZqXLl1nAaLVFZjOE2PwiXGow1fqTlwSclLvZZF2wDuZWnrz8JOvDA8OHwbGwvdtApM dFRpxs99sHhq43F7dG7BRKPLl+leI+P8dDQXyWdmh2hf/lBM00EO3V2oNR8x/+Q8/NEZ o814ipvu/GbPRFd1taWEpKa0gNlU+mQuLgO0BXY33TNnwdcvkhvDvNtBu6dkoV79tbuk SYRh00Ie0nMAF57Uuc/TttkymxFwcmLdttCCdEi3FWwTb3/vUlcHYH6EV21io825qtSO MEkXB1Kp28WLaQcOWzbTLMnJEE+tD61ef3RhEC2aVHcwSMppjyC3xl3ygX9Y4eHDz5wA lT9g== 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=EbfBfjzrsOlJ7WGOJhaMzWqGzr/GXsTfKnx+U5K9MyA=; b=QuD3SzU8yUc2jrJI8ve8sQRtMqxiY6p7PvcLPLgZrHt14k6kUSQf5P0xXRA6haGZpd GoDC7kdt9gC/eHW/svpIB2Zizszjoq7FWnEAl04Xbng9eLQyxGS3sgVC0tVI/g0KsMoN 2b33M249vIXr1VsIGocT9FNVW17c0IdwqoDfy3bdY76GFzsHifWoTOBtgoaESxAA8JGN QRfmJu3ShD9KABENI09+vTEj/qR+cuxdhPWNdI3WO/ZCVkjBOhfrUVno6wlEq0XrhHEP 6MmJLodFhUJWfDPjnKYeyStIU/Ht2zBzv/yhTZcGgOUms7JM0Fe0l/ducbQySP24bEp+ +qdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=XjM8jyBW; 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 t3-v6si5049367pgt.547.2018.04.29.12.37.08; Sun, 29 Apr 2018 12:37:08 -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=XjM8jyBW; 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 5E80874578; Sun, 29 Apr 2018 19:36:30 +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 322797449D for ; Sun, 29 Apr 2018 19:36:25 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id p10-v6so4932545pgn.1 for ; Sun, 29 Apr 2018 12:36: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=MnGXnOt0RBN1wnyJF4EKnZess3TIYKQltsqJSdLvYiA=; b=XjM8jyBWYwsyLZKK8N5DKnPh912qxoGHC1vuG/3E/p6cQAKe/GeG1pSGaoRmeV6HKr 0Ae1ChSZ28TBC489RKuq3zDPTReGsUxdSjCs9/oCgQFXkSnAwHy4rcLYtmbKgr6ayQbD fiD2Y5vtwQXfvveHsOhIf7OLYTVGEJZtlKN/qtAoSESINI+iehzmtDRWCPJrGmSaFKDJ tAQR54j4vpBCJTX40HBSGPazHXQcLBx+GYfYbJl9t6M/8Nh2fth5MrCweznR4zxslDf2 zNkg3iVNqXI/dPWOY34YUjMpVxbnJt2oaZDDykl9f0KLouyCjzyjNMpH3BbnHebS94Lf hDbQ== 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=MnGXnOt0RBN1wnyJF4EKnZess3TIYKQltsqJSdLvYiA=; b=glVq0yUt9kKM7h4LoDJuAikfxk56mob4iJD0eSk9Vxed4KHjO8MgtUGNpsI1FcbZD6 dyA79XfVdgp+lPziOcXR11fUVzztxoLaKNs3OWgHoeBOq2F9ycPna9Uid0d8pZshDYCG 6883soH2Aiq5sNzb+mb0p5d+uQn8UODPznLmhvAEFieBolJj3GiNfcTLya5gq1QiUijB TbQ1mNzIwFdnojdMp/0mcCrT7MR9Oem1SvSxUQ9XehjylSY4gtozA+GqsbpVXdOhtBNg jxuyzCgFwXIyPBlTUpzl5F6Ig+jKMQZkSQewZgwhjSBmIrcdjx2hWRUCqwBH7qTpnnTV jKlQ== X-Gm-Message-State: ALQs6tDEiN58G8dARdPJmvQdJ+UAEdckyUj+bAyksKUbBltAqpSVU5Z6 TpLo5Vy2pphDFGlqObfWIrbeZA== X-Received: by 2002:a17:902:3a5:: with SMTP id d34-v6mr10128895pld.103.1525030586558; Sun, 29 Apr 2018 12:36:26 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:25 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:55 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 08/24] 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 xxx 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 Sun Apr 29 19:35: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: 134676 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037717lji; Sun, 29 Apr 2018 12:37:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZowJgwkpii2TxgVHvc4BjAGb3v2F5fKonr3xpuC5KLh+rR3meUKMH7M0ncWgUQgD3Lrwnga X-Received: by 2002:a17:902:125:: with SMTP id 34-v6mr10221496plb.42.1525030635495; Sun, 29 Apr 2018 12:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030635; cv=none; d=google.com; s=arc-20160816; b=KQhi8hXTuQKGIVkH+h4+vuPJbskx4JPSnreLtsg4o7BiZ6CSMqLEoKHWkTz7wg5iE5 8217y6REuCZgzL3VJGkraejSrA8stn6kSmxwRfMDjtQizC+q6s/KRXZf3H3mOmpIw1Do jkdDQkINLoj4BLbT6Wp2c2OgBLiqQvOHopYL91AqSBPx3o5mUGhSp5WNx5MS6v4sdDD0 MWxLf41R9V8GK21tzNu3RwmMe8Lo24LfJEXZgJn8mftRNTp2gTZfHn6odaH4SH3D2rtb bzlw6K+vkWz4T0WsveS4chvfH1P47dz2FVpRVVzHtdQvj4EdREnJ0w+SEaLSRlhAeWe2 90wg== 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=aCyldTopdEsZuka/f/nx3y4lksGj9QRQeDLUK7mpwEAPWE7xlxHOOq177pJAgBZmLQ ZDjvdNcxqon3Yunzoyh89ZD7QQZFTcMqTBDaUNC/YReSPSLutTNuN87EypMZ7ugIAPuc fEcDEZxX+oUDJSuBRbVjhM8Kjr1B9fo8L3fa1xxYufvC7KPnwrKPyO8yFy7CKJgjU11x uQTDMeN1obSf7dO2ZbE5cKZNqwRdPl8bVB1yVm7Er8YtuHQp1hMG7Z/p0n2UEPr/Tm9b My9wh8V73YfLaj7yP+snk317aNTk/cjg0rht2NVDXxnMLfGZL3W+8B1ye0+a0FT8cSi6 n+tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=JZiSqziu; 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 c18-v6si4087463plo.185.2018.04.29.12.37.15; Sun, 29 Apr 2018 12:37:15 -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=JZiSqziu; 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 AA259745A9; Sun, 29 Apr 2018 19:36:31 +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 7B13B7450C for ; Sun, 29 Apr 2018 19:36:26 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id z129-v6so747433pgz.3 for ; Sun, 29 Apr 2018 12:36: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=9lX3AlVtWL3IZdO6m4lA+pA5fvtc11Vxgp2DniA4pB8=; b=JZiSqziuVF6YQQuGE9HCNLNtgXgxpuwBUqnFqLZe15rPfoFrvI2ynzB8LmbdFd9PDd YKvoB0IudMGItinzyKcgzbuXMPJ9Sc9U7v3R8cPbEJpqSH6tp8MkD4x7ZUT5txHiZAF0 zLx5KVLZ4QHSMImAjifBwFya7JoO2PxfCQ3Pxh6POzohcoK909b+BI9UcMoB/CmRBF+x 2L4yGr0fSTc6QSBwJYiypcqBk09TNF9Wbmlo63k0UAwcQjySa8Vd6t5/SwrOkNZwOOTv jtAWntADLTY1eCCMRj9+Q0duynI/74myJNGXSLJRQqRmBJWSBdDvJl7rfXz5d+Plls1c OEZw== 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=LghPqCEhaqs2vW5NlbZTyddUuJ7LKJBsa5MX8zasFxWdXZbYY8Xlrn1IKk/LsgwHlQ PVWnUO/7v63VEDwLvWDlDyRNgoauWLTky7KvZUkN02tH1WVm3Z22fymiHvT7dna+ZmQw 18/n3vv/b8DsZtowzwnIE1/IMozQwBl8wyPmn3TwF3yAatP2h8LiHV/fBMbAAdlQHdk3 GIVwc3P7rl3GzvTPYTQudEVGJgDbQJXywwdKmsppTyw/QdBQ45QCyfnyEvaOrwDvyttp gOP7tDb7F4WPMexZuFD8WfSnerfNhlXMJiNWRjqur0rZBKXulW3Q/UD7yGWI9fR5bLqg 2tMA== X-Gm-Message-State: ALQs6tBLmqigTnSCU1D3V/P/+DXBSOQfiizIjKav+7Ch7/izVRvuclYK Tr6ykI0IuUl8bAK5GAXjFdkRdg== X-Received: by 2002:a17:902:7209:: with SMTP id ba9-v6mr8274281plb.119.1525030587358; Sun, 29 Apr 2018 12:36:27 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:26 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:56 -0700 Message-Id: <91e475bce7e9945c80ba682af09bf25aad4a1eed.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 09/24] 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 Sun Apr 29 19:35: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: 134677 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037772lji; Sun, 29 Apr 2018 12:37:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr6qcmw32UmH3IIP/hxQsK2jJ2+r7eFhTC99IPDRGh20if4e2Jq3EtVrprxc9zVxgFr8rrd X-Received: by 2002:a17:902:228:: with SMTP id 37-v6mr9841891plc.141.1525030641466; Sun, 29 Apr 2018 12:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030641; cv=none; d=google.com; s=arc-20160816; b=hDcEbjQE6eIt/gs+9EPivO6kOKfVtE5a8pzzU5dQaM5pJ0cf14tVPzitL/L2q8uvcO QM0CWUMaPkNFMT/MPSlNP1M2+VpgywpDxDqZtghhsUTG3lksFu94etFg7+SAXhG+Jib7 YhcKidCp/JpcBbca1ZS2p65LC6bcT4dr3O/2G2cN0hGHNBeMobMiH+IPbaGnckMoSFxE dja2AOCNRz8MPTRRDSzIa6kjZ/qGlJQXR7bXZ7IkAwqSjbKV8J5P8B+QUsXhVcFUVT5E l8zhu6m01Ket8B6BwUGAMEt3zuzkUn+la1AvzzzrEtqUItovjUy5oQYES6jWBIYWOG+n b5dw== 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=tyIwLexTGREHj5e2YY7l4Yvv7Ox4Mt9W16sccXYBXYU=; b=s4ursyzrlEhelFVWBlHsZiiZ5ivM3x7rNaxaO050Tl3D2Z4JW0FPBC8hFyWev0sb52 DFdiefjtLPE5/lRo/JgEdg10lJKGiFXq0njuWZpI6GxFqVGYOdvYGdboEWu3sdPtMH7d KcvUhRwZdv8PmXE4wKQpXWBiv6b4CmT3BZ6uwYxDslAJT+jT9sCoTmgxvx//q7TTEmzs v0dO7OSnRUt8RNjz60Gv0027Ph+nUH5x7AL9ePkMhnst0nR1OUbSSuKbac7Lks9lckq6 KjX1R/V/68jcZ4K7n9m3tJBfpZz/1y5H9EQHHrXNbkdgqqjjAWgl9grIulHPCt9nIPqi Gfrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=CA98w5pT; 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 i21si3667927pfj.190.2018.04.29.12.37.21; Sun, 29 Apr 2018 12:37: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=CA98w5pT; 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 EAA00745AD; Sun, 29 Apr 2018 19:36:32 +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 AAD9A74563 for ; Sun, 29 Apr 2018 19:36:27 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id p12so5116845pff.13 for ; Sun, 29 Apr 2018 12:36: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=d8hyZq2XIny9ZJmGD8ST85K0JV0sXnv/iNyDtlRMSOw=; b=CA98w5pToS85SxhSUjP92mlFcnWACj1Y7G+ZmxK+6oQzRD/MSTJunSPux06EM2VeAH AZlXLCUbrjs5zklSgiVf/GEPUbKlxW+vt24a7B+H33WgKAeR6nQiJBzamgp9ZSl7Saso 7yo9q/7APQF0B1G6ojgX1bdexKdgBw54HGpRmiTTozkn3T2JcD6D9eEgaw3hw5Sk9Ld0 AcnTmF3JbTIcUNS8EWj341OoySQa8g7Ox95I9PjX8jhX9YHkEvPwI3XtFmNhr6lrXiFP AmbeHji1ECcFBUBZK6uM4X7TbsKmxpB5ukMLpxjAJ6ADThMHCq4h5/WAAlOc6i3PsgXZ NrWQ== 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=d8hyZq2XIny9ZJmGD8ST85K0JV0sXnv/iNyDtlRMSOw=; b=PmtL7YIjcpiIg+SVLNp7npVaStQj6WOQLGsBjVnZiMO/6a+osXlU4ncw1zq9mHNPfs 4j+mi1jyShu50Qg0hxoNH6LqS7ZYjxZYLDrUvy6mQP1j/jB3Nwuwkoe3AwvKjGCXstzZ 9RryikKXMZZMufvNamzhi+5d0ZlCJvHs3dqoZAEhTX6H5AAnipD4YCbfTC7Enau1y/Of fdQsE69mg0XOwzti8G9vuymSA+NBenSW8QhrStVYtIXNPCsCpI31rUJGLDrDiwDfKaog TCfrYvGFuMVk+5RhYB88tCHhMz0H1AOQ7lAq1cjjdLKgUN4RmdKQxpc/3YUhHHDCIHoM 4L4g== X-Gm-Message-State: ALQs6tD01E0EVq/Xp3DV3ZvOY9zCFZXn9EeOgjFzfo+k47Rwpit1oeyR qScT0go689CpBw1izSibuxVoxA== X-Received: by 2002:a17:902:4203:: with SMTP id g3-v6mr8636456pld.315.1525030588724; Sun, 29 Apr 2018 12:36:28 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:27 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:57 -0700 Message-Id: <65f84677b46cae1369973753fa7a9bc732248a4c.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 10/24] ruby: Upgrade to 1.5.1 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: https://github.com/ruby/ruby/commit/322d0d93adfe42fc89c574f67bcb9acb9b82f251#diff-c53151ffd180a17416e8f09b1ca4bfc3 Signed-off-by: Khem Raj --- meta/recipes-devtools/ruby/ruby.inc | 11 +++++------ .../ruby/{ruby_2.5.0.bb => ruby_2.5.1.bb} | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) rename meta/recipes-devtools/ruby/{ruby_2.5.0.bb => ruby_2.5.1.bb} (90%) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index fd3911ba75..a366e93f66 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc @@ -7,12 +7,11 @@ It is simple, straight-forward, and extensible. \ HOMEPAGE = "http://www.ruby-lang.org/" SECTION = "devel/ruby" LICENSE = "Ruby | BSD | GPLv2" -LIC_FILES_CHKSUM = "\ - file://COPYING;md5=340948e1882e579731841bf49cdc22c1 \ - file://BSDL;md5=19aaf65c88a40b508d17ae4be539c4b5\ - file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263\ - file://LEGAL;md5=8f871f3f03732c018a5fa9b185958231 \ -" +LIC_FILES_CHKSUM = "file://COPYING;md5=340948e1882e579731841bf49cdc22c1 \ + file://BSDL;md5=19aaf65c88a40b508d17ae4be539c4b5 \ + file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://LEGAL;md5=23a79bb4c1a40f6cc9bcb6f4e7c39799 \ + " DEPENDS = "ruby-native zlib openssl tcl libyaml gdbm readline" DEPENDS_class-native = "openssl-native libyaml-native" diff --git a/meta/recipes-devtools/ruby/ruby_2.5.0.bb b/meta/recipes-devtools/ruby/ruby_2.5.1.bb similarity index 90% rename from meta/recipes-devtools/ruby/ruby_2.5.0.bb rename to meta/recipes-devtools/ruby/ruby_2.5.1.bb index 1ac7f2aa5a..91048284c1 100644 --- a/meta/recipes-devtools/ruby/ruby_2.5.0.bb +++ b/meta/recipes-devtools/ruby/ruby_2.5.1.bb @@ -5,8 +5,8 @@ SRC_URI += " \ file://ruby-CVE-2017-9228.patch \ " -SRC_URI[md5sum] = "f4711f856fe14de222b9da3d3b8efa89" -SRC_URI[sha256sum] = "46e6f3630f1888eb653b15fa811d77b5b1df6fd7a3af436b343cfe4f4503f2ab" +SRC_URI[md5sum] = "23867bc8c16c55e43b14dfe0614bcfa8" +SRC_URI[sha256sum] = "dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1" # it's unknown to configure script, but then passed to extconf.rb # maybe it's not really needed as we're hardcoding the result with From patchwork Sun Apr 29 19:35: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: 134678 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037851lji; Sun, 29 Apr 2018 12:37:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq6VuWUzpOzo/rZ2dnz4xjCCpKdY2cmQNN94VXL0bZGdjQnhj4/PgSLtD+7M35WeRXCxjG/ X-Received: by 2002:a63:7d43:: with SMTP id m3-v6mr1405690pgn.117.1525030647703; Sun, 29 Apr 2018 12:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030647; cv=none; d=google.com; s=arc-20160816; b=xmI+v2IjTG4Vkd50gqG+oiUfXVdPwKHcbmnkhJQs2YBgWwau6VuOgsyvBztTviu4Yc nOhepvBdn6kaXFQib8p7bDFJ4c3rzdM7hHrQxntgFiJSVxMzCrHF9InVtia6+Qnls6Rn gN3ijDzg/vYkVOXXHIuczhJkjXN7FKjaksYxgvBH9SE3yBzrgjArBMgyqSwSriwsQ9VO DT0y22sl8Lln5H7ktPgZnpTz+a5sGyQW/acGOJmwd+xDlFGBYuII5t/pENWyVMjsMuJz AACmA/18LGkgA1S67xhgqTNko1OY1KY4SSe0P6uReoEDSFDHxiR1ljNBzJ91pbSAGfvv fyyQ== 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=9dTP1HkK1TePYpyQTHe+I30qFVbzN6BEhvcOLBAe7xA=; b=Ci6thRgfgeuJtP/SOZbzgPK/t8SIM68wLHLpOlcfhps/EFNSwWM1G3NWSglAuX9Y1O zHt0F9UP5A4/NwiA41Ekntdk5WGgqyTpFy6kRUtFzzrVJ/VVSTViO3bBTDXA7A1vkKFR hRjxEQsoGfhXvp++POol7N5aytZR2AU1Chi7yXDwY1QXglU8BYVLEjmNt8GfVApDomAh /9+rnOKOM3OD6fzINbqaODx9OjQZMI+OnwltSthQjFaDP/yWQwnM69flyISb28O3Lw/z cUsTIvYhS7cx5TAj/ia9J6qp3tWVm2e80ldM1EC2bP4TL3lUi4ES3FfHGV0HLMDdMeOW L5Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bciKWnAl; 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 k10-v6si5173607pgs.304.2018.04.29.12.37.27; Sun, 29 Apr 2018 12:37:27 -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=bciKWnAl; 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 15FFC7456A; Sun, 29 Apr 2018 19:36:36 +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 C72F874578 for ; Sun, 29 Apr 2018 19:36:29 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id f15so5135992pfn.0 for ; Sun, 29 Apr 2018 12:36: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=JKerWy+KDn6c0nxiiV3vnjjHRv/hJekbCHeod6apuU8=; b=bciKWnAlBCadmczAO+q7igag3YYuMX7tfFFwbEAbZ1+rPY2T8M3UpvLYKTC5BBOyaj EYrh+WHmjw4w+3vFAfBqa3asjD+fK9nhIva7/QRHXMpdkpNy05BdTDsLOnZlF1Cqq4AF sasEVS1WZrpSA0y2pfG0qSUlej0pjP+eqeNWkixwO8VKQ30xT8BF7Lh2B0oqu8ZxoMcI VVAJpE6yaMgdzWuri/4SDEZ839WaNtKYnz61QvuedTCL/xv6dB86ZGYwOQYL/9AJSPxz ZpNWzeFlGuvBmr10afa9jJPfsHNwFudtpMIWoS4JKMNB17cFie77rSS1YQy1mjpU8cwv krSA== 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=JKerWy+KDn6c0nxiiV3vnjjHRv/hJekbCHeod6apuU8=; b=DfhlpxP8WpMAjo5hnV6jc4YKJVqu7R8Mi9btj8qGXDnGsrCW00bbympxMvV1LpKVYr vT0SWoLMqQ/o6Dv00eHe9UYssn9hibf0dL4f6tWyeF54vNQfUvCZdwCF0cxijWsNX5hi lHm9ZVbWtzTC1n55470smdSXoOxrsv1BNEbuMGv/7nX9ncVU+mvswEmFDmjQr8esp+si X3rHoCrDATMLoeNfpADBCKSOYk/Co496Neo7uB7Irco+2rbKqRewhSg2Axykp80X5OE+ OC1oTFHisQ0KNuUdrXGJ496o8OYknfZ9o6vj5FkdzT35S0tRMYjfr2fDbBwUigUmqVQw cNNQ== X-Gm-Message-State: ALQs6tBkReZrrkv7FLlJqWRuXD/7BBFQm++S/A8LR5qFttLAcyN9yurm Rk0D+7Xj1BdYcFeEyk4zHVIMUg== X-Received: by 2002:a17:902:a5c7:: with SMTP id t7-v6mr1707448plq.360.1525030590123; Sun, 29 Apr 2018 12:36:30 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:29 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:58 -0700 Message-Id: <6d3146f33cb58cd71adff2e3555744d17645eb40.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 11/24] 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 ff45dfe35a..9050218619 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 Sun Apr 29 19:35: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: 134679 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037940lji; Sun, 29 Apr 2018 12:37:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqIdW/+WB5TUFMrRcxFBX9f5ji9v9f5V3aemg+7iPXSjYvRn9EG1gHLq9vnhvRd7kZKJ/vP X-Received: by 2002:a17:902:7e06:: with SMTP id b6-v6mr9998783plm.151.1525030654956; Sun, 29 Apr 2018 12:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030654; cv=none; d=google.com; s=arc-20160816; b=dl4DG+5aWkVe8ObCIiJE46kNYKMwJ/JQnrmffS4rTFUXgpPBJQAXsHJq5nRpSN34R7 ic3yISSmAsD/MNZbaqnbCGJ7PUYl2lL5eSziiOBy5t+n5YM0IEx+DdZdqHBBGhkQV9Gm MODdk95ctEc4pKTD4HwVJ4kuXhZg0yoJ/b4SvhQE11MRRpuTRnjIZ/hWpfjmMy2l1gBQ lkFRZnbCZ2QHjYKT67i+c1Yj9mXHgaKmo8mKy10Ns0pDCMAYzOYCBNK4fKvfWmVE/ENc K+u15avcbiRHm5jdvyoatDu7Fo5Zk7XhqQlI2904bGzYvbjRimXtkondjR0stYsOf/Tp UITQ== 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=NqQOB2V4TfqvBNxNSrrYVg8BmNqkOwTN3yn5ErvrVpk=; b=ka/lmXVpucsexJSNaszEJJpX4ch3P6l+GZ+cOuV7YnjorUrGptaDNDtiUwv57BxLRE ufl/CImNspDJklP3Kz1iCuMOYXOHkHM5pBlvYjugVZ/xQOVVfYT4AVnRJbb6GRA9wBNy 7Hf/EQUpgjWFXFEJXYqg3ziYvWV4ARkWeCr93Fo4OXyOym0VHm5X7AGiyojkrXLQzARh SlQ3/7VroCGlDu0j+sTdkFnCY/T6oi7hXxjoHwZsmOFUvuLKSwOJFlYIKpXPOkOBqMYU j1FgGVIXgreJFlUOGExMoHGXrZpLL6FNGgpeVVYu/g0uF41Ze6PZAS0XLSNjhaWP0fFK IkMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dRq1e1ai; 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 t71-v6si5048309pgc.444.2018.04.29.12.37.34; Sun, 29 Apr 2018 12:37:34 -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=dRq1e1ai; 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 335B0745B7; Sun, 29 Apr 2018 19:36:37 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by mail.openembedded.org (Postfix) with ESMTP id E9FD1745A1 for ; Sun, 29 Apr 2018 19:36:30 +0000 (UTC) Received: by mail-pf0-f182.google.com with SMTP id v63so5127159pfk.8 for ; Sun, 29 Apr 2018 12:36: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=k8ozAW+hq6U7hXBCi09op2HDjBHthQAPAc9SUhlJmL8=; b=dRq1e1aidi4ispOmAYZUF3h4ecCeUf4Mk3grHYQ2+DQz6SZOcn+Hz1RtX6yJQgO9vG wqEJZORQ3wxF2JjGyH9CZZgZfudYVS/w8s2F+wGVAW58wp4tJ+z1t4pMrkBL0yRUboMO z8HztaL0BL5xbXTqo59wTP+H9Q3IFRBFIrWWcv9RxjnT97/uXXa9Y15vXAA9R/5HzoxL K32sFBMS+h6xRLoJJB2Kb6G3p/GCAuyRbRtoSSO2YLzUnf4gU/5/mgmy9CGHypcizLar ZyOPBS22obdCXkGI86j56N4zbegCvRTHcHi7xQzSeX0zrUX9rfqsq/Y0EchB4Ng//7NU VEKQ== 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=k8ozAW+hq6U7hXBCi09op2HDjBHthQAPAc9SUhlJmL8=; b=QgMjoa1L3k+uyIBs52kdSNJcvrmtBDmuws9YzHeLFfuKGdV3rnf3cqhAw7mhsYrTY7 +Iw7dubSIRa2TIn2b0ABLc6vEL9sK5QQZYzVMtN4u+2ItF6WHMunzvGHX+wBer+D8qcG dzt2P4exz/GzvgUtawdNd1BzQNk5NcFD3aW+Tozz4VTvlCxPrLLrscHGFjFH2WaufHym OeCCpNNNMgy3SaqdktnvmHyiv4hy9kQVNKmS3ijIe39DbMnHwv6v0Jktk7A4ghxgZSxD ahPVXBvXpwNZtzBRoeldbrd7uuRYdIQ9swpHfznfr1AR4f/i5nTEymuc7O1TlywWdvEx 4x6w== X-Gm-Message-State: ALQs6tCG1G/hM5jXIuMURSei7/2cRs0QD45HEaKUIMs8P6PZAkFBPgg8 bo2Rp62r+BWTmE5Gr8ztMYN0kA== X-Received: by 2002:a17:902:9a0c:: with SMTP id v12-v6mr9746716plp.162.1525030591476; Sun, 29 Apr 2018 12:36:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:30 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:35:59 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 12/24] 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 48aff9537e..823e1bfa98 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -633,6 +633,7 @@ RECIPE_MAINTAINER_pn-resourceproto = "Armin Kuster " 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 Sun Apr 29 19:36: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: 134680 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3037995lji; Sun, 29 Apr 2018 12:37:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr6B87R66sLPxspbN/ZljeUUhRF2yy6f4UYPO7fYUqJQO+uDfHiNODjF6Pa71rmkGQnKjxF X-Received: by 2002:a65:66c6:: with SMTP id c6-v6mr8146114pgw.127.1525030661670; Sun, 29 Apr 2018 12:37:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030661; cv=none; d=google.com; s=arc-20160816; b=FjzwjTczTc+Wpt0k6ch1E7m11NltOGVFpfg/rBz/L4NQZ/qYv2tC3plaw5D1a70QSB y0t4x3uq91dnCJh6owjMAnA5KLrtlcclzjwYh+30AZ6VKNVc4+5zJttybZXz2XUe57u7 NtGAn3K8MTIiiKTs8gre04MkE3wHK2ouAokYqQ85N9YZ85aCOnBZL5bg6OlaVnphFolc O1Qc5VyONfIkD/oAgGeIsId8c5o3mv8piFTkpQeaahlzlD97lUjRn7n9v5UuH+Yg9RUf mHTPiCO1Bow6DPRlRFvczdtQsS8eFiMaUp6/NHpvNU6NQg3wLPnNcImPmrc93lHOYyUO VM4Q== 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=pEDlTWtaJpbIiFWHa8XwDwR5ibY3nuownt5pNBV1OJs=; b=rkej0NrhZiJH7LTRIIwJa68qV7p+ZpJAz77NvJVofWI80psCPBQ2Ml8UyzEWbJ7mcy OPU7jaft2NBM70SYjhtTTK/kzIRRpHaI0h+ieH0ofg72o+Oz7qxiFUGOptvfm272tFrA jE+vzpvs7UgablMJ9BacWkglZckOqzM7/2KHKx91s5fMpKzoqwe8YC7FEPO561GJgZz2 dBOs2VQAY9QnLvFmh590W6gDKJo82IILeaE9IxtFc0uhfuhEKg4FGPGWTTwQix/mYZAh /nRGz1Yz1TSYGl5WH8xh/lJoyCGSYYSziSH1aLJ/8H/ngC4h8JpwFU4s0cgxTotXk1/+ 81SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=DwOrMbxd; 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 d127-v6si5162251pgc.236.2018.04.29.12.37.41; Sun, 29 Apr 2018 12:37: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=DwOrMbxd; 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 5705C745DC; Sun, 29 Apr 2018 19:36:38 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f42.google.com (mail-pg0-f42.google.com [74.125.83.42]) by mail.openembedded.org (Postfix) with ESMTP id 4C5FB74527 for ; Sun, 29 Apr 2018 19:36:31 +0000 (UTC) Received: by mail-pg0-f42.google.com with SMTP id a13-v6so4926636pgu.4 for ; Sun, 29 Apr 2018 12:36:33 -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=pgpxW4k70heKCfDM5MA/EvOffYswhW++ZXsOtbnyjS8=; b=DwOrMbxdLcfCCmP1z8QH/3p4Eg8ZubKEzF6uypgNChIhiwR+DoMcJyqqIG8si2jxMT wiFgVJ6jYYnzuuQNsJxq2by5Vggo/WMnQZSXpw0+oCXg8WKUgrfigjPeOYsQmrAW6iJD VbOvBy71GM0EtkYAfMGw7UJUz9o7+dsrZJT6eLEChq6s1LQjW+ALEHNXvcogpWggobP7 6R/JJ6UCeZVH070rTtjGHxpbhJO5ix9vSj37bUbsppD/T0xZHS92SyldPdTfMXUZyt7F zeKxENNNWygWX45YnH+ZJ8Gh3hxWMlerW5Vfu3QHTAtLJoTLJqDXR/vk0F9WWs2+N0an Lf2Q== 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=pgpxW4k70heKCfDM5MA/EvOffYswhW++ZXsOtbnyjS8=; b=Nt18zokD8Iv+9sDXb/BIdU0DWHtcc47KPjoWvPjFsYhc0196em7XiKIwqRNrA8PTND i+PyWnYOyL8TWwOBeQa209iommU7/vCiRcLazXBNLYFKBFbZKN8iAcvJBN6UeYd9ciP/ /lfaoW4EMMftZJYGsT+3BgSibTJ0ZSCNGw58t29lDwHWqhlC72chRRQWAUjVgDqaXilh b7YyRJcqQqnSntkbIo7ycTTNoQIOiayJsNy8nSUw3HaqbxoRCHcycSVaY3+TrRxH8vvB RpNY6eFEGD8W6KCjYePQOhHA72LFEL8ZQmZJtzC5PZQwFwBc4QHOxDFSFCCSacjZ9BDz zwnw== X-Gm-Message-State: ALQs6tBKUNQWT+3jiKlVD5C4wsb77zLB0vDBJYEH9lkb2HtiZlm+4shd s6nDNHFwgG6eLkjZNEv4TbBHjw== X-Received: by 2002:a17:902:2468:: with SMTP id m37-v6mr10140410plg.388.1525030592760; Sun, 29 Apr 2018 12:36:32 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:31 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:00 -0700 Message-Id: <00dd53fde90bd764c2f363d83d1b07dd14a18ce5.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 13/24] 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 823e1bfa98..d49be7abb9 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -362,6 +362,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 Sun Apr 29 19:36:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134681 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038042lji; Sun, 29 Apr 2018 12:37:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpyqQuCNy90jQhAGXoP4XCaVxEdH0/Jk3Bfs7NjBg6toERiiUJSPP/KMApyA2+Ja+wmNxJx X-Received: by 2002:a17:902:2805:: with SMTP id e5-v6mr10073066plb.55.1525030669221; Sun, 29 Apr 2018 12:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030669; cv=none; d=google.com; s=arc-20160816; b=oZ/jGrfKKaxSa850gncc8O0dcHezALVeYFygJ+3xVeDsMX3m1HBhmY4Vme1X+0Std5 ZUKa5PfI8ryHVFjauTvyYq4I0cJLy0yFI2CvUKzOxb4NbIzSa+skDwsFXXRgWRpWGddT SWWQIwKOOZqDW1KplenrU6G05MOFr/+efweJhUuUdshCV/iLD26lwnpPk3YjZjSctliL Cy1EAQPOdZAIoBSKf1E7ubEWaDCXVDl79SGZQt1SfaWCKJJK61jnfPTUn+kA3d4PRK7s dpBB2vE2xn6LNSqrWgN3E1Yfj4j+hkylSjb+TpisAp85WqEAgT3YfgI9JDmgaNSPHfSa 7RcQ== 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=rT+zU5YqPGEJEpccFl3W95CzMy3sE/CBu+AKx4vNOC27eC4X/PdGrrHCXNb2Hru5NW Yge582cGKxQNkIMenuMrnHnAgYSTk1pJLKgpj51BIbaexClaq5k6c7+T1iy4uScTN2rt YGwtee7YSgAnOzXHh+6e/HM6UZOnhrO7ViTnINC7q4SSH2shLqKQGCLYyp6Bn9pFnF8u WDwEeX+qdXIU6irRBLbHroDkoIbH6jPtNbGOcfCCD+Rv2OIlsOYq6EHMrldMjCULa77u ij6/bTFZrQh7C1iH1fEliriHV+/IcSYLiXlzasZE4lATSj6AesLTESMC4uQM5gfezbCx tyQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VRtdyKnt; 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 n7-v6si5154563pga.199.2018.04.29.12.37.48; Sun, 29 Apr 2018 12:37:49 -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=VRtdyKnt; 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 AC1DE745E1; Sun, 29 Apr 2018 19:36:39 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by mail.openembedded.org (Postfix) with ESMTP id 1540574565 for ; Sun, 29 Apr 2018 19:36:33 +0000 (UTC) Received: by mail-pf0-f182.google.com with SMTP id p12so5116925pff.13 for ; Sun, 29 Apr 2018 12:36: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:mime-version:in-reply-to :references:content-transfer-encoding; bh=tPCckBkMoG8c5rS+trzIYtKs0XGvCO4IZdx3S4mvics=; b=VRtdyKntVw8qHlcb2f6wEe1hyGbVlYzkZ+8szZeTsRJ9n2N3ad6XQFySCrhvDc40/T WeFaEwneK0JVYoG602DrsaeqfR+nQZvAwL2oxTAKZb1BnZkTVD8ZSkgdtyMUJPCFntUZ C+mv+4mxkEpNKWzUQz8Atjj+ijz1LHKzTXrKNUyoTcljhirGHg2iUeZmbxOwc2qLT8r0 auORCt1Rc2VfolKX8l5qJZocjpbTM68aaejuOmkD0GPnZpe87teraW+QOdqfm+WF8egG TQMUidE2ci6de6P2nGAh9sSMKq8D9X8oa5pcZXbz/lxnNGKQSEb2Up5yCdjLEOT/6JN8 jDhw== 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=AGffUvmR+/cQAEYAVKgbiGuer9Z8q8zlucgubf5lbMiNGH3IEVS1GmmLYTZsIK/IQS jVzWG2m9fa4qAoX9hefhkY7cXbVT5f1kC/2ZKC5OVZJZOcDzP8Edqkr/bjnAXuX0PS0+ j/uDwzTL0AGcO7J6UgZCkITK4pX3GygOxlmuLKFylGZWd4vsq3CYhtQmrzqgB5D1/m3e N65LX/g/cmiACDxjtX692CF9c1YiUQ9n3ne67/yG+XmFa5QtoiCLpeAd2wWlW942BcSF 8ow+6vz+pk+m8wpMiKrPIqYoTsJxXytucV2Pf7+vPAAlCjV7DrS4VIJKqqNhZfNU2oJe 7ywA== X-Gm-Message-State: ALQs6tB10Qo0odWtUfsAaGuNfWk9EO3rOIrqwL1/F74PKuqAbMrtYA/X t1mYAAyKrhGrEj4y415Y3kRACw== X-Received: by 2002:a17:902:1c7:: with SMTP id b65-v6mr9924573plb.298.1525030594225; Sun, 29 Apr 2018 12:36:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:33 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:01 -0700 Message-Id: <28a8334c80ab8eb99913836ab19505d4e6b321a0.1525029885.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 14/24] 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 Sun Apr 29 19:36: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: 134682 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038124lji; Sun, 29 Apr 2018 12:37:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr/IZGx9Iw3EbDuX9nUdiqzw7hL14PhH8UP0Jz1CM1iYf/eoUN/ZW98wF2curIfbd+Cidee X-Received: by 2002:a17:902:bf41:: with SMTP id u1-v6mr10079031pls.257.1525030677517; Sun, 29 Apr 2018 12:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030677; cv=none; d=google.com; s=arc-20160816; b=f5XPi/spsBEJCNQhIXY5y/5icr7u/eFWgDNYpLvOmJ/YWUKze11F3a6Hyo6DTFIHIC c+x+VmU2vg2y4hXkkORMHJxD3CCRC5pNogG8pcWQXcLGwfBbn/3zbg3NwvUgPYLY/cDs +TSpqGAMdeVlAclNhfMwbqSmpzr+Cp8C+tGII8oHfcJso0ESZlRVwFCroBTk/1Mz3xis t6UCo2P0eI6CCwTQU8DiQHY1acKMuaZ4aMg5dZvjUIJMvpJntuhIj5mQrgEWFPCceR0W 3Xt9oPWIGWtsEYrEMK2vgKvUm0DXKtEo+WNgMtwhI3Xm0DvAQfHdjeh+ULvUXrhI4zJP 8R9w== 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=a4lWeVSMtvtqouRcLPOpRuwi+e86gtaGoW80Es0iHT1Yddz5gRVmxQliC9lJouxqLq edcyedVA4IKlbmr4jxOjcqplgaOspnjbPvGk15QtbqJVDYv50WRG4SezHYJ5Zq82EJoV KqQHy+nMkiv3lmQm5+//HDsrx0FGGMyfSyIacp57e5o/f2hoUOdg5X7YWrtU/681kpXY 4DfkmFEaXEK2YQt6eRQSdub/3vjmGD/oZmpMIWfqrX67W4XSG9+tLLjfs/gHgZuBdTl6 Ny6AvcnKc6Uh0m3rj+uYLJh80LIMIUblEVYpV0nv6jX7tMysUdNlMY2bOF2icvlMq5QD k1Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=rxNy8oQf; 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 e29-v6si2818348pga.573.2018.04.29.12.37.57; Sun, 29 Apr 2018 12:37:57 -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=rxNy8oQf; 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 F1F46745F0; Sun, 29 Apr 2018 19:36:40 +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 5AA20745AE for ; Sun, 29 Apr 2018 19:36:34 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id o76so5129330pfi.5 for ; Sun, 29 Apr 2018 12:36: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=2bPRJcZIlKFvDF1OnT5ZG6LP5ZKdlq4/cHfpS1ectak=; b=rxNy8oQf7BHcS+XDqF3FUXohnhaCwtCBf+d6MNCP3P0iX3OjI5NHcvTHhpytFnFRxc igMNvkXFtRk8RtDs70Gev+LNAMPgN6+gcFFvqhG7yvRC+4Bu3oWwGV5seUQ6mMb/yecX Zoq3g7bysueWGXnl+TNhhy8JP4WCxWWeT6vTeGRIoCsfOIHbGVOrfEMsgO7XaVlOrLEQ vUOYCxr4CVYYb+W8eQioUthTFR7q0LmFCa9agYEsllcw+sA0SwFJ1zngxclg4waQmXnm 549+8gAf25GRRCv5jG857dQAH14r+v3VYXBrYVFDDdM8xB0IkT/tZol8oqFSbgAa8dQ2 dcUw== 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=MLkINs2TzYToDirmYQ6JqVyK6Y/2mQKfrx+BA6t4WS4OPbNL/5IhdmutoWkPYiI8Mk 6olwRVHmIvTl3n0kc9w2caCd06o1etSeDw/LV60romDpxyXpBgdf9eKIoTMZO+qGVeLW fbHzgHGcWeJbAg7/T3SQdJFFPgANor7qaXtkndL+QMgVt4ntNOh+19n5YsUsWttqKZaS QXBRoDZdw9Xcrh1JbS0TEifWMD7eik8CdIDQQr7/gl1+VhTh/W0k0BIglcglgjWVAinT ahXcwv6wpUnteTI4Z8pMKdZO6DM1Lz9zOeHtSXL5VpTmJKXYLZXzJNAr5IM7/iXq83/H 5FOQ== X-Gm-Message-State: ALQs6tA+YBR5dyjD0XP6fqMLEaUVmZzWScTb3iIcYbfS9nlGtQL6vNd8 KtkWSNs3hNBacWpdn1xtA74jMw== X-Received: by 2002:a17:902:1a6:: with SMTP id b35-v6mr9979555plb.80.1525030594995; Sun, 29 Apr 2018 12:36:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:34 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:02 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 15/24] 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 Sun Apr 29 19:36: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: 134683 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038195lji; Sun, 29 Apr 2018 12:38:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpHFZiIP95mkmsAAHVbfQh/Tdd0it77tHt0OdJLzET/Q7A2+w0N906T66tAnK448tjVp60i X-Received: by 2002:a63:6344:: with SMTP id x65-v6mr8242343pgb.34.1525030684939; Sun, 29 Apr 2018 12:38:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030684; cv=none; d=google.com; s=arc-20160816; b=wFAFPHIMxyjbhN0OmNw6EOvzBUyNECRnBFmU8eT2UqCMCFg2PL9Xaeaqes5HAgAK3K FcWt0n19H+oK3xT3h/MxN5VjpK7yVALOIBMO2KEJsFM7tGgYB0MKSO/dNAYeCd7gKW93 y3tMekgvNQIs+lA05x0sPUSkDhcNuADlhNZaTjr8Ip4TowXcho/tWvrchr0EqGInqSUp T+jVVX0y71c4RT7kYyfrjdmWWvgvyLXlEbuDP1I5QE0kVkuZ5FMRo1OUbnLBoGO0p6pB Z2PSeJZZh1xvRiNd7sa19SbAHbWHjFrafX/UJlqsPyPkbxHjzW06Hmij8Ss7hSRapNBc JjLw== 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=xC0MnXwVMvhg7q0kwVUDWrACumI9eWvEZ5EcsjTmqoBNMcyeOacWF1Gw6mgMGtAv/0 yulzsj5d+/luG7dUXO77Rvjgc/rmLow0w/J/eQtrb7sIzR8otnpYMhlDaL3sG3D5drqG EFCTykXBIWeITp8r+xAPKeXIzzmMk0cRuiWNGZNTzz/4YqCz6/uZ8D65qr3AUhl8QRyl W5fl24JSwCRTy/j2/sGwHaTnpgHbjR0xGbcUnHoyI/4WvUjkot2sF1mKNoDvqKcWrkDF YUoQhzqR/bUdoC0lMYMwY9Knhdd3Njti3aa2KMMpLDhG70ejqNwWjYz21Tfy2s0xTXjZ Y84A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jgnJJPP6; 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 t24si4799658pfj.231.2018.04.29.12.38.04; Sun, 29 Apr 2018 12:38:04 -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=jgnJJPP6; 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 3D9D27462E; Sun, 29 Apr 2018 19:36:42 +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 BD11671A8C for ; Sun, 29 Apr 2018 19:36:35 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id p9-v6so2015713pgc.9 for ; Sun, 29 Apr 2018 12:36:37 -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=jgnJJPP6tppXFmumhrbqlhiu4oaEspvRR2L+c1RYXwQ35ZKWp3UyTeDfs1OkewrErs wQTIm1L+1v4m7CIAAagRk90o1GIOGF7VukNiOmUI6u/Y0yTXz6kOYZCZW6bL8O0zkwxv pt7ETym/Fk9mBORPZWI1SpEaKKGYC/5hZiV+5A48oAlKmP8PGWdezkNKXCF2ARzAWO/M 2yNycxKLw3hWiIbABkRjVUZRZJYdIJVP+EFPn9D7C6+lLNEMRzlCcMMPSWnctQ7EBcjB 4XNW6MhubvIiNZTpySQmESHAD+mMd/7TgVRSkbaICOcjHnANZ/mg2fQOKtEnnE01mayc GxMw== 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=L84RooIzlQFauB/LbuhfKD1bwmmr8wKnWWyWbpSYNx5VORWaxQvPuI7B5bntBMX18p OB0VZjY1PQYMC8NWHYC04Gl0Hru18v2cQYdh3His8HuUl7DCdhRunPUpGg0eYV3r63aR tD4nMqJdl/Y0Ra8A/3hRCM/Xyt95Y9M6B/8k4nXWmLXTy+MyihP/Kxh0JWr4d0SJUA1u 5ihtv3fTBoJAEskO3SpNNzBuZiv8ReBmafA9Dyb0a5CcLBBDFU0U59k6IC7v8ZzPpETW wZ/Ml2Q07HzxGJxynDUYrdLx3fVOLITzgzeuzqTQuhYIozQX+qU81TUZtGCqi/PFUECU EF/A== X-Gm-Message-State: ALQs6tCMiOG2UytOjt7gTi6lxep0X14+jq9O8UGT8M0UznYzOod2uOmr P9G9KXE1/TNmaTgH2xTXAGXVBA== X-Received: by 2002:a17:902:bc08:: with SMTP id n8-v6mr9771526pls.97.1525030596490; Sun, 29 Apr 2018 12:36:36 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:35 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:03 -0700 Message-Id: <1799ed5d0d121a23e61cd0fd9a8196ae649876ab.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 16/24] 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 Sun Apr 29 19:36: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: 134684 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038289lji; Sun, 29 Apr 2018 12:38:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqGoCczp7DdnnHd7o9mB3Fx/UZfByuc++oFD3bWvUdSV9kfjdXxx2pChLruu64blsIrnNxY X-Received: by 2002:a17:902:7896:: with SMTP id q22-v6mr10133525pll.243.1525030692235; Sun, 29 Apr 2018 12:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030692; cv=none; d=google.com; s=arc-20160816; b=sxtU2i4IV5H+7/7sKKR5+Krbr9dbhnValdEifQgf8nmJ4ZXn7KV12D+Z7IVdfK7B+/ 8LprD69ywZGA4bD3OTNP4SV/4uY00OcjKth7P1Ox9plBw5M4yw658B109NFxfsSEQ0kt O2bHh+h8cyNmV61bcz2qFTPTStZfdRTEfW21PJWpKOjSSpZdAKlHFmm7UHMh1Eysu/rx gjyyWXG1/FdLGrEWIC++fcxDCsG1IIw2cxHfRNLOFZm2aPhaOQUcyRO3unXHDWng26w2 AWYTRtCS6I5/Qtd53D5VDyhUMCO3qWQEUeRExU85Xtcf0qPIUTmmTmgysBX9duHSxDUh 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=mThHOXafigSZYudN7055FmQlOlCpr53YpVnAUQRA8s0=; b=FBkr0/ms6VoMgWXXjwL8KA6pkAq/XzEqIVeEiXkjJBicpmMUPfkiFAoUQQzmOcSUch /+Ii8J7f31/lfzoNF7gP7EY9sd1Scl2s+uRlCKvlEn4j/QEhGsOlLYBxNdfRG28olZ13 j41HLWjDVeSu1Znt9EwGpmvYdBcL3UiogUqNny/wKy+zZDJK81tRfISyxzBU/rMh7wFF t7EdocDSfQ8WwNOC5tJwZ8XkTvmCkgJLcoWLxf4dy7O8m+DGBORc3y1+rRd9YClWv8iC fV0A/GXIchL2QNhVLPWxf//d1pGjQEjSaSQWuPcqK7z6WN7mOWsB3lsvliEpUT0rzrXW tf5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=koCN1zIq; 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 t1-v6si5111717pgr.580.2018.04.29.12.38.11; Sun, 29 Apr 2018 12:38:12 -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=koCN1zIq; 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 A4D36746A8; Sun, 29 Apr 2018 19:36:45 +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 A481072EB2 for ; Sun, 29 Apr 2018 19:36:36 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id i29-v6so4908074pgn.12 for ; Sun, 29 Apr 2018 12:36: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=EFX1ar+1wpkjGK2hy4+ZXhxFM6AEDNJXgrkAWgfIWOA=; b=koCN1zIqLE5fBGtB1xmTegAWkfNZW+XfcXu64POJiKy2ZRPAqdG3wK3X7EdzezGEJC qU59nqnDy0pEZlx38Rn9MVm2eXkUxOXhm8DRfTpamAZRi0uwkZ7GV4THdMfUXLFgOKZ7 3EgAhr8kd35sh+Tku1KfG6uFwgYhuFi2kK2nYNLxIkVWLTryOBHb9WVIZQA5CzgWZRVV ca+LLYXUbAfCXNtO5A+IcYEQPYPSpcwk2JzrLX9d9PYKKmRgSadv5AoMMzIDyZFFgq9e eiqQcmgfazmxo/gvQmHTdRosTH0mkidirlQUo7Ns/KXmywXGtdPsSuPSXzicui9UrRJS 5Z8Q== 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=Dxezgiyvwyy3eAtLtT0YDaxc8PtcbIhpZUXDihAx4clBZsui4A/XVv5YYikNGGeQAF +8E5vXnwGrD6gvZv1xs4SGhPklG/98BK+rDW6U1J0B2YRQVQo89OddSp+a3lwNt+rKxO jHPSlra0XEg9g88SsjJVzKqFwvYGtGXy4fucoIFDtmGX5UZaUsQLRbHAxhoxe2ThNBUG PeP9wxxMObLfJLCaQ55SYdt1hyss/s4CgkNq6nRMWuV6zQO3PO+P8DKK4KkNymPBBbJZ o4DJW2aUbxn+OfEvo3wODHUbLhd3fCtMETC3VO3E/KQOhs2DhJgVRx0x92Wk39CMuXUD qzMw== X-Gm-Message-State: ALQs6tCUW2+7FoBGykXe9TcrfFfRwpIVgG3GXu2niUXlrFzxvyqPYuaF zqZO8d4tjX/GntiitWtI/XubPg== X-Received: by 2002:a17:902:7844:: with SMTP id e4-v6mr9874066pln.296.1525030597540; Sun, 29 Apr 2018 12:36:37 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:36 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:04 -0700 Message-Id: <7fe631d7aec5bf488447dbbaffef649f6b2dfa89.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 17/24] 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 Sun Apr 29 19:36: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: 134685 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038343lji; Sun, 29 Apr 2018 12:38:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpjgqcsIo2P5ooXyOPgN3NqhQ9BQlXRtg0FNFJwSaULevSvTeHJ8a1dL/42Fdd/Xb4Y0MwH X-Received: by 10.98.210.134 with SMTP id c128mr9705318pfg.240.1525030699049; Sun, 29 Apr 2018 12:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030699; cv=none; d=google.com; s=arc-20160816; b=WA54LsbmGgaIqHRwWGVH5+Sfcq/Xc4OEnF55sQpuNpIlm07xLqYa6HqgmUJNwWGoNe /cXfukijOAJOOfeLwbf3s0ApjbLHMEoNazksK6HiecIgzMHSnYszvy+QJSF5slS0kqFw li7nF6/FatfFxSXLVDGcJqTnZBcGuvu41KCwZfyGbFa9X+ja/+vsvIYtF6+ZTbK0masR c1bSxbdic5zG5Q9RX7JElMYANNIyd3oIaRLIAK+HPwokxj+gGsJCvf4MZlVn6jEqkLLm Qt/8YDc7yitPcUlJNIBJfHT5Gv8PejGfbXHLnYToRHZNduud5922nn2HNZcwQjigDtfh KSHg== 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=YN7IeZ6fLMN9WFzhQg6knsIIkQzZqCVaNB1oyNUnfVcAlB+QMGwAOK30bw+FXNRxvA aBXSRTnlaeNJtnFeTw7P1RwZtXW0dzoPYv9giFqnXahG9FV7kQhpVtS9fspsM1BQel/H gR3kgUzHkILA1eqkO1bvjTT2ucmuGOGA0lqQ11A1djO2fDJp5NKmioLBHL+BKgEXZSaI GV4jPRyHFyDamKbs2ZmAx9ax7ccn2fcIFkL71l9+lUcxthYPonEtK5wUSqAqLavS9kSg axk6AhPs74T6UYDuEMNTpsTmUwiESPZDrS1UqSZUad1C4ItoH7V1G6qWuXodguzBnHMx aAqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bImeFbBq; 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 68-v6si6094789pla.452.2018.04.29.12.38.18; Sun, 29 Apr 2018 12:38: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=bImeFbBq; 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 D93F8746E8; Sun, 29 Apr 2018 19:36: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 D3B08745C1 for ; Sun, 29 Apr 2018 19:36:37 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id j5so5136671pfh.2 for ; Sun, 29 Apr 2018 12:36:39 -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=bImeFbBq0m2mjGzdKZ8prdoL3uccqjLNPy1opJLOiiBlB0xYmV+1YDUhVnyN0iPgPf xqSRTm4CX/1awNAOsodz3+B9qdkG+YvKis6pVWFFVWQ7cfb4+DLEU/1n+x7EVsW6vdLq a5tLU37YFxRWL64atbNzNKdBPL9bbhAjzqeNY5mUoRigvVkLr68bs/qUvBO6njBK3Fh6 fLdesnHS1Qp2l6iuLwdEEE8G6UPvz4Jywhb7nJyghB0Al2ZvlcXyf56QK8CEseEmrraX U5ioO3sZFIMfU/Jlie1asy2odxM0e5aAD0Op/SJvunqGkkBmgaKOO3rIUNxik8Og+C8K I32g== 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=X4g13DkR+r0M7sIykQPNdR7yvwgxGGJzuEo0iNr6UF6A4Wdg3vD3aAbJSR6jQorQIh 4P6wZihqwXQjhB2ptshYXY8k0d6wagATyuNJ+LgHfefNm3FrWWNGQBqcE5k5XtpxfD9Y i21obkiRnBOrujX/E9+NuG0/NG/Avp5xLkIbfvYMcZBdIZuFLdW6PozouBqOI1MGko2/ q9yiLwlYPxIHh/QB56Pc2IILYyXGsObPubNnx2a5GduLlUPLuGoc8pjD+UIXg+04pANv CDMc3oeOtMAeS52wvjW+6/a9mubpvbz0BfC2uV+p/y2XL3aEyb9HVDCs2Mp3kSUHxZkj Y4ew== X-Gm-Message-State: ALQs6tBVf8QNpdn7BbVDnjgAPj0E3yqpfo1dCI9uS23THMbOpAQ1o1Nm tfJrg9xgO/0BVNhed5PCHNtGew== X-Received: by 2002:a17:902:24e:: with SMTP id 72-v6mr9749662plc.87.1525030598778; Sun, 29 Apr 2018 12:36:38 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:37 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:05 -0700 Message-Id: <803bffaa378aa4a5c78c6cf5e13ee407628fa524.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 18/24] 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 Sun Apr 29 19:36:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134686 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038405lji; Sun, 29 Apr 2018 12:38:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrPMW+z1Zgfajzm6o5s0wWramVBF/bFvHQUkRHDXAVKNnpewoBnv4zLxaa5ySbMp8i6pNmC X-Received: by 10.98.71.8 with SMTP id u8mr9659079pfa.89.1525030705996; Sun, 29 Apr 2018 12:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030705; cv=none; d=google.com; s=arc-20160816; b=HqXYmYOH1nu1AFE2l1HSV3PCwBJEv4d1TdyTXULZNTb5g4kak0ZZOv9SCPH4nX1gYs LMIofAnaqmda1DgNtaxpIJ1g1e0RMzKZ2wu+dcU0XOLMrgvE5qC/DUGa6Gka7nCKxyk+ bfwifxnml6EXtjv2WhzuAlHDACX3kNYJoP0inlt+Rb97U0h2vZxVz8oHMRyLOFUvaBad zkScjB497KKZaHqNGYHDPh5ftLxRnjePj1wpM79izxnbo9jFlEeSxdCqbhjCg9sHWmhr 0FfEQBjtsr6XzB40uDJ5I6C+nH0/j5HYCnwDCUp0uJo++3zNZBUaYcH853+0KKmfIpws Qeqg== 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=fq8psRFCYbXFh4uVx1qHQKBTovRsw1NWwo0rY+5327C6JOMnp0Lk7E4A1N6g9tunYv 1mIQxrQkC2G3xU379LWOkV6BrDIn/x/BbDu4gCZhbls7jJng7mGzp+p1JJTwM9QQlkmk X8bdz+fKZ50Xfr0+RBLlHymxv5UsSnmvi1inYFGS+OMBdCCD79UoGyWOHcOfbb5N6GP0 RZ/wwyVJQ2tzmqL6YN7pMqLz7LkzZWqucFBBSD1mwP1J218+hh8JJPvAqTp8nWFzxRUM wI8yJ/qIG6QKVPOR/6flZS0TQ8mPgqSctkh/CH2MTJjji74LnzNL3W+GN2HNnG+l0xAn 0IUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=W4Q/hTnv; 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 q4-v6si1289546pgr.549.2018.04.29.12.38.25; Sun, 29 Apr 2018 12:38: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=W4Q/hTnv; 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 040BC745BD; Sun, 29 Apr 2018 19:36:48 +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 CF6FD745E8 for ; Sun, 29 Apr 2018 19:36:38 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id m21-v6so4916147pgv.8 for ; Sun, 29 Apr 2018 12:36: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=3DGvKFoZh+MQzz1o0j040YS0FlZCeqavuYA9r83umDw=; b=W4Q/hTnv0mEVJ9bGa0ptLVH5hzgrU3qciXIJiILbUbE6YBdHTyXo4D6enaSjPICbub a8JhlY3RXGMMqhKsNswlinZAnBe0eXDqWMyy8A+xwFCT3tbOAzPnGKJ9666PHzuwGX38 YjTtDphkiWCbw1NVeOx8G4hJXhwu4qd4HTPEfEBSPtK2/yINf7ZQWbgafePibgg8KNnJ hntA3yBcyKlNJ3F+0uL7JGVOhnzxt91++hVQ1IZK9dADqbYagLy6H28OuqrYghCdPDvg 54S1AvPkzi+ms6LN2sYT/bkiVovwMCTev6QAzNC8+Fx486Q2FrvChtNBhOouB3dWErzs dWYQ== 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=JBPgV2GMBGkwTMwRYW2zB30RA12N+PsRcMFH9VUcLOTJEzOwctFGzG3DLai0istA/c VGKTAhi/vcuDpYtyk4aGgb7LRdJBuzw4L7L7vsex7UnOSldXZ409pCJf2Q40M2u76TL8 qZBIAi6b5sfQKgBX07uK7N/3h3Q2oN0Oex9yMx85ASg9A7D8Zz3oicGW+VYj1NPJUryN PqwXCgJIpM+Ed/8lBFOXszOe0YvHVPBupDH81/SiIRwGiR5a/8NkZz66PiBFQorVqbpE zY86acBww5TKUZpd1wCxHMKDrOjkyMGlbNXA7gfTpTqWDMfNHtWT5BjzLgK4WSCKa8oc lOJA== X-Gm-Message-State: ALQs6tAFqQc0GNdLbllCh6EfxsFHMzw1cXZmKf18jwIC8qa6QSMWtsx/ ThSVMljvA9fC8QU1TD0pcc68+Q== X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr10070131pla.125.1525030599790; Sun, 29 Apr 2018 12:36:39 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:39 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:06 -0700 Message-Id: <5a84f730b0824ced68f13e26aac5aad96c4b6033.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 19/24] 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 Sun Apr 29 19:36: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: 134687 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038463lji; Sun, 29 Apr 2018 12:38:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZplDnZfNzcsuTF37jNWyWnxSa1Jgnr3Y+QsumCh4w5fVdj0MvNR1Thk4FgTNx4rZ5dn5bTC X-Received: by 2002:a17:902:6f16:: with SMTP id w22-v6mr9823007plk.216.1525030712344; Sun, 29 Apr 2018 12:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030712; cv=none; d=google.com; s=arc-20160816; b=obSRc6efmF8ZPnxfgeDC5arRsZnOB3s5W37s7A+jcb9st1iRNq9iTw5sM/PS2SqTTF 0SKEKJ4wR2bOjhdnVxIoO7gm1anOztv1sqHk78DyvGTN/UYvxioXcytr6KruR4Lh4xpX fZQjEFvPg3hbWeXs+fsrRkRTOdU1ReBIaPpnfpb0hfV21mjNsOTKSjfMNcDz5UEFsfHm +SrO7VojOoxmp54o3zVy8tFN6Nzs7UR3P4ES9n6Hy9OgP6pg2rpjkkXV3OXxNDG4ceSg mYZQmibDzI244Ku3GLYqHf9dWI6JtblRx1veJCQCXGXnP3dh/mS26AjvpbsAMZSRxDja rxGw== 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=BwoQenJtGxytwIRyIjx4FzduAVCruzfPID6ob2duoaCDxQfp84do02Vurp2uXYcOBa lRlPOisyrfjlICeNa0khK9kO8meUd0DOZYASpb/DMeOdY66Fpnj8qhh8E1QdMi9WOR2E BGitMxcH5fHcJLOcgyWdI1BzLPL8Ge5+Ip52r1PQYf3f7qFEdaEwUXPCyTAgHOfAujh2 t3jCL2Y8Us7wN0LuLcyz4VvKwtr8eET2Vlpt8l0e2shQ73HIQNq+fRWcb8RKRlP9WPYm a8JhvD8inax5GW6D5cBRS3iaYooGUImO2liX9QjpuSmyD3cbZLY1WRKsQkD5/pzV9uDc y3Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=mtrdIfy8; 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 t28si6116538pfi.221.2018.04.29.12.38.32; Sun, 29 Apr 2018 12:38: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=mtrdIfy8; 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 2C9A4745CE; Sun, 29 Apr 2018 19:36:49 +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 D06D1745C1 for ; Sun, 29 Apr 2018 19:36:39 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id f189so5129570pfa.7 for ; Sun, 29 Apr 2018 12:36: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=9j1gxdZD9kdGLhTEa2htQCbYO69/4Mz88479tDh3cig=; b=mtrdIfy8Gbq4iYN6fRFnQA0bEJOWipOQy1sX1UmPQznqxsMHFUVenh4v00kIuXPNp8 ex5RN0D+tO/POLmIjRfD9mzoKpLX9H/uTZn3aHF3tgY6pmvjqScoCwz8E0lbqdSrLRdt eraj/KZuvbsuKXnKnQ8eWpzG0OykW55ymKIQchQFi08DggNjBoXh/7hjKD6382FrRP8y eRGu7AgI67EyIRm27RItlCasEndbxlrWX06ZXDXGHFL1aQ59KJ/iEBY43z6t9kFzzoK/ /a6e4dyuW9zL/wFgS5WfVpL1agfLWjfBHhDfhriGeRdnMpcTpq61VrdkZngc9o9kO59f vgRw== 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=Obj8stbV/1+yrppaithzYZ49MmwkvuC+chXMHT95OubE47pES0GKi9WvJv8q7J72At ooEmVKqqCGiauzNLPn/7gRUFRkxzO4oJOR9VNZsI0KEvOS7Qp3Mg/yDq/OOghEDJ0kKH LVIj6rtF647lH028ofSN9AKeOr3uVRmnhTIOA5HFqcbvS/kQr8nCF3jkLOXnpQ4DV1D0 JWyPWX+V5p5jgE6sUFsk3Gr87wS8egPaxH6wOYZB1UQEBHlOzKXzY6vkBnNK9jVPvxxx Gk7NaCql4KiQzl92I9SsanTFzrigcW1/xghyFM3RCJ5IJAgSMdaHF+iQOkOtyGW1bSho YpUQ== X-Gm-Message-State: ALQs6tCHOTskGmOMwZUZss+peSZ7NO9DA0l0IDsYv09+CR1SSO1Tggq+ hR/wTAUGcwoMTDOXq2unJ9v2Bg== X-Received: by 2002:a65:414d:: with SMTP id x13-v6mr8342980pgp.223.1525030600808; Sun, 29 Apr 2018 12:36:40 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:40 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:07 -0700 Message-Id: <81555add56b72904f75cd34538206fd82f5ffc07.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 20/24] 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 Sun Apr 29 19:36: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: 134688 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038528lji; Sun, 29 Apr 2018 12:38:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq6EdffagK6F3m6TIWw8t7Gh1LbxzdGM5OKX1hDu/q7WnYjvdJv2FlLQLm9wsp2jv9V7JDD X-Received: by 2002:a17:902:aa94:: with SMTP id d20-v6mr10262301plr.323.1525030718742; Sun, 29 Apr 2018 12:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030718; cv=none; d=google.com; s=arc-20160816; b=mJBQgfP4ZZr0A63GXpVgPtrUXe108+zpHgRsk6jCuReH27TSsCWpBf+AiN87lpIf7W rRBat7YmPK4gX7N7WiEOfWbdiUrIeJR5yRkbcEsBxr8me5MkE2BC5kPaPmCgolSD+i4F t6RhEYS0GtKv16YWd+iU/mQH8uS7g77He0q/mHD5PCFcFB/tO+moUVGpT3pM+JdW6H2W VOkgb+HIVT1L9xujKezg2JFtxM/u8b4kGDGaINWlrpcgvp26LNHV/Xk3ESUtnZoLuXms nAaw/pBWPA4QrdRU+h023p8RLoc7kCjjHHtY70EN7YhoTFdMC443BWPGvYHjPq4/6BdG tm8g== 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=tzw/bL257kZw3Cz9E6Q9jCgXK86Eob4P0+Q3cywml8OwXM8x3rXtBAbv+UzmTHnNXr 1lmM1UVhl5OdtDvVOv5NFvyePVWURNf8ZVMhhC04VfYm3zxIfQWoZpwGHPCsicBW3VaG 3Bv6OLN3XdfM/7avwnCXJdfc4o4bk7Z0LcbeW8UZo25vHrYmZBu10LqJe0+nCBfE2Yci YxwXk2WY/ZJYo3FqVXK4slRFw9VMCZJWYvEbFLbjB6n3Ct+CKNi0P++aAQm6FLbrwzgl hPVDZz1TaHRuef9xw5WuhLYnR2L0OkPwB21jquKgKS3B4KEEVsVzNBsIBYh8zPu8rf0K UyPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gVoHiQ3I; 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 g8-v6si6052339plo.245.2018.04.29.12.38.38; Sun, 29 Apr 2018 12:38: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=gVoHiQ3I; 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 53F6F746FE; Sun, 29 Apr 2018 19:36:50 +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 455A07461B for ; Sun, 29 Apr 2018 19:36:41 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id v63so5127284pfk.8 for ; Sun, 29 Apr 2018 12:36:42 -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=gVoHiQ3IUcanUmlrmq5xT2vU4R4OJmMlRHO/XxUlotoNFpD7ikXGLm+btRoqwxOPMO 2zciajICNzrBnU8w35zZuY+rvJyPXZbc1yTwNC0zCWPzQXt1v9S3cZXT3gIfIweeKjiO yKqH4+7sKWbsRtAOW3ZtNC++sqB/q3Aj2iF8nlfh7fQ+fi+KvFTXJGI6C20feDxRfb7P jal/uWDbukZ/RoK8GHVgFZO0m54KxmMfF8MLuUPNjfY5YEyp2+JJv+CcN6YF1tgf/SPW 7eFe03MVlcMD1aEtkwlvhAeZiuRXESYygV9Qr21oafzTCU/sqcyX3TdIJRj79cSm8L1h c1Mg== 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=rQBVYahyyrS6FS5RB8/pIc1KKZTRzt+3bK8kp4J+FxgmMSyX0CXhf0eIIR0z7xLW1b NhLpse9QNB8ErXwQZyQuV+dqhtaZHClfkGND+et9ZOq9n5iUWR7XKf4ULm7DLeezLZCg mDkgfULx9LlFintaSZNcUVRN1qPJByLIOt7nFj+kLx8JaKiazvReKGIdwNhK/m6E/jPx CFHkfp5Y2BC9f7FvkrUSd+pSMLhdSfol9J5DkL6kPVxrmwQSjUmgWoIDMGaNGH7Z50Kr tp82P4PBthRmPQar99rHgAdEEZoDLrzP5c083+mH0cZoM7SB9dwHVa35XLmGjIHueXbw iYHg== X-Gm-Message-State: ALQs6tAIsssxOIAg6e70kbjs+D/IpvHHUdl927Fjxuj1360b+iPtWL4A WIksPMbHpGLQ4B+AzMma/qgc7A== X-Received: by 2002:a65:4a45:: with SMTP id a5-v6mr8383858pgu.32.1525030602101; Sun, 29 Apr 2018 12:36:42 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:41 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:08 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 21/24] 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 Sun Apr 29 19:36: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: 134689 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038590lji; Sun, 29 Apr 2018 12:38:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZouewngd0mb/k+yJWsNFYd7dAni4KbR5f2njRcH84wdNhkFsGmmBIgmZuXWjrHxBsMjhyZu X-Received: by 10.98.61.84 with SMTP id k81mr9604322pfa.193.1525030724829; Sun, 29 Apr 2018 12:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030724; cv=none; d=google.com; s=arc-20160816; b=B3S50cIH8MYSRj+BwtxLnO4ds49fnyXbULpSeQx33mJwqan9TQ2D/2bW7QPfBE7jAe twB5ScHFn81VUuPICMOr6UzLIhUXR76fgxTV6hpCUz2KPd74/PMM/5fBR8RYQgtudjrf e7bPcHOjQnDslNkDiTUVNGw60ilArTMsusCH0MWVZs+UXgxQ7nhDo+cyzbvKy04tVhaq Ub5UpFqU2FTQoj1Yt4FKPFDO9z0H3w9qXKpnZEDtKJAGcQohQ+11dkPy8lPrw5+gwArx +je5exqeyV3wWuv+jW1OcBBhKuJsdqPIgkXhJbeQ7tsQsnisNhwHmUuAyaiQ9tv64Y5X niQw== 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=Rn14z/GdU6bT8irsXvGUeG5PifZVrGrGzMcIFRj0vUdy5wrjWjWx1HNFZlPM1teNSd mFSv+Jy6tx2/DTgzH89T7RDmcahC/mZSxs6HV30r4knHMtulqYEJaajb+orkqmLEVYj4 qw414nA3Jr4y5RlWbL8UpylOipCmxFmDlZ83mi0ar7qrDzNXNbC44v2eM6WszC8PiuhP U2agNZnn8FLT8vLKw6S7dwnQH9YHlvGrkCPJ5r3e/ijetV7LuwTKCc/vn7wTJqFmvJ54 dwmrftikdoUN65Sns+mqBJf/mDS3IYNzKJ64gfCAVKK8vXLsMzp/Ezw8phzjLiHA6Nqf T5Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ot4Uf3/y; 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 e24si1024554pff.30.2018.04.29.12.38.44; Sun, 29 Apr 2018 12:38:44 -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=Ot4Uf3/y; 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 9377774639; Sun, 29 Apr 2018 19:36:51 +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 811E774639 for ; Sun, 29 Apr 2018 19:36:42 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id i29-v6so4908156pgn.12 for ; Sun, 29 Apr 2018 12:36: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=FVSh+HMUfB53l3u2iev7PAPk2oMLReQtBeKA0bW8sEI=; b=Ot4Uf3/yB3mrg5MF4LKzuMbaq56eR4LPOIz8tdU4PHOjc3qVJR9Kh1hEWt9ggGedGU hQ6xLaSYPn9KVEePscMXECr6Qdu8Ze+QYPZHNZRAeFS9A9fiz87Ye+WtKUD35aVrUMEq TgPd5TBZAfarWOMVSuotPR7mAxGVMk2FH2C1+8rnl4/q0DMcisGG3diIWmQK3YV6GNnK +ekpCvEUuTo2NJlD079djxEVW3Va+j1tkV97CBgndyqpa+uPGjgpMQSfaAyQyl8OtAjz JWsZp8fEs6nD+r1MshP4O5NkRJ+Z8vJuIWIqYfXzTD0hihc74eN9VtN5L7cwFkmPfUMA ugow== 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=dKdCMZsR9k2tzHTdSxoXD8gGShnlC1xKmv8BJV9gGK3hzB/n5iBQbuDyyGuph/KkRe VwAHzsbztNnrHRwMDS4Ujfqu34yoHXPMskKixr5LZM5Q6ek/ET2IUvGXcRaz9wW5cr7T 9FlB+YJzX6PlN+2DxBiHaw4a09fEFM3NVMgn+QEzgfAwtXLYjU8iy1UFykhiLET4xy4a C/NUui1Z3xbM99uzkdXuiths5laUxP8zg/nz8mfr0HyWCMIWeaMMoDa5kdKYh5FrQTyn vrDc1TFgHZrCwSyYhhLZ20I8TbxXTMO/ImlsVtfK3w+xpqLocDwjCPz2OWGcxrkx+ZEH ivsg== X-Gm-Message-State: ALQs6tA3XAT1FN3C8SKXm5OeS9Gp+bl6lOIUWvyThmm4rI/hxq53m20y nyEJKKuZWeLl6vjmsY3BL+6nXg== X-Received: by 2002:a63:91c4:: with SMTP id l187-v6mr8133652pge.261.1525030603237; Sun, 29 Apr 2018 12:36:43 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:42 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:09 -0700 Message-Id: <6e6015dc7ab903419eb768d62630be137ac65ad8.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 22/24] 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 Sun Apr 29 19:36: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: 134690 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038666lji; Sun, 29 Apr 2018 12:38:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpLMAoF1/hhzrxKMLfZbqyjbmR8uTw24HKGxW1Hi32NktnpanEWM0559qdwHi1vjfR7Payv X-Received: by 2002:a17:902:3381:: with SMTP id b1-v6mr10019898plc.248.1525030731604; Sun, 29 Apr 2018 12:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030731; cv=none; d=google.com; s=arc-20160816; b=Up+kZIRkui2PMw3Vv+JSxLAsSHaF/qRQ0WDho3AfI0P+nhjSOMywQq3oJ8no4/7pNa 16wHGt/OgdZfJEK8rsRRAcbh230PnssLgClg6ay29Z2syI62+aLTILwSBNmcwm6cTMsl +FrAehiXU8n1bRWk4s2e/D1TKoqGO1orVrFUYsNadw2F9M1qeEIKTrbJ1R7vbbwB3SZY 9jodFJxaRthSnhTI+QuILIWQdDJXtQAe5MkGAIVkdw2yZq+0y6KGiAUNOMgYiIKAnBU6 pxs5W0R6wpN6tcJxJSgny4nY8XSyL55hw55WpQ1IBkYt2V/0baIm2E66JWyMZlo2gZzn IuPw== 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=JNJFOVtAKfrmX2XMP/A7QyZSuyKdFezhZ0XPBHtkuSm+Y4vS+bkKmkS4DeyJucjyMV JHs5X32P5QWBSXB/8TTc1/c2AKxaTFqicphFwa1bWks16qEW6FjhBeY5PYHNx1RGDroq 6aGPYyNtINyHwLtTzkW089Lpgua0jl5g9axP8caKpwC6+y1V5DjZ35SiEBtsEkzRf+yW bIwfqaw8CIpM5l8X8xnVNFTscULMy3ZGFh0r3EUqu+uPpraW2/nGNra+92IK56nFA6Bb tgF50Tn5u5ZvIz1er+TRgWEE82KUTtv01u2oYY9/JJmsIrTIcPpEMXzbS92hk0FmVy7s n1Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lvA0/Taz; 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 u124-v6si5157732pgb.151.2018.04.29.12.38.51; Sun, 29 Apr 2018 12:38:51 -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=lvA0/Taz; 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 D4F61746FF; Sun, 29 Apr 2018 19:36: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 4C1A8745C1 for ; Sun, 29 Apr 2018 19:36:43 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id i194-v6so4928085pgd.0 for ; Sun, 29 Apr 2018 12:36: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=4G0FxhK4ny4S4DNqksOQvurfb9LCXySfOv2S4y1e6Sk=; b=lvA0/Tazj0DpSO4qFkKe2u9F6CzPYGAHCEI1FYZ69f3an5Mg1G0H6ryd27/f0622lc 3xHqTqBZ1JysY9g1AJS+oXfClw+UKzmS56IzIfx2RDKExYDG0nGIXx54XFbMMJNpPSM/ oafu/aElvD8kK2c0H2gM2dG+WIHvRmDjU6XDWQcz+5fWyGKXly66fOpCuNimP6IuCeKZ RX/z7zlCjuxr0KYbpxbX37n2LhbYX59zolxBYunvCEFK14d2L/p8CLYF2IeX5TlQBTze 3Vp6fTrC64O+RZjj5t7uv1NsTiHOIlojM66snqhoCUr3UWUZDjI7qk7xy8n7sKoZjDcX S8vQ== 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=tmucn29LX4fECGmYYzPYlw1mmKiPF2DkIFrA97PUIGz6deBLTJ+QEWjHzw8xziikJv WDH3eafmu5SrH7PZsRlAARS6hRSG/ra0e0WjGrq/yNnT20bZOcRw3QKV2k2SDVa0TuIM O9IMKGgSFIabX8NCnSbNwie0Gr8jBC9FzElEk0pOnmCD/Yexjq5rBi5WwWpz1j9t1H2Q h8wNTHVHbLLoFaQJjrIBhLjm2H9BVqfWQJg60ovPHnAbCyeR8+VMjfXQmri/+zl4j6Bc pwWjH35TWIC0x9kkJEEjJaoCodtNkSidpAjPblJseTJ78aDc5C73oc1D/o4nKWIllpLA rQ9Q== X-Gm-Message-State: ALQs6tAVKxQjN9Qg2k9AKw0wUgh0jQB4KJJb0Y+nuLeQfl9BbGH2CFQ1 SFbCmKW0fZ4fkn2njwu6uS4a+A== X-Received: by 2002:a63:458:: with SMTP id 85-v6mr8289511pge.156.1525030604366; Sun, 29 Apr 2018 12:36:44 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:43 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:10 -0700 Message-Id: <98928704cb26b5646fc39c18c0f007504caa52cf.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 23/24] 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 Sun Apr 29 19:36: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: 134691 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3038734lji; Sun, 29 Apr 2018 12:38:58 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpNvJcHTBF3R9mmOZVKJlxW5oZuQoA4LvqreddF/xvY79+0i/AfvtPx8Ql2tWNp1GbwFukk X-Received: by 2002:a17:902:6ac6:: with SMTP id i6-v6mr1239711plt.31.1525030738418; Sun, 29 Apr 2018 12:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525030738; cv=none; d=google.com; s=arc-20160816; b=Vz3+LUhIcc3PHRqXbFaxuToKTnQfo0qciY04R5WYzByudRCUCjF8cLYnCEOlPxxaZc BoIIGCQByLbkvlogYqIVjiqsyAyqyVnyUtDzHgRcNiZ/kdWOcHj1VkCie2iLvVREcfme SIbbms9OKafR1HFkQUtOvCgxTbnY5acoRT3i6wj6RKpAltX9TCrLCfEx5fKI2RcqZovR zuGHqqWNxSDtQg7HYP4WGYmtdnlfkCeeXr1aihaGIzgVop/TiM3rNMVYdL25bzVF9GMn tRbuY/RvcnncHl3/tX7V7stVwogxEl0ZCVd//XNyNad5wirsVf0ZYDKVET/KawHHbF81 ylSA== 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=WgmJ3VXdy5bGvK01ORcvkm58IRt1zS9eydYjd1qyM0EbjhC9GTxJFKNuE4iLQdGnxo 2YmC9jgZGD95WijL+e0HB77/rB5CsHIidptU9Eq9n5CIFvBtJiQulXlXjWT+PSBC6AfK xvKwMMJPTXrjuRLypzyAQYCEzV/mx9+vGCY5uMw3hbsagBPT7WvAQWxFcDBS99yETjvu 7I1pFr7z3smWJaepv1lfYBOp9iU8024hT3zFmFGOqzfD/m5nb9/7TB+JlMYOMZ2oRouF FEc2tK/0jS0AVYWykJ+QJ4LZ2nyjfBv8/iCnzHkkaYDzwmiE7tIttTreCE3euihwZ77/ 90Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ulYLbQ9y; 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 e5-v6si2700930pgn.339.2018.04.29.12.38.58; Sun, 29 Apr 2018 12:38:58 -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=ulYLbQ9y; 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 31CFA7457F; Sun, 29 Apr 2018 19:36:56 +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 07AAE744D2 for ; Sun, 29 Apr 2018 19:36:44 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id f189so5129642pfa.7 for ; Sun, 29 Apr 2018 12:36: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=rDjOx9JKZd+yZsuc/wtqNsuwD+B0Vx+tt4bnYcGFwMk=; b=ulYLbQ9ygyMedg6AUwlf8t4pGUmBFPdtgPrL44i9dedGvbH2yTBWWItr2tX1DOGZ6+ og4q0QZlvInVoBdlFzn2vU7/CeFP394hEAA2WfxTVDq+oBBHDUeb1B0OH+eRZxlihczW 2t72rnZ2YKeeB+1WtGDvQjlXzF4WzebCm7xDV8JevPWPIt8O84a/6wfQoMIz6u+znjjk 62y6fcc0tk8m5HhZZG/zLw2Ao+Dvcz5G91O+de/VjGjM/njlZxxJ/8bwdcGGh8PKnzIV La0GU8sqCoOM9cR+JJ9jHl/FWvoPvKs60fqT5NwoYJPQmOXlpO0B2a8VHhLofySRPedC eZtg== 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=ryvnyBhag3KqzT4nxJ297tcSLE7ObdFrPCRMaSKrUkgCLID92rgLwqPjm7aIo7sbRz GetA658oVexy90QNj/gphWXLOC4h7K+bAV6SdYUt4v+WyRmkA67mbDXJyArziJRpyn3X 17TybiLja5n+AqHk0BtEUs6o5HbNbDzsi4dHKeZCWHso6yMBR7vvk5j9YSEvtORf+u7S EVUtAo/3qup0OeIIkB/LKpTWW1j2rAkaeSzSiHw7HxKUnM6uB9joctDae2y2CXSu8+Ek vrUBQprl743jG/w7JJYnG/nMn8VStptBoYPpWsLH4vZCHnqdSifNJz9kvks542wgdPEJ DY4g== X-Gm-Message-State: ALQs6tAphi9IGU0qH506yS2vavoYmZmXnuGfTXQ7K/EBIcGKgIj37msw 08ppgYCaFR21bSzkXJ1mFhlXIg== X-Received: by 2002:a63:6108:: with SMTP id v8-v6mr8165348pgb.245.1525030605426; Sun, 29 Apr 2018 12:36:45 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::ddd5]) by smtp.gmail.com with ESMTPSA id 125sm11960737pfc.145.2018.04.29.12.36.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 12:36:44 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Apr 2018 12:36:11 -0700 Message-Id: <78d503fde6a4bf966f0961146ccd7056a2cff1d6.1525029885.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 24/24] 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")) }