From patchwork Sat Oct 14 15:48:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 115844 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1905011qgn; Sat, 14 Oct 2017 08:49:18 -0700 (PDT) X-Received: by 10.98.223.137 with SMTP id d9mr4197938pfl.98.1507996158519; Sat, 14 Oct 2017 08:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507996158; cv=none; d=google.com; s=arc-20160816; b=L291ui9THMhg/3WfiZlGrc0RN9zREhhcRU8uQjvaWHrb3oSK9i/9cPvpOzf7WJzjMP jHzkNtihdLyg8qDjM6mxfnn8TlSSDu92gu6jMe2IBGToSabHy5/SpdmzPH2E++GTjNo6 1czkt4ParLtxDI70j3Wyzk6eVNopeUkuJXELB3v07+EbxkY0dL1/mEbKPR91w/Pk5ssb NULKtULdhczvrxdYf8j2d0FvUKMefTmlCYdFw0lKLPzCDloLobbj8BOS6/6PpTXjlQA2 2npyUbaMPDS710L6U76DjlC6v4Za/MdXHm77zIFiRL3zxWcEWJe+US2mp6SwlAlZtr4R v/Yg== 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=LkIrI0Zu3MD9cJsz00GoWAFU3+HVnCzMRxQ/pq4PELQ=; b=t/mOn4jIzPFOjvasbz1C2vhcFVXzQdcUboFAIHYE6JPg4608Bv2usUr58thUWMl64i GBZViR29G+V1r+NFgW70Tvcs2Dje4kvaj+CmliVwRCFJsBrPbXx1hx5y6FX2kPe+oxRA 5G+5MYG7DK1K7+KQw2rQA15T1IIUTCfcgcdJBW6rhkfc5gL8O7pY6UkrBSbYHkvQ0fdr fAA8K+N1mXEXPoaZgC0s5LUv2c/7MQL4gRyHwsORyKTVnMuK9EoUWEWZUltdqQfhWpDv K6kkrbLDfYMH+QxexbbL8Ac+V3ejoTwWpsWGqdtMm+LJAju+3qg1KwqfTjMJePLopb5q SVpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fdg4Fj28; 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=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v62si918795pgv.243.2017.10.14.08.49.17; Sat, 14 Oct 2017 08:49:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fdg4Fj28; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2CE3260248; Sat, 14 Oct 2017 15:49:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by mail.openembedded.org (Postfix) with ESMTP id A21C460248 for ; Sat, 14 Oct 2017 15:49:07 +0000 (UTC) Received: by mail-pg0-f52.google.com with SMTP id v78so3491039pgb.5 for ; Sat, 14 Oct 2017 08:49:09 -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=tzoFro7c01PQG4E8OK4bbczW7MvrqkD62zZJhsZe50k=; b=fdg4Fj28k+dBu/tSufUbDejBjThrEmcTgeiNvRPGTK299MmOphE8pnF8kuQADGZFnN tq8mJgWmfVBhlo/Wn9kmmHicogbkM0+gdaI0sxn4S80RqCRzLgpXAPTyFjuVl9kTJ1/b H2BFJQr12PGFHsy2cpWITr+lieDedS+Vl2Ry0DHgWWoNp0kqdfALgSznVLlf5f0iTXUl IxzUZqPqgTPPhjOYVcnw1jC8W5txvfaTQ5rHcCjHUVb4kz8AZrVo1Xdc6SmUKQlCmgYm Fs6DSlWZpbafdpqCCLV/h1pUo3dsfMbrH65fX1hQl9FQpwpF62I+CkL7oklZ5Ad5s2f6 5Tug== 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=tzoFro7c01PQG4E8OK4bbczW7MvrqkD62zZJhsZe50k=; b=Qenm25mwslxp2tN4UodrRoAFDgcriOvVkWNnAbCL4aDPP77tZUj3OhHyaevqsh2YbI PGlqsWz1qGZlFtXQWtrr7GtfCi1nBXwk0XEPLIUvjyd8WXCHg0FWqHP/YzJGALZBq3JF MFcSU7nxOlnU+BDKW7ZnToErVNIFxEQoxcnbePKEw4g8ZnnmV1ptbpJ/tRrzZk080Ga+ /tB/f3JgtWhfBJDGFxC/GnxqHdCmYbFfmbqIkXCnMil59BTKB+xzz6DTnghXT3aCX7uh 7sLsOFBlqDasPLGx+fV16pGkg7AC5xAN+nXCSianDiJUwYCKOq9ay9tIi3UvaLIDDjhU XwVw== X-Gm-Message-State: AMCzsaVZwHU/JMvn/3v/UiV0m19rEh31kW3TxswrE0NhGHHDmYxMrTLG nTejsCZur69bRd8kJCq1ss5z1w== X-Google-Smtp-Source: AOwi7QCn1jep0XiWGwTYCsJKcynjgpwMP9Lrfne+a5gAJDvyYG3plN0vlLC2gjxPiRzX++XOKPyKxA== X-Received: by 10.159.206.132 with SMTP id bg4mr4432632plb.129.1507996148509; Sat, 14 Oct 2017 08:49:08 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::74e7]) by smtp.gmail.com with ESMTPSA id r9sm8384819pfd.6.2017.10.14.08.49.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Oct 2017 08:49:07 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 14 Oct 2017 08:48:52 -0700 Message-Id: <20171014154858.35123-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 Subject: [OE-core] [PATCH 1/7] go-dep: Upgrade to 0.3.1 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../go-dep/0001-Add-support-for-mips-mips64.patch | 54 ++++++++++++++++++++++ ...er-constant-that-hopefully-works-the-same.patch | 33 +++++++++++++ meta/recipes-devtools/go/go-dep_0.3.0.bb | 16 ------- meta/recipes-devtools/go/go-dep_0.3.1.bb | 19 ++++++++ 4 files changed, 106 insertions(+), 16 deletions(-) create mode 100644 meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch create mode 100644 meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch delete mode 100644 meta/recipes-devtools/go/go-dep_0.3.0.bb create mode 100644 meta/recipes-devtools/go/go-dep_0.3.1.bb -- 2.14.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch b/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch new file mode 100644 index 0000000000..34ec9876f8 --- /dev/null +++ b/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch @@ -0,0 +1,54 @@ +From f0fb80604385ae3266a472601ef685896b4cc0af Mon Sep 17 00:00:00 2001 +From: Vladimir Stefanovic +Date: Fri, 17 Feb 2017 20:44:43 +0100 +Subject: [PATCH] Add support for mips, mips64 + +--- +Upstream-Status: Submitted +Signed-off-by: Khem Raj + + vendor/github.com/boltdb/bolt/bolt_mips64x.go | 12 ++++++++++++ + vendor/github.com/boltdb/bolt/bolt_mipsx.go | 12 ++++++++++++ + 2 files changed, 24 insertions(+) + create mode 100644 vendor/github.com/boltdb/bolt/bolt_mips64x.go + create mode 100644 vendor/github.com/boltdb/bolt/bolt_mipsx.go + +diff --git a/vendor/github.com/boltdb/bolt/bolt_mips64x.go b/vendor/github.com/boltdb/bolt/bolt_mips64x.go +new file mode 100644 +index 00000000..134b578b +--- /dev/null ++++ b/vendor/github.com/boltdb/bolt/bolt_mips64x.go +@@ -0,0 +1,12 @@ ++// +build mips64 mips64le ++ ++package bolt ++ ++// maxMapSize represents the largest mmap size supported by Bolt. ++const maxMapSize = 0x8000000000 // 512GB ++ ++// maxAllocSize is the size used when creating array pointers. ++const maxAllocSize = 0x7FFFFFFF ++ ++// Are unaligned load/stores broken on this arch? ++var brokenUnaligned = false +diff --git a/vendor/github.com/boltdb/bolt/bolt_mipsx.go b/vendor/github.com/boltdb/bolt/bolt_mipsx.go +new file mode 100644 +index 00000000..d5ecb059 +--- /dev/null ++++ b/vendor/github.com/boltdb/bolt/bolt_mipsx.go +@@ -0,0 +1,12 @@ ++// +build mips mipsle ++ ++package bolt ++ ++// maxMapSize represents the largest mmap size supported by Bolt. ++const maxMapSize = 0x40000000 // 1GB ++ ++// maxAllocSize is the size used when creating array pointers. ++const maxAllocSize = 0xFFFFFFF ++ ++// Are unaligned load/stores broken on this arch? ++var brokenUnaligned = false +-- +2.14.1 + diff --git a/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch b/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch new file mode 100644 index 0000000000..2a7bc43cdb --- /dev/null +++ b/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch @@ -0,0 +1,33 @@ +From 73e8dd479420bb90a46cf9d99ca62289fab3677e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 23 Sep 2017 08:43:58 -0700 +Subject: [PATCH] use a smaller constant that hopefully works the same. + +This test uses a constant that is too big for 32bit systems. + +Backported from +https://github.com/boltdb/bolt/issues/645 + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted + + vendor/github.com/boltdb/bolt/db_test.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/vendor/github.com/boltdb/bolt/db_test.go b/vendor/github.com/boltdb/bolt/db_test.go +index 3034d4f4..035f5a5f 100644 +--- a/vendor/github.com/boltdb/bolt/db_test.go ++++ b/vendor/github.com/boltdb/bolt/db_test.go +@@ -370,7 +370,7 @@ func TestDB_Open_InitialMmapSize(t *testing.T) { + path := tempfile() + defer os.Remove(path) + +- initMmapSize := 1 << 31 // 2GB ++ initMmapSize := 1 << 29 // 512MB + testWriteSize := 1 << 27 // 134MB + + db, err := bolt.Open(path, 0666, &bolt.Options{InitialMmapSize: initMmapSize}) +-- +2.14.1 + diff --git a/meta/recipes-devtools/go/go-dep_0.3.0.bb b/meta/recipes-devtools/go/go-dep_0.3.0.bb deleted file mode 100644 index abfeb48370..0000000000 --- a/meta/recipes-devtools/go/go-dep_0.3.0.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Dependency management tool for Golang" -HOMEPAGE = "https://github.com/golang/dep" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d" - -GO_IMPORT = "github.com/golang/dep" -SRC_URI = "git://${GO_IMPORT}" - -# Points to 0.3.0 tag -SRCREV = "7a91b794bbfbf1f3b8b79823799316451127801b" - -inherit go - -GO_INSTALL = "${GO_IMPORT}/cmd/dep" - -RDEPENDS_${PN}-dev += "bash" diff --git a/meta/recipes-devtools/go/go-dep_0.3.1.bb b/meta/recipes-devtools/go/go-dep_0.3.1.bb new file mode 100644 index 0000000000..3a404e357f --- /dev/null +++ b/meta/recipes-devtools/go/go-dep_0.3.1.bb @@ -0,0 +1,19 @@ +SUMMARY = "Dependency management tool for Golang" +HOMEPAGE = "https://github.com/golang/dep" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d" + +GO_IMPORT = "github.com/golang/dep" +SRC_URI = "git://${GO_IMPORT} \ + file://0001-use-a-smaller-constant-that-hopefully-works-the-same.patch;patchdir=src/github.com/golang/dep \ + file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \ + " + +# Points to 0.3.1 tag +SRCREV = "83789e236d7ff64c82ee8392005455fc1ec1983b" + +inherit go + +GO_INSTALL = "${GO_IMPORT}/cmd/dep" + +RDEPENDS_${PN}-dev += "bash" From patchwork Sat Oct 14 15:48:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 115845 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1905391qgn; Sat, 14 Oct 2017 08:49:49 -0700 (PDT) X-Received: by 10.84.234.194 with SMTP id i2mr4298885plt.420.1507996189583; Sat, 14 Oct 2017 08:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507996189; cv=none; d=google.com; s=arc-20160816; b=t7amM6QH/z5vAgRpinSY0t95PUV/DfM2FjTf+2j9scNQ3LHBtGWshd4e1jnJQMRJzT SIRgmN+56TnONX4NfFBhIZgBVgLcMejJtIOAOlWZ5k6qGrqGuQykfJtnf/JEEbVBe06u A5BTbKkDZRo/EniANAsOibVsuLB4aKpuCsasVz1qCxLO7KXl3Eo51rx31uiry4VUMMTs hrF6Txjn0/rPO3ABG2SbCi/C/Luc1qMrh0uxXQVMhKn+BeT7qff1N3WS9K1vYS0NWf5w Q/dTrukFsq3Bp0cyvXq+SEFlpBXfr29gVh0LkGz4YGX38f8bvGhKBSZ+VKEbVFzWNkwE zhbw== 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=rsq5R7l6hDO17/CWGWMIwQX5niQUbYSndqxpQNQ83Ik=; b=tx/gHQGG3MVrEUKC6Z1+3pgC01z7XWKB2Kvb0hVA5lgDrvCDI37ls0ggzdSnXJtPAh 7vLggqb/Po+OAGmb0dmxtoqvtysoAAbJN8DzDGFrxOaohfHfftnMehoSpG9xq9LSOwee 1WggOh9jYBxy5oS4+oMEAxOnPvVPS5n/eoskBiVzmaOoBHwUCvJtK+FFaN1KBunN8TJB dh5ag0M8sXICBiMe3YjeLCk45NzfEbD5WhL8b7XXqeAqeoqD2HXQPvoC/1t1jxBv1zF5 ozueIngZxun0LWJ5hb0cR+9P6wM8yb1SYEKSsrnlYLD1y4zVXyC8UJMFap9anvH5I09h IiFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=BWRv18Em; 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=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o10si1939513pgp.46.2017.10.14.08.49.49; Sat, 14 Oct 2017 08:49:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=BWRv18Em; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id F3C8678077; Sat, 14 Oct 2017 15:49:46 +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 CC00765CB6 for ; Sat, 14 Oct 2017 15:49:09 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id e64so12614189pfk.9 for ; Sat, 14 Oct 2017 08:49:11 -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=jgYjwkcXnIkEDBk27KOF/axNZWibQXV890S5BNtHl/4=; b=BWRv18EmQCyJORqos9zkXPT8fF1U+7eAp+4tozFKrFbG/WLX1L6aS01hxrtXS2F/Br 6CtzRQ1Xd4KdGG2CVmBCbRPq3fSOdJ2IdCzw0FjyHHimO890YiQciV+l9C8leuTDPxFt WbXiVUVcm6DtItuS7EbfZfDbUhSzxtdOp4V6why4sWRVVg1SB1sKHzobL06OvDZ/cnj7 wh+P0n9cJy4VNt7iIymzB5t38VnrnpKkI+tQspqa+a4JoVa0b1GsJJ39D8XRZdMOvoT1 CCNRRCRybqjI4a6Ss0mxOYA5ZIP5hpcloDUbyI5+6F83WzS5Lpj46+rsS/eDwUdJim77 ru+w== 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=jgYjwkcXnIkEDBk27KOF/axNZWibQXV890S5BNtHl/4=; b=DRe7XXII+DXbic7s0PSrs8xYe/cUHKcElxZQpUBLb7NhDK6TOQpvsV/j4/RoOTUeax zZkhCOlhcMOMzLCuu6qvXrcBJO1QZ8ptdywI+uF9sulo6LqA9FdFZywHgI82C7Rzi9iG lfal37z6gxcJVeIMS8Q6kbGNxkH5cJlVg2o8lHUDSJMFyy0MPNyd4VNG236Q7NYHuhDb jtHYn8lX+EhNonbYG5aNLummtqUZxQG76vZ3dzC9N0zCUYKTRXWQhvcAdVBrkWvKoeWa gNemUUtn/xpL1sHUTmWntfMMYOIjd1sewQtoKCt81qM7n8t8C5z462D34zFoVSdSIF+H pkgA== X-Gm-Message-State: AMCzsaVdq9lsK68W2JtTpwGapZY5ZktCZQcSLXE2qHPg/dNVTj04jv5o LH5E5u5/hxDshrIS2dL+jsrxxg== X-Google-Smtp-Source: AOwi7QC50wTYkVvq885xeoTd1jCL2IUsYheO3fHmB00RzCy0vbaBSUEUmtRIpcCnoCDyFE4G0fUzJw== X-Received: by 10.84.240.140 with SMTP id z12mr4463725plk.328.1507996150687; Sat, 14 Oct 2017 08:49:10 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::74e7]) by smtp.gmail.com with ESMTPSA id r9sm8384819pfd.6.2017.10.14.08.49.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Oct 2017 08:49:08 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 14 Oct 2017 08:48:53 -0700 Message-Id: <20171014154858.35123-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171014154858.35123-1-raj.khem@gmail.com> References: <20171014154858.35123-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/7] go: Fix build with PIE on musl X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/go/go-1.9.inc | 3 + .../go/go-1.9/default-buildmode-pie.patch | 13 +++ .../go/go-1.9/set-external-linker.patch | 104 +++++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 meta/recipes-devtools/go/go-1.9/default-buildmode-pie.patch create mode 100644 meta/recipes-devtools/go/go-1.9/set-external-linker.patch -- 2.14.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/go/go-1.9.inc b/meta/recipes-devtools/go/go-1.9.inc index 65adaa8d72..f52abb5735 100644 --- a/meta/recipes-devtools/go/go-1.9.inc +++ b/meta/recipes-devtools/go/go-1.9.inc @@ -15,6 +15,9 @@ SRC_URI += "\ file://0007-ld-add-soname-to-shareable-objects.patch \ file://0008-make.bash-add-GOHOSTxx-indirection-for-cross-canadia.patch \ file://0009-cmd-go-buildmode-pie-forces-external-linking-mode-on.patch \ + file://default-buildmode-pie.patch \ " +SRC_URI_append_libc-musl = " file://set-external-linker.patch" + SRC_URI[main.md5sum] = "da2d44ea384076efec43ee1f8b7d45d2" SRC_URI[main.sha256sum] = "a4ab229028ed167ba1986825751463605264e44868362ca8e7accc8be057e993" diff --git a/meta/recipes-devtools/go/go-1.9/default-buildmode-pie.patch b/meta/recipes-devtools/go/go-1.9/default-buildmode-pie.patch new file mode 100644 index 0000000000..cc8aef0ad0 --- /dev/null +++ b/meta/recipes-devtools/go/go-1.9/default-buildmode-pie.patch @@ -0,0 +1,13 @@ +diff -upr src/go.orig/src/cmd/go/internal/work/build.go src/go/src/cmd/go/internal/work/build.go +--- go.orig/src/cmd/go/internal/work/build.go 2017-08-27 17:38:26.354750979 +0200 ++++ go/src/cmd/go/internal/work/build.go 2017-08-27 17:40:27.555130105 +0200 +@@ -304,7 +304,8 @@ func BuildModeInit() { + ldBuildmode = "c-shared" + case "default": + switch platform { +- case "android/arm", "android/arm64", "android/amd64", "android/386": ++ case "linux/386", "linux/amd64", "linux/arm", "linux/arm64", "linux/ppc64le", "linux/s390x", ++ "android/arm", "android/arm64", "android/amd64", "android/386": + codegenArg = "-shared" + ldBuildmode = "pie" + case "darwin/arm", "darwin/arm64": diff --git a/meta/recipes-devtools/go/go-1.9/set-external-linker.patch b/meta/recipes-devtools/go/go-1.9/set-external-linker.patch new file mode 100644 index 0000000000..79eaff7205 --- /dev/null +++ b/meta/recipes-devtools/go/go-1.9/set-external-linker.patch @@ -0,0 +1,104 @@ +Index: go/src/cmd/link/internal/amd64/obj.go +=================================================================== +--- go.orig/src/cmd/link/internal/amd64/obj.go ++++ go/src/cmd/link/internal/amd64/obj.go +@@ -67,7 +67,7 @@ func Init() { + ld.Thearch.Append64 = ld.Append64l + ld.Thearch.TLSIEtoLE = tlsIEtoLE + +- ld.Thearch.Linuxdynld = "/lib64/ld-linux-x86-64.so.2" ++ ld.Thearch.Linuxdynld = "/lib/ld-musl-x86_64.so.1" + ld.Thearch.Freebsddynld = "/libexec/ld-elf.so.1" + ld.Thearch.Openbsddynld = "/usr/libexec/ld.so" + ld.Thearch.Netbsddynld = "/libexec/ld.elf_so" +Index: go/src/cmd/link/internal/arm/obj.go +=================================================================== +--- go.orig/src/cmd/link/internal/arm/obj.go ++++ go/src/cmd/link/internal/arm/obj.go +@@ -63,7 +63,7 @@ func Init() { + ld.Thearch.Append32 = ld.Append32l + ld.Thearch.Append64 = ld.Append64l + +- ld.Thearch.Linuxdynld = "/lib/ld-linux.so.3" // 2 for OABI, 3 for EABI ++ ld.Thearch.Linuxdynld = "/lib/ld-musl-armhf.so.1" + ld.Thearch.Freebsddynld = "/usr/libexec/ld-elf.so.1" + ld.Thearch.Openbsddynld = "/usr/libexec/ld.so" + ld.Thearch.Netbsddynld = "/libexec/ld.elf_so" +Index: go/src/cmd/link/internal/arm64/obj.go +=================================================================== +--- go.orig/src/cmd/link/internal/arm64/obj.go ++++ go/src/cmd/link/internal/arm64/obj.go +@@ -62,7 +62,7 @@ func Init() { + ld.Thearch.Append32 = ld.Append32l + ld.Thearch.Append64 = ld.Append64l + +- ld.Thearch.Linuxdynld = "/lib/ld-linux-aarch64.so.1" ++ ld.Thearch.Linuxdynld = "/lib/ld-musl-aarch64.so.1" + + ld.Thearch.Freebsddynld = "XXX" + ld.Thearch.Openbsddynld = "XXX" +Index: go/src/cmd/link/internal/mips/obj.go +=================================================================== +--- go.orig/src/cmd/link/internal/mips/obj.go ++++ go/src/cmd/link/internal/mips/obj.go +@@ -77,7 +77,7 @@ func Init() { + ld.Thearch.Append64 = ld.Append64b + } + +- ld.Thearch.Linuxdynld = "/lib/ld.so.1" ++ ld.Thearch.Linuxdynld = "/lib/ld-musl-mipsle.so.1" + + ld.Thearch.Freebsddynld = "XXX" + ld.Thearch.Openbsddynld = "XXX" +Index: go/src/cmd/link/internal/mips64/obj.go +=================================================================== +--- go.orig/src/cmd/link/internal/mips64/obj.go ++++ go/src/cmd/link/internal/mips64/obj.go +@@ -75,7 +75,7 @@ func Init() { + ld.Thearch.Append64 = ld.Append64b + } + +- ld.Thearch.Linuxdynld = "/lib64/ld64.so.1" ++ ld.Thearch.Linuxdynld = "/lib64/ld-musl-mips64le.so.1" + + ld.Thearch.Freebsddynld = "XXX" + ld.Thearch.Openbsddynld = "XXX" +Index: go/src/cmd/link/internal/ppc64/obj.go +=================================================================== +--- go.orig/src/cmd/link/internal/ppc64/obj.go ++++ go/src/cmd/link/internal/ppc64/obj.go +@@ -77,7 +77,7 @@ func Init() { + } + + // TODO(austin): ABI v1 uses /usr/lib/ld.so.1 +- ld.Thearch.Linuxdynld = "/lib64/ld64.so.1" ++ ld.Thearch.Linuxdynld = "/lib/ld-musl-powerpc64le.so.1" + + ld.Thearch.Freebsddynld = "XXX" + ld.Thearch.Openbsddynld = "XXX" +Index: go/src/cmd/link/internal/s390x/obj.go +=================================================================== +--- go.orig/src/cmd/link/internal/s390x/obj.go ++++ go/src/cmd/link/internal/s390x/obj.go +@@ -62,7 +62,7 @@ func Init() { + ld.Thearch.Append32 = ld.Append32b + ld.Thearch.Append64 = ld.Append64b + +- ld.Thearch.Linuxdynld = "/lib64/ld64.so.1" ++ ld.Thearch.Linuxdynld = "/lib/ld-musl-s390x.so.1" + + // not relevant for s390x + ld.Thearch.Freebsddynld = "XXX" +Index: go/src/cmd/link/internal/x86/obj.go +=================================================================== +--- go.orig/src/cmd/link/internal/x86/obj.go ++++ go/src/cmd/link/internal/x86/obj.go +@@ -63,7 +63,7 @@ func Init() { + ld.Thearch.Append32 = ld.Append32l + ld.Thearch.Append64 = ld.Append64l + +- ld.Thearch.Linuxdynld = "/lib/ld-linux.so.2" ++ ld.Thearch.Linuxdynld = "/lib/ld-musl-i386.so.1" + ld.Thearch.Freebsddynld = "/usr/libexec/ld-elf.so.1" + ld.Thearch.Openbsddynld = "/usr/libexec/ld.so" + ld.Thearch.Netbsddynld = "/usr/libexec/ld.elf_so" From patchwork Sat Oct 14 15:48:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 115846 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1905436qgn; Sat, 14 Oct 2017 08:49:55 -0700 (PDT) X-Received: by 10.99.190.12 with SMTP id l12mr4174569pgf.340.1507996195585; Sat, 14 Oct 2017 08:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507996195; cv=none; d=google.com; s=arc-20160816; b=NA+6lHlFsRrCqxn/6VqYGHFBM09bf2z4Qda5mRFwrtZE0eJ6Y1oq+JGKB1nPrZE3Bl K6w2sV9Z72/lqkoTREITDaDGlXtH96vYFuR/cj9+BafiDWh0/VpEdZ4S0iu/HT6bcvc2 HpZ/u5qZuj2aKbtqJ8OYlm6gU0cCAkPlu49HLvM+LyMoxsxZmnEMvBIc3JIZhD41KNHO 09/68B230kiDgLEygUHsXP596mW/24zuMGzXAQQRn+OhYgI9NOm06ShN05aWR1vp08Jc LdsIOf+a9vgFiN5IZSGdc0fVfr4BqXlFbAl2njF3UF8Htd7w9IyOhOKWc46acee7BZlc HGKQ== 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=fnBiqtlvmtpLJvYyE9QHKo0TqXEskxi568SJrzR01d4=; b=DbRDh0Mc+PE5L6zgHUMk0q+z9djpxAiqIGJJkX3TRB8BfrGRnmUlMacfDes7GOHpVE kAdzniC2BetjFWMRhMCwNp0tYfr7UGR/KD54VfBCMKykT+SB/zd7iYAK+6KH20JUSqVr hNV7NkFHP5vEPFtY5sSO83ECrdtyY5RlAqemy2ZVuXQkASHwcf5Za7bMdvz0gJ6OW7Ek f+FDOTbtgXA7ZC/6XsQF/DnNVSoimCBfDCGlf/ypxYvuerWssR4GlaL70uDDp+M0KGq6 JqymyoIpEj18mkRw5AV9iDpdXSDEm6wprst2veGJRNiAJGeXHJ9f10O/8pwHmofBo4c9 ZeDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=He/XGKPE; 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=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id z4si2129021plk.148.2017.10.14.08.49.55; Sat, 14 Oct 2017 08:49:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=He/XGKPE; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0F49E780C3; Sat, 14 Oct 2017 15:49:53 +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 3406065CB6 for ; Sat, 14 Oct 2017 15:49:10 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id j3so3499400pga.1 for ; Sat, 14 Oct 2017 08:49:12 -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=/TjcrMG/IvghZgxO1/HzPAEHistrLDXBLP4YKB64Dvw=; b=He/XGKPEw8DLI0VqvxEsNx/rpQUfrn810OOSxNLGUdLnrjkETWOY/pA/i9fXBuZr73 2fv/PqWUWf5VMtkPUNBwWxGjqWmczvw3bFfZu23RRE2DJjCkn7mOU2TooakET+X+IIey Hw4SF+ze8GnLmhMwNTxIsCzOiJtrv15AFbR4E2eybYOI6Aci3dAkbXUTWCmTRdRI8/7S FuMidKlhLgqiDLMvT3NcUbppTjnqGJf2HyeN3PixyTZwNUGsd/4PT5QwZV6nrQJ6rmIo FyVcD2pzZB0JmEev6phmRufg6IhL+x7nJz1nT74+YJZT7iG+0geVdoOs32O0eS83ViQy Ho9A== 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=/TjcrMG/IvghZgxO1/HzPAEHistrLDXBLP4YKB64Dvw=; b=M8nsXj9nwzjsJjPVBlmuQY9xcwBMmRqvRD0ivsfNKqnkUClQRZ2ChuoEXcVmqVHU0N /UXOD3G699Ci3yO8rQSkwuc2OZvlBlOZ2UQkF9jvTUQRKtd08GznlHfQurgmmyaS7wvo yjLWHDl6/iCDFRIAYNDMuCedfJZ99qjR3uZ+P1Xf85WGmXjxQT/2GVry9hlD+jegGFsj vY+sR5CrIbKgKudU3L2Zk/kX98oFa3Yg+cr+DiB8EX9zxCHEpdw3cmbFOEF6OIeuKJ/Y yrLEpRahxbglVJM6JcYsNrcm513+femTvy3wNvDq5AYPcCoH7eAZndJM7Iu9KTV9Sl4o 1IwA== X-Gm-Message-State: AMCzsaWHWZ/SM35gUNHF3FYUnIzOMzYNF2jDP/iw2QTCjGhKQ+Ng0vLo SRr9QuAKi/hhgFd9I19qwZiOBw== X-Google-Smtp-Source: AOwi7QCL71MLV4in50n1HHUWe1fTHaC+4aTOzrHiKcPJrer4GHWzskZYTq6LXWRxRUx977mEM2pVug== X-Received: by 10.98.236.220 with SMTP id e89mr4314074pfm.219.1507996152090; Sat, 14 Oct 2017 08:49:12 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::74e7]) by smtp.gmail.com with ESMTPSA id r9sm8384819pfd.6.2017.10.14.08.49.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Oct 2017 08:49:11 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 14 Oct 2017 08:48:54 -0700 Message-Id: <20171014154858.35123-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171014154858.35123-1-raj.khem@gmail.com> References: <20171014154858.35123-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 3/7] musl: Update to latest X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org * fix use of memset without declaration in sched.h cpu set macros * powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 8b6a2e3454..1d16bfe27e 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -3,7 +3,7 @@ require musl.inc -SRCREV = "da438ee1fc516c41ba1790cef7be551a9e244397" +SRCREV = "48be5b6313d7b827acf555769e93b389fa9f6307" PV = "1.1.16+git${SRCPV}" From patchwork Sat Oct 14 15:48:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 115847 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1905490qgn; Sat, 14 Oct 2017 08:50:01 -0700 (PDT) X-Received: by 10.84.176.163 with SMTP id v32mr4450525plb.175.1507996201260; Sat, 14 Oct 2017 08:50:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507996201; cv=none; d=google.com; s=arc-20160816; b=ZcMZFvJIXgqLl6f9mObomg1x2bonW4pR5e7H5AmL61LU70dRU8VnrKftovWwi7Pyl9 WDrw+h83PbOmuibdtrq7bninTGiTJyea2w3B40POU00Z1KM9Duf55GYorjY7PwuTwJrl 0wq6N4ZylZfdbpkqlaZvOjKAoMmFrw/uOTWE3Suyh5Fj/+9WSveJK2NLhhfTyJmsS7pw LIr5ASOUDK/rqjqCMKtjhpZ98KRU6Ft01nfwkpdM0Vccnkm3C05JLZFYlgsFLA0jtXRp pPIqv+1ZyP9ZjesGlAO5rHoQ6RXcVzkdzPRa50l8U+D1Yq6OygzvePU/dFUpfZBzpP5P CvTw== 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=vbPpUqLbjfiCJbiWPsBdUuYhkfMBI6uIjrZwC1GNA44=; b=BIdbRs6sHEflkiSo1mZwzwoyPcOjvVzZfILPBgcUaPbFpq5gAbyS5fT50YMrK6QLui ng4kMVoZsiIUIaEcSo4WRlm7mMNZTi2aez9tHleiGSYD8JEVaEqYsVy/AhsyDM5ZXC73 o/meyWL+tEdJbcNCZNVbiB9vtoDizBUrr6rv4HHjX/B/66lygZtlMRIjZm0XApIFIljI VA1YpTGNljTs5Iq9/A61sTDD+bu//AxkDXlFs4T6H4IaopWZUgo8/IyGKz6ufnfkTB8N El7nRNw7HOarfT0m/S8XR66VusxFDYHgqUiO5obZrh4AwTE+RaDVdF/oxcixr9Bl7llr GgfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gIzvpra6; 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=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id c69si2012965pfl.193.2017.10.14.08.50.00; Sat, 14 Oct 2017 08:50:01 -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=gIzvpra6; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0F45178210; Sat, 14 Oct 2017 15:49:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id B46C465CB6 for ; Sat, 14 Oct 2017 15:49:12 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id l24so3443785pgu.11 for ; Sat, 14 Oct 2017 08:49:14 -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=XIwCxcc8dLsE/PmGJ7mozh6qpNYh432De5yw3O0xSfM=; b=gIzvpra6e7TqhdxpW5FAI696X7VyCnm2fs4NshYwyVVLN3+eNKpnyj1aUGGGU1JQQw JDX5YWRVb3lJj8e02vOxAhX4hr+4grF8q3BUH5COCJEqwig6PAdjP2Oz2piWt7IDb52e MPg3QkNshtQ5CMe0GBK2M2+sUFWhWTDG3N5EyAIy25zh9sw1PJXD7EImqfMS81GFaPpp TE5c8YZEQlckjVLWAOXgpULkGeBJH9MW/mY8rXkmRuKPerxEum++1w0yX14JOAPhZmYx RZpfdvMhokfTbV5DvVWJKRS2/6ucBXvJrFDdRr2MKcbliF//wo0LmWfIPz2ZNdUcrQeJ Wyyg== 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=XIwCxcc8dLsE/PmGJ7mozh6qpNYh432De5yw3O0xSfM=; b=NWf/ZErD41/nmV7z1da2Sj1JjGRk+4kay8nP38MppzydMRA2yMZ9DBsnmeHJBVkRrr O2kbAK06meDr0xYlikg3wKba5tLd9RcdnGA8x2g7MF6flyy+5b15uNzDsoJbVuirGeAW 7vQpUiKzBI/YjQtyxsg7tuP0JpGxlnV4bPgx/9U/1DwZFGvbtKKMq+uDqueBHUd5H7hS Y5F53g77iBkuHNqWo/JSFAOwJJPIPzA4yj7csiSNL0AJkEQlidxvwjswphu+mFt6dRFt /v4was3V3npJbxQVJOcLulkms/F+dr1IB4cQXkVDGPmLb7EmWTHFUh0fbQ6pnJJrT1lf exMA== X-Gm-Message-State: AMCzsaVl0Ose6tthJB9zbQY7oVOj9kFvAp3Get3OMwe4H8FNRGvkuQaP /LLyyvz50FOl8DziEcpZp17gJA== X-Google-Smtp-Source: AOwi7QDj9/7KOcsmzLR6ZXYahsR+pT/bCjbPSqN1kqdWse9Jy3MLP0PW7iiiA14JoiMol46j3GzKIw== X-Received: by 10.98.90.132 with SMTP id o126mr4311837pfb.137.1507996153649; Sat, 14 Oct 2017 08:49:13 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::74e7]) by smtp.gmail.com with ESMTPSA id r9sm8384819pfd.6.2017.10.14.08.49.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Oct 2017 08:49:12 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 14 Oct 2017 08:48:55 -0700 Message-Id: <20171014154858.35123-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171014154858.35123-1-raj.khem@gmail.com> References: <20171014154858.35123-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 4/7] libevdev: Add dependency on libcheck 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 Fixes failures like test-main.o ../../libevdev-1.5.2/test/test-main.c | ../../libevdev-1.5.2/test/test-main.c:24:19: fatal error: check.h: No such file or directory | #include | ^ | compilation terminated. | make[2]: *** [test-main.o] Error 1 Change-Id: I73fce0532b91fe410d509ae55ff471ad2ea5d929 Signed-off-by: Khem Raj --- meta/recipes-support/libevdev/libevdev_1.5.7.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.14.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta/recipes-support/libevdev/libevdev_1.5.7.bb b/meta/recipes-support/libevdev/libevdev_1.5.7.bb index f740da206e..4b54971b1c 100644 --- a/meta/recipes-support/libevdev/libevdev_1.5.7.bb +++ b/meta/recipes-support/libevdev/libevdev_1.5.7.bb @@ -6,6 +6,8 @@ LICENSE = "MIT-X" LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \ file://libevdev/libevdev.h;endline=21;md5=7ff4f0b5113252c2f1a828e0bbad98d1" +DEPENDS += "libcheck" + SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz" SRC_URI[md5sum] = "4f1cfaee8d75ea3fbbfeb99a98730952" From patchwork Sat Oct 14 15:48:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 115848 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1905565qgn; Sat, 14 Oct 2017 08:50:06 -0700 (PDT) X-Received: by 10.98.110.73 with SMTP id j70mr4193552pfc.146.1507996206792; Sat, 14 Oct 2017 08:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507996206; cv=none; d=google.com; s=arc-20160816; b=Q5JYHe8CPl3fyeJzcr4Cyo820JRUn+ZpexDeOfY2nE7uQzA0bMlrMnoj6C0A6leIwO a4cppRDSKEOlhNst5FYdLEWGOskbO2TZ0LjmYKR8/l3tLhIZXAU8oNSXTe1kY0UYUoBv 7Lj3ws0kmQnsPM4KCuQQ8BVyuWZkI9O02cG0Gu2a3RYdQBt8Kx+PEArvzxmbw8TMrIK2 7zzq9AZkNsVA2JuiH4YpIamE4Az1m6J6bjn8pXXsrx74DgNZSUo/7UFReB1FOlziy8xy jEYdsxVy6jwvdwuDtQxwjt7J9B6payRBCYQ9Xw6pHLLLuodOfo4gnssvvW2tJeOiSNlS dkVQ== 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=pcBv6QYD9X+z2vNXie7Rk/fxK+00uOTkegZnD+NeFh4=; b=lhJFO/wUUEWFGoUZ8hm3xX2Wzb5hNxUvE28QAMuE3L4xQLQifBglt56CQoP1gOLgxK wKbFWsmrH6tML3Q4RCbTBXk86Z7z/a46cuQn0K/RCCvJPSygi6EmlYqukDpBXZfewo/H 8+MJKaYfO7h5g0DEw1bqzrwQJGwNZCU3PABM4m/Hqd1+lxULWF+7UfqG/a1Pb2leKgRH kUrXkovum1Vldqcuwbd+nlJ9M7DO7U3zCuLud12Bzp+Ill5n5Kv4eubp3yl5+IYqysS6 ecZQuKddGA7em7xKCRAia2OtygTZq/Zw+tdKc4/JqmD4SEXzNWv1U0UijNu8DA0+kVGS i9Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fy3yZx7J; 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=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id w4si1934205pgr.426.2017.10.14.08.50.06; Sat, 14 Oct 2017 08:50: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=fy3yZx7J; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0909C78218; Sat, 14 Oct 2017 15:49:55 +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 BFB0365CB6 for ; Sat, 14 Oct 2017 15:49:13 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id p87so12625042pfj.3 for ; Sat, 14 Oct 2017 08:49:15 -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=Gk04p3auzf6gIP6fTJSLVCjPKVZK+jvet6ep0+Ev+uY=; b=fy3yZx7JyR2RTHTTuQoMFV9sNFQ0ubNq+RntSXjzugXBnUETbvurHC6Gsb824v+WUZ IWWisfaknexX1r+ECdPv1Xiep7TEcC73MSNMCPPrY3B95k8O2cDVNk3+OxmWA4cGtEH8 DuGn9yRYOQ21T9C/gUbmKLVikciIaTiXFQ0FkT+oI/WpmLfNhpssgLSbgUQvKspx2TIy kZ7lg/sFDv7LhZs6CMv9vv7rIignUvTq2TPyAiu1ppmf2OZYvneni0DD08o3k/mSuGJj RF01MPJsk9jplQCrkUk4PfzzBHMYdmE3UJy2gjPepRBYTfqwYp+wleuIOV8x0+HPNDkL 6wqA== 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=Gk04p3auzf6gIP6fTJSLVCjPKVZK+jvet6ep0+Ev+uY=; b=STPpd8YccO7tuND82EMHxyjcAwkWPGaOHVIziBmq2PsSd6nxRwVUixyr7SmqBHdAEH ZnpTxstL2VzvHTyO7av3zh6i6kKyUqiYK3llDEcVxT2WjJ55boRnU67ZmagQf8Yp55pi TUa75pgT17LSRSH9249aUXwoRLLgotX6hRrtG3ycik3ySJAqDsDqHDMvOwCdNgFV1RPO r+4HRXnn7ka+HgFDU1M0Rb2Y8wMw3A7TSyIZ8Bcb2bQCAakBQ5f2AtMGtrAPPnP/5N/o 06gWybnwqrz5Yp+6iRN3rzwCK7pDzMVTXooQm7BWuj8qiInIfb1d+3E8l//84SAHb92d ps5w== X-Gm-Message-State: AMCzsaXzdSN/gXVk4lX77Ssrym3FhUYx7JAnn+qI04b7iwGfyhMlENET RHbe1hazjBzu1cj4NyTK++q1xQ== X-Google-Smtp-Source: AOwi7QA30ueET35hW9vHIM+LdGnNdHZmjdau3S6m6d0Iu7t5ZKlk1iTujogxpaTpSXiLSalc9XUoTg== X-Received: by 10.98.200.20 with SMTP id z20mr4321466pff.65.1507996154808; Sat, 14 Oct 2017 08:49:14 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::74e7]) by smtp.gmail.com with ESMTPSA id r9sm8384819pfd.6.2017.10.14.08.49.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Oct 2017 08:49:13 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 14 Oct 2017 08:48:56 -0700 Message-Id: <20171014154858.35123-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171014154858.35123-1-raj.khem@gmail.com> References: <20171014154858.35123-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 5/7] libcheck: Upgrade to 0.11.0+ 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 --- .../libcheck/{libcheck_0.10.0.bb => libcheck_git.bb} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename meta/recipes-support/libcheck/{libcheck_0.10.0.bb => libcheck_git.bb} (66%) -- 2.14.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/libcheck/libcheck_0.10.0.bb b/meta/recipes-support/libcheck/libcheck_git.bb similarity index 66% rename from meta/recipes-support/libcheck/libcheck_0.10.0.bb rename to meta/recipes-support/libcheck/libcheck_git.bb index 9d34198a96..2c28afefaa 100644 --- a/meta/recipes-support/libcheck/libcheck_0.10.0.bb +++ b/meta/recipes-support/libcheck/libcheck_git.bb @@ -5,13 +5,14 @@ SECTION = "devel" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1" -SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \ - " +SRCREV = "23ee70fee382df7f604b1756a35a9d4c7b632805" + +PV = "0.11.0+git${SRCPV}" -SRC_URI[md5sum] = "53c5e5c77d090e103a17f3ed7fd7d8b8" -SRC_URI[sha256sum] = "f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052" +SRC_URI = "git://github.com/libcheck/check;protocol=https\ + " -S = "${WORKDIR}/check-${PV}" +S = "${WORKDIR}/git" inherit autotools pkgconfig texinfo From patchwork Sat Oct 14 15:48:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 115849 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1905626qgn; Sat, 14 Oct 2017 08:50:12 -0700 (PDT) X-Received: by 10.101.77.74 with SMTP id j10mr4065483pgt.324.1507996212540; Sat, 14 Oct 2017 08:50:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507996212; cv=none; d=google.com; s=arc-20160816; b=dqPJVxWUH07qthex5oi9tj6ohcgfiQoU37gen/bLIm//nuFateSa6IfHpZN/tbS/Hs q46yDkyExhv3tKb2g+WY4n8ubCYL1k7CwSfNEZJ2pzBLVX0BISnjC0cEkwPAJpJYvVXy MfiaTcxWYDaaC1UKSE4n9u1mnJPXgcS1n2453Gnc9HKiIA3wG8LKvczoQGlCZQGV40Kq Ovza77HTBlhfUmhSu3LDPQgnDGvknnivVG6IPL8b2zm0U8OhoHXVxE08wMQTjFGJP+a4 wpRsbADIWUdoeUxGeUOfgRAe2zo7SwlT4L+uDt3NE4LiPNXPCl55r3dZkkoZZ4j70H9U UmLA== 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=H8gt5LjmJ3gVROakcYjYw6tLwFtm9snXQLmMW5HLBB4=; b=Zg26t5EfDF+Wb1YW+dSVQecpIKrwz1sOqgHji5U6bNwXgDbPJbYDjrDfhaWevzw+RJ HuvAUaGXLTzqWXIB1cn/eJM8pHrhCuZ/UnWrStXWM7/4SDn2fDLcOA1V4x+cof0vs6gJ s5malgXAw2w76mAP4HgW574PYN9NEkIdyiJMMVn3BZhxpboEvZIwkj3AttZ0bf9uUzPW GrebMgBVyCkAe82oEGqauFKfN01fBDZV3rsTS4YEB5znOeacy/OrMT+6kGxNYCSOPaRK xk/VODk/RckjbueAo9eGpCnAOHpMq4WLG87AjavJnUpLL3ByvEKKnV/jK1cq6+ope2Fp zhVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jwTN1UsS; 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=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 62si2148127plc.742.2017.10.14.08.50.12; Sat, 14 Oct 2017 08:50:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jwTN1UsS; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 06A427821F; Sat, 14 Oct 2017 15:49:56 +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 55E9965CB6 for ; Sat, 14 Oct 2017 15:49:15 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id b192so3498899pga.2 for ; Sat, 14 Oct 2017 08:49:17 -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=qywDwBEfgEBs+/YCTDX2lNtleVo1xMnWJZFttnL69Rw=; b=jwTN1UsSBCz+loPWe6NQ/D0vUGZ6TTK8YrmkckD5E7U5KrguiVD0PVLMELb1JKHMxz p5kQa2GsArP6VxwYwd922lJJ+a+2T7+Y2sYBso7e6PIhNUuvJI9rui3DlJtgK37fdwG5 97pPWlaj3BUbklW0oLFQEx6Q5BvVJ9nJbU34KKqYWq30zx2kbNs28H7SEiSrquwCygzk nTzcw42drl+J3+Q57N7pwD1Wnr/XRRZzj/W0VMuaXsm8V0vyu8FDdSw1WMU5GhDO4vvf b9kf5yN4n+oIlaICij+faqhNW88Jz14Rv+RhpKKv8Oddr1BIZxjiUtkG5PvEeewXmPCy bXuQ== 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=qywDwBEfgEBs+/YCTDX2lNtleVo1xMnWJZFttnL69Rw=; b=OEX6drliy56XAHLwMmciFWfRhtx96xK20DjaNclzIhUxeG8p5qD2fMUinunRewjI4O Bj/eOOkJvYrWACrkNU0V5VTg41jCQgD3Igrr+j5F6ynlLVvt1/OgEshG4WWLe1jEo6Y4 sydp8wsFA0JXf1T1u++8rASE+YhVBqlqxObWRhEH3jLWqIfum95MWl940M+6UV3uTzbg p/o1IzEVJJp4pcfbBNHyAxcLHFL2Yuvg8EKoe27a4JMYsY3hZiXthrzDlyyZIx6ISSgS /qtqDZZLhJLmWYgpAUOd/ZGyedZ/wu9I5dhgkIMdIQJQ5UIAlV6Azhs7XKxZWHqLrXFD YLug== X-Gm-Message-State: AMCzsaWbDHfE51lCKoL6hyq9fnnjteBaJMQhxgfzRnlF4gtXPLc9Rd5g uYIZBQpRiZrBvWdt6S96BvlrDA== X-Google-Smtp-Source: AOwi7QBVOCl0RX1izTRY8Uc73WL0zGEvysh2RzVWICr3hyHTxTCH2/8ocOgZQ5ycoesoKu70fBlP1A== X-Received: by 10.98.245.152 with SMTP id b24mr4382674pfm.56.1507996156092; Sat, 14 Oct 2017 08:49:16 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::74e7]) by smtp.gmail.com with ESMTPSA id r9sm8384819pfd.6.2017.10.14.08.49.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Oct 2017 08:49:15 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 14 Oct 2017 08:48:57 -0700 Message-Id: <20171014154858.35123-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171014154858.35123-1-raj.khem@gmail.com> References: <20171014154858.35123-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 6/7] gcc6: Upgrade to 6.4 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../gcc/gcc-6.3/ubsan-fix-check-empty-string.patch | 28 ---------- .../gcc/{gcc-6.3.inc => gcc-6.4.inc} | 13 +++-- .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 0 .../0008-missing-execinfo_h.patch | 0 .../{gcc-6.3 => gcc-6.4}/0009-c99-snprintf.patch | 0 .../0010-gcc-poison-system-directories.patch | 0 .../0011-gcc-poison-dir-extend.patch | 0 .../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 0 .../0013-64-bit-multilib-hack.patch | 0 .../0014-optional-libstdc.patch | 0 ...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 0 .../0016-COLLECT_GCC_OPTIONS.patch | 0 ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 0 .../0018-fortran-cross-compile-hack.patch | 0 .../0019-cpp-honor-sysroot.patch | 0 .../0020-MIPS64-Default-to-N64-ABI.patch | 0 ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 0 ...0022-gcc-Fix-argument-list-too-long-error.patch | 0 .../{gcc-6.3 => gcc-6.4}/0023-Disable-sdt.patch | 0 .../gcc/{gcc-6.3 => gcc-6.4}/0024-libtool.patch | 0 ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch | 0 ...tilib-config-files-from-B-instead-of-usin.patch | 0 ...-libdir-from-.la-which-usually-points-to-.patch | 0 .../gcc/{gcc-6.3 => gcc-6.4}/0028-export-CPP.patch | 0 ...AltiVec-generation-on-powepc-linux-target.patch | 0 ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch | 0 ...Ensure-target-gcc-headers-can-be-included.patch | 0 ...-t-build-with-disable-dependency-tracking.patch | 0 ...h-host-directory-during-relink-if-inst_pr.patch | 0 ...IBS_DIR-replacement-instead-of-hardcoding.patch | 0 .../0035-aarch64-Add-support-for-musl-ldso.patch | 0 ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch | 0 ...-handle-sysroot-support-for-nativesdk-gcc.patch | 0 ...et-sysroot-gcc-version-specific-dirs-with.patch | 0 ...-various-_FOR_BUILD-and-related-variables.patch | 0 .../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 0 .../{gcc-6.3 => gcc-6.4}/0041-ssp_nonshared.patch | 0 ...c-libcpp-support-ffile-prefix-map-old-new.patch | 0 ...ug-prefix-map-to-replace-ffile-prefix-map.patch | 0 ...-fdebug-prefix-map-support-to-remap-sourc.patch | 0 ...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 0 ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 0 ...e-alias-for-__cpu_indicator_init-instead-.patch | 0 .../0048-sync-gcc-stddef.h-with-musl.patch | 0 .../0054_all_nopie-all-flags.patch | 0 .../0055-unwind_h-glibc26.patch | 0 ...-relax-the-restriction-on-subreg-reload-f.patch | 0 .../backport}/CVE-2016-6131.patch | 62 ++++++---------------- ...s-canadian_6.3.bb => gcc-cross-canadian_6.4.bb} | 0 ...oss-initial_6.3.bb => gcc-cross-initial_6.4.bb} | 0 .../gcc/{gcc-cross_6.3.bb => gcc-cross_6.4.bb} | 0 ...-initial_6.3.bb => gcc-crosssdk-initial_6.4.bb} | 0 .../{gcc-crosssdk_6.3.bb => gcc-crosssdk_6.4.bb} | 0 .../gcc/{gcc-runtime_6.3.bb => gcc-runtime_6.4.bb} | 0 ...gcc-sanitizers_6.3.bb => gcc-sanitizers_6.4.bb} | 0 .../gcc/{gcc-source_6.3.bb => gcc-source_6.4.bb} | 0 .../gcc/{gcc_6.3.bb => gcc_6.4.bb} | 0 ...libgcc-initial_6.3.bb => libgcc-initial_6.4.bb} | 0 .../gcc/{libgcc_6.3.bb => libgcc_6.4.bb} | 0 .../gcc/{libgfortran_6.3.bb => libgfortran_6.4.bb} | 0 60 files changed, 23 insertions(+), 80 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch rename meta/recipes-devtools/gcc/{gcc-6.3.inc => gcc-6.4.inc} (93%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0008-missing-execinfo_h.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0009-c99-snprintf.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0010-gcc-poison-system-directories.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0011-gcc-poison-dir-extend.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0013-64-bit-multilib-hack.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0014-optional-libstdc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0016-COLLECT_GCC_OPTIONS.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0018-fortran-cross-compile-hack.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0019-cpp-honor-sysroot.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0020-MIPS64-Default-to-N64-ABI.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0022-gcc-Fix-argument-list-too-long-error.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0023-Disable-sdt.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0024-libtool.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0028-export-CPP.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0031-Ensure-target-gcc-headers-can-be-included.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0035-aarch64-Add-support-for-musl-ldso.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0037-handle-sysroot-support-for-nativesdk-gcc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0039-Fix-various-_FOR_BUILD-and-related-variables.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0041-ssp_nonshared.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0048-sync-gcc-stddef.h-with-musl.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0054_all_nopie-all-flags.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0055-unwind_h-glibc26.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4/backport}/CVE-2016-6131.patch (73%) rename meta/recipes-devtools/gcc/{gcc-cross-canadian_6.3.bb => gcc-cross-canadian_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-cross-initial_6.3.bb => gcc-cross-initial_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-cross_6.3.bb => gcc-cross_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-crosssdk-initial_6.3.bb => gcc-crosssdk-initial_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-crosssdk_6.3.bb => gcc-crosssdk_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-runtime_6.3.bb => gcc-runtime_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-sanitizers_6.3.bb => gcc-sanitizers_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-source_6.3.bb => gcc-source_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc_6.3.bb => gcc_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{libgcc-initial_6.3.bb => libgcc-initial_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{libgcc_6.3.bb => libgcc_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{libgfortran_6.3.bb => libgfortran_6.4.bb} (100%) diff --git a/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch b/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch deleted file mode 100644 index c0127198e0..0000000000 --- a/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 8db2cf6353c13f2a84cbe49b689654897906c499 Mon Sep 17 00:00:00 2001 -From: kyukhin -Date: Sat, 3 Sep 2016 10:57:05 +0000 -Subject: [PATCH] gcc/ * ubsan.c (ubsan_use_new_style_p): Fix check for empty - string. - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239971 138bc75d-0d04-0410-961f-82ee72b054a4 - -Upstream-Status: Backport -Signed-off-by: Joshua Lock - ---- - gcc/ubsan.c | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -Index: gcc-6.3.0/gcc/ubsan.c -=================================================================== ---- gcc-6.3.0.orig/gcc/ubsan.c -+++ gcc-6.3.0/gcc/ubsan.c -@@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc) - - expanded_location xloc = expand_location (loc); - if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0 -- || xloc.file == '\0' || xloc.file[0] == '\xff' -+ || xloc.file[0] == '\0' || xloc.file[0] == '\xff' - || xloc.file[1] == '\xff') - return false; - diff --git a/meta/recipes-devtools/gcc/gcc-6.3.inc b/meta/recipes-devtools/gcc/gcc-6.4.inc similarity index 93% rename from meta/recipes-devtools/gcc/gcc-6.3.inc rename to meta/recipes-devtools/gcc/gcc-6.4.inc index e569e0220b..a42b7d83ca 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3.inc +++ b/meta/recipes-devtools/gcc/gcc-6.4.inc @@ -2,13 +2,13 @@ require gcc-common.inc # Third digit in PV should be incremented after a minor release -PV = "6.3.0" +PV = "6.4.0" # BINV should be incremented to a revision after a minor gcc release -BINV = "6.3.0" +BINV = "6.4.0" -FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.3:${FILE_DIRNAME}/gcc-6.3/backport:" +FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.4:${FILE_DIRNAME}/gcc-6.4/backport:" DEPENDS =+ "mpfr gmp libmpc zlib" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" @@ -24,7 +24,7 @@ LIC_FILES_CHKSUM = "\ " -BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz" #SRCREV = "bd9a826d5448db11d29d2ec5884e7e679066f140" #BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git" #BASEURI ?= "ftp://sourceware.org/pub/gcc/snapshots/6.2.0-RC-20160815/gcc-6.2.0-RC-20160815.tar.bz2" @@ -80,10 +80,9 @@ SRC_URI = "\ " BACKPORTS = "\ file://CVE-2016-6131.patch \ - file://ubsan-fix-check-empty-string.patch \ " -SRC_URI[md5sum] = "677a7623c7ef6ab99881bc4e048debb6" -SRC_URI[sha256sum] = "f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f" +SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" +SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4" S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git" diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-6.4/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0008-missing-execinfo_h.patch b/meta/recipes-devtools/gcc/gcc-6.4/0008-missing-execinfo_h.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0008-missing-execinfo_h.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0008-missing-execinfo_h.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0009-c99-snprintf.patch b/meta/recipes-devtools/gcc/gcc-6.4/0009-c99-snprintf.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0009-c99-snprintf.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0009-c99-snprintf.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0010-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc-6.4/0010-gcc-poison-system-directories.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0010-gcc-poison-system-directories.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0010-gcc-poison-system-directories.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0011-gcc-poison-dir-extend.patch b/meta/recipes-devtools/gcc/gcc-6.4/0011-gcc-poison-dir-extend.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0011-gcc-poison-dir-extend.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0011-gcc-poison-dir-extend.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-6.4/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0013-64-bit-multilib-hack.patch b/meta/recipes-devtools/gcc/gcc-6.4/0013-64-bit-multilib-hack.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0013-64-bit-multilib-hack.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0013-64-bit-multilib-hack.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0014-optional-libstdc.patch b/meta/recipes-devtools/gcc/gcc-6.4/0014-optional-libstdc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0014-optional-libstdc.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0014-optional-libstdc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch b/meta/recipes-devtools/gcc/gcc-6.4/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0016-COLLECT_GCC_OPTIONS.patch b/meta/recipes-devtools/gcc/gcc-6.4/0016-COLLECT_GCC_OPTIONS.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0016-COLLECT_GCC_OPTIONS.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0016-COLLECT_GCC_OPTIONS.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch b/meta/recipes-devtools/gcc/gcc-6.4/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0018-fortran-cross-compile-hack.patch b/meta/recipes-devtools/gcc/gcc-6.4/0018-fortran-cross-compile-hack.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0018-fortran-cross-compile-hack.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0018-fortran-cross-compile-hack.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0019-cpp-honor-sysroot.patch b/meta/recipes-devtools/gcc/gcc-6.4/0019-cpp-honor-sysroot.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0019-cpp-honor-sysroot.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0019-cpp-honor-sysroot.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0020-MIPS64-Default-to-N64-ABI.patch b/meta/recipes-devtools/gcc/gcc-6.4/0020-MIPS64-Default-to-N64-ABI.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0020-MIPS64-Default-to-N64-ABI.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0020-MIPS64-Default-to-N64-ABI.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc-6.4/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0022-gcc-Fix-argument-list-too-long-error.patch b/meta/recipes-devtools/gcc/gcc-6.4/0022-gcc-Fix-argument-list-too-long-error.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0022-gcc-Fix-argument-list-too-long-error.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0022-gcc-Fix-argument-list-too-long-error.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0023-Disable-sdt.patch b/meta/recipes-devtools/gcc/gcc-6.4/0023-Disable-sdt.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0023-Disable-sdt.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0023-Disable-sdt.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0024-libtool.patch b/meta/recipes-devtools/gcc/gcc-6.4/0024-libtool.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0024-libtool.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0024-libtool.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch b/meta/recipes-devtools/gcc/gcc-6.4/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch b/meta/recipes-devtools/gcc/gcc-6.4/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch b/meta/recipes-devtools/gcc/gcc-6.4/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0028-export-CPP.patch b/meta/recipes-devtools/gcc/gcc-6.4/0028-export-CPP.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0028-export-CPP.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0028-export-CPP.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-6.4/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch b/meta/recipes-devtools/gcc/gcc-6.4/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0031-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-6.4/0031-Ensure-target-gcc-headers-can-be-included.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0031-Ensure-target-gcc-headers-can-be-included.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0031-Ensure-target-gcc-headers-can-be-included.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch b/meta/recipes-devtools/gcc/gcc-6.4/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch b/meta/recipes-devtools/gcc/gcc-6.4/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-6.4/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0035-aarch64-Add-support-for-musl-ldso.patch b/meta/recipes-devtools/gcc/gcc-6.4/0035-aarch64-Add-support-for-musl-ldso.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0035-aarch64-Add-support-for-musl-ldso.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0035-aarch64-Add-support-for-musl-ldso.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch b/meta/recipes-devtools/gcc/gcc-6.4/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0037-handle-sysroot-support-for-nativesdk-gcc.patch b/meta/recipes-devtools/gcc/gcc-6.4/0037-handle-sysroot-support-for-nativesdk-gcc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0037-handle-sysroot-support-for-nativesdk-gcc.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0037-handle-sysroot-support-for-nativesdk-gcc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch b/meta/recipes-devtools/gcc/gcc-6.4/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0039-Fix-various-_FOR_BUILD-and-related-variables.patch b/meta/recipes-devtools/gcc/gcc-6.4/0039-Fix-various-_FOR_BUILD-and-related-variables.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0039-Fix-various-_FOR_BUILD-and-related-variables.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0039-Fix-various-_FOR_BUILD-and-related-variables.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch b/meta/recipes-devtools/gcc/gcc-6.4/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch b/meta/recipes-devtools/gcc/gcc-6.4/0041-ssp_nonshared.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0041-ssp_nonshared.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch b/meta/recipes-devtools/gcc/gcc-6.4/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch b/meta/recipes-devtools/gcc/gcc-6.4/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch b/meta/recipes-devtools/gcc/gcc-6.4/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch b/meta/recipes-devtools/gcc/gcc-6.4/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch b/meta/recipes-devtools/gcc/gcc-6.4/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch b/meta/recipes-devtools/gcc/gcc-6.4/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch b/meta/recipes-devtools/gcc/gcc-6.4/0048-sync-gcc-stddef.h-with-musl.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0048-sync-gcc-stddef.h-with-musl.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0054_all_nopie-all-flags.patch b/meta/recipes-devtools/gcc/gcc-6.4/0054_all_nopie-all-flags.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0054_all_nopie-all-flags.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0054_all_nopie-all-flags.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch b/meta/recipes-devtools/gcc/gcc-6.4/0055-unwind_h-glibc26.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0055-unwind_h-glibc26.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch b/meta/recipes-devtools/gcc/gcc-6.4/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch b/meta/recipes-devtools/gcc/gcc-6.4/backport/CVE-2016-6131.patch similarity index 73% rename from meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch rename to meta/recipes-devtools/gcc/gcc-6.4/backport/CVE-2016-6131.patch index e873cc6e85..3cdbb2d171 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch +++ b/meta/recipes-devtools/gcc/gcc-6.4/backport/CVE-2016-6131.patch @@ -37,35 +37,10 @@ Signed-off-by: Yuanjie Huang libiberty/testsuite/demangle-expected | 18 ++++++++ 3 files changed, 108 insertions(+), 5 deletions(-) -diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog -index 240138f..adf1d72 100644 ---- a/libiberty/ChangeLog -+++ b/libiberty/ChangeLog -@@ -1,3 +1,20 @@ -+2016-08-04 Marcel Böhme -+ -+ PR c++/71696 -+ * cplus-dem.c: Prevent infinite recursion when there is a cycle -+ in the referencing of remembered mangled types. -+ (work_stuff): New stack to keep track of the remembered mangled -+ types that are currently being processed. -+ (push_processed_type): New method to push currently processed -+ remembered type onto the stack. -+ (pop_processed_type): New method to pop currently processed -+ remembered type from the stack. -+ (work_stuff_copy_to_from): Copy values of new variables. -+ (delete_non_B_K_work_stuff): Free stack memory. -+ (demangle_args): Push/Pop currently processed remembered type. -+ (do_type): Do not demangle a cyclic reference and push/pop -+ referenced remembered type. -+ - 2016-12-21 Release Manager - - * GCC 6.3.0 released. -diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c -index 7514e57..f21e630 100644 ---- a/libiberty/cplus-dem.c -+++ b/libiberty/cplus-dem.c +Index: gcc-6.4.0/libiberty/cplus-dem.c +=================================================================== +--- gcc-6.4.0.orig/libiberty/cplus-dem.c ++++ gcc-6.4.0/libiberty/cplus-dem.c @@ -144,6 +144,9 @@ struct work_stuff string* previous_argument; /* The last function argument demangled. */ int nrepeats; /* The number of times to repeat the previous @@ -76,7 +51,7 @@ index 7514e57..f21e630 100644 }; #define PRINT_ANSI_QUALIFIERS (work -> options & DMGL_ANSI) -@@ -435,6 +438,10 @@ iterate_demangle_function (struct work_stuff *, +@@ -435,6 +438,10 @@ iterate_demangle_function (struct work_s static void remember_type (struct work_stuff *, const char *, int); @@ -87,7 +62,7 @@ index 7514e57..f21e630 100644 static void remember_Btype (struct work_stuff *, const char *, int, int); static int register_Btype (struct work_stuff *); -@@ -1301,6 +1308,10 @@ work_stuff_copy_to_from (struct work_stuff *to, struct work_stuff *from) +@@ -1301,6 +1308,10 @@ work_stuff_copy_to_from (struct work_stu memcpy (to->btypevec[i], from->btypevec[i], len); } @@ -98,7 +73,7 @@ index 7514e57..f21e630 100644 if (from->ntmpl_args) to->tmpl_argvec = XNEWVEC (char *, from->ntmpl_args); -@@ -1329,11 +1340,17 @@ delete_non_B_K_work_stuff (struct work_stuff *work) +@@ -1329,11 +1340,17 @@ delete_non_B_K_work_stuff (struct work_s /* Discard the remembered types, if any. */ forget_types (work); @@ -129,7 +104,7 @@ index 7514e57..f21e630 100644 int done; int success; string decl; -@@ -3564,6 +3583,7 @@ do_type (struct work_stuff *work, const char **mangled, string *result) +@@ -3564,6 +3583,7 @@ do_type (struct work_stuff *work, const done = 0; success = 1; @@ -137,7 +112,7 @@ index 7514e57..f21e630 100644 while (success && !done) { int member; -@@ -3616,8 +3636,15 @@ do_type (struct work_stuff *work, const char **mangled, string *result) +@@ -3616,8 +3636,15 @@ do_type (struct work_stuff *work, const success = 0; } else @@ -154,7 +129,7 @@ index 7514e57..f21e630 100644 mangled = &remembered_type; } break; -@@ -3840,6 +3867,9 @@ do_type (struct work_stuff *work, const char **mangled, string *result) +@@ -3840,6 +3867,9 @@ do_type (struct work_stuff *work, const string_delete (result); string_delete (&decl); @@ -164,7 +139,7 @@ index 7514e57..f21e630 100644 if (success) /* Assume an integral type, if we're not sure. */ return (int) ((tk == tk_none) ? tk_integral : tk); -@@ -4252,6 +4282,41 @@ do_arg (struct work_stuff *work, const char **mangled, string *result) +@@ -4252,6 +4282,41 @@ do_arg (struct work_stuff *work, const c } static void @@ -206,7 +181,7 @@ index 7514e57..f21e630 100644 remember_type (struct work_stuff *work, const char *start, int len) { char *tem; -@@ -4515,10 +4580,13 @@ demangle_args (struct work_stuff *work, const char **mangled, +@@ -4515,10 +4580,13 @@ demangle_args (struct work_stuff *work, { string_append (declp, ", "); } @@ -220,11 +195,11 @@ index 7514e57..f21e630 100644 if (PRINT_ARG_TYPES) { string_appends (declp, &arg); -diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected -index 157d2ee..8793a0b 100644 ---- a/libiberty/testsuite/demangle-expected -+++ b/libiberty/testsuite/demangle-expected -@@ -4491,3 +4491,21 @@ void eat(int*&, Foo()::{lambda(auto:1 +Index: gcc-6.4.0/libiberty/testsuite/demangle-expected +=================================================================== +--- gcc-6.4.0.orig/libiberty/testsuite/demangle-expected ++++ gcc-6.4.0/libiberty/testsuite/demangle-expected +@@ -4491,3 +4491,21 @@ void eat()::{lambda(short*, auto:1*, auto:2*)#2}>(int*&, void Bar()::{lambda(short*, auto:1*, auto:2*)#2}&) @@ -246,6 +221,3 @@ index 157d2ee..8793a0b 100644 + +__10%0__S4_0T0T0 +%0<>::%0(%0<>) --- -2.9.3 - diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_6.3.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross-canadian_6.3.bb rename to meta/recipes-devtools/gcc/gcc-cross-canadian_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial_6.3.bb b/meta/recipes-devtools/gcc/gcc-cross-initial_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross-initial_6.3.bb rename to meta/recipes-devtools/gcc/gcc-cross-initial_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-cross_6.3.bb b/meta/recipes-devtools/gcc/gcc-cross_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross_6.3.bb rename to meta/recipes-devtools/gcc/gcc-cross_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.3.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.3.bb rename to meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_6.3.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-crosssdk_6.3.bb rename to meta/recipes-devtools/gcc/gcc-crosssdk_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-runtime_6.3.bb b/meta/recipes-devtools/gcc/gcc-runtime_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-runtime_6.3.bb rename to meta/recipes-devtools/gcc/gcc-runtime_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_6.3.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-sanitizers_6.3.bb rename to meta/recipes-devtools/gcc/gcc-sanitizers_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-source_6.3.bb b/meta/recipes-devtools/gcc/gcc-source_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-source_6.3.bb rename to meta/recipes-devtools/gcc/gcc-source_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc_6.3.bb b/meta/recipes-devtools/gcc/gcc_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc_6.3.bb rename to meta/recipes-devtools/gcc/gcc_6.4.bb diff --git a/meta/recipes-devtools/gcc/libgcc-initial_6.3.bb b/meta/recipes-devtools/gcc/libgcc-initial_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgcc-initial_6.3.bb rename to meta/recipes-devtools/gcc/libgcc-initial_6.4.bb diff --git a/meta/recipes-devtools/gcc/libgcc_6.3.bb b/meta/recipes-devtools/gcc/libgcc_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgcc_6.3.bb rename to meta/recipes-devtools/gcc/libgcc_6.4.bb diff --git a/meta/recipes-devtools/gcc/libgfortran_6.3.bb b/meta/recipes-devtools/gcc/libgfortran_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgfortran_6.3.bb rename to meta/recipes-devtools/gcc/libgfortran_6.4.bb From patchwork Sat Oct 14 15:48:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 115850 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1905730qgn; Sat, 14 Oct 2017 08:50:20 -0700 (PDT) X-Received: by 10.99.7.133 with SMTP id 127mr4053027pgh.147.1507996220297; Sat, 14 Oct 2017 08:50:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507996220; cv=none; d=google.com; s=arc-20160816; b=SdPUkhxZZYy0LFVJZ3vLSvEKRyhEY+HDaC7AiY0gtp5qeKuKD74CVn3J8LxWHx5c4I qVnZ6GwuyZbcAD95i4XOqTzz27yPXeLAr1bVznU9XzPDW/RYNNrjaR9gNiqU+kwHJ2Kr t1/SceTvP77XOXBlAlz96V/H4oM/SwTA9InEY/YnYAQGPA3w/4SmGp10TgfZnzk1I9he A0qInI0j+74VTOezVOoGkivBucQGpC9rXxrreaBUsONSz57sz1p39VJcyP0nTFBpnHAL nV4S5KA1gf6i2YY0Q+LxVT5LsN1BPuWiwP3KsnADpMk2BsODrb7v8P34azkk5Qn16GaU vB4w== 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=FmS/whnZvqQl4gXcnmWkOIIMpNjVE/bf2npUbVbV7Hc=; b=TixPMS/d9zAOJV9MiIKXado277PtgMEPChXhq5RtTQivWIXiJ3iBZr8I0MEbsf2KrK cAoQW9uCemcES53p7lBqDiPJQ3VwE9Tka0OePVc5hMTTPLOQUSYu7xebj1fbL3z/9XbS lmvd9UAOE+l4lvlGfW+KgZM6wvWqKfTdMwX+XGSV3fElsFj9EI3Vy9qp6dhdf8Wn1xKU spJP45mUGFx/AweQk9TT2Zls85ap7rYwUYimqXwH4pi3EYef93WIW8OfOokgl3PqezZv ns7y6lSraqsfVM+EKYRImvbLaSXgow6r1EatevmWrSaOiddVaJuQAyy5zqRw+CDP8P1B avHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UHTpCuMg; 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=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 6si2160850plc.318.2017.10.14.08.50.19; Sat, 14 Oct 2017 08:50:20 -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=UHTpCuMg; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3247E78228; Sat, 14 Oct 2017 15:49:57 +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 B741277FEC for ; Sat, 14 Oct 2017 15:49:15 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id a8so12172736pfc.0 for ; Sat, 14 Oct 2017 08:49:17 -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=1G0v79lZlDU7SleSOuEk4e5HH13yYrrftQTogdo/Huk=; b=UHTpCuMg744H9EKOV3TN7qGvylaLpUsWGmFRTNqIoyeYNMjN0y61rLhbVdHaEFIcaw 1O2inUlSpVZtew5dfdv+qIc84VJZns+wDwNR6kAwF0rdPsVy90XS7kGHI3Ip0V+w9ouk MVCVnHNVSMq93dxLqh5r1xb5J9jC4Zj+uVf6WMZrB+q+TkN1vFfGWIIgaXetXgrDSXsk iB/4TbLERUQGusWabtZsUDPcUWSecwneiVHrDcaoAtoXVNJ+tHf+54pRa6Am+/nMoti0 u9Jta8Hj9RQmfAFKhxEybckEICH6J+J88wZsqQsreGYkUk9LDKn/Eq3AcBNPnaQHql9k YxcQ== 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=1G0v79lZlDU7SleSOuEk4e5HH13yYrrftQTogdo/Huk=; b=fQ6JiJPRqloBZ/bP30HwZwMveKXfCHbmz0M/5dmKfjf3M06QXpsa9YOFAWQAkt4iAh k+OZA+QK7drWkPJQ6Y/FFQ2M/mT+jkTfhSbDzsuVIzHdQcgEeUramifCJjz8rbLelO7I mv94p3F13zPP8/yJBZL/mOHagwjsVssiWp3cZY/NIj1rIGLuDcEPs+CJqlgDjl3xxvVB WiAn8LEHu0vNiSKP5tSwL8maP7NHewRva+Jf8HPtiRBP62Ycy6Xt1pyiPZbVEZoLIKTJ +PTzV7Yg7r9YyVrU0coS/oZEGjH5dcAp7bcd+1ib2ipkCWCG4XBEIVVDjL38Un0UDQ4p yHdg== X-Gm-Message-State: AMCzsaVgyVEQu916lq/Gtw6czGnd+CfhO1W+LwDmjGXO9vAyy1KpgiGo NKone8RiiYSXtUmw3NQ7Ygi44g== X-Google-Smtp-Source: AOwi7QC1trFJHAVM9aN4TFvCGzjvCDOlvT6pNV7DO+ypxEPnja2q43DhfIyOHtE+cS3vugt9kvuYpA== X-Received: by 10.99.127.26 with SMTP id a26mr4018882pgd.385.1507996157094; Sat, 14 Oct 2017 08:49:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::74e7]) by smtp.gmail.com with ESMTPSA id r9sm8384819pfd.6.2017.10.14.08.49.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Oct 2017 08:49:16 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 14 Oct 2017 08:48:58 -0700 Message-Id: <20171014154858.35123-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171014154858.35123-1-raj.khem@gmail.com> References: <20171014154858.35123-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 7/7] mdadm: Fix build with gcc < 7 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 Do not rely on build host gcc for "implicit-fallthrough" support we need to check the CC for it Signed-off-by: Khem Raj --- ...heck-for-implicit-fallthrough-warning-sup.patch | 31 ++++++++++++++++++++++ meta/recipes-extended/mdadm/mdadm_4.0.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta/recipes-extended/mdadm/files/0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch -- 2.14.2 -- _______________________________________________ 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-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch b/meta/recipes-extended/mdadm/files/0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch new file mode 100644 index 0000000000..a4b7b8acd3 --- /dev/null +++ b/meta/recipes-extended/mdadm/files/0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch @@ -0,0 +1,31 @@ +From a129ee6d80f3b2cda0d827c35fa81a517cf6d505 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 13 Oct 2017 10:27:34 -0700 +Subject: [PATCH] Use CC to check for implicit-fallthrough warning support + +This warning it new in gcc7 and in cross compile case +its possible that build host gcc is version 7+ but the +cross compile used for compiling mdadm is < version 7 + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index d207ee4..971f255 100644 +--- a/Makefile ++++ b/Makefile +@@ -48,7 +48,7 @@ ifdef WARN_UNUSED + CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3 + endif + +-FALLTHROUGH := $(shell gcc -v --help 2>&1 | grep "implicit-fallthrough" | wc -l) ++FALLTHROUGH := $(shell ${CC} -v --help 2>&1 | grep "implicit-fallthrough" | wc -l) + ifneq "$(FALLTHROUGH)" "0" + CWFLAGS += -Wimplicit-fallthrough=0 + endif +-- +2.14.2 + diff --git a/meta/recipes-extended/mdadm/mdadm_4.0.bb b/meta/recipes-extended/mdadm/mdadm_4.0.bb index 506b0bc315..dc098f19b6 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.0.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.0.bb @@ -21,6 +21,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \ file://0003-Replace-snprintf-with-strncpy-at-some-places-to-avoi.patch \ 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 \ " SRC_URI[md5sum] = "2cb4feffea9167ba71b5f346a0c0a40d" SRC_URI[sha256sum] = "1d6ae7f24ced3a0fa7b5613b32f4a589bb4881e3946a5a2c3724056254ada3a9"