From patchwork Wed May 9 20:24:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135369 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp185887lji; Wed, 9 May 2018 13:24:33 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoBWHZB7DLC2JWGyYr3csIZu/fMJpXMx4DNGMdg7MTc/FGqQuBjM1kHcUcGmccrqQoafY69 X-Received: by 2002:a17:902:564:: with SMTP id 91-v6mr46280939plf.63.1525897473102; Wed, 09 May 2018 13:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897473; cv=none; d=google.com; s=arc-20160816; b=GpksacHD439N55jHujv22VRJIcTxx8ugXqBtXI6Bxn2tPbTTFNT2g7sxTgoVqXr7Pi JZ2ohwJuejnDmCqm15KVuJwTkJ7oOQ4BOqNsROrsGp8hQfke9B9i7MH/1mmLc5VnYXvQ Ko121q8xExOoHVhow/m5YVqAZoxHoscpw1aQ0/TdVUcAZp+y7lf5R9HbbrHeeDwmfaLb PZc04q3DrMDEYEAhIwDQPZBQsCZKhsRhPE2I9pUMmkWxLwGyzXdwgxnwkfz2H6iBJnY7 sv1N3p0DATdY32Yt2YEVz8Cf6ofS57/PmU90cAhPQDEVdfEWeHz/UMcCOw8gAjKEJajo WFJg== 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=KGATNvjwwl0h3GHQ0p3tDibeJcO5neR3Fo+AXSnPlA8=; b=EyoUeYkj8eRYUjOjGEarkzNx3RkSxwsPtakG9ZQ0BAea58H3xJTZXRTNILTYMCR/lZ JzZUUldAN6cd1MXdAKk7YR+LEkln1XYCNuh81Pt9hn6KFqSHG23+Z12wJtGnwmQ/Qw9h U+vqKacqDMI6C9+OduAQZR88RGtQPaao3eqd1t7ueFl2ddtp6DX9MoQ8drLOCZLnOgP2 llD4b37KbBloebLp2ZZW7prhZFwOIPtdy3+SSWODrjnQxylUh11dKFju94LMxfZ28Jml f0ui3sspo8ATr4XCoeVQIDLdIjPhKtTh1pU1YxTl+jZq6BkqGHTReD9vCAOmaZHMIJ55 e7mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pVHY4B4Z; 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 l1-v6si910520pld.493.2018.05.09.13.24.32; Wed, 09 May 2018 13:24:33 -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=pVHY4B4Z; 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 AB6B275082; Wed, 9 May 2018 20:24:26 +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 053F975082 for ; Wed, 9 May 2018 20:24:25 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id a22so12081704pfn.6 for ; Wed, 09 May 2018 13:24: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; bh=/QfBBneGn71npxKpBC8dFk7/MldPV31lAoDx1mt9gxQ=; b=pVHY4B4ZIZSgzY77au83PCeq78AYMIudL7D96PjgtBe7zRPx+kVpBrC3fy5+lv74dV Y5Y4so1PVdW2lxkrBUKIDA9GKo4K2/y0vErd0H1iGA6VNpFw7XuiBGQIZOgWq40RywIW hpDxrDIUJ2p//m9bc6nrgYHS9dlTV2gYyerPSXUrf6ak9NWMeB4dpqsm0VATFw3GK57E y6kAtvaag662Qh6H/7cyZ6EayYyDiAx+j1Xp5tjDXCedVtz4HtTWbizt0m9Jjm4MEjov FL01aie491dqZ4fe7VKFdpvtVBbu6AbDfQu/QC97S7L3SzTmiKqqVDQk+91U66Tf0iT1 VOtA== 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=/QfBBneGn71npxKpBC8dFk7/MldPV31lAoDx1mt9gxQ=; b=XWi2zArFdLkn6uJ9iHuWGtWr1ayTH87S+E0DMnb11jvCPmBXduO68uRy70IlfFcZ6/ KQ6fJw3yihe02v8SUiC0XgsdncUtC6inCbWhJUWSraKsJZkBFMVuJ8jGhjrxEePSlK6c Z+fmu2nOy5ad26IDYwMNRhi89FBK8CWNw8eD0ui5BCUF0qKzMbOZK1sQVOG7BnlfQvDy CGiX3ETOzJ8zyn+MWWQBDlTjau557Y1T/nco5BI7wOXXQhcxkQCwkBnYdkzCr22PfvLX BDZpTYoVeDzx1lQkVphM8HOBcwuWd6t6HOc/xBSxFcj6gCOEmdSi6w82Q+lM9aX5Tsd2 +vpQ== X-Gm-Message-State: ALQs6tCUEGiQOKbMY0St4r0DsMoGq/cNu46TWXZQ2hdK585q+xHvyvWF R6BRnzQ9/Edmb3mmBF87h/auhg== X-Received: by 2002:a63:3688:: with SMTP id d130-v6mr36788680pga.228.1525897466513; Wed, 09 May 2018 13:24:26 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:25 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:14 -0700 Message-Id: <20180509202422.22501-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 Subject: [OE-core] [PATCH 1/9] 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 Wed May 9 20:24:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135370 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp186153lji; Wed, 9 May 2018 13:24:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpXuGyITCNekcurCDQXacc/yXzjdD2jln9ArSTvsSapn8XPm5Li8qD1ncmGVFXBHXPTCsiQ X-Received: by 2002:a65:550d:: with SMTP id f13-v6mr6275065pgr.324.1525897493459; Wed, 09 May 2018 13:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897493; cv=none; d=google.com; s=arc-20160816; b=aLI4mDMAG8XFE8kz2uy7rqIGwnhEesOmmDJDriGjHc4wV/VvDFdwjYBrWXePwhORjz 0e1wtFBtbqqHVEktgfw4gNfIzRcujFRA0tNmhaopSB6m+84achnlHltRcGFl/G8cvP6C qmeZnE2HUtXFMu6ilHVgmUlaYw5IuYA3Hjk2Ive/0sqxgr6sS0tPap45PHiuRpfUDzkn R5P1jtgM4K03fsb07NGMXTo3qJ4L36rNxLPa+B83qKrRC5RpFL6tYiAv2NU55St7Zc+V z9oaCUwCIcaLfuIS6CT17r5q6J9qNfRNL6O1rlWjnRer076CFKMpdSVuLTlBUteT9VMJ S1Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=sDqf7r5NvUjRmxd7xLHFuMpKeNlDx+OwXmhNynKeYzQ=; b=H80QnCTp++Zo9B1ImrnwxBydNjRO9ktni9CDJbgmXd/wf834hmEBLkNWHq0+M7o1zV A4b7tJJ5OQQAUBmpZQiJDdBzJcAQ19iDk37yBC+puIoKt5zOOBqDwm68sagLyUs2nNgm hUh4MmmbSx3Mf52VPyV2FndssiwXxz2deCep2PkmHl1oyIKFWyf/YiapS9p8jJpHztrg Scfb28sYZqSrPsYsLFc4MJZXB3TjefZrepK9JK6aED55nlDI1Fst4XmEbBv2QglWtnBY ZEGRyeR3PHcC9m2Vw8dB8gSSCXXLom/2l2xUY37DdLJTAsKRdicEf+zrIgfwJsrE5J+6 0s5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WqEsDZE9; 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 l8-v6si7466182pgr.343.2018.05.09.13.24.53; Wed, 09 May 2018 13:24:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WqEsDZE9; 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 DD15275098; Wed, 9 May 2018 20:24:50 +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 D4FBF75089 for ; Wed, 9 May 2018 20:24:26 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id n9-v6so23165713pgq.5 for ; Wed, 09 May 2018 13:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=q+/KYeW1Dzw7V++BUU1meha0JXDuFNIF/nOxZY7iUNg=; b=WqEsDZE9t0FHHoNmYyaRs1L2sfEDMcsMD7eQXBKsWv3tz8q2Jl6yO7omkGAd2QE60f OtztWRA8ZBset2h6yQrBUGQeOWBiB5eRbCmfSwxYdFPNTIsqDR1wdbgznDc3edV/d1ai pw+GUUmbgkbEHSt+dlRRZNoO1nGFUpPbXpYKK8lggnbKUKSMtVjV40nh7WvUE25yiQ/H qEmgob037JfYi8vLIe9Ipu3G+WRyZ5GiVb0eK7ZhAaSraEshT4h+NyeU6/wcVqRfxhYQ 9mdugx0ctBmC14cQTF95mGKE+0ompcLHCibnY052VsFNy6N8TQcE+Nzlmr781vorqXax MY9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=q+/KYeW1Dzw7V++BUU1meha0JXDuFNIF/nOxZY7iUNg=; b=SFujtUS0UYQYYbXDuEd9LiwQvIKqTcO8bfgzw/8QEdPCymUdEPmzIWqJgzHxLO/CxL RJbhv54ynB2abKg+bGDgWw/OSYfopMxayAH9mMW/9OJ0z6KSqS+wVevuibIWx0Xd2/U+ mUIiN6iWcrbzmZu0TXRGXZ3hHF/60C9uQQNd075iXU1+nkS1e631paXdtd6zIaIZeEUu nEIDvH9FrQ2T48QuD81Q3TzCaKzF/xXxCpEBkq1c7dXveFvuBGQAtWt+rfklOhgiqmy7 M4UAJNT0aDhRgm9UGDMn2KGbf45TyKLrEH9CM+yhe/opfdXSLZ1xHLf1Y+IvcKhCG0bX eM4Q== X-Gm-Message-State: ALQs6tDGkbsf+Q2/6xYaCZmrtbmeJ9jN7s0PC5Us3yUQExhN7LYb2NC7 jNnykL8UasX1ip7tQD1Z4Ei4zg== X-Received: by 2002:a63:aa48:: with SMTP id x8-v6mr35620866pgo.398.1525897467363; Wed, 09 May 2018 13:24:27 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:26 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:15 -0700 Message-Id: <20180509202422.22501-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509202422.22501-1-raj.khem@gmail.com> References: <20180509202422.22501-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/9] alsa-tools: Update to 1.1.6 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org License-Update: FSF address updated in hdsploader/COPYING and ld10k1/COPYING.LIB Fix built with clang along the way Package python dependent tools into a separate package Signed-off-by: Khem Raj --- ...served-user-defined-literal-warnings.patch | 28 +++++++++++++ .../alsa/alsa-tools/autotools.patch | 42 ++++++++++++------- ...lsa-tools_1.1.5.bb => alsa-tools_1.1.6.bb} | 25 ++++++++--- 3 files changed, 75 insertions(+), 20 deletions(-) create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch rename meta/recipes-multimedia/alsa/{alsa-tools_1.1.5.bb => alsa-tools_1.1.6.bb} (62%) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch b/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch new file mode 100644 index 0000000000..2290915eab --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch @@ -0,0 +1,28 @@ +From 2e48e4045e1e951433da0ca4b1e49798eedde14f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 24 Apr 2018 12:21:18 -0700 +Subject: [PATCH] Fix clang -Wreserved-user-defined-literal warnings + +| us428control.cc:66:18: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] +| printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n"); +| ^ + +Upstream-Status: Submitted [https://patchwork.kernel.org/patch/10360805/] +Signed-off-by: Khem Raj +--- + us428control/us428control.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/us428control/us428control.cc b/us428control/us428control.cc +index e839bf4..8cb3c42 100644 +--- a/us428control/us428control.cc ++++ b/us428control/us428control.cc +@@ -63,7 +63,7 @@ static void usage(void) + { + printf("Tascam US-428 Control\n"); + printf("version %s\n", VERSION); +- printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n"); ++ printf("usage: " PROGNAME " [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n"); + printf("mode is one of (us224, us428, mixxx)\n"); + } + /* diff --git a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch index 2e74963c89..c85834a593 100644 --- a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch +++ b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch @@ -1,3 +1,8 @@ +From b9a65bf3ba5628cfe8cfd2d10ce2dcf11a606775 Mon Sep 17 00:00:00 2001 +From: Dongxiao Xu +Date: Thu, 14 Jul 2011 15:40:36 +0800 +Subject: [PATCH] alsa-tools: Fix recipe build error. + Add parameters to autoreconf to support cross compile. Remove some sub-components which needs further recipe support. @@ -5,22 +10,17 @@ Signed-off-by: Dongxiao Xu Upstream-Status: Inappropriate [configuration] -diff -ruN alsa-tools-1.0.24.1-orig//ld10k1/gitcompile alsa-tools-1.0.24.1/ld10k1/gitcompile ---- alsa-tools-1.0.24.1-orig//ld10k1/gitcompile 2011-07-06 11:27:40.227665002 +0800 -+++ alsa-tools-1.0.24.1/ld10k1/gitcompile 2011-07-14 13:26:18.017665004 +0800 -@@ -1,6 +1,6 @@ - #!/bin/bash - --autoreconf -fi || exit 1 -+autoreconf $ACLOCAL_FLAGS -fi || exit 1 - export CFLAGS='-O2 -Wall -pipe -g' - echo "CFLAGS=$CFLAGS" - echo "./configure $@" -diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile ---- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800 -+++ alsa-tools-1.0.24.1/Makefile 2011-07-14 15:08:08.877665009 +0800 +--- + Makefile | 4 ++-- + ld10k1/gitcompile | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index c32bf25..1119372 100644 +--- a/Makefile ++++ b/Makefile @@ -1,8 +1,8 @@ - VERSION = 1.1.5 + VERSION = 1.1.6 TOP = . -SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \ +SUBDIRS = as10k1 envy24control \ @@ -30,3 +30,15 @@ diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile hwmixvolume hdajackretask hda-verb hdajacksensetest all: +diff --git a/ld10k1/gitcompile b/ld10k1/gitcompile +index 99429ac..20005d9 100755 +--- a/ld10k1/gitcompile ++++ b/ld10k1/gitcompile +@@ -1,6 +1,6 @@ + #!/bin/bash + +-autoreconf -fi || exit 1 ++autoreconf $ACLOCAL_FLAGS -fi || exit 1 + export CFLAGS='-O2 -Wall -pipe -g' + echo "CFLAGS=$CFLAGS" + echo "./configure $@" diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb similarity index 62% rename from meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb rename to meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb index 1be43aa6e7..e065eec6b8 100644 --- a/meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb +++ b/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb @@ -5,17 +5,19 @@ SECTION = "console/utils" LICENSE = "GPLv2 & LGPLv2+" DEPENDS = "alsa-lib ncurses glib-2.0" -LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" +LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ + file://ld10k1/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \ + " SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \ file://autotools.patch \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://makefile_no_gtk.patch', d)} \ file://gitcompile_hdajacksensetest \ + file://0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch \ " -SRC_URI[md5sum] = "3afb92eb1b4f2edc8691498e57c3ec78" -SRC_URI[sha256sum] = "bc3c6567de835223ee7d69487b8c22fb395a2e8c613341b0c96e6a5f6a2bd534" +SRC_URI[md5sum] = "5ca8c9437ae779997cd62fb2815fef19" +SRC_URI[sha256sum] = "d69c4dc2fb641a974d9903e9eb78c94cb0c7ac6c45bae664f0c9d6c0a1593227" inherit autotools-brokensep pkgconfig @@ -37,4 +39,17 @@ do_compile_prepend () { cp ${WORKDIR}/gitcompile_hdajacksensetest ${S}/hdajacksensetest/gitcompile } -FILES_${PN} += "${datadir}/ld10k1" +do_install_append() { + sed -i -e "s|/usr/bin/python2|/usr/bin/env python2|g" ${D}${bindir}/hwmixvolume +} + +PACKAGES =+ "${PN}-hwmixvolume" + +FILES_${PN}-hwmixvolume = "${bindir}/hwmixvolume" + +FILES_${PN} += "${datadir}/ld10k1 \ + ${datadir}/icons/hicolor \ + " + +RDEPENDS_${PN}-hwmixvolume += "python" + From patchwork Wed May 9 20:24:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135371 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp186247lji; Wed, 9 May 2018 13:25:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqtyqTZWxfj2oI68W5tCdbDtdDNC+KBCHWrdnaoUJ3IXZaUUEK9sv1UCcZrnvdg1a4HUzWh X-Received: by 2002:a17:902:a512:: with SMTP id s18-v6mr46600085plq.223.1525897499858; Wed, 09 May 2018 13:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897499; cv=none; d=google.com; s=arc-20160816; b=zHVbw2mGrPoS4D1vaj0itzbFGjZhIhz5WJxdZmzF/CfZTiD9zt4Hk+EnXTTDDp+Lt6 UtVRyPmDBoMKOeykNWaRCpR3zGc7kU9AgRc01+YKqyS+RLoXgAnQZMY8MOkPFDjVFcXa Fcp2FShFnJtzqI9PnMSNRlkYToKe09xnW2mC8xfKLPC9XUr6vgTWzuGFcjxzY+JqRmdX gOkZoNQ6KeGH1qHp+w7F7zRDrRSsOaBFSVE+SO2rVf74/phenwV5e+qgSBYOsfnE9TgJ S56JiNplbQ2y4xWqgd/liLlJW8AWvKJ8M7N52vShQY9GalFEQ1x9YDMmfJzkt5+lmEvA M5+g== 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=GpFtdny7qTkTU/SFGYfTXhkyPVzK2il6SxuIJXvS3MQ=; b=S1fui/DIMQqIKyTSUhhT8YqZGdRLff1i5enUGVA7qeDa5DwT7n8a6FOYmGIiB30+LX flgvfAwsvuWBdOF3eu1ysvBCHxrH6MCfFx0yGaYgI8W6J/3ELwmiAZ4nYynyX8jU1XRw qTE1+xhSWZRbTb+iaexIvAkAGQO/npxyRHau1GAmjbjAG6Q1LDnBd8OBmY+5HdXVEbvH t0FQE/MqeYhZdtzXVfI0NoN7Ut9tFq5azgx3gzakeoq/suF6gFLCeri3R/h+Zo1WIlk8 WHxGYkLVax7SlUO1r+mm8Rso4o9jQOBmR79CCg2xJ9MPIGw/Vpilb0H1lzoyQVYIZgF2 BCrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=g7YxexsH; 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 e203si27864386pfh.86.2018.05.09.13.24.59; Wed, 09 May 2018 13:24:59 -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=g7YxexsH; 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 4050475085; Wed, 9 May 2018 20:24:55 +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 784D774FEB for ; Wed, 9 May 2018 20:24:27 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id x9so7021989pfm.2 for ; Wed, 09 May 2018 13:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ETYr9wqIkOUuDzejsJi57LWNOFES9Pddiv2vt5p62MY=; b=g7YxexsHhes9swXHSNrgJGgeF7MLM3D1M1AsXt1k3qCH86nzV9Nqc7wwXykV+gspCz dWe5QQropd234uKxafeledOWarF8NuxPnNukZQuI5K5Q2/gt+Ktou2YI27b1IvuuT85o qCLK859XrsmA88++vOAQFApTVaJvllYgRjgua+ZYaPWFZd/0a6GUeAKLw7e7d5WU2V93 wKF5cLvKxZv0KMJ0sEDtPz1S0hQfCBBHaGSltJPEMFsgxrBmKjFNKbJe5L0+FtMJLLPQ /X0c6zyAo/VjfdFhcH7MsukcQ3hHUNEdZC6F2krAPz1+c8RtBsntYjVOL9HiFvl1s2Pl jvRg== 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=ETYr9wqIkOUuDzejsJi57LWNOFES9Pddiv2vt5p62MY=; b=Aj0KMlUqjH71QMTiuObuHo3HZx3P+ifmxkkN/jwKnr9wCNRBbuNajRJAjAQ5qjJNmp crlO434aP1XXPxxmLR6uPjD1TcvvzSbMP4FwER8BpP6L2pis6iQa44CvWcJARbDqOqp6 1whRK0Y3eflMAS+9vcYu1tPtyQqNNiaEVJxevITQ0M2tldf/iYG7a+5AB1uLHTPqmnFi AK9vDoC0mGb1sc9XcddOCWH4aONyy/oLzzg8iykkfJ1BVEyljiMSQJICGxRlFzwhBHl1 v84CCwMEjcI2ZH92NoKr6KR499rC2cZuzg85Gxy4h8w4WjDsbkGdkYb0vXUKKNUTl6SN RRoA== X-Gm-Message-State: ALKqPwcz3d5dD7Q68ic7g5mxQMYdogH7ns8BY2A8KbvGv1QbF2iEimsi R4l0d69C3Avu3p1pJDol4V80nw== X-Received: by 2002:a63:74c:: with SMTP id 73-v6mr144009pgh.216.1525897468159; Wed, 09 May 2018 13:24:28 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:27 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:16 -0700 Message-Id: <20180509202422.22501-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509202422.22501-1-raj.khem@gmail.com> References: <20180509202422.22501-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 3/9] 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 fb6b4fb501..6364e9eafa 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb @@ -3,12 +3,13 @@ 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 \ + " 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 Wed May 9 20:24:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135372 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp186343lji; Wed, 9 May 2018 13:25:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpV3Y3jw7kU47RBp6dnPr0SIxFQKvfYcIM6trCg03vzCb52OCeVENNfj0VQwYkDfYdAnwnk X-Received: by 2002:a17:902:bcc4:: with SMTP id o4-v6mr34956343pls.308.1525897506075; Wed, 09 May 2018 13:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897506; cv=none; d=google.com; s=arc-20160816; b=UiJro7hOLNd2SIEcKxSCbusX2ScB9vOC1fJMdqlnEiojrFa7pSwZb7f9EQpHdglrEl t/hyOUFvuj5oStzz4RJKHO2MKvRAsHK9mblZlMIotjBf1hROFdSXZxBaWZ4eto1n0UiT M28oEMPIEWDLvUtV770OZRFAPoO3ssuM0qHvSCtZQQieoYiUvAEc1xNxpipbVw6cnSn/ gMcVJa0RjKTO9DEjBkuosYghEwBCfPtmkdnlNvtRCG8jF0FAbAdOZXCHKhJxzOdypIQd 0nXj7DEyWVw2QwDuDFs+jWDmk+2Hlod1Tb9BI96MheWtSsb3qfWyQnpewHWuyphA9DNo nrtQ== 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=kKd1vP5SRrwJtG6EEcXy9BcgJQvNSHCchSgF7wr3fJM=; b=VtzlMsVmFLA2qa+tuv+TTSqSEvS+suJZjJ8P3S4p8gxu//Jt+QbSXK6VmtOknkemfF NsfSZQxlrB2b079PDAsTVnYZeu03VK2f/nrL+00FfmgtE6myzA+DZC+wC0D0hsp8Gjqz zouKYj+Qio2d2xP9mRNsDtDHfguaDxqBUfCQq1OirzteAMsQ8Lcku2WTcZ+gqD7Hd36O n6sBX1Re6M+3YaMhatUNrMJ+iUckg26iJdtyHcN9ApYT1zOqB+Wrnylq3wOcNo7IrEVu W7F6DKKuhA1Nq9R2zTMc/FO9CmOTUSQLcOZhPhJu9LQfwgqaAAqG/dlORBaZPN8H/5HD pe/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=d3VkS9Qp; 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 w24-v6si18326181plq.254.2018.05.09.13.25.05; Wed, 09 May 2018 13:25:06 -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=d3VkS9Qp; 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 6F01F750B9; Wed, 9 May 2018 20:24:56 +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 AB4AC74F87 for ; Wed, 9 May 2018 20:24:28 +0000 (UTC) Received: by mail-pg0-f42.google.com with SMTP id z70-v6so2958544pgz.3 for ; Wed, 09 May 2018 13:24: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=NF3mWhAzBB2veH6p2wxBPJ11XKdiS2/WN3wPtiIxeJU=; b=d3VkS9QphIbbbm4EfcVIwxvr2koEqE66P7es4N9gwMujFpzgmuUV2YmrU7tuwGzC4W ummy8glgnr3TSIvrP6PlofQ8LnxbLsZm5livEpWe0Yxj+WSpLcrtRY+A/vXTxGZTksp5 xEbsl0hfAJ+STeABBGocXfYtLfWa/L7lYRaJK56nI2e5u2nvIovLgt9eP8qqFyfvg3rC Xp5LBm8Dj1JBmJkUBNFjN0F0J6O1v9OHrkBPjVyY297eIqbGCg7Y2eUDbv1uO1Mc3CRg EzgSRgc968c4TVwEEFzgEoF83DmlUpz50kuo+EBZUU+pcCYmJUFOcQwKK4Y0fYq8Voxd 03cw== 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=NF3mWhAzBB2veH6p2wxBPJ11XKdiS2/WN3wPtiIxeJU=; b=I7kg7oDi/5BpWWKi3mByzACV62zHADdrkGbHdZQJD6UX81rafNgNuWsXbJVuBazK52 0KNyx4+GBLRr+EhZ9sc9jm1umMC1nUXXYcWwGvT2gFxwwKoW0XlSUUpeUV+Vs5x1TscN lInnV7FxfGutRxCBv4xJRxKKAox6ISV9J38CznlaWOlDWci2j+h4Y2dDLrBBb2fWH8v7 ecxkSmTl996ezOJydSnOlT4Tw6AHeDmAY6tpvSBGUz/zFLHGKPzpenfSSlF97j0LFPpZ 0RYmchlTdRAjAgXaWq/dxjG1h5ymx3Is71xpWWHuF7Vjhnyp2x23vze0fCX96sr5No4G yd3Q== X-Gm-Message-State: ALQs6tDQGyDqX94/cg8odiO01LF2y9hI5TG73xIEU1bEFX+q9IUlI+6e NMMiXCuuub46bnQarjMAKircYA== X-Received: by 2002:a63:2b46:: with SMTP id r67-v6mr36124036pgr.89.1525897469018; Wed, 09 May 2018 13:24:29 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:28 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:17 -0700 Message-Id: <20180509202422.22501-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509202422.22501-1-raj.khem@gmail.com> References: <20180509202422.22501-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH V2 4/9] 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 --- Changes since v1: - Fix build with gcc < 8 too .../files/0001-Disable-gcc8-warnings.patch | 130 ++++++++++++++++++ ...tead-of-memcpy-on-overlapping-region.patch | 31 +++++ meta/recipes-extended/mdadm/mdadm_4.0.bb | 2 + 3 files changed, 163 insertions(+) create mode 100644 meta/recipes-extended/mdadm/files/0001-Disable-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-gcc8-warnings.patch b/meta/recipes-extended/mdadm/files/0001-Disable-gcc8-warnings.patch new file mode 100644 index 0000000000..8cf52406c4 --- /dev/null +++ b/meta/recipes-extended/mdadm/files/0001-Disable-gcc8-warnings.patch @@ -0,0 +1,130 @@ +From b83218de2623c0bbe9af355a81ae8385d7f30cfc Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 9 May 2018 12:56:41 -0700 +Subject: [PATCH] Disable gcc8 warnings + +This is needed until +https://bugzilla.redhat.com/show_bug.cgi?id=1553958 + +Upstream-Status: Inappropriate [Workaround] + +Signed-off-by: Khem Raj + +--- + Monitor.c | 4 +++- + mdopen.c | 4 ++++ + super-ddf.c | 4 ++++ + super-intel.c | 6 ++++++ + super1.c | 5 +++++ + 5 files changed, 22 insertions(+), 1 deletion(-) + +diff --git a/Monitor.c b/Monitor.c +index 802a9d9..23b246b 100644 +--- a/Monitor.c ++++ b/Monitor.c +@@ -441,7 +441,8 @@ static void alert(char *event, char *dev, char *disc, struct alert_info *info) + event, dev); + } + } +- ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wformat-truncation" + static int check_array(struct state *st, struct mdstat_ent *mdstat, + int test, struct alert_info *ainfo, + int increments, char *prefer) +@@ -683,6 +684,7 @@ static int check_array(struct state *st, struct mdstat_ent *mdstat, + return 1; + return 0; + } ++#pragma GCC diagnostic pop + + static int add_new_arrays(struct mdstat_ent *mdstat, struct state **statelist, + int test, struct alert_info *info) +diff --git a/mdopen.c b/mdopen.c +index 685ca32..406aba4 100644 +--- a/mdopen.c ++++ b/mdopen.c +@@ -26,6 +26,9 @@ + #include "md_p.h" + #include + ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wformat-truncation" ++ + void make_parts(char *dev, int cnt) + { + /* make 'cnt' partition devices for 'dev' +@@ -99,6 +102,7 @@ void make_parts(char *dev, int cnt) + } + free(name); + } ++#pragma GCC diagnostic pop + + /* + * We need a new md device to assemble/build/create an array. +diff --git a/super-ddf.c b/super-ddf.c +index 1707ad1..e08d289 100644 +--- a/super-ddf.c ++++ b/super-ddf.c +@@ -2846,6 +2846,9 @@ static void _set_config_size(struct phys_disk_entry *pde, const struct dl *dl) + (unsigned long long)cfs, (unsigned long long)(dl->size-cfs)); + } + ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wformat-overflow" ++ + /* Add a device to a container, either while creating it or while + * expanding a pre-existing container + */ +@@ -2981,6 +2984,7 @@ static int add_to_super_ddf(struct supertype *st, + + return 0; + } ++#pragma GCC diagnostic pop + + static int remove_from_super_ddf(struct supertype *st, mdu_disk_info_t *dk) + { +diff --git a/super-intel.c b/super-intel.c +index 00a2925..44fbead 100644 +--- a/super-intel.c ++++ b/super-intel.c +@@ -298,6 +298,11 @@ struct md_list { + }; + + #define pr_vrb(fmt, arg...) (void) (verbose && pr_err(fmt, ##arg)) ++#pragma GCC diagnostic push ++# if __GNUC__ == 8 ++# pragma GCC diagnostic ignored "-Wstringop-truncation" ++# endif ++#pragma GCC diagnostic ignored "-Wformat-truncation" + + static __u8 migr_type(struct imsm_dev *dev) + { +@@ -11618,3 +11623,4 @@ struct superswitch super_imsm = { + .get_bad_blocks = imsm_get_badblocks, + #endif /* MDASSEMBLE */ + }; ++#pragma GCC diagnostic pop +diff --git a/super1.c b/super1.c +index 87a74cb..71c515f 100644 +--- a/super1.c ++++ b/super1.c +@@ -1091,6 +1091,10 @@ static struct mdinfo *container_content1(struct supertype *st, char *subarray) + return info; + } + ++#pragma GCC diagnostic push ++# if __GNUC__ == 8 ++# pragma GCC diagnostic ignored "-Wstringop-truncation" ++#endif + static int update_super1(struct supertype *st, struct mdinfo *info, + char *update, + char *devname, int verbose, +@@ -1473,6 +1477,7 @@ static int init_super1(struct supertype *st, mdu_array_info_t *info, + + return 1; + } ++#pragma GCC diagnostic pop + + struct devinfo { + int fd; 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..226b974352 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-use-memmove-instead-of-memcpy-on-overlapping-region.patch \ + file://0001-Disable-gcc8-warnings.patch \ " SRC_URI[md5sum] = "2cb4feffea9167ba71b5f346a0c0a40d" SRC_URI[sha256sum] = "1d6ae7f24ced3a0fa7b5613b32f4a589bb4881e3946a5a2c3724056254ada3a9" From patchwork Wed May 9 20:24:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135373 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp186419lji; Wed, 9 May 2018 13:25:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrbrBULj97hqzGLFbL5k4mbt512alYo5bHa8lnx0K02kldpCngnpTymvG2QNXux9QbqzCym X-Received: by 2002:a17:902:74c6:: with SMTP id f6-v6mr32885518plt.7.1525897513063; Wed, 09 May 2018 13:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897513; cv=none; d=google.com; s=arc-20160816; b=HAiNI+/PLKUweB84TZflV40AiCbTClGNCqon/9M9+yvO+FzPTKMzIE2T1LED22w36x r5A/Pmegl7HM8gX7FSt0L1GmGY8+M3KGahxQfi0glL0/G10/By2vDn8ipO5j5zHtix5f joPUdreApj9ExHnqTAEcKEyX5WiqAjcrRJcJYFe+S4wfUne2O7OTBYUtvZXam9IHez69 NQ2rAADL7PS57tap0NIzYt3g7Hn/bx8I+5OlX6klVUKQ7I4sI62r52Bt+tgj3Djxbiwg yzVX+g/i5X2TE7Yc4btrUwIXeQP1f2gTv9L7dL4GujE2d1P1Ga/UWEHn9U2IsoZX9NrN 5vbg== 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=mMhHuZ3yFwblG7Y1mukw6c79IaMqWyH1xXJ5GzoJGAM=; b=j30blLhBRwANN6GO8CyFM1ZNuyctArjC9PXg0/JpOIGS+mmkJkTIOZP2PSZ5fYamZA 3Vup+DDcUy7qOfR39G9nzeB5bAeziowsITP7YVMAvhp3AI9bipQCc90A855NUkU1zpM+ nnZYmgFgetjCfp5G0H5xsACqA1Mrhjhsqxgd6LTP+6TKVU/ZWYJDs9UhJUnh2/4uHQid GELwBdH9/0oQJ+rCxaFoLs0642zpOr6d8toUxYWSAnlJbyuAtNsWd5GFXnCkaQNGgJ5K 8ep09oEgzzqtPnl473nI/a8frtwktVF66gNdmVvzRLor2rHVmCr45RCSIDIWCTGU/IOr t2mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sYaVeeQt; 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 v12-v6si26458202plo.264.2018.05.09.13.25.12; Wed, 09 May 2018 13:25:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sYaVeeQt; 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 858C7750BE; Wed, 9 May 2018 20:24:57 +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 847D774F87 for ; Wed, 9 May 2018 20:24:29 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id v63so26168146pfk.8 for ; Wed, 09 May 2018 13:24: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=T+mMlYxYD1kKF/i4P55gjN6FSfv4fNg2l6VHdAU3qU0=; b=sYaVeeQtGgIFAGWOsk0e+wrR9iaRO/f8rASALpbkPdKDMShbhePYGuQte8af6q/xVW H0SSaDyeHLxQghjtQ2VhJnHqfmZ+miy4ruzY47qpgRASMXMJ0vsCbHXx+H0vCgzUNZMk N/r8M/Xrl8MIfSsECYMgTeok11rlv/BA7hMZKjCXzoupY2cNqPEhx72l+52LEevTril2 iPSyl17veL9lR4eoZGcFji+PhWiMaAyPuwKYRPdIRMmwqlYfL/oXYAOMJDpI2SOs03a7 vmqveIn1KMW9bl2Nx7f90kO2QxbCa13zGtxD3ZSn6SsC7rW46DSEanNTiSOaxeY3GLCM FKOg== 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=T+mMlYxYD1kKF/i4P55gjN6FSfv4fNg2l6VHdAU3qU0=; b=KMFuZZQG2Hft4E2RxyX2o9JH1f7c+kOyJpFadBrwUz+LBB/wEOzTEOcPEix77hLEwf NgH0An3ie1tbLmPn8RnVNOPrgr9gWuRjr3e88Vw9nXNQyYMyPOHZaSkmHILbbx169tyM ODGrtNgXN/BquknUO9Sl7l1DVLrxJcRKC0/kJDRm9Q2q7bqhHmv56k/WIG5KvAfNBb1K bZ1ItTmYotQqPKpDxsiVwWdgRbsvalkeeE/UN9v56L/+R2rIpaMkV5uo/toKxlPikP3n /Meo1fBSAQvazW9w/zTbq2jJeu94/gmOFSIq9ZFdmkfj+99rI8IXPPqmXxdYj8looCof Z18g== X-Gm-Message-State: ALQs6tD9FI3axrxZ/jUPDeFM1RKjU5K5xMYJDEuICAk6MN9x5QZG0H1q TAeSh83AYP1lcZiYbFFLkioRNw== X-Received: by 2002:a65:5088:: with SMTP id r8-v6mr31675855pgp.80.1525897469850; Wed, 09 May 2018 13:24:29 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:29 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:18 -0700 Message-Id: <20180509202422.22501-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509202422.22501-1-raj.khem@gmail.com> References: <20180509202422.22501-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 5/9] Disable using GST_GL if gst does not enable it X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../webkitgtk/detect-gstreamer-gl.patch | 20 +++++++++++++++++++ meta/recipes-sato/webkit/webkitgtk_2.20.1.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch b/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch new file mode 100644 index 0000000000..57ae48c141 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch @@ -0,0 +1,20 @@ +From: Alberto Garcia +Subject: Disable USE_GSTREAMER_GL is the package is not found +Forwarded: no +Upstream-Status: Pending +Signed-off-by: Khem Raj + +Index: webkitgtk/Source/cmake/GStreamerChecks.cmake +=================================================================== +--- webkitgtk.orig/Source/cmake/GStreamerChecks.cmake ++++ webkitgtk/Source/cmake/GStreamerChecks.cmake +@@ -43,7 +43,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO) + message(FATAL_ERROR "GStreamer 1.10 is needed for USE_GSTREAMER_GL.") + else () + if (NOT PC_GSTREAMER_GL_FOUND) +- message(FATAL_ERROR "GStreamerGL is needed for USE_GSTREAMER_GL.") ++ set(USE_GSTREAMER_GL OFF) ++ message(STATUS "GStreamerGL is needed for USE_GSTREAMER_GL.") + endif () + endif () + endif () diff --git a/meta/recipes-sato/webkit/webkitgtk_2.20.1.bb b/meta/recipes-sato/webkit/webkitgtk_2.20.1.bb index 1e5def090c..360ab8e69b 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.20.1.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.20.1.bb @@ -20,6 +20,7 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ file://detect-atomics-during-configure.patch \ file://0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch \ file://0001-Fix-build-with-musl.patch \ + file://detect-gstreamer-gl.patch \ " SRC_URI[md5sum] = "0cd9b9ae1f48c04de5314f77806eceb4" From patchwork Wed May 9 20:24:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135374 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp186551lji; Wed, 9 May 2018 13:25:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZprso2Ahxy5yBzctaeDRWmIpVK+BOnV+OsV+QkQJWVl/9oGSXJ9NT78TZ51V+cbmVaN5qE9 X-Received: by 2002:a17:902:b908:: with SMTP id bf8-v6mr46068222plb.358.1525897519900; Wed, 09 May 2018 13:25:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897519; cv=none; d=google.com; s=arc-20160816; b=PE5vR7AMizCt/rwMhbFXLsX4x8DAvaxttxFR1A4AslizljWKzJJBP2Mp96TXmoPT9K uOcbq6JRczB5aeFdUrFHGGoAZNVIXiyp0izSf6AMP7a/s0LXEl2lcuZiLZdjIB57qMUY eN2bInpzP78lixbdgNHJCDsQ2mbzlHHEskCE3RYGB3ZbDkkDQeTZ88zeQiu3+v3S1FXp Fi4iHr/SvVatP4jrLQ4E1dax0Q7LuGgkjsMjKnzB93Y5Rb/fcNpfc5YcppxFrwozRWRM +hl4iVUnl4mNFBypCUwY6q05JyV9rGrOOV1h6kVElwHSRJvHbDg/qLI2G/VZLUAfZZD8 RXzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=mtrl6lxYeENOURhDkOT7sG2Or/4TDH29uzr4gdLcWoo=; b=igbB5XX6LyzABvAznWjKfeG3YQKWhcx4LVsR9yZwdquPAdU6OStaAsrPqI7SnM9Nsf l63Lk8tsN7SOu36CktzNx1CGpznaQmvzs+JTr3Xoia7YXpNWh5Sa4cpvyRb7Z1EgPSUq FQJCDmQneA3ni4xqckVBaVEVIYVLJvTzs3tMeor1Z7cs8P0evcqFRUza9e1AnRh5bAOt TFd75CAMOuYQQhsvFN28xFdHi1o2XhXZuNohuVkH/GzgjPfnaaxTmC9BP/LFoSrLzu0z vpJ1PocGcQxU2HrGAZXEdk6a5aYvKOjT/yIKdhp1TqmXOJjSig0Z70FYpJ6SnyJh6A9A al/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=M7Xkotwd; 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 a71-v6si22070531pge.159.2018.05.09.13.25.19; Wed, 09 May 2018 13:25: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=M7Xkotwd; 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 A2ED2750CA; Wed, 9 May 2018 20:24:58 +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 4786074FEB for ; Wed, 9 May 2018 20:24:29 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id w3-v6so2632403pgv.12 for ; Wed, 09 May 2018 13:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pg1QRVBeZFPGtAElXvlDhOlUqrLg6jOJ8lkwuzcIgXY=; b=M7XkotwdPbm0o7Bu4EZMeWopuEFqhqg7pL7cjP27+H8qzZ9i1Kfc1nmjyxP+kKFc5E PBJnp/ax76hYn+wZuoVi7cGWAJOYnybScjr6Qm/WzPnZIzodX5hZ4w317zJx2lTkyxoh fuzaWZxZyBOZwpYM9X8XhZ3M1uVYExPOiiRJk7in8LlkctciCewBVY5eDAE6LeXadEcu ar8e3B0zODizJGE+CbNlVoTAb5QQ1RfDlSFl/Ov0tgWZ3GRqGMZks85GaVzkvn28SrSx 8AViZTQpUTUdZH3J2ROvE6+pxGEpyIM78M5iH4oLS2IYxqU69MkbBpv8Ow5a2UcF+hQV 5YwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=pg1QRVBeZFPGtAElXvlDhOlUqrLg6jOJ8lkwuzcIgXY=; b=fQKd0JcT0rZ6SyDkskHdKILarkV4t8bqXif9nwwT/cj7fjyZkWrk5XEZKf5XJwfj0T qmHbTZ+kzckaenmHRQfppDMasUIFwFj1g18gdF0xM/EdEZ35i+3fYGeMPEk7EG6x0MtZ UH00jfbF4T21R5/zugWMcUyMtw7Jarq1vNafjKJMptdAg9in55O5f12XB25G+k5pCzDO 3piZf9FVKP1yJZB4BtrjiGbU+wQHfUmn1qN8+HPbc1+9ZlPw4rqK95IINWQbvSI8fR26 +Dj6iCqAQwIsLv6QrdJmlp++3JjB3jiy7CvyQhAPKSRZbZgIuhwR51+B4D7dzvzNIbeT /EVg== X-Gm-Message-State: ALQs6tC1mp0B20UZ6la+0W6C917iQhGCEHxaxNMxAwy0W4lNrW3fU3pW 4pyw8Bs+sW2JsJLUXOjhcHvPRg== X-Received: by 2002:a63:2bc4:: with SMTP id r187-v6mr36204347pgr.231.1525897470657; Wed, 09 May 2018 13:24:30 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:30 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:19 -0700 Message-Id: <20180509202422.22501-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509202422.22501-1-raj.khem@gmail.com> References: <20180509202422.22501-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 6/9] strace: Upgrade to 4.22 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org License-Update: Update Copyright years Signed-off-by: Khem Raj --- .../strace/disable-git-version-gen.patch | 12 +++++----- ...st-test-for-m32-mx32-compile-support.patch | 22 +++++++++---------- .../strace/{strace_4.20.bb => strace_4.22.bb} | 11 ++++++---- 3 files changed, 23 insertions(+), 22 deletions(-) rename meta/recipes-devtools/strace/{strace_4.20.bb => strace_4.22.bb} (85%) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch index 76daf3a3b7..47b1139c53 100644 --- a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch +++ b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch @@ -5,16 +5,16 @@ Upstream-Status: Inappropriate [configuration] Signed-off-by: Andre McCurdy -diff --git a/configure.ac b/configure.ac -index 7004bd3..b2b03c6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -31,7 +31,7 @@ +Index: strace-4.22/configure.ac +=================================================================== +--- strace-4.22.orig/configure.ac ++++ strace-4.22/configure.ac +@@ -32,7 +32,7 @@ AC_PREREQ(2.57) AC_INIT([strace], - m4_esyscmd([./git-version-gen .tarball-version]), + m4_esyscmd_s([cat .tarball-version]), - [strace-devel@lists.sourceforge.net], + [strace-devel@lists.strace.io], [strace], [https://strace.io]) diff --git a/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch b/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch index 756cd8bb82..3d4913d68e 100644 --- a/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch +++ b/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch @@ -22,25 +22,23 @@ Signed-off-by: Andre McCurdy m4/mpers.m4 | 2 ++ 1 file changed, 2 insertions(+) -diff --git a/m4/mpers.m4 b/m4/mpers.m4 -index 1fe8a8e..d72c717 100644 ---- a/m4/mpers.m4 -+++ b/m4/mpers.m4 -@@ -53,12 +53,14 @@ case "$arch" in - CFLAGS="$CFLAGS CFLAG $IFLAG" - AC_CACHE_CHECK([for CFLAG compile support], [st_cv_cc], +Index: strace-4.22/m4/mpers.m4 +=================================================================== +--- strace-4.22.orig/m4/mpers.m4 ++++ strace-4.22/m4/mpers.m4 +@@ -108,6 +108,7 @@ case "$arch" in + CFLAGS="$CFLAGS MPERS_CFLAGS $IFLAG" + AC_CACHE_CHECK([for mpers_name personality compile support], [st_cv_cc], [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include + #include int main(){return 0;}]])], [st_cv_cc=yes], [st_cv_cc=no])]) - if test $st_cv_cc = yes; then - AC_CACHE_CHECK([for CFLAG runtime support], [st_cv_runtime], +@@ -115,6 +116,7 @@ case "$arch" in + AC_CACHE_CHECK([for mpers_name personality runtime support], + [st_cv_runtime], [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + #include int main(){return 0;}]])], [st_cv_runtime=yes], [st_cv_runtime=no], --- -1.9.1 - diff --git a/meta/recipes-devtools/strace/strace_4.20.bb b/meta/recipes-devtools/strace/strace_4.22.bb similarity index 85% rename from meta/recipes-devtools/strace/strace_4.20.bb rename to meta/recipes-devtools/strace/strace_4.22.bb index 869c12f65a..196c9d8587 100644 --- a/meta/recipes-devtools/strace/strace_4.20.bb +++ b/meta/recipes-devtools/strace/strace_4.22.bb @@ -2,7 +2,7 @@ SUMMARY = "System call tracing tool" HOMEPAGE = "http://strace.io" SECTION = "console/utils" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=f132b4d2adfccc63da4139a609367711" +LIC_FILES_CHKSUM = "file://COPYING;md5=6ddb91734b9c705f3e87362e97e5f64b" SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://disable-git-version-gen.patch \ @@ -15,12 +15,15 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \ file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \ " - -SRC_URI[md5sum] = "f2271ab0fac49ebee9cbd7f3469227cb" -SRC_URI[sha256sum] = "5bf3148dd17306a42566f7da17368fdd781afa147db05ea63a4ca2b50f58c523" +SRC_URI[md5sum] = "7a2a7d7715da6e6834bc65bd09bace1c" +SRC_URI[sha256sum] = "068cd09264c95e4d591bbcd3ea08f99a693ed8663cd5169b0fdad72eb5bdb39d" inherit autotools ptest bluetooth +EXTRA_OECONF += "--enable-mpers=no" + +CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext" + RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed" PACKAGECONFIG_class-target ??= "\ From patchwork Wed May 9 20:24:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135375 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp186656lji; Wed, 9 May 2018 13:25:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrbtMvT55yxu4+MU7zfbq5Wh+NDROqIeTTyaYjGzdwIH8viT3zwstW441OHELSrERlNFN/I X-Received: by 2002:a17:902:4003:: with SMTP id b3-v6mr45642258pld.15.1525897526608; Wed, 09 May 2018 13:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897526; cv=none; d=google.com; s=arc-20160816; b=OHyZ1QCCWmxFixXx037AUuMtNpKcU7NDdhHYX/a87X3SLuyqz/XSGGTQL2xQc9MI0O 5rAO7xZ6YqiVLyBYchylVr7zvIFWEKC2aAfEW18thejFb8C0JxUjl9PSsGzeUb+/XGrt Zt3q9/LlfOiwrqYxRC0yeeZInzaooik9JuxKrFpy5gZtg518fi+OJqU3RTULFLrn5A7P 3lRknnu8KWP+DMQVdorg2cSNR3D2WBqiBr0TW8A+JkowPwaU1KyuSXegaoWDolskQMJ9 yjSbBwqpGtVpoMLwJvbFmvDJS9GL/m3nJU33jRIoQ3K2zMTphxHWolefNl3+KUGVje3u QZBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=tG4ccj0IUM+5O431A3ag7hxzaub2G7qHIuwT/MgRw/w=; b=Pm0dJ9jhBDO+lrnXv52mzbXZIao5mR9Hq77a2gNKEh+ba/tJv94IXoweWrFCAbb4iY bpR7MwQCm2vyeowUykMuUNZmzYdz8B5+SbtghcKww9LjYoWlYd4XbNvzEhgGbcRSJM2P 3MMkUC75R9BTdt7TmoRrceUSqDg9HKSIs+dPrQqov/3isN5N+9BllTufBA4YpmFMrW7l Yi4sHrX7dZIcxJPtq/N8CdFwgxombXxX+cvfCdzAhcKq5LR222dFAZ2xxZQ2YdEke1ZD cPJ+yz3qj37W+OJqG73MzVOh4UPZNpMUA57QQC1rsbfzJEqCIoQV728bFr0WTTqDHMiY 0iYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TYCzVKSq; 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 h15-v6si921491plk.485.2018.05.09.13.25.26; Wed, 09 May 2018 13:25:26 -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=TYCzVKSq; 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 BD194750D1; Wed, 9 May 2018 20:24:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by mail.openembedded.org (Postfix) with ESMTP id B6D6A74F96 for ; Wed, 9 May 2018 20:24:31 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id e6-v6so4963265plt.11 for ; Wed, 09 May 2018 13:24: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 :mime-version:content-transfer-encoding; bh=VuJvTo1q/vmsB4mFkKUWb1CjzYBUmPwpgieZq32ALXQ=; b=TYCzVKSqt67J/+Wcds1RXwoqc/lQFBH/sZ6X+Mc1YsWvY+Y8fO+TJwlnqTlUfMR7AZ Vex/KhZKE6fDOgHrGn7lhy6NtfEJewF+2R6VXcbiv7QCY3FzqZ08TYVPiigkR1CTI413 dm9hUoWrfxjrWkICzXJBD09rCBbzi52zAx9U2i7APT8rugV4/JCNFbXGGjjtZ131R8vt 7r2lt9WvEx8YboajJkNiKUGddzR+zblOSWLCQHEbKz3OhgKZ+5cscvf9i+uES+s5M3Hd XAUTgHlI6X348EKWmw+LoS7JWryMN6gvD1dIFfYgC73498PCIXgvgoQWmf6ZytUc2Np7 UgOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VuJvTo1q/vmsB4mFkKUWb1CjzYBUmPwpgieZq32ALXQ=; b=cnzasnRsNNkW/YGbP4UsQtPDtM/xBSKtkI4eH0oodLZVqtfcN330U6YX7b/iPYv31x 47NNfh2sUcfW67yDh7E6Jk+9PUtKZhZ3R3l/GoEqDTVirHN+RmiUVzFv+cloq7SA+/4P AEIZXZAwLX1pJlIsfmhyIA6yY5gHhdOno68uW+ZF5IovWILWe6OC02ms0X1vZPWHH9vc NYzEwuer4H4LdFChGZTt2vRpNiwQ/v2bwRptsALlM48LI9N9h96VYiP0HW4sTxGiQvNy DwXXAsK1GeSV0tGUbO6vGtuVFyqwDrKEfalZvAm5HhsVExQNWyI4wl4aSKOOx0iCsuBt l9/Q== X-Gm-Message-State: ALQs6tB/wvv0Hd3uViPUUQvOsdHwNGRUJ+v/h+mJVZNV24kE1ucIeIZD sIon3TjMCsPoeEjmcripZdsqCA== X-Received: by 2002:a17:902:7c95:: with SMTP id y21-v6mr46595048pll.76.1525897471939; Wed, 09 May 2018 13:24:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:30 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:20 -0700 Message-Id: <20180509202422.22501-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509202422.22501-1-raj.khem@gmail.com> References: <20180509202422.22501-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 7/9] gdb: Upgrade to 8.1 release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../gdb/{gdb-8.0.1.inc => gdb-8.1.inc} | 5 +- ...ian_8.0.1.bb => gdb-cross-canadian_8.1.bb} | 0 .../{gdb-cross_8.0.1.bb => gdb-cross_8.1.bb} | 0 .../0001-include-sys-types.h-for-mode_t.patch | 12 +- ...port-for-Renesas-SH-sh4-architecture.patch | 153 ++++++++---------- ...0012-Unbreak-GDBserver-build-for-x32.patch | 101 ------------ .../gdb/{gdb_8.0.1.bb => gdb_8.1.bb} | 0 8 files changed, 80 insertions(+), 193 deletions(-) rename meta/recipes-devtools/gdb/{gdb-8.0.1.inc => gdb-8.1.inc} (85%) rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.0.1.bb => gdb-cross-canadian_8.1.bb} (100%) rename meta/recipes-devtools/gdb/{gdb-cross_8.0.1.bb => gdb-cross_8.1.bb} (100%) delete mode 100644 meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch rename meta/recipes-devtools/gdb/{gdb_8.0.1.bb => gdb_8.1.bb} (100%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 6dd0224812..5271b41860 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -25,7 +25,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "8.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.30%" -GDBVERSION ?= "8.0%" +GDBVERSION ?= "8.1%" GLIBCVERSION ?= "2.27%" LINUXLIBCVERSION ?= "4.15%" QEMUVERSION ?= "2.12%" diff --git a/meta/recipes-devtools/gdb/gdb-8.0.1.inc b/meta/recipes-devtools/gdb/gdb-8.1.inc similarity index 85% rename from meta/recipes-devtools/gdb/gdb-8.0.1.inc rename to meta/recipes-devtools/gdb/gdb-8.1.inc index 4a5299b73f..4d9faa2d4b 100644 --- a/meta/recipes-devtools/gdb/gdb-8.0.1.inc +++ b/meta/recipes-devtools/gdb/gdb-8.1.inc @@ -16,9 +16,8 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \ file://0009-Change-order-of-CFLAGS.patch \ file://0010-resolve-restrict-keyword-conflict.patch \ file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \ - file://0012-Unbreak-GDBserver-build-for-x32.patch \ file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \ " -SRC_URI[md5sum] = "48cac527e6f3018b865ece021e9723ac" -SRC_URI[sha256sum] = "3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3" +SRC_URI[md5sum] = "f46487561f9a16916a8102316f7fd105" +SRC_URI[sha256sum] = "af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34" diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_8.0.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb-cross-canadian_8.0.1.bb rename to meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb diff --git a/meta/recipes-devtools/gdb/gdb-cross_8.0.1.bb b/meta/recipes-devtools/gdb/gdb-cross_8.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb-cross_8.0.1.bb rename to meta/recipes-devtools/gdb/gdb-cross_8.1.bb diff --git a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch index 4f06d46d70..5d19380e30 100644 --- a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch +++ b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch @@ -1,7 +1,7 @@ -From 91da0458b333249eb9c2f4c1f1e53fa4bc085cc9 Mon Sep 17 00:00:00 2001 +From ff37f9360ab6f841f28ced9f23f66542febcc0f6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 19 Jan 2016 18:18:52 -0800 -Subject: [PATCH 01/10] include sys/types.h for mode_t +Subject: [PATCH 01/11] include sys/types.h for mode_t mode_t is used in target.h, so we need to include sys/types.h to get the defintion @@ -14,17 +14,17 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+) diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h -index 3cc2bc4bab..e6b19b06b9 100644 +index 25accd2207..7f6bca8aa4 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h -@@ -28,6 +28,7 @@ - #include "target/waitstatus.h" +@@ -29,6 +29,7 @@ #include "mem-break.h" #include "btrace-common.h" + #include +#include struct emit_ops; struct buffer; -- -2.13.1 +2.17.0 diff --git a/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch b/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch index cb1b7abd07..f678598284 100644 --- a/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch +++ b/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch @@ -1,7 +1,7 @@ -From 60ac68f601885ea6480229a5c8a89a0257da376c Mon Sep 17 00:00:00 2001 +From 8757b36be6109f6d7ea0bd8dafbaed647e0d2192 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 02:31:12 +0000 -Subject: [PATCH 05/10] Add support for Renesas SH (sh4) architecture. +Subject: [PATCH 05/11] Add support for Renesas SH (sh4) architecture. gdb (7.4-1~cvs20111117.2) experimental; urgency=low . @@ -15,35 +15,35 @@ Signed-off-by: Khem Raj --- gdb/Makefile.in | 2 + gdb/configure.host | 1 + - gdb/sh-linux-tdep.c | 519 +++++++++++++++++++++++++++++++++++ - gdb/sh-tdep.c | 54 ++-- - gdb/sh-tdep.h | 49 ++++ + gdb/sh-linux-tdep.c | 519 +++++++++++++++++++++++++++ + gdb/sh-tdep.c | 53 ++- + gdb/sh-tdep.h | 49 +++ gdb/testsuite/gdb.asm/asm-source.exp | 5 + gdb/testsuite/gdb.asm/sh.inc | 3 +- gdb/testsuite/gdb.base/annota1.c | 3 + gdb/testsuite/gdb.base/annota3.c | 4 + gdb/testsuite/gdb.base/sigall.c | 3 + gdb/testsuite/gdb.base/signals.c | 4 + - 11 files changed, 618 insertions(+), 29 deletions(-) + 11 files changed, 617 insertions(+), 29 deletions(-) -diff --git a/gdb/Makefile.in b/gdb/Makefile.in -index 8be73ba423..e287ff6a2e 100644 ---- a/gdb/Makefile.in -+++ b/gdb/Makefile.in -@@ -2638,6 +2638,8 @@ ALLDEPFILES = \ - sh-nbsd-tdep.c \ - sh-tdep.c \ - sh64-tdep.c \ -+ sh-linux-tdep.c \ -+ sh-linux-nat.c \ - sol2-tdep.c \ - solib-aix.c \ - solib-spu.c \ -diff --git a/gdb/configure.host b/gdb/configure.host -index d74fd04934..be12de1446 100644 ---- a/gdb/configure.host -+++ b/gdb/configure.host -@@ -150,6 +150,7 @@ powerpc*-*-linux*) gdb_host=linux ;; +Index: gdb-8.1/gdb/Makefile.in +=================================================================== +--- gdb-8.1.orig/gdb/Makefile.in ++++ gdb-8.1/gdb/Makefile.in +@@ -758,6 +758,8 @@ ALL_TARGET_OBS = \ + sh-linux-tdep.o \ + sh-nbsd-tdep.o \ + sh-tdep.o \ ++ sh-linux-tdep.o \ ++ sh-linux-nat.o \ + sh64-tdep.o \ + sol2-tdep.o \ + solib-aix.o \ +Index: gdb-8.1/gdb/configure.host +=================================================================== +--- gdb-8.1.orig/gdb/configure.host ++++ gdb-8.1/gdb/configure.host +@@ -152,6 +152,7 @@ powerpc*-*-linux*) gdb_host=linux ;; s390*-*-linux*) gdb_host=linux ;; @@ -51,10 +51,10 @@ index d74fd04934..be12de1446 100644 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) gdb_host=nbsd ;; sh*-*-openbsd*) gdb_host=nbsd ;; -diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c -index c5c745d218..84e539aad3 100644 ---- a/gdb/sh-linux-tdep.c -+++ b/gdb/sh-linux-tdep.c +Index: gdb-8.1/gdb/sh-linux-tdep.c +=================================================================== +--- gdb-8.1.orig/gdb/sh-linux-tdep.c ++++ gdb-8.1/gdb/sh-linux-tdep.c @@ -18,14 +18,37 @@ along with this program. If not, see . */ @@ -93,7 +93,7 @@ index c5c745d218..84e539aad3 100644 #include "glibc-tdep.h" #include "sh-tdep.h" #include "linux-tdep.h" -@@ -180,9 +203,505 @@ static struct tramp_frame sh_linux_rt_sigreturn_tramp_frame = { +@@ -180,9 +203,505 @@ static struct tramp_frame sh_linux_rt_si sh_linux_rt_sigreturn_init }; @@ -599,10 +599,10 @@ index c5c745d218..84e539aad3 100644 linux_init_abi (info, gdbarch); /* GNU/Linux uses SVR4-style shared libraries. */ -diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c -index 2c2b26847d..14f5281ed4 100644 ---- a/gdb/sh-tdep.c -+++ b/gdb/sh-tdep.c +Index: gdb-8.1/gdb/sh-tdep.c +=================================================================== +--- gdb-8.1.orig/gdb/sh-tdep.c ++++ gdb-8.1/gdb/sh-tdep.c @@ -21,6 +21,9 @@ sac@cygnus.com. */ @@ -613,15 +613,7 @@ index 2c2b26847d..14f5281ed4 100644 #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" -@@ -35,6 +38,7 @@ - #include "arch-utils.h" - #include "floatformat.h" - #include "regcache.h" -+#include "regset.h" - #include "doublest.h" - #include "osabi.h" - #include "reggroups.h" -@@ -68,23 +72,6 @@ static const char *const sh_cc_enum[] = { +@@ -67,23 +70,6 @@ static const char *const sh_cc_enum[] = static const char *sh_active_calling_convention = sh_cc_gcc; @@ -645,7 +637,7 @@ index 2c2b26847d..14f5281ed4 100644 static int sh_is_renesas_calling_convention (struct type *func_type) { -@@ -1052,7 +1039,7 @@ sh_treat_as_flt_p (struct type *type) +@@ -1051,7 +1037,7 @@ sh_treat_as_flt_p (struct type *type) return 0; /* Otherwise if the type of that member is float, the whole type is treated as float. */ @@ -654,7 +646,7 @@ index 2c2b26847d..14f5281ed4 100644 return 1; /* Otherwise it's not treated as float. */ return 0; -@@ -1102,7 +1089,7 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch, +@@ -1101,7 +1087,7 @@ sh_push_dummy_call_fpu (struct gdbarch * in four registers available. Loop thru args from first to last. */ for (argnum = 0; argnum < nargs; argnum++) { @@ -663,7 +655,7 @@ index 2c2b26847d..14f5281ed4 100644 len = TYPE_LENGTH (type); val = sh_justify_value_in_reg (gdbarch, args[argnum], len); -@@ -1828,7 +1815,7 @@ sh_dwarf2_frame_init_reg (struct gdbarch *gdbarch, int regnum, +@@ -1835,7 +1821,7 @@ sh_dwarf2_frame_init_reg (struct gdbarch reg->how = DWARF2_FRAME_REG_UNDEFINED; } @@ -672,7 +664,7 @@ index 2c2b26847d..14f5281ed4 100644 sh_alloc_frame_cache (void) { struct sh_frame_cache *cache; -@@ -1855,7 +1842,7 @@ sh_alloc_frame_cache (void) +@@ -1862,7 +1848,7 @@ sh_alloc_frame_cache (void) return cache; } @@ -681,7 +673,7 @@ index 2c2b26847d..14f5281ed4 100644 sh_frame_cache (struct frame_info *this_frame, void **this_cache) { struct gdbarch *gdbarch = get_frame_arch (this_frame); -@@ -1922,9 +1909,9 @@ sh_frame_cache (struct frame_info *this_frame, void **this_cache) +@@ -1929,9 +1915,9 @@ sh_frame_cache (struct frame_info *this_ return cache; } @@ -694,7 +686,7 @@ index 2c2b26847d..14f5281ed4 100644 { struct gdbarch *gdbarch = get_frame_arch (this_frame); struct sh_frame_cache *cache = sh_frame_cache (this_frame, this_cache); -@@ -1938,7 +1925,7 @@ sh_frame_prev_register (struct frame_info *this_frame, +@@ -1945,7 +1931,7 @@ sh_frame_prev_register (struct frame_inf the current frame. Frob regnum so that we pull the value from the correct place. */ if (regnum == gdbarch_pc_regnum (gdbarch)) @@ -703,7 +695,7 @@ index 2c2b26847d..14f5281ed4 100644 if (regnum < SH_NUM_REGS && cache->saved_regs[regnum] != -1) return frame_unwind_got_memory (this_frame, regnum, -@@ -2247,8 +2234,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch, +@@ -2254,8 +2240,8 @@ sh_return_in_first_hidden_param_p (struc static struct gdbarch * sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { @@ -713,7 +705,7 @@ index 2c2b26847d..14f5281ed4 100644 /* SH5 is handled entirely in sh64-tdep.c. */ if (info.bfd_arch_info->mach == bfd_mach_sh5) -@@ -2264,6 +2251,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) +@@ -2271,6 +2257,18 @@ sh_gdbarch_init (struct gdbarch_info inf tdep = XCNEW (struct gdbarch_tdep); gdbarch = gdbarch_alloc (&info, tdep); @@ -732,7 +724,7 @@ index 2c2b26847d..14f5281ed4 100644 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); -@@ -2418,10 +2417,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) +@@ -2425,10 +2423,11 @@ sh_gdbarch_init (struct gdbarch_info inf break; } @@ -745,10 +737,10 @@ index 2c2b26847d..14f5281ed4 100644 frame_unwind_append_unwinder (gdbarch, &sh_stub_unwind); frame_unwind_append_unwinder (gdbarch, &sh_frame_unwind); -diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h -index d15ef050e0..c4642cefa4 100644 ---- a/gdb/sh-tdep.h -+++ b/gdb/sh-tdep.h +Index: gdb-8.1/gdb/sh-tdep.h +=================================================================== +--- gdb-8.1.orig/gdb/sh-tdep.h ++++ gdb-8.1/gdb/sh-tdep.h @@ -21,6 +21,12 @@ /* Contributed by Steve Chamberlain sac@cygnus.com. */ @@ -828,10 +820,10 @@ index d15ef050e0..c4642cefa4 100644 /* Non-NULL when debugging from a core file. Provides the offset where each general-purpose register is stored inside the associated core file section. */ -diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp -index e07e5543f2..f5e60e1002 100644 ---- a/gdb/testsuite/gdb.asm/asm-source.exp -+++ b/gdb/testsuite/gdb.asm/asm-source.exp +Index: gdb-8.1/gdb/testsuite/gdb.asm/asm-source.exp +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.asm/asm-source.exp ++++ gdb-8.1/gdb/testsuite/gdb.asm/asm-source.exp @@ -116,6 +116,11 @@ switch -glob -- [istarget] { append link-flags " -m elf32ppc" } @@ -844,10 +836,10 @@ index e07e5543f2..f5e60e1002 100644 "sh*-*-*" { set asm-arch sh set debug-flags "-gdwarf-2" -diff --git a/gdb/testsuite/gdb.asm/sh.inc b/gdb/testsuite/gdb.asm/sh.inc -index a4a5fc545e..89efed7795 100644 ---- a/gdb/testsuite/gdb.asm/sh.inc -+++ b/gdb/testsuite/gdb.asm/sh.inc +Index: gdb-8.1/gdb/testsuite/gdb.asm/sh.inc +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.asm/sh.inc ++++ gdb-8.1/gdb/testsuite/gdb.asm/sh.inc @@ -40,9 +40,8 @@ mov.l .Lconst\@,r1 bra .Lafterconst\@ @@ -859,10 +851,10 @@ index a4a5fc545e..89efed7795 100644 .long \subr .align 1 .Lafterconst\@: -diff --git a/gdb/testsuite/gdb.base/annota1.c b/gdb/testsuite/gdb.base/annota1.c -index 424e1b8327..0de2e7b633 100644 ---- a/gdb/testsuite/gdb.base/annota1.c -+++ b/gdb/testsuite/gdb.base/annota1.c +Index: gdb-8.1/gdb/testsuite/gdb.base/annota1.c +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.base/annota1.c ++++ gdb-8.1/gdb/testsuite/gdb.base/annota1.c @@ -1,6 +1,9 @@ #include #include @@ -873,10 +865,10 @@ index 424e1b8327..0de2e7b633 100644 void handle_USR1 (int sig) -diff --git a/gdb/testsuite/gdb.base/annota3.c b/gdb/testsuite/gdb.base/annota3.c -index 424e1b8327..952aaf218a 100644 ---- a/gdb/testsuite/gdb.base/annota3.c -+++ b/gdb/testsuite/gdb.base/annota3.c +Index: gdb-8.1/gdb/testsuite/gdb.base/annota3.c +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.base/annota3.c ++++ gdb-8.1/gdb/testsuite/gdb.base/annota3.c @@ -1,6 +1,10 @@ #include #include @@ -888,10 +880,10 @@ index 424e1b8327..952aaf218a 100644 void handle_USR1 (int sig) -diff --git a/gdb/testsuite/gdb.base/sigall.c b/gdb/testsuite/gdb.base/sigall.c -index 81f3b08d6b..1574b2d6cb 100644 ---- a/gdb/testsuite/gdb.base/sigall.c -+++ b/gdb/testsuite/gdb.base/sigall.c +Index: gdb-8.1/gdb/testsuite/gdb.base/sigall.c +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.base/sigall.c ++++ gdb-8.1/gdb/testsuite/gdb.base/sigall.c @@ -1,6 +1,9 @@ #include #include @@ -902,10 +894,10 @@ index 81f3b08d6b..1574b2d6cb 100644 /* Signal handlers, we set breakpoints in them to make sure that the signals really get delivered. */ -diff --git a/gdb/testsuite/gdb.base/signals.c b/gdb/testsuite/gdb.base/signals.c -index 756606880f..1205a9bc9c 100644 ---- a/gdb/testsuite/gdb.base/signals.c -+++ b/gdb/testsuite/gdb.base/signals.c +Index: gdb-8.1/gdb/testsuite/gdb.base/signals.c +=================================================================== +--- gdb-8.1.orig/gdb/testsuite/gdb.base/signals.c ++++ gdb-8.1/gdb/testsuite/gdb.base/signals.c @@ -3,6 +3,10 @@ #include #include @@ -917,6 +909,3 @@ index 756606880f..1205a9bc9c 100644 static int count = 0; --- -2.13.1 - diff --git a/meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch b/meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch deleted file mode 100644 index 18a3ce3d63..0000000000 --- a/meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch +++ /dev/null @@ -1,101 +0,0 @@ -From 3e1e401053ea5f02a9e9c65abddd31a03baa1bd1 Mon Sep 17 00:00:00 2001 -From: Yao Qi -Date: Fri, 29 Dec 2017 12:57:25 +0800 -Subject: [PATCH] Unbreak GDBserver build for x32 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -When I verify my target description changes, I build GDB and GDBserver for -x32, but it failed. - -/../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c: In function ‘const target_desc* get_ipa_tdesc(int)’: -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c:184:10: error: ‘X86_TDESC_AVX512’ was not declared in this scope - case X86_TDESC_AVX512: - ^ -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c:185:14: error: ‘tdesc_x32_avx512_linux’ was not declared in this scope - return tdesc_x32_avx512_linux; - ^ -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c: In function ‘void initialize_low_tracepoint()’: -../../../binutils-gdb/gdb/gdbserver/linux-amd64-ipa.c:282:36: error: ‘init_registers_x32_avx512_linux’ was not declared in this scope - init_registers_x32_avx512_linux (); - ^ - -ipa_x32_linux_regobj use to be there, but removed by -22049425ce40324139be82d9a6ec518c46b65815 by mistake. - -gdb/gdbserver: - -2017-08-04 Yao Qi - - * configure.srv (ipa_x32_linux_regobj): New. - * linux-amd64-ipa.c (get_ipa_tdesc): Use X86_TDESC_AVX_AVX512 - instead of X86_TDESC_AVX512. - (initialize_low_tracepoint): Call - init_registers_x32_avx_avx512_linux. - -Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=f02fd7745d003d65fd3b981618e07b874b721d79] - -Signed-off-by: Anuj Mittal ---- - ChangeLog | 8 ++++++++ - gdb/gdbserver/configure.srv | 1 + - gdb/gdbserver/linux-amd64-ipa.c | 6 +++--- - 3 files changed, 12 insertions(+), 3 deletions(-) - -diff --git a/ChangeLog b/ChangeLog -index 4ac2d63..b5b8228 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,11 @@ -+ 2017-08-04 Yao Qi -+ -+ * configure.srv (ipa_x32_linux_regobj): New. -+ * linux-amd64-ipa.c (get_ipa_tdesc): Use X86_TDESC_AVX_AVX512 -+ instead of X86_TDESC_AVX512. -+ (initialize_low_tracepoint): Call -+ init_registers_x32_avx_avx512_linux. -+ - 2017-04-13 Andrew Jenner - - * config.sub: Sync with master version in config project. -diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv -index d00d9e2..56951c8 100644 ---- a/gdb/gdbserver/configure.srv -+++ b/gdb/gdbserver/configure.srv -@@ -31,6 +31,7 @@ srv_amd64_linux_regobj="amd64-linux.o amd64-avx-linux.o amd64-avx-avx512-linux.o - - ipa_i386_linux_regobj="i386-linux-ipa.o i386-avx-linux-ipa.o i386-avx-mpx-linux-ipa.o i386-avx-avx512-linux-ipa.o i386-avx-mpx-avx512-pku-linux-ipa.o i386-mpx-linux-ipa.o i386-mmx-linux-ipa.o" - ipa_amd64_linux_regobj="amd64-linux-ipa.o amd64-avx-linux-ipa.o amd64-avx-mpx-linux-ipa.o amd64-avx-avx512-linux-ipa.o amd64-avx-mpx-avx512-pku-linux-ipa.o amd64-mpx-linux-ipa.o" -+ipa_x32_linux_regobj="x32-linux-ipa.o x32-avx-linux-ipa.o x32-avx-avx512-linux-ipa.o" - ipa_ppc_linux_regobj="powerpc-32l-ipa.o powerpc-altivec32l-ipa.o powerpc-cell32l-ipa.o powerpc-vsx32l-ipa.o powerpc-isa205-32l-ipa.o powerpc-isa205-altivec32l-ipa.o powerpc-isa205-vsx32l-ipa.o powerpc-e500l-ipa.o powerpc-64l-ipa.o powerpc-altivec64l-ipa.o powerpc-cell64l-ipa.o powerpc-vsx64l-ipa.o powerpc-isa205-64l-ipa.o powerpc-isa205-altivec64l-ipa.o powerpc-isa205-vsx64l-ipa.o" - - srv_i386_32bit_xmlfiles="i386/32bit-core.xml i386/32bit-sse.xml i386/32bit-avx.xml i386/32bit-avx512.xml i386/32bit-mpx.xml i386/32bit-pkeys.xml" -diff --git a/gdb/gdbserver/linux-amd64-ipa.c b/gdb/gdbserver/linux-amd64-ipa.c -index 67f36c2..683339b 100644 ---- a/gdb/gdbserver/linux-amd64-ipa.c -+++ b/gdb/gdbserver/linux-amd64-ipa.c -@@ -181,8 +181,8 @@ get_ipa_tdesc (int idx) - return tdesc_x32_linux; - case X86_TDESC_AVX: - return tdesc_x32_avx_linux; -- case X86_TDESC_AVX512: -- return tdesc_x32_avx512_linux; -+ case X86_TDESC_AVX_AVX512: -+ return tdesc_x32_avx_avx512_linux; - default: - break; - } -@@ -279,7 +279,7 @@ initialize_low_tracepoint (void) - #if defined __ILP32__ - init_registers_x32_linux (); - init_registers_x32_avx_linux (); -- init_registers_x32_avx512_linux (); -+ init_registers_x32_avx_avx512_linux (); - #else - init_registers_amd64_linux (); - init_registers_amd64_avx_linux (); --- -2.7.4 - diff --git a/meta/recipes-devtools/gdb/gdb_8.0.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb_8.0.1.bb rename to meta/recipes-devtools/gdb/gdb_8.1.bb From patchwork Wed May 9 20:24:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135376 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp186770lji; Wed, 9 May 2018 13:25:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpdE9da8726uWhh/MAICFx0iWnKG2n4e7fPcJhfrwQQ1aehlGNmAx3XaamMATeB0rmCdDCH X-Received: by 2002:a63:6d84:: with SMTP id i126-v6mr36634497pgc.414.1525897535008; Wed, 09 May 2018 13:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897535; cv=none; d=google.com; s=arc-20160816; b=bA36yw+P9lNgrW5n9G4LvVUPNN+N839Av2JWq5wfsZACx0RF0Ordi7JyH/fgMbXS4R t/tlwgRQLg1thH66e5kgmwWgC5MPRnMPyHk4HuoR4fSoRjp8k42tj4qVwfo59xpKjVaF T+Km1luW6lJ0k138oVvhmliIFtVyKGnYQqX1Iya1c5pHrKlIUmjeyJXCPxk48F4+d8PN 3ETfKEAoIvrhBd+M6PrT+6OQoAJXVaDLRMfU4CFgw3HbVSwyd5LjaQzJuFQSuldIwz5G lc/8btPO0yQbgpogYTY7326RAe76CS1gfcLkWhcCosCDIHpTL8XAVAw2O9JFk67p2NNs xyXg== 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=pXszJO+/K6wK6czPL2078BTK3JqQQGJI8LxWRRZIZg8=; b=GxiU6HEIOKqjmGtq7hObEytMVPgBxM75bK3GeavyGyBcvZUSjRUg9RZf4C4NbFhv5Z 55TLfDngE9Q1HSTbKw5s/BznsDhfDDf43PJy3N6k8j1ZeH9Fn3wtaqsxELA1HzzLysYS V1Uz9+CPuTiNoIHPMCqQ5j78Hm7uFCmaLzC/pEH6Gsbwh71LENkr5pnvBGUm6IC2R1NZ q5vGNp2oH0xtvss8rphp1nhn15eIy3SxxYB0ThgtaK2BnE6kC7zfg4peHO+3t4g7JGbX rflu8NubY76ltHOSyvn8UIUD1C4WYLTnrfN44RAV/Uk1m3rJOifKh3y7lHaIxxkLT1Ft zTsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=oIyWwE5W; 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 b97-v6si28248241plb.135.2018.05.09.13.25.34; Wed, 09 May 2018 13:25: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=oIyWwE5W; 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 21C84750DD; Wed, 9 May 2018 20:25:01 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f68.google.com (mail-pl0-f68.google.com [209.85.160.68]) by mail.openembedded.org (Postfix) with ESMTP id 32A9274F96 for ; Wed, 9 May 2018 20:24:31 +0000 (UTC) Received: by mail-pl0-f68.google.com with SMTP id a39-v6so4963737pla.10 for ; Wed, 09 May 2018 13:24: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=kvV7HAdWnh5XHPWxERdEY+zqGCaUUh3iN+rwCeNXbc0=; b=oIyWwE5WqkVR4VdRvKtpKiyAF4UBhrvw8+Ek0aQQIBeyLKGvhzvO7p7eghJOgMKpHO O93Rrh1+fcFdJI7usMEhZ9wrNnkW6YEfoflAOiqo+Lqaj5iMw8JIiMQLiH7ADu6b+FLa s5RtU8PpiB684HmxCZ5g01JddwnZx3tqGDXeFXd2cso9v/RTwv5jouranJNEUFhZiLGh 50P2m/LYCxDASsW4uzvoZeHbqrZdIGfJMxEbtUJxbtHB1ddH8wwvhIleDfd1ssp3BA1e +edmhuH6LRaJgYyKfiOktq8sIQkA5M2rTz47M3fzgsLfLfs0mDhLUkdmB6JbKSYCrUrH QHew== 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=kvV7HAdWnh5XHPWxERdEY+zqGCaUUh3iN+rwCeNXbc0=; b=tZlMMigP+5JMSAdW1iTtiUgh52lO+sIupRETwpa5s7JooWQkaA6uQYKJavX6sXChLW uJ8YrTNhl7TxsASnF5D7hiA6Ye+OiN9q1E+BEleAd2yDhU7YNhEjTYj8dK8WGLb70q/l Dc6ZA/NyxBW6Z4v0l/QjUWHIfbJ6POS7HqKmZPd1zwtxIxJb+TUcwWdWYtMiREtUl7nj f+jxb0jMOY+CpyebkZ8C1+OsJMw0jw9JhrG4jwA3TCA8GjSCwSaSEEwB/ejNcy7ik1pi xGwWDuwoZJbTGhwO2qYSdWPaP6IdIySNdEbWeA6Ti9xe/LHal2OIR9XCjudqSCbkQqZc lDHA== X-Gm-Message-State: ALQs6tC2yjdHkl7uwTh2AaDfVwa8sj8oL8GbWtfEaqUVjCZ46nm0ew/T eJ1qFdchptIHCrMMLdsdQ5ca0Q== X-Received: by 2002:a17:902:700a:: with SMTP id y10-v6mr47127149plk.265.1525897472860; Wed, 09 May 2018 13:24:32 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:32 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:21 -0700 Message-Id: <20180509202422.22501-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509202422.22501-1-raj.khem@gmail.com> References: <20180509202422.22501-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 8/9] libgpg-error: Upgrade 1.28 -> 1.31 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org License-Update: Check 19 lines of gpg-error.h.in only, more lines are not representing license text Drop upstreamed patch Signed-off-by: Khem Raj --- ...ion-on-arm64-due-to-invalid-use-of-v.patch | 61 ------------------- ...gpg-error_1.28.bb => libgpg-error_1.31.bb} | 10 ++- 2 files changed, 4 insertions(+), 67 deletions(-) delete mode 100644 meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch rename meta/recipes-support/libgpg-error/{libgpg-error_1.28.bb => libgpg-error_1.31.bb} (82%) -- 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/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch b/meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch deleted file mode 100644 index c35e7240b4..0000000000 --- a/meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 791177de023574223eddf7288eb7c5a0721ac623 Mon Sep 17 00:00:00 2001 -From: Werner Koch -Date: Sun, 18 Mar 2018 17:39:43 +0100 -Subject: [PATCH] core: Fix regression on arm64 due to invalid use of va_list. - -* src/logging.c (_gpgrt_log_printhex): Provide a dummy arg instead of -NULL. --- - -Fix -Suggested-by: Jakub Wilk - -Signed-off-by: Werner Koch - -Upstream-Status: Backport - -Signed-off-by: Hongxu Jia - ---- - src/logging.c | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -diff --git a/src/logging.c b/src/logging.c -index 1a4f620..d01f974 100644 ---- a/src/logging.c -+++ b/src/logging.c -@@ -1090,9 +1090,10 @@ _gpgrt_log_flush (void) - - - /* Print a hexdump of (BUFFER,LENGTH). With FMT passed as NULL print -- * just the raw dump, with FMT being an empty string, print a trailing -- * linefeed, otherwise print an entire debug line with the expanded -- * FMT followed by a possible wrapped hexdump and a final LF. */ -+ * just the raw dump (in this case ARG_PTR is not used), with FMT -+ * being an empty string, print a trailing linefeed, otherwise print -+ * an entire debug line with the expanded FMT followed by a possible -+ * wrapped hexdump and a final LF. */ - void - _gpgrt_logv_printhex (const void *buffer, size_t length, - const char *fmt, va_list arg_ptr) -@@ -1150,7 +1151,16 @@ _gpgrt_log_printhex (const void *buffer, size_t length, - va_end (arg_ptr); - } - else -- _gpgrt_logv_printhex (buffer, length, NULL, NULL); -+ { -+ /* va_list is not necessary a pointer and thus we can't use NULL -+ * because that would conflict with platforms using a straight -+ * struct for it (e.g. arm64). We use a dummy variable instead; -+ * the static is a simple way zero it out so to not get -+ * complains about uninitialized use. */ -+ static va_list dummy_argptr; -+ -+ _gpgrt_logv_printhex (buffer, length, NULL, dummy_argptr); -+ } - } - - --- -2.7.4 - diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.28.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.31.bb similarity index 82% rename from meta/recipes-support/libgpg-error/libgpg-error_1.28.bb rename to meta/recipes-support/libgpg-error/libgpg-error_1.31.bb index 71f4c3a388..5dd861501e 100644 --- a/meta/recipes-support/libgpg-error/libgpg-error_1.28.bb +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.31.bb @@ -5,7 +5,7 @@ BUGTRACKER = "https://bugs.g10code.com/gnupg/index" LICENSE = "GPLv2+ & LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ - file://src/gpg-error.h.in;endline=23;md5=fc7423b56d5f7163a9a2acf9fe2f8d6b \ + file://src/gpg-error.h.in;endline=19;md5=e9be7dd9dc7686d91b5421a091c212cc \ file://src/init.c;endline=20;md5=872b2389fe9bae7ffb80d2b91225afbc" @@ -14,11 +14,9 @@ SECTION = "libs" UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \ file://pkgconfig.patch \ - file://0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch \ " - -SRC_URI[md5sum] = "2b072f6194eb22d48cd4c7c77e59b5af" -SRC_URI[sha256sum] = "3edb957744905412f30de3e25da18682cbe509541e18cd3b8f9df695a075da49" +SRC_URI[md5sum] = "5cc6df0fea27832e9cdbafc60f51561b" +SRC_URI[sha256sum] = "40d0a823c9329478063903192a1f82496083b277265904878f4bc09e0db7a4ef" BINCONFIG = "${bindir}/gpg-error-config" @@ -42,7 +40,7 @@ do_compile_prepend() { mips*el) TUPLE=mipsel-unknown-linux-gnu ;; mips*) TUPLE=mips-unknown-linux-gnu ;; x86_64) TUPLE=x86_64-pc-linux-gnu ;; - *) TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;; + *) TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;; esac if [ -n "$TARGET_FILE" ]; then From patchwork Wed May 9 20:24:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135377 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp186857lji; Wed, 9 May 2018 13:25:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoxZ9q6pEsWc+WX+IfJvu+RBHXFolPnNwzSxqrz0BHWswPXTHy6HsxmCXcfu4YwaOLToX/6 X-Received: by 2002:a17:902:7c95:: with SMTP id y21-v6mr46597492pll.76.1525897542700; Wed, 09 May 2018 13:25:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897542; cv=none; d=google.com; s=arc-20160816; b=DymV5AcRSLTi4GESN6fzBauLABLg9ByRJCDJObJyyNbHUAtkokNIWOZg5OjzH00Da+ iJy2oYdvVkGptMAVaBDYB+NEvjV6ikc6Qv37nLIGgwX9rIbi4bw8RxDnrUVLBp/DqH/4 Lk9LZqsjVE1GCqvP+8mcUzQETVw6ISUNLn+fRionGFvLFU47IiaqS5FN0yO7PlQVR9Tu w589/2l88etsQVFrL5w7qI5ZvLGXW+d+eq7wJB8UliWDbSaVpiq+s1jH+G8aY/FiTp9W Sqr+1Zrtjai9IWkrvSF4i3/MvKCv110Gs9GN1kXtidFlH2y7VsMftvLzMZpF3th34rHK lMYQ== 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=JJLl1A4ETM47kESQUn5qwn0Hd1b3m64nQ4WeZeljdiQ=; b=A76xgC+C2/1WVWkzjQlyJRGJRqL9cSvag3QarO4V0jflnMMBOIqPsvWrm8Pzxn7fbf eeX4vdkTWbeEPVwNoAlblvitw7V9vOvtuV3CIuJsdtUfnkgyT0xcZWdMS42XLEGJpA9E C98eVtmXHqSSxBBfbSd0A6EjGVG6ujcrojUb/0vp5AIP7Wtrxv+zRo5JCz5EY2Fra3qi I6ocsaXts1op3uUi6pzGHkdt1fOo2NfJ7DBxNczoaF64Pp8Hk5FtkUdZCjzxTKICBit0 EZkZPHITyGZP87imJuahdXnpRdG7umEXqxbmnGleRrzK5j+Q/7yyqY9IsOEmbiImdB6e t7mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kAji0HGH; 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 r5-v6si4480068pgv.244.2018.05.09.13.25.42; Wed, 09 May 2018 13:25:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kAji0HGH; 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 8AC69750E5; Wed, 9 May 2018 20:25:02 +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 971A575084 for ; Wed, 9 May 2018 20:24:33 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id v63so26168228pfk.8 for ; Wed, 09 May 2018 13:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wZctK5siCYiEbi5g62HOPFQrR6Qt6bW47dYAbrlApiM=; b=kAji0HGHc9PLZjXghu9Jmf9rbAvPBHvatbUTi8OSI5VGCGEoAtZ3gz1DoAJv+VMoqm apHgQuOT58MtvNhjn+sUWJqYWdoYccqIevfyHLOtDH2zWx6apovOQY7GYGWHSqKBroqP VurAdA/XlWIGQ/WdThBswR2Ucw829MVqhkoqppMwJIi+FdQLPrBiD/uc7KQLddxPL8cr bIVWQGkj8MH8buk6kb+TRDhzKGfoge5EiFU7EUjzHV7XdpDSaw4aJC1f17eJCT3ShMfI LTp/cMlysEx/RujXhY73hAKJcXzvQUI4Cske0WWoPSQ0mXlgNrGNjHBnpxi6J2VTaZWg CjfQ== 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=wZctK5siCYiEbi5g62HOPFQrR6Qt6bW47dYAbrlApiM=; b=bmlayXQJPq0ixWqQMEy40la0mFqu8Q0PrXsLD0/ENWZK0Os0e1u8PM9MYqtzugU2ZF F/81fmlA/xpR+EquR/7Ue9Cd+7PRXwQEhpqSe/YWkRiPjhrxx3uyFBDtbC2opcvf6cTh HDJVerwBMqEMt4FSz/1DeqofeZydCdm3He1JtJbL2eAHzlNWj31qQabEz5vhrpDUZkvY zblMk/1ZbDhm1jl5Iq7+Z52Vm5W3uUhAJOmmeWEA8cWL9zDvCQ2Go6LVdonvSj8Xh2sW wA+Di/T5Q6xi416X7sR5F3x2ys6rZxEUP+mpyH3EYAGeMS0bHQvWEFIDYUgnFre0rhL0 ATGw== X-Gm-Message-State: ALKqPwdd8JxzlnmufkGiluXzwp29PO5GN8T6hLTHsHsz8298Ixz4CwMx 3sZ1IwLpRf5OM9tXSDZD383EGQ== X-Received: by 2002:a65:4dca:: with SMTP id q10-v6mr6167352pgt.22.1525897474084; Wed, 09 May 2018 13:24:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id x124sm2142222pfx.72.2018.05.09.13.24.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:24:33 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 9 May 2018 13:24:22 -0700 Message-Id: <20180509202422.22501-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509202422.22501-1-raj.khem@gmail.com> References: <20180509202422.22501-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 9/9] swig: Replace strncpy with memcpy 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 gcc8 is detecting string truncations when swig is used in other packages Signed-off-by: Khem Raj --- ...ue-reported-for-SWIG_Python_FixMetho.patch | 36 +++++++++++++++++++ meta/recipes-devtools/swig/swig_3.0.12.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-devtools/swig/swig/swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.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/swig/swig/swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch b/meta/recipes-devtools/swig/swig/swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch new file mode 100644 index 0000000000..eab50fc7ef --- /dev/null +++ b/meta/recipes-devtools/swig/swig/swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch @@ -0,0 +1,36 @@ +From 9825fcbab5c4ddd867432f9922bebfbec7b78af0 Mon Sep 17 00:00:00 2001 +From: Mark Dufour +Date: Tue, 14 Feb 2017 10:34:37 +0100 +Subject: [PATCH] [Coverity] fix issue reported for SWIG_Python_FixMethods + +Fix Coverity issue reported for SWIG_Python_FixMethods: + +"buffer_size: Calling strncpy with a source string whose length +(10 chars) is greater than or equal to the size argument (10) +will fail to null-terminate buff." + +The issue is only reported for the "swig_ptr: " line, but for +consistency we replace both occurrences of strncpy with memcpy. +--- +Signed-off-by: Khem Raj +Status: Backport [https://github.com/swig/swig/pull/898] + + Lib/python/pyinit.swg | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: swig-3.0.12/Lib/python/pyinit.swg +=================================================================== +--- swig-3.0.12.orig/Lib/python/pyinit.swg ++++ swig-3.0.12/Lib/python/pyinit.swg +@@ -306,9 +306,9 @@ SWIG_Python_FixMethods(PyMethodDef *meth + char *ndoc = (char*)malloc(ldoc + lptr + 10); + if (ndoc) { + char *buff = ndoc; +- strncpy(buff, methods[i].ml_doc, ldoc); ++ memcpy(buff, methods[i].ml_doc, ldoc); + buff += ldoc; +- strncpy(buff, "swig_ptr: ", 10); ++ memcpy(buff, "swig_ptr: ", 10); + buff += 10; + SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); + methods[i].ml_doc = ndoc; diff --git a/meta/recipes-devtools/swig/swig_3.0.12.bb b/meta/recipes-devtools/swig/swig_3.0.12.bb index 15f7348681..429840bde1 100644 --- a/meta/recipes-devtools/swig/swig_3.0.12.bb +++ b/meta/recipes-devtools/swig/swig_3.0.12.bb @@ -3,6 +3,7 @@ require ${BPN}.inc SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch \ file://0001-configure-use-pkg-config-for-pcre-detection.patch \ file://0001-Add-Node-7.x-aka-V8-5.2-support.patch \ + file://swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch \ " SRC_URI[md5sum] = "82133dfa7bba75ff9ad98a7046be687c" SRC_URI[sha256sum] = "7cf9f447ae7ed1c51722efc45e7f14418d15d7a1e143ac9f09a668999f4fc94d"