From patchwork Mon Jun 26 05:34:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106301 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp64996qge; Sun, 25 Jun 2017 22:35:11 -0700 (PDT) X-Received: by 10.84.132.42 with SMTP id 39mr21827804ple.226.1498455311385; Sun, 25 Jun 2017 22:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498455311; cv=none; d=google.com; s=arc-20160816; b=JY4hWSdd8/tjN4e6BoqRj18kyaMPKrZU8qkN+uKMFa9ummUkDzm9yKX/mvsn8hhBqQ GlZGkQTZp2YfNZF0OxAel8I+5ramCXvr+tct3N+M+MAba/E3dVnDf6zEznRFZEE3uTMy mmyiLKQQS5W0wYoCwrFM8XzYoO0+fMVW4wGZb9Gzo+rkgc0GK85aIL8RH6VcLfhhhjcv W2mYQKokN/pl0jVsVFQ9tve5Ypm+udu9GPDH452lfT2oXXavRIbL+rfg++KzR/GuMCSn CU8zrqeTpVtYJ1m2z4AQvOqfNBzkiMHSDRqyIO+QCC1vKUkYBBDo4fZjuELWJttxrH0i 7TTA== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=fgrcdxByBwCqIpMfTGujtZJN51dIXohOgWm/3yX+OrQ=; b=OhYp4ec8RHprFnH0Gpve+bbK2YBbtLyElOGOz0IaU5rQSNCW1Bxaj8i6KOTkLYp0a7 w90ljqJpewaV2inxGNKx//xZ3y45dKg6MmYGdo68XEfIRGTcL5FfXmpIqt76fX2OdZ9K HhIQDvWs+PwlFsUEwjjlo5NcSuhRWIcd4/x4nGmXlACiZOJKZ5PvjIXZcRo5Wq+KRCQr ACqKt/YeyUTxhj3EJYVkJZHtsuwSWgmFoaqhaGnLK2tx088fg3lNOzNZyyPu7L4aZXA0 O5XPXgG8kQD6QdOiVvWY/bC3d3lM6UPOU07vbUw8SLgZWYeMk/qLgQDBkdq5ZXCdc/9n ycQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=rNFuoAGK; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 61si8547868plr.276.2017.06.25.22.35.10; Sun, 25 Jun 2017 22:35:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=rNFuoAGK; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B03757780E; Mon, 26 Jun 2017 05:35:01 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f173.google.com (mail-pf0-f173.google.com [209.85.192.173]) by mail.openembedded.org (Postfix) with ESMTP id 65B976067C for ; Mon, 26 Jun 2017 05:34:58 +0000 (UTC) Received: by mail-pf0-f173.google.com with SMTP id c73so49939120pfk.2 for ; Sun, 25 Jun 2017 22:34:59 -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; bh=pYwgG/pOej1eO1M2ibCNRiQaTL/HIevt63LRezD2liw=; b=rNFuoAGK5IDGosxJ64NKGTlpJAS6p22uGFnHgGmRNkLWweMSwOYcYp+uap9WNlPOfx 253T7az/TmosfmUWfdGDOtfFm/tAee/TRTK0h7ama5A2PpnL1arVMeymODVRG+ffM614 3SldWKMywc1ejgf0mp6Re/8Jr3gnuVXxB/qN2pHAXyOpTE7aAzJDjbzmkyjY8eG9VWTX cxESlFpoUHVhMttdd/HF1R86GWjMfNprwyCtHcqViLCMDvET1qBG/erB+BpwGnlSoSrX AspEPP0yYtdfoP+AHe7fmOi13RT2sljphQE4P7QYNoN1cZoQDxkPADSIkoYiYgriROq8 aHFg== 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; bh=pYwgG/pOej1eO1M2ibCNRiQaTL/HIevt63LRezD2liw=; b=n+odun1EbRC09fTmF32pcWcfmTKuNZP/d4+00SWzbZEYkagwbWkPSFhWZNB+OSaWqK KihswOSBM2vgjIVLmvTpO/LaPRXDXDaRDcMYAZzq6tKPvVihmHxpIZjLXJc8EvGDJ7I0 J/TcFg9izUfIIINxCp2TiOGrg4IYL0yU4iyXNAOtgjaOS41vpndppkZNtipEH8i6UoFr mJKngu9mr5D5Edxk1jHDU/uIgHqaX/4NqKrXL1Eg++qrDhGIU7NaESlbJ/lfNqNq04eN fkLf6Tk4SoEERGEoxVijVouMhzZEowQc4Sujzpevu4tpSScUs60bsZSYFbyhQhquU8H5 iHwA== X-Gm-Message-State: AKS2vOwf+yhuuUSeYDxIIYQza5GTvn4XLiJ/cIRU7NrDJMz+gi7EnK/q x5dDcrf2+jNFPkeK X-Received: by 10.98.153.135 with SMTP id t7mr20265129pfk.160.1498455299104; Sun, 25 Jun 2017 22:34:59 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id x64sm23932432pfk.20.2017.06.25.22.34.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 22:34:57 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 25 Jun 2017 22:34:40 -0700 Message-Id: <20170626053446.37959-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 Subject: [oe] [meta-oe][PATCH 1/7] live555: Define XLOCALE_NOT_USED for glibc too X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org glibc has removed xlocale.h from public APIs starting 2.26 release Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/live555/live555.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-multimedia/live555/live555.inc b/meta-oe/recipes-multimedia/live555/live555.inc index daae8d786..14ea66442 100644 --- a/meta-oe/recipes-multimedia/live555/live555.inc +++ b/meta-oe/recipes-multimedia/live555/live555.inc @@ -16,12 +16,9 @@ MIRRORS += "http://www.live555.com/liveMedia/public/ http://distcache.FreeBSD.or S = "${WORKDIR}/live" TARGET_CC_ARCH += "${LDFLAGS}" -XLOCALE_libc-musl = " -DXLOCALE_NOT_USED" -XLOCALE ?= "" - do_configure() { cp ${WORKDIR}/config.linux-cross . - echo "COMPILE_OPTS+=" -fPIC ${XLOCALE}"" >> config.linux-cross + echo "COMPILE_OPTS+=" -fPIC -DXLOCALE_NOT_USED"" >> config.linux-cross ./genMakefiles linux-cross } From patchwork Mon Jun 26 05:34:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106302 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp65184qge; Sun, 25 Jun 2017 22:36:02 -0700 (PDT) X-Received: by 10.84.197.129 with SMTP id n1mr21922334pld.179.1498455362200; Sun, 25 Jun 2017 22:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498455362; cv=none; d=google.com; s=arc-20160816; b=yzWyez0+a77t5Yzcj1mNOKPfCvgvXRKRM831PB67ll/TwHBF3IihzPqfp/5pmjnnX+ /cXkEzxdxSV7A8Xac+Tl1zPb1VtAYEFdHpuvXT4na9l8Esdeczz2hqV/RganL/C5WGdD 6eucoe4u/VQSMd2ANdiU7hF90cNGVL7kKAaGT4MLb8XN88lxVLrcD1cmLfLYkT05wPz+ p5m36E/jl5m9Vs657ZfN/jDp2rZG93gk0NPZAKROkvxfGWnFG38xkvxEsYfd16E7QOqM pDYKdwI4tf2hFP9QmrEyreAjUCykAaDT03c0AWRhtQe5i/uGBeC0SrC9qy6wEqswhxJ2 jzzg== 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=NO+7kwbJhOWKy4pYVF6PtS/q33ReNC5bE00pedgdg6E=; b=dUyv2+9xJZ/YyYQVjRlk4EQ8J/acucC0Xlbuew7Hdhqk91nRoFLI1sAN5hwbEL8Hg9 cBpBEAFhsqBLwl5CNFCjO0QfFeTsn6T2Oq9RRL6702DgXW0meGc9Dx8NFgN8XmJOL2SM qtq2NDzCdRNNJ0URApSKJI7YFLl2QqWDaO3Uf5xSdBOOQcbEX3D2s/U6k0SfKSggrhLL o9hpwtqdhK6nXMMGRKReAgAWnL6z5HZtLEsZytGh9pnz/2VhLMxdhftEf/9hdmy78aNm vf7vUWkRBeJmndvsYysvTSnTJdIRWxKEaHAiDGzIZVZNtnUNgJZRm9faI9vm9J4qcJ+e /QEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=PQYohiLM; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 k3si8421933pga.244.2017.06.25.22.36.01; Sun, 25 Jun 2017 22:36:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=PQYohiLM; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9323377811; Mon, 26 Jun 2017 05:35:58 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 B5DC96067C for ; Mon, 26 Jun 2017 05:34:59 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id d5so16787568pfe.1 for ; Sun, 25 Jun 2017 22:35:01 -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=BuBEh39p/kSPgP6+lNMD4WmoeRW6dfF6TNfEp+EFbnk=; b=PQYohiLMeIl3ZbGV2DBnyPLqPtFMal2h+hNBKHgy7w+MmrCt3FTgfI+Gvt5Qzdndmg HThqgmWRDyui7fzIRYCAUg8tOfnOWltCfsA07nwiS+jEea86tXKhAbY4jXM+vzGjiq5n s+Ids2IFrWkgtQVFNLgwwHL2JIGyk1OOfWSBV3CTSync93xWQG0NHle1CPe0lO61EqHm ze+0ejd66zSTic51vfldcotG+n4ZMj91wy1vAgYTVGlWNbmZ0OLwfXLmjekaS122RdvN FYOxyXwx9KsUZsTgc+rCgAZGziw7MUpIeth4aKqGnR5Zrg79ZTUoEy9G6FbN1e6NCDGg AMEg== 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=BuBEh39p/kSPgP6+lNMD4WmoeRW6dfF6TNfEp+EFbnk=; b=pbiPXPD6WCkCu54UnVohuq1OK28P2x0KyKDE6ifBBght+ryp7H8la5tFCAQ6RzVHlm 1UvySdpfUdILP6Ie7OHFFmitLcKcDm+gemzFT8mvy6UxUcmsdFf+P5CHTOIhD9+bIVd8 +4CEUn6mB4zmauWgYMwcHlAHnkN3SdaUjAYBEtIBimxudoJ8OZHpCAtm5HgPgW87Ya8f nZTOUHAYAzlMBZPi/xukda70PYeAldBC7IBTJC/xS9Va5XtHmTrF2jopITol+N8A1F0y mBwBuGLYTMQkY1BwiO30B+BdqtEofxWoUwzPJ/PGdg3z31RWQA+HsBq1EV0Se/W4RQWI NnFQ== X-Gm-Message-State: AKS2vOzeodyP290LfV0cmXzU8WOpXUM9RHeEn9B0A8KgI8roUsU8jB2Z CJOsROhAtMR/lV/D X-Received: by 10.98.76.83 with SMTP id z80mr19774020pfa.87.1498455300515; Sun, 25 Jun 2017 22:35:00 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id x64sm23932432pfk.20.2017.06.25.22.34.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 22:34:59 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 25 Jun 2017 22:34:41 -0700 Message-Id: <20170626053446.37959-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170626053446.37959-1-raj.khem@gmail.com> References: <20170626053446.37959-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 2/7] squid: Fix build with hardening X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...0001-tools.cc-fixed-unused-result-warning.patch | 36 ++++++++++++++++++++++ .../recipes-daemons/squid/squid_3.5.26.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta-networking/recipes-daemons/squid/files/0001-tools.cc-fixed-unused-result-warning.patch -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/squid/files/0001-tools.cc-fixed-unused-result-warning.patch b/meta-networking/recipes-daemons/squid/files/0001-tools.cc-fixed-unused-result-warning.patch new file mode 100644 index 000000000..082a1114b --- /dev/null +++ b/meta-networking/recipes-daemons/squid/files/0001-tools.cc-fixed-unused-result-warning.patch @@ -0,0 +1,36 @@ +From a78f2f0feda8f92cb59afe8236bd90726908768f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 25 Jun 2017 00:59:24 -0700 +Subject: [PATCH] tools.cc: fixed unused-result warning + +fix +| ../../squid-3.5.26/src/tools.cc: In function 'void enter_suid()': +| ../../squid-3.5.26/src/tools.cc:616:11: error: ignoring return value of 'int setuid(__uid_t)', declared with attribute warn_unused_result [-Werror=unused-result] +| setuid(0); +| ~~~~~~^~~ + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted + + src/tools.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/tools.cc b/src/tools.cc +index 8137a03..843e266 100644 +--- a/src/tools.cc ++++ b/src/tools.cc +@@ -612,8 +612,8 @@ enter_suid(void) + if (setresuid((uid_t)-1, 0, (uid_t)-1) < 0) + debugs (21, 3, "enter_suid: setresuid failed: " << xstrerror ()); + #else +- +- setuid(0); ++ if (setuid(0) < 0) ++ debugs(50, DBG_IMPORTANT, "WARNING: no_suid: setuid(0): " << xstrerror()); + #endif + #if HAVE_PRCTL && defined(PR_SET_DUMPABLE) + /* Set Linux DUMPABLE flag */ +-- +2.13.1 + diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.26.bb b/meta-networking/recipes-daemons/squid/squid_3.5.26.bb index e1b4c06dc..a78a09135 100644 --- a/meta-networking/recipes-daemons/squid/squid_3.5.26.bb +++ b/meta-networking/recipes-daemons/squid/squid_3.5.26.bb @@ -24,6 +24,7 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P file://0001-SquidNew-use-noexcept-instead-of-throw-for-C-11-comp.patch \ file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch \ file://gcc7-fixes.patch \ + file://0001-tools.cc-fixed-unused-result-warning.patch \ " SRC_URI[md5sum] = "dc1830cd361e077814aa39bcc3691d8b" SRC_URI[sha256sum] = "41d8845863dcd026c856508cd1599d417c8947ffd96e86e24085f9893cb8b8c2" From patchwork Mon Jun 26 05:34:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106303 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp65216qge; Sun, 25 Jun 2017 22:36:08 -0700 (PDT) X-Received: by 10.99.165.82 with SMTP id r18mr14980264pgu.65.1498455368340; Sun, 25 Jun 2017 22:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498455368; cv=none; d=google.com; s=arc-20160816; b=FDlyeNGtzmNmnCf2HQXbMtSqkFMa2DBYp2A3IppGB9IGnr5iyJO7uR+k68X0SMBU0z to47/VB6qbKhcgk1hUOTz9bDCupd1NxaMN4DZChk/DdXw279SpF8M6lSJ/kK6OsYFL83 SoGs0wOrvRX3ZoxypWZgKkYpMm9j+1GNlQtsDR99tLRQJTD6XZPSltZcfzo1vV2f0nDP yk3w9smWt8JznAXiNyGWttz0SFetsSxzWTMN7u001ygafFmhKvvjbTEDnyz4RJuxFzvz m6h4q4B+nHwH9pKx7Kzt6yLGuMbUKZuvnTgQzQVrl5LL84NVDaNU+hfReTVjLb6HP98R SkZw== 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=LACzQwl02i1VLUrE7hrIOzgXSS1/bHH9twjUvKkDc00=; b=xUes9U4a7OuS6DovOoBk7OLX+zH40H7SV/QkkRr4lY+3yTGi9lBD3Yz0WMDF7IUpTM zs5GqdazKWmHik5AMR7vBRo+vZ7wlBZjy5MCsxHWyczf0I7V2FybHHZFCGhPwUBvNkjv PGd37uNEoC5+j5OE+07HHv+hQc1oC7aDU6/vB3QX01qKZd2kocQzDi7Rduc4aqEDkEm+ y/COLH5UtbHq9uqdQ44JT7SR5+iMKiIxYUtq0hFK7q+Ht+8NO/ai8nVHsP6zlC+/WDf4 4dmdYX6+RoMDqrywUCtwtHUnJ2iPUt7e8rUHyYV8fW0wEdBLriW+MrCxsgCR/ntVb3Us q3JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=PtlRx72G; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 f23si9134179plk.160.2017.06.25.22.36.08; Sun, 25 Jun 2017 22:36:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=PtlRx72G; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AB3F477BD1; Mon, 26 Jun 2017 05:35:59 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by mail.openembedded.org (Postfix) with ESMTP id 77EE17780E for ; Mon, 26 Jun 2017 05:35:01 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id c73so49939628pfk.2 for ; Sun, 25 Jun 2017 22:35:03 -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=NFdSKz6SlbmUPkkoYPmu1cSH531FngUWiCXXSJ7P53o=; b=PtlRx72GIR6/uc+D5SFSnetv/kXUkULnoq/aZ+IUyhupqtH9XDHBMvaCoP6nMuUZIn QDFZi/t5ZQvGg3vwu+gLEtBZ3xcTXYP8hJIM25RfwOU67Ry4iPo+SPexcsKpittgE79/ chflJNOi8+rLQ3ZbMEQrcrJ0rHOUUXBxpsfhtmuFMuOLNMUvhooBi5UwkoZNG4Ba9lW/ colupuzle1LH2VW8uKfIYljsNJc66HkbdCy7uYKYWZUMlcx/z0JnePea92kwskv6TGkK nzywRLdmNPMITvBMVN2lq3SVC9dvsUedaSh/cE5YBWHLLykMNWTnJn7tQxPOL7V0sydK tBDw== 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=NFdSKz6SlbmUPkkoYPmu1cSH531FngUWiCXXSJ7P53o=; b=beD3F20sXaMMOWrSpY0zhI/QC9fd2EqJoQnRlC85pK60ECAxsIlUAH3ag00mTFLEOi Z/LXGjByXhmv+ckgTMdH1eNd/bA5cWMFBaQ9gT/Amt86+R2YbvTYLA/+Hcv5rEeqhR3V HXpWehH8IdNwhTmqN9N57WNoM8ULrZX84+Nb74sqt3Cjyqdsy22SN2K+HoXEdJ3123BO 8EkhYl17IDprMPdW2xYkd8986qvZsbjhYCuQVXKU/R7Ay9zQuKpacamwXaJaWAaJ9vSN wdUuPTfyIJjEQA3wdbH44qLP7umYoZjMAsIpI5IbVYhp/4mvR+7dkmuRsTBWSgIUDW99 Os6w== X-Gm-Message-State: AKS2vOwiI3yG/IFTQ98mFqRSrU1CK6vtQ4qVSB5hKsx+MsjXRSgTdIwq v6L2elbO6mAdSW3R X-Received: by 10.98.50.196 with SMTP id y187mr19747185pfy.67.1498455301761; Sun, 25 Jun 2017 22:35:01 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id x64sm23932432pfk.20.2017.06.25.22.35.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 22:35:00 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 25 Jun 2017 22:34:42 -0700 Message-Id: <20170626053446.37959-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170626053446.37959-1-raj.khem@gmail.com> References: <20170626053446.37959-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 3/7] ruli: FIx build with hardening flags X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...src-ruli_addr.c-Add-missing-format-string.patch | 35 ++++++++++++++++++++++ meta-networking/recipes-support/ruli/ruli_0.36.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta-networking/recipes-support/ruli/files/0001-src-ruli_addr.c-Add-missing-format-string.patch -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/ruli/files/0001-src-ruli_addr.c-Add-missing-format-string.patch b/meta-networking/recipes-support/ruli/files/0001-src-ruli_addr.c-Add-missing-format-string.patch new file mode 100644 index 000000000..9044415ff --- /dev/null +++ b/meta-networking/recipes-support/ruli/files/0001-src-ruli_addr.c-Add-missing-format-string.patch @@ -0,0 +1,35 @@ +From d3fb471f53712e710fb5777b1b0851c46b7be64c Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 25 Jun 2017 01:23:03 -0700 +Subject: [PATCH] src/ruli_addr.c: Add missing format string + +fixes + +| ruli_addr.c: In function 'ruli_in_snprint': +| ruli_addr.c:491:5: error: format not a string literal and no format arguments [-Werror=format-security] +| return snprintf(buf, size, inet_ntoa(addr->ipv4)); +| ^~~~~~ + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + src/ruli_addr.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ruli_addr.c b/src/ruli_addr.c +index f1eabae..5f1fd4f 100644 +--- a/src/ruli_addr.c ++++ b/src/ruli_addr.c +@@ -488,7 +488,7 @@ int ruli_in_snprint(char *buf, size_t size, const _ruli_addr *addr, int family) + { + switch (family) { + case PF_INET: +- return snprintf(buf, size, inet_ntoa(addr->ipv4)); ++ return snprintf(buf, size, "%s", inet_ntoa(addr->ipv4)); + + case PF_INET6: + return ruli_inet6_snprint(buf, size, &addr->ipv6); +-- +2.13.1 + diff --git a/meta-networking/recipes-support/ruli/ruli_0.36.bb b/meta-networking/recipes-support/ruli/ruli_0.36.bb index b41313090..885796d2a 100644 --- a/meta-networking/recipes-support/ruli/ruli_0.36.bb +++ b/meta-networking/recipes-support/ruli/ruli_0.36.bb @@ -10,6 +10,7 @@ DEPENDS = "liboop" SRC_URI = "http://download.savannah.gnu.org/releases/ruli/ruli_${PV}.orig.tar.gz \ file://Makefile.patch \ file://0001-Fix-build-with-format-string-checks.patch \ + file://0001-src-ruli_addr.c-Add-missing-format-string.patch \ " SRC_URI[md5sum] = "e73fbfdeadddb68a703a70cea5271468" From patchwork Mon Jun 26 05:34:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106304 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp65248qge; Sun, 25 Jun 2017 22:36:16 -0700 (PDT) X-Received: by 10.84.140.107 with SMTP id 98mr2391712pls.97.1498455376599; Sun, 25 Jun 2017 22:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498455376; cv=none; d=google.com; s=arc-20160816; b=hzGxdwJ6WnG/dEBWmu6bHXNeW9JkjBq9++zjT3Ub5+rlwtPtpnF8ckQlCgxQbbWWDU UkwsV7uPsjz5V2/OPUBM/pONHdH6HEX/8TyMfFaLPYkYPAIRYx9PJ5+LLx70iUYJHNHU oEIg1HLCmn0mWm3FZdHIR/NswsG17sXE3dXu2VCUCRH69C9+sHCOJsPc+DlB8T7HsKlw u0dmy6LO6COxLAINeujcK0l5bAV0gTIuPOUqQNEEuBgeDUHAfQoBv+WIPVUFR+aPgYXO mQoWf7OikNniGzBChfmIqPl5FpDATFDMiuer67Jn+LxggR4U6gMemP+Gh2FEwyIuTAQm zUbg== 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=G/h8blALuwn7MUAIJDt8878UZMAbOKOuVbQNgvlKrv0=; b=Fq/KU5JKh3nbAwAOs9f4nSpveXUY8HM7CzZKQlS0qMR9NsMFTFkyvzDl3IiGydJ6y1 trY+CLRyETisFc55CMGEzEQpTK+ZimS3/Tl3/rFBnnDbmkQbBVYYjMSeT0zQXnS8dmqD Ezf/i8QFt0PV9Gd+zD62g6v7pWMzszDFZEXV84bAWK5eSuLSqcYERUQNJIxoV4Ie4d45 5OSxYkWHDm3BJnl2S4NBv/CrTEi71sXhNCCeXMSYCHgUjHoQsbExItOJ9RYapgPQ8m9d R/l3orfqOFxBu87lPc3Y5qUcMrAJgMmBADDWy0vbWbrkx16AtPAFXp8K9SUPeAS4iBjt aSVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=PMWI4vxZ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 t66si895105pfk.196.2017.06.25.22.36.16; Sun, 25 Jun 2017 22:36:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=PMWI4vxZ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3CFFD77B6E; Mon, 26 Jun 2017 05:36:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by mail.openembedded.org (Postfix) with ESMTP id C60D877972 for ; Mon, 26 Jun 2017 05:35:02 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id u62so43540615pgb.3 for ; Sun, 25 Jun 2017 22:35:04 -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=3HDZcs4FCCPH42q/EG7aIILGEeLBWazpcvtmvZa0dlE=; b=PMWI4vxZtDoOLc7vSpQozB0rKLTbY43RuPNba1CQ+qJeI+KHGjlXZJn+S5FUZTnSU2 LgCYqGYfRM/OQDYSF//X3cLB7VAGfFzOig4WeWZ8uYUMDXVes3cfTyldhT1DNQ9TAb9T INadKhLJxKg+aD7bw5x6cVhhgWAILa1/oS93iaDx7oyB2R/Be1nUy5UNY8XNkwRw0MEv qWa4LrBWy53yrETsGeyaWZp+xFwcWX/LdnajxidqYbmZbPQJGjFsMq4bJ2Vsr1ZNWTOq efvjNt2kesZBnYB03MKzQzDJk9QWMw2Dpvga+UHonK34juZsXQ+NjjfOA+JCGwZK4s1Z kB2A== 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=3HDZcs4FCCPH42q/EG7aIILGEeLBWazpcvtmvZa0dlE=; b=JCexcN6MV+ZiX5u8EPheBh/lRssGPKGPi8HMQBWEGyCAzhsZ03hTLcSaSkkllNNtv/ oZdsFvISdI/OkA0JvTjy3TINkW+Wb5w3tHBIEEHRF7Iet1SUlfdXo2wOqenTn+ADIDYn eRClREr/8jQP4KzUhU19jeJYm41V2P9qaXuXgasmLrLIIRDLKHrPAtuHuf9E4+JggrDM GkQspzJocjR+hPyv+qVndQZZ4bcAIrRVi7vHRAF4GnzsA6sDsBGdL2zAJ6yMtr8ohASh POOSI7iBtBSpgrPSxLcG+m/MYB7e8O384PWv/u50/JAm0Yu0rvm7ncKPBMNmLdMkRjl2 YJUg== X-Gm-Message-State: AKS2vOydft0N89FdlbW+rMc9Us6fNxjq0jcn2UtALemqL5cMIU9sJiZx Kyryw8mP76723fbw X-Received: by 10.98.7.11 with SMTP id b11mr20133698pfd.188.1498455303339; Sun, 25 Jun 2017 22:35:03 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id x64sm23932432pfk.20.2017.06.25.22.35.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 22:35:02 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 25 Jun 2017 22:34:43 -0700 Message-Id: <20170626053446.37959-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170626053446.37959-1-raj.khem@gmail.com> References: <20170626053446.37959-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 4/7] gpm: Use sigemptyset() API for glibc as well X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org glibc has removed __sigemptyset Signed-off-by: Khem Raj --- ...-sigemptyset-API-instead-of-__sigemptyset.patch | 34 ++++++++++++++++++++++ meta-oe/recipes-support/gpm/gpm_git.bb | 4 ++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/gpm/gpm/0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/gpm/gpm/0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch b/meta-oe/recipes-support/gpm/gpm/0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch new file mode 100644 index 000000000..a9198166a --- /dev/null +++ b/meta-oe/recipes-support/gpm/gpm/0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch @@ -0,0 +1,34 @@ +From 52e6cf052b1f938fcca1bc24d578fe0bfd972988 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 25 Jun 2017 07:25:33 -0700 +Subject: [PATCH] Use sigemptyset API instead of __sigemptyset + +__sigemptyset has been removed from glibc public +API headers in upcoming (2.26) release onwards + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted + + src/prog/gpm-root.y | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y +index 5126c65..76c896c 100644 +--- a/src/prog/gpm-root.y ++++ b/src/prog/gpm-root.y +@@ -1196,11 +1196,7 @@ int main(int argc, char **argv) + LOG_DAEMON : LOG_USER); + /* reap your zombies */ + childaction.sa_handler=reap_children; +-#if defined(__GLIBC__) +- __sigemptyset(&childaction.sa_mask); +-#else /* __GLIBC__ */ + sigemptyset(&childaction.sa_mask); +-#endif /* __GLIBC__ */ + childaction.sa_flags=0; + sigaction(SIGCHLD,&childaction,NULL); + +-- +2.13.1 + diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb index 69f12d9b8..51c4dd639 100644 --- a/meta-oe/recipes-support/gpm/gpm_git.bb +++ b/meta-oe/recipes-support/gpm/gpm_git.bb @@ -12,10 +12,12 @@ SRCREV = "1fd19417b8a4dd9945347e98dfa97e4cfd798d77" DEPENDS = "ncurses" SRC_URI = "git://github.com/telmich/gpm;protocol=git \ + file://init \ file://no-docs.patch \ file://processcreds.patch \ file://gpm.service.in \ - file://init" + file://0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch \ + " S = "${WORKDIR}/git" From patchwork Mon Jun 26 05:34:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106305 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp65275qge; Sun, 25 Jun 2017 22:36:23 -0700 (PDT) X-Received: by 10.84.211.136 with SMTP id c8mr21508236pli.96.1498455383514; Sun, 25 Jun 2017 22:36:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498455383; cv=none; d=google.com; s=arc-20160816; b=hW2DhD4uElHugDKlF12tewipKG6gyXVZ1t/wxY+HJ3pDuAiZjWTR8js6ciZ1X1chiw ElQ1C/4miTef0x+QnsC4L7RSQTMSdCuUWi9Q1s11BDn0BxEnY96MsxT+QXrgfhcv01aH mbOTXY35xdKde+N4U+0ALXRGZChlwD8y3Ji58S3oXHTJT1AgQIKnU6n/YNRlqK+eNANO dUYJ2sl4P80hUYeSY2lbZJ9jaXT9pNa2f5afZDYHTdrKmNLt+nhFCkfneUIObMpmvrc4 FOLfYmaFCjH4NkKPWuwhBcRuF/ggQgmlVb3GYVKQq4mdv7RX+s2ZJuAlj+zsccet5L50 vBDQ== 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=dK7AVx+kfRcQRJVWDalEk7C+WnMeRVhoYI6MTGccED4=; b=ngKQ8xlWCQRBI2PgRg5uTJkKIfC7OBLQCxK5K89LIBM2VFYTq3ashFv9D8nyzx1y51 Nl+N9pwjF7AJmOBsRXImETs3UUK/ru+fcrBxh+rcMSRKXlvQet8zOQfe1dC6CQbeGgnZ BjYlCZXDKfuT2Wq5o/Iu1BQyOAQq0TBsbPmD/l+x5Un7TtcsAAAQ75i2Fm0LEdTaCael IhW6ORLDCjSxIJCsatPBJthA9wFZ5hgXGHZa+TETqiUERjv323fiWmepM9FgFPInVFQR TmHvmzaqpfaa4pwXBVG4W8awwCn8xTV1qYkz+cpcMeIJlzQOa2gBuju5ahTVISQUp+Rv 6Xqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=TpcvbPO7; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 e92si9218669plk.306.2017.06.25.22.36.23; Sun, 25 Jun 2017 22:36:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=TpcvbPO7; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 573D877CDB; Mon, 26 Jun 2017 05:36:08 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by mail.openembedded.org (Postfix) with ESMTP id 6E458779C1 for ; Mon, 26 Jun 2017 05:35:03 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id s66so49894580pfs.1 for ; Sun, 25 Jun 2017 22:35:05 -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=RGIFbxHV4OsoMTGKgYvDU/M/YJnvcfR3ayybvgTCOXI=; b=TpcvbPO7vzYlCFSkwF3jMHq6IRQyQwm73VXJOxLOWsQ0VX3t/hbaftQcwz1HwWr4lF 0RaoqRDxITzjIQOZSZa4GFDTwIaxkwSAKvBqAfnmms6FLkBYbxCySIOCK1CdB8PdUA5k KQwmfYOyKc9Z0pidS1s7RUuyjpkY0vLyYW9/3PpXqBx+ZSS3hN/7jMjF58Wr9Hce7vnK BlmfsllixCQLP2hgbifUKz+rx1Yk4YggJkQYzgzZdL/bPB+XXpoaOG72rYosRb+ydpBa pK7BB2X7V6GCBq6wz9bTh2aVfJdIf+owLymIHVQr/QlXU3GY6quMeAxE6ltPuIYRnYDO y+1A== 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=RGIFbxHV4OsoMTGKgYvDU/M/YJnvcfR3ayybvgTCOXI=; b=LbJ7b5jFADoQ2wHr6jzJVEJ0b/BYw0GmyX7QjFqxAh7Z2unR4IO/qGhng/DxqeovD+ T3DXckk4SpaJzbKgoq0OoBseeQB6szMoymRFja2vuYOkQuQEMic7mBKSjWRDbvAt4ri6 oRonX9dX0YZT3WnVETcj+9+erRleYVFon7KfwakpkEkKyurIa+vv6oGdCgA5ZqALpcWD 8MgDjyXxEtb5ax9+vE1bOSptCIZkIiYpaIn2OvMfgGtf2zlMDrv3k04QdOyKXnx4ptxH SPjEwNW7EfqmMdJ+SumZ+lgGCEUdqPtKsvL9u076TJ5DYrg1VfdLa5FIcPpNUgDFUxvL 0UyA== X-Gm-Message-State: AKS2vOwmxVfJucnU6oJIAMMDd4irgylezN5bBM4EoHKTH0Fgvbg0XSYN tsN8I7LQrZK7sG46 X-Received: by 10.84.133.69 with SMTP id 63mr18935865plf.225.1498455304781; Sun, 25 Jun 2017 22:35:04 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id x64sm23932432pfk.20.2017.06.25.22.35.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 22:35:03 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 25 Jun 2017 22:34:44 -0700 Message-Id: <20170626053446.37959-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170626053446.37959-1-raj.khem@gmail.com> References: <20170626053446.37959-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 5/7] hwloc: Inherit pkgconfig X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fixes | checking for LIBXML2... cannot check without pkg-config | configure: WARNING: --enable-libxml2 requested, but libxml2 was not found | configure: error: Cannot continue Signed-off-by: Khem Raj --- meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb index 16cd507e6..1194af0d2 100644 --- a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb +++ b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb @@ -11,7 +11,7 @@ SRC_URI = "https://www.open-mpi.org/software/${PN}/v1.11/downloads/${BP}.tar.bz2 SRC_URI[md5sum] = "96c34136ff416d2b13a7821c27477bed" SRC_URI[sha256sum] = "95d80286dfe658a3f79e2ac90698782bb36e5504f4bac1bba2394ba14dbbad24" -inherit autotools +inherit autotools pkgconfig DEPENDS += "ncurses udev zlib" DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" From patchwork Mon Jun 26 05:34:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106306 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp65304qge; Sun, 25 Jun 2017 22:36:31 -0700 (PDT) X-Received: by 10.84.253.1 with SMTP id z1mr22777947pll.114.1498455391190; Sun, 25 Jun 2017 22:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498455391; cv=none; d=google.com; s=arc-20160816; b=hYrQOrBoR5OVDmGh+E/pp7rECuX5IbzX1nolAPaR9nMeMXU4dEZXAEosecn8SHqXqF OJm4J6kktKEJFEYVT1JbQz8LngzYObM+4pnQJwjv/4TrjqVEauLwAvJ2x2yKls0YVSy8 RzdSz/rpIionqiBtfTpCTeNuE8R0umj/RewqX3k4hb5ltlPmtPN9rmxUgKDyq8l1B/hI quKGw2Xo+9OBWPB6B38mjnOau7Ovy6FLKjugEl6pvaMkmDoTQwuatah27JweV2iUOVUL 5cZTlOrqtLIuZCEN/s0zuPcUMfneJYMUXvqozDeePvJ9nbSWnQlI4yg0N6+v2MMept5C m8sQ== 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=iLCBZGcaAl2uRC+cG00NxX0TCAIX7Az+LMSQepUDEgM=; b=g9EhZzEnSkESJjVuVLFzYPjN4Ki/lMmiIW/fVTPsbNgkR4tT0rePEk63sMPhFO3SyF BBIlA0aIjlNmcVGDTJxmAMmk+kNhCykVbhyIPQC7Vj6GxESWngvxB2tEBrTN8RA3Snhz PEFcHmr231XI2vt9mAoNmGm2qtaU9dUrXpqDosjZ5/dZLBv5TvikcLusUsAnsTSFCvvN dm6n7iGoM/nXR6KRl4ZLFuxF7LHKwcP77MoWHt6Tuzy7ipM89IvtbvOSIU8IRWueAqF9 wDlBFXqosXwegQO6r/VfxnDW/g8TjfvxFQ23o3Kvm12fn2PVQJKTcwS4Qo9I2LCBNK+P imuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=FGw0oRny; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 g16si853650pfe.261.2017.06.25.22.36.30; Sun, 25 Jun 2017 22:36:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=FGw0oRny; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 724ED77CF6; Mon, 26 Jun 2017 05:36:09 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 E9ACF779FE for ; Mon, 26 Jun 2017 05:35:05 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id u36so1215791pgn.3 for ; Sun, 25 Jun 2017 22:35:07 -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=52TzaPOkpz+0siA1cuTFDYB3gnvdxrdNQAM9rjC/CsM=; b=FGw0oRnyKylozP+efv1eJZq++RhkBMtoToWjtpV0zbKfLgg3l1LlIFDeSx+1JR+hkw 9cQYFJ/mOSNiezkRjdW8NWW/qb4QTG3FSxNbM2oeLQ2Oy+jeKE6W0gNMGRsPzHO58JvS yJPs9iae85RQ7FVdqUGXNdES0gjnoG9ft8BwVY0xwvopJsaP7qDLTZ2YkrR72P59SCU2 br/0TUpHF3ueF3gZzmJ+KZnW2CGyWMVvjH7pE634q9YOyJ8oOeJ5gPb3Y2G+626Kn1C3 bRK4c6o1Jms6xNwFJb+9EnhSSjZRBUN5ilwoNoo77ZqpjhVJf07ggLfHO1QfyDYe/Xgy rBVQ== 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=52TzaPOkpz+0siA1cuTFDYB3gnvdxrdNQAM9rjC/CsM=; b=G8Df3TPbWbJu8JPVFhZv1nBcn56X+0buTt75iJBTs0X0Ux2JH+jF6LmeCyXwamcVz5 qavFzWdvAeyU2cNNUB1zCNYjD5qauSV/B3HskXjYdTy6pF7zrFHZG53Y0VaKPbyVvOyl kIxgt4RF8CwvMGeFfB5lVTI87eoNVo44XCkHZbsiyaV10f0aul2LS7N7Icl+xNEX0p+R dKCtL3HKNbf7G5bm8KN0XRH96UboF2MUjBDRlpVaIPE1XMj0LcHlGelydPONfacEktp/ MzA8JaMMBxz74MffVZdYCtPT+V9YjPi7eYmgoZeBGtEzsEGrD3iRFxbcEVkLCTAvyY3m tREw== X-Gm-Message-State: AKS2vOxNiyasiCDt0tPZZ/xqFPoG6OpOWbBTvR9v5YW50oMM2Qrn1ZSd /2lOBZ0aPqrazOXj X-Received: by 10.84.225.145 with SMTP id u17mr22017876plj.255.1498455306627; Sun, 25 Jun 2017 22:35:06 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id x64sm23932432pfk.20.2017.06.25.22.35.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 22:35:05 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 25 Jun 2017 22:34:45 -0700 Message-Id: <20170626053446.37959-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170626053446.37959-1-raj.khem@gmail.com> References: <20170626053446.37959-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 6/7] ssiapi: Fix build with hardening flags X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../ssiapi/ssiapi/configure-cflags.patch | 21 +++++++++++++++++++++ meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 meta-oe/recipes-support/ssiapi/ssiapi/configure-cflags.patch -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/ssiapi/ssiapi/configure-cflags.patch b/meta-oe/recipes-support/ssiapi/ssiapi/configure-cflags.patch new file mode 100644 index 000000000..d45be590c --- /dev/null +++ b/meta-oe/recipes-support/ssiapi/ssiapi/configure-cflags.patch @@ -0,0 +1,21 @@ +Do not override flags thereby respect the flags coming from environment, +e.g. we need some optimization level turned on when security flags are enabled +without this change, the build would fail + +Signed-off-by: Khem Raj +Index: ssiapi.1.0.1/configure.ac +=================================================================== +--- ssiapi.1.0.1.orig/configure.ac ++++ ssiapi.1.0.1/configure.ac +@@ -15,11 +15,6 @@ AC_SUBST(VERSION) + AM_INIT_AUTOMAKE(ssi, ${VERSION}) + AM_CONFIG_HEADER(config.h) + +-dnl Set the language we use +-CPPFLAGS="-g3 -gdwarf-2 -Wall -Werror -D_GNU_SOURCE" +-CFLAGS="-std=gnu99" +-CXXFLAGS="-std=gnu++98" +- + dnl Automake 1.11 - silent build rules + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + diff --git a/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb b/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb index f3c1fc43a..339637087 100644 --- a/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb +++ b/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb @@ -17,6 +17,7 @@ SRC_URI = "http://sourceforge.net/projects/irstessi/files/${BPN}.${PV}.tgz \ file://0004-engine-Fix-indentation-and-missing-semi-colon.patch \ file://0005-engine-Define-SENTINEL.patch \ file://0006-tools-Add-missing-includes-and-use-realpath-instead-.patch \ + file://configure-cflags.patch \ " SRC_URI[md5sum] = "02f16d7cbd30d28034093212906591f5" SRC_URI[sha256sum] = "e10d283b0f211afb8ebd0bde87c097769613d30a052cdf164753e35e803264c7" @@ -24,6 +25,7 @@ SRC_URI[sha256sum] = "e10d283b0f211afb8ebd0bde87c097769613d30a052cdf164753e35e80 S ="${WORKDIR}/${BPN}.${PV}" inherit autotools-brokensep +CXXFLAGS="-std=gnu++98 -D_GNU_SOURCE" do_configure_prepend(){ ./autogen.sh From patchwork Mon Jun 26 05:34:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106307 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp65337qge; Sun, 25 Jun 2017 22:36:38 -0700 (PDT) X-Received: by 10.98.192.10 with SMTP id x10mr12835441pff.1.1498455398772; Sun, 25 Jun 2017 22:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498455398; cv=none; d=google.com; s=arc-20160816; b=ZaZDPaY56vy8eTvQRd37QAJxd+WgAod/4oCzHYDUAJlYRRCB1D1A3b+xq3BnA7CQQL 2YmYuXmYxEwAJyAWpOBjlgmQxTg5cxCfCy69TDX1z7m4vQ9vN4rCrnBu5CbUe8CWn7/W SnsUhrVWYMEVzkBCXl9OukLP26xCGYkyfVSUMlyGoLkVun85KbMEnH6tXft00vH5uab8 YcFlFUGezbWLFsOeU8Ogh0IuiKnivhozNW87983gmzUg+BnH3HU1F6ayJEWKmBxitQGO 4BvgHyEWOsBhpLko+nfPlMSV6LrObELv3rpOFlld+hji0jsZA5GXzFlFNv2p/bunE5ao vRZg== 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=+qmjqY8wkySqyoTNFeUYretAF+peE8ElrIo0A0opjok=; b=w6+5Li69tN/6v2rA03IuC05qS2/CqphULpnG1l5Ge4VOM6FupbMLxWUFlqMzpT40BG mf9GopsIjti8ogaSP8Kv5pyDPNj0tLMMpmXg4aNfz3GfS7d7OsZmr4A/Yqzu/VeNEM6O CcSPcFXQJnRiEAygrQQtUeuXJSYVP4OOtYdJ9cgwjR/va9yYYhXczl+ZdSHCRXoOKVE/ TL7D5tRyhURqND8JxesNz7TnF458iICBSxn0k6/XGHPsv0aIgmbx0LpgwMq5rRdSvhbQ D4gfUWulZ3JbvvSmR/47aUc1iRFoumiBeAtr+ntymsvCez+7n0wSpfxzmevOKSiIkU0G UbgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=SSFTWkTL; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 v34si8242796plg.332.2017.06.25.22.36.38; Sun, 25 Jun 2017 22:36:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=SSFTWkTL; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8954E77D01; Mon, 26 Jun 2017 05:36:10 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 1160F7780A for ; Mon, 26 Jun 2017 05:35:07 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id d5so16787933pfe.1 for ; Sun, 25 Jun 2017 22:35:08 -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=OApTND9s8+kQ/p6psNNAYtc699xvAJrNbJYzuO0bZmA=; b=SSFTWkTLCZRQOjdc5OhzgERMVmeaFCe2afnpW5PsRrlIvhPDA6lSM76Z/b0Bc0mrwt wx67cbXHWOD8tbY7W5ZBejE/chauRuY7yseMtQEHBgQQS/MQO13u+a0kQfiEkh70+mdC qHJUh7GWI2PTcYC/oNdmnPs7HYShP8zC2JkoddYY+Z/KFaQFUtQiROGa6nYR1Q9SY+jS mSQDt01srm4yKOfNeBMwpQ32PzugIOonWIsi59xFn/buLuMuAPDyPwAx+GixFPixGkkB tVV9aVXKD6U7nv9qVAzZAWDuI0eV2l2MzBvRduXO/pRC638kLZUlHFwHqWgrAZdiGDn3 75uw== 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=OApTND9s8+kQ/p6psNNAYtc699xvAJrNbJYzuO0bZmA=; b=pX15/wjJ5bp49dtxKcGdKMLPXymt3nBOt3tBYaBBTCYERWN3XZQjBzp5a1qnowyg4F zyfV4rMs6GdluOLcupGDbT4CVpZMoZG+vZXWo60BCb6YfuvOdnHbzd6lBaMvelu7sTuV UzN3/S62TZq7xEL1WKpSMCqZfksay8pKFd+6K9EAOQmRrdmS52x8l28RyL4OOLNyR758 AZfFoiyEhADMGduEpUlb2xdv0tbbSKGPeJknPwSKeWxoJ2oy+v06RxRNipEGZ5NRWds+ xKsYWfTOcWPlWpBIeYOzfyF6qry9Dh1aD9F2w7ehoOZ+npE7XnC8txaMW7s76nKUvcRf bFAw== X-Gm-Message-State: AKS2vOy0SJeio1DmtkAVzDEEF+wqMavkqe8cb+Hb18Y6L+eV7We+xduS 16KRlynKvQqF4oWp X-Received: by 10.84.229.78 with SMTP id d14mr22100662pln.212.1498455308260; Sun, 25 Jun 2017 22:35:08 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id x64sm23932432pfk.20.2017.06.25.22.35.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 22:35:07 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 25 Jun 2017 22:34:46 -0700 Message-Id: <20170626053446.37959-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170626053446.37959-1-raj.khem@gmail.com> References: <20170626053446.37959-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 7/7] crash: Upgrade to 7.1.9 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...ompilation-error-if-glibc-2.25-or-later-h.patch | 112 --------------------- .../crash/{crash_7.1.8.bb => crash_7.1.9.bb} | 8 +- 2 files changed, 3 insertions(+), 117 deletions(-) delete mode 100644 meta-oe/recipes-kernel/crash/crash/0001-Fix-for-a-compilation-error-if-glibc-2.25-or-later-h.patch rename meta-oe/recipes-kernel/crash/{crash_7.1.8.bb => crash_7.1.9.bb} (95%) -- 2.13.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-kernel/crash/crash/0001-Fix-for-a-compilation-error-if-glibc-2.25-or-later-h.patch b/meta-oe/recipes-kernel/crash/crash/0001-Fix-for-a-compilation-error-if-glibc-2.25-or-later-h.patch deleted file mode 100644 index 9434815d8..000000000 --- a/meta-oe/recipes-kernel/crash/crash/0001-Fix-for-a-compilation-error-if-glibc-2.25-or-later-h.patch +++ /dev/null @@ -1,112 +0,0 @@ -From b8c8fbe0a2481e97fc57dd596346827a692a5768 Mon Sep 17 00:00:00 2001 -From: Dave Anderson -Date: Tue, 28 Mar 2017 15:44:40 -0400 -Subject: [PATCH 1/3] Fix for a compilation error if glibc-2.25 or later has - been installed on the host build machine. Without the patch, the build fails - with the error message "amd64-linux-nat.c:496:1: error: conflicting types for - 'ps_get_thread_area'". (anderson@redhat.com) - -Upstream-Status: Backport - -Signed-off-by: Dengke Du ---- - Makefile | 6 +++++ - configure.c | 2 +- - gdb-7.6-proc_service.h.patch | 55 ++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 62 insertions(+), 1 deletion(-) - create mode 100644 gdb-7.6-proc_service.h.patch - -diff --git a/Makefile b/Makefile -index 202ef8b..b6b7e80 100644 ---- a/Makefile -+++ b/Makefile -@@ -264,6 +264,12 @@ gdb_patch: - if [ "${ARCH}" = "x86_64" ] && [ "${TARGET}" = "PPC64" ] && [ -f ${GDB}-ppc64le-support.patch ]; then \ - patch -d ${GDB} -p1 -F0 < ${GDB}-ppc64le-support.patch ; \ - fi -+ if [ -f /usr/include/proc_service.h ]; then \ -+ grep 'extern ps_err_e ps_get_thread_area (struct' /usr/include/proc_service.h; \ -+ if [ $$? -eq 0 ]; then \ -+ patch -p0 < ${GDB}-proc_service.h.patch; \ -+ fi; \ -+ fi - - library: make_build_data ${OBJECT_FILES} - ar -rs ${PROGRAM}lib.a ${OBJECT_FILES} -diff --git a/configure.c b/configure.c -index d63cdd7..776defe 100644 ---- a/configure.c -+++ b/configure.c -@@ -240,7 +240,7 @@ struct supported_gdb_version { - "7.6", - "GDB_FILES=${GDB_7.6_FILES}", - "GDB_OFILES=${GDB_7.6_OFILES}", -- "GDB_PATCH_FILES=gdb-7.6.patch gdb-7.6-ppc64le-support.patch", -+ "GDB_PATCH_FILES=gdb-7.6.patch gdb-7.6-ppc64le-support.patch gdb-7.6-proc_service.h.patch", - "GDB_FLAGS=-DGDB_7_6", - "GPLv3" - }, -diff --git a/gdb-7.6-proc_service.h.patch b/gdb-7.6-proc_service.h.patch -new file mode 100644 -index 0000000..49d18bb ---- /dev/null -+++ b/gdb-7.6-proc_service.h.patch -@@ -0,0 +1,55 @@ -+--- gdb-7.6/gdb/gdb_proc_service.h.orig -++++ gdb-7.6/gdb/gdb_proc_service.h -+@@ -115,7 +115,7 @@ extern pid_t ps_getpid (struct ps_procha -+ /* Fetch the special per-thread address associated with the given LWP. -+ This call is only used on a few platforms (most use a normal register). -+ The meaning of the `int' parameter is machine-dependent. */ -+-extern ps_err_e ps_get_thread_area (const struct ps_prochandle *, -++extern ps_err_e ps_get_thread_area (struct ps_prochandle *, -+ lwpid_t, int, psaddr_t *); -+ -+ -+--- gdb-7.6/gdb/amd64-linux-nat.c.orig -++++ gdb-7.6/gdb/amd64-linux-nat.c -+@@ -493,7 +493,7 @@ amd64_linux_new_fork (struct lwp_info *p -+ a request for a thread's local storage address. */ -+ -+ ps_err_e -+-ps_get_thread_area (const struct ps_prochandle *ph, -++ps_get_thread_area (struct ps_prochandle *ph, -+ lwpid_t lwpid, int idx, void **base) -+ { -+ if (gdbarch_bfd_arch_info (target_gdbarch ())->bits_per_word == 32) -+--- gdb-7.6/gdb/aarch64-linux-nat.c.orig -++++ gdb-7.6/gdb/aarch64-linux-nat.c -+@@ -750,7 +750,7 @@ aarch64_linux_new_fork (struct lwp_info -+ storage (or its descriptor). */ -+ -+ ps_err_e -+-ps_get_thread_area (const struct ps_prochandle *ph, -++ps_get_thread_area (struct ps_prochandle *ph, -+ lwpid_t lwpid, int idx, void **base) -+ { -+ struct iovec iovec; -+--- gdb-7.6/gdb/arm-linux-nat.c.orig -++++ gdb-7.6/gdb/arm-linux-nat.c -+@@ -613,7 +613,7 @@ supply_fpregset (struct regcache *regcac -+ /* Fetch the thread-local storage pointer for libthread_db. */ -+ -+ ps_err_e -+-ps_get_thread_area (const struct ps_prochandle *ph, -++ps_get_thread_area (struct ps_prochandle *ph, -+ lwpid_t lwpid, int idx, void **base) -+ { -+ if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0) -+--- gdb-7.6/gdb/i386-linux-nat.c.orig -++++ gdb-7.6/gdb/i386-linux-nat.c -+@@ -849,7 +849,7 @@ i386_linux_new_fork (struct lwp_info *pa -+ storage (or its descriptor). */ -+ -+ ps_err_e -+-ps_get_thread_area (const struct ps_prochandle *ph, -++ps_get_thread_area (struct ps_prochandle *ph, -+ lwpid_t lwpid, int idx, void **base) -+ { -+ /* NOTE: cagney/2003-08-26: The definition of this buffer is found --- -2.8.1 - diff --git a/meta-oe/recipes-kernel/crash/crash_7.1.8.bb b/meta-oe/recipes-kernel/crash/crash_7.1.9.bb similarity index 95% rename from meta-oe/recipes-kernel/crash/crash_7.1.8.bb rename to meta-oe/recipes-kernel/crash/crash_7.1.9.bb index 9cbb291f3..93208e398 100644 --- a/meta-oe/recipes-kernel/crash/crash_7.1.8.bb +++ b/meta-oe/recipes-kernel/crash/crash_7.1.9.bb @@ -10,7 +10,7 @@ SECTION = "devel" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING3;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS = "zlib readline" +DEPENDS = "zlib readline coreutils-native" SRC_URI = "https://github.com/crash-utility/${BPN}/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz \ http://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.gz;name=gdb;subdir=${BP} \ @@ -22,14 +22,12 @@ SRC_URI = "https://github.com/crash-utility/${BPN}/archive/${PV}.tar.gz;download file://donnot-extract-gdb-during-do-compile.patch \ file://gdb_build_jobs_and_not_write_crash_target.patch \ file://remove-unrecognized-gcc-option-m32-for-mips.patch \ - file://0001-Fix-for-a-compilation-error-if-glibc-2.25-or-later-h.patch \ file://0002-crash-fix-build-error-unknown-type-name-gdb_fpregset.patch \ file://0003-crash-detect-the-sysroot-s-glibc-header-file.patch \ file://0004-crash-fix-build-failure-with-mips.patch \ " - -SRC_URI[md5sum] = "31787074f267a3536eebff008a0652ec" -SRC_URI[sha256sum] = "9965dee9199d7e39764fbee7f21c7c45b1f7b6d17c8e92ad62f468f062876478" +SRC_URI[md5sum] = "f3b44a151dbe7046462b9caaa9847ca6" +SRC_URI[sha256sum] = "c48e1269443a6a8e8337e328b21b03e4e50248f607eed83fbb27eb0d833d6aa4" SRC_URI[gdb.md5sum] = "a9836707337e5f7bf76a009a8904f470" SRC_URI[gdb.sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36"