From patchwork Mon Jan 29 03:27:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126137 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091572ljd; Sun, 28 Jan 2018 19:27:51 -0800 (PST) X-Google-Smtp-Source: AH8x225fiXHF/TKoTMrEohxAYfVbHSN2EQBSMikJA934WBOq9fB8PWFrPw03dXQIhj5HMFLg9o+k X-Received: by 2002:a17:902:3381:: with SMTP id b1-v6mr20876244plc.20.1517196471361; Sun, 28 Jan 2018 19:27:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196471; cv=none; d=google.com; s=arc-20160816; b=DCWU01zTRNR3WL/ERB26FnrKkG2KBEwRQqy9+Pm7YdZt+PxEwv9pYBW99OhXb7ayTZ NtqZ71lEr3Pq1MzcS5aqK7ilU5I7E606q3BgY8z3+c39aNPMS+nd6A0SiVlh6XYJDERy 5AbhW/R5eTgqt/K9jy0Z8jU2+ctng6IrOd9kowUdoh8ZPOnx1Q5E3LluJiiEFqoTN/DL cePrl1Eu0Bp9TMYUytGFVP/V6w0y3Qaf853Do4xZgbJTcRhL4bPLVM4vwZ2uby0nSFH/ c+RuTyS5A+9xjDrMD8tnL1DbLKgHuZ93mG7eAzXpiF608NVnGPOCDGCaBOlGQGAbEXny CLhA== 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=qk6ED6tEppvxwlHdJBexl1wrRuGtE2vNGZLQzLSyDf8=; b=ZPd2a9kaBBOsbU0h5JnooymBhoTT5JxVomYt5RoUPFsEwsfLFfh3rp0vORvvJJ3EWM /NeLSxafYJ+9lsPh8yP1twjOoY6OM/lsFmdgGQRqtZAkqTFFC5giCi8vCkG0gj2xhnfi nmuAG1LrWwokcN/f2BK56SSl6t7nwBMjeNDOobfXiShvLPqRq6E7vCX/LfVKrxTc1dRN XM1QReoCi6uIHs5eI3ABbeA1na6rMUfjp6L/puPub4or9fcgVleg6xa/AP6LE/6XQEiD quH93ft+mNTOxwi0xh3ZnMwYUMVCkjROB4FOOuSEauPAoWFHRAutym5Lp8g6F0uYepry B/Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TqE2UOt2; 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 15si5215821pfa.303.2018.01.28.19.27.51; Sun, 28 Jan 2018 19:27:51 -0800 (PST) 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=TqE2UOt2; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 89E5B786A0; Mon, 29 Jan 2018 03:27:48 +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 351D5786B2 for ; Mon, 29 Jan 2018 03:27:26 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id b25so3728279pfd.9 for ; Sun, 28 Jan 2018 19:27:28 -0800 (PST) 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=v35w854K3NhsIp8Ly+ZhhmnyOOiN37zvbzt1Q3JapV0=; b=TqE2UOt28dgiKg/L1jGhvoWBMru/GqPP9OE2N7cy1iJD+Vbm50OK2/Jx7hdlDLo8VD vUMT1vVvLjI/jCJjBnad2MUly/cilSNs3oj07QICweQaiRIo1bwUg65ebc6dicBxFsyI pfOozYij16s61abgHao903FG6E0UILf1c/pAhPDni1yYWVkragobxL1iQR3D3pExk6Hs cXUUz/Abhuf2cCAsA7x7myotGQko0zI4Lw/W0zuNu7vDlzLftfTz+O4gvsHoqK00dh4M XAs5gOANjinI+6KEJHtt4T27ThFFMw4LpWIBUwhsqYvQ34zwNcBXu9XJSZOhbKQYPI+o SUKQ== 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=v35w854K3NhsIp8Ly+ZhhmnyOOiN37zvbzt1Q3JapV0=; b=KL9cXodd6Ujgnyl91x86492FlTRxXTyhF0vvQgb6KY2tqWRLiA3XIAy8m7EZUgIYsR lNMbQvOKRIfKzU5sYkMjfdSgXZdfQwF7eIez1LXih0zXx3wHyhrw1EP9+ll2cbwCRuFG co/eWA/e5HsERq2rEZeaNCBaRXrnMrg7QvWt431HCKih0N8MIxjqfZyEzVuCJtye5avE mYLTF0aDQ/CrMjK7uf1D0X3IQkvU+hrz1S4+QwrQaEDpVX9eBK45sfmkgzTetNtEWiFH YZxMoqxXHZSG9A7f/GjMubgdLAgLFuARrVOxx47ASFYoK7I/v2bt7ISGpBK/A7rOiNEX cdlw== X-Gm-Message-State: AKwxyteDGC4Fv0hax0aCBA57bOLD7gH9j70HrU3Tj4jt4ITYOX/TXbAS W+3IxqRzibEkhC7QKm4JXoTqCw== X-Received: by 10.101.77.208 with SMTP id q16mr19922093pgt.395.1517196448087; Sun, 28 Jan 2018 19:27:28 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:27 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:12 -0800 Message-Id: <38140252cb66052fe8ab18076b2eecc64f751d02.1517196242.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH 1/8] gcc-7.3: Drop upstreamed musl cpuinfo patch X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This patch is already in gcc-7-branch https://github.com/gcc-mirror/gcc/commit/6e6c7fc1e15525a10f48d4f5ac2edd853e2f5cb7 Thanks nsz for noticing it Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-7.3.inc | 1 - ...e-alias-for-__cpu_indicator_init-instead-.patch | 85 ---------------------- 2 files changed, 86 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-7.3/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index efa62eaf6a..724f9c32a0 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3.inc +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc @@ -70,7 +70,6 @@ SRC_URI = "\ file://0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch \ file://0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch \ file://0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ - file://0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ file://0047-sync-gcc-stddef.h-with-musl.patch \ file://0048-gcc-Enable-static-PIE.patch \ file://fix-segmentation-fault-precompiled-hdr.patch \ diff --git a/meta/recipes-devtools/gcc/gcc-7.3/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch b/meta/recipes-devtools/gcc/gcc-7.3/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch deleted file mode 100644 index f6b2829364..0000000000 --- a/meta/recipes-devtools/gcc/gcc-7.3/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch +++ /dev/null @@ -1,85 +0,0 @@ -From c7bce03a625fe2215a13f520850604178103ddd7 Mon Sep 17 00:00:00 2001 -From: Szabolcs Nagy -Date: Sat, 24 Oct 2015 20:09:53 +0000 -Subject: [PATCH 46/47] libgcc_s: Use alias for __cpu_indicator_init instead of - symver - -Adapter from - -https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00899.html - -This fix was debated but hasnt been applied gcc upstream since -they expect musl to support '@' in symbol versioning which is -a sun/gnu versioning extention. This patch however avoids the -need for the '@' symbols at all - -libgcc/Changelog: - -2015-05-11 Szabolcs Nagy - - * config/i386/cpuinfo.c (__cpu_indicator_init_local): Add. - (__cpu_indicator_init@GCC_4.8.0, __cpu_model@GCC_4.8.0): Remove. - - * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Remove -DUSE_ELF_SYMVER. - -gcc/Changelog: - -2015-05-11 Szabolcs Nagy - - * config/i386/i386.c (ix86_expand_builtin): Make __builtin_cpu_init - call __cpu_indicator_init_local instead of __cpu_indicator_init. - -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending - - gcc/config/i386/i386.c | 4 ++-- - libgcc/config/i386/cpuinfo.c | 6 +++--- - libgcc/config/i386/t-linux | 2 +- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c -index dec3aee0048..0452dcfcb8d 100644 ---- a/gcc/config/i386/i386.c -+++ b/gcc/config/i386/i386.c -@@ -36918,10 +36918,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget, - { - case IX86_BUILTIN_CPU_INIT: - { -- /* Make it call __cpu_indicator_init in libgcc. */ -+ /* Make it call __cpu_indicator_init_local in libgcc.a. */ - tree call_expr, fndecl, type; - type = build_function_type_list (integer_type_node, NULL_TREE); -- fndecl = build_fn_decl ("__cpu_indicator_init", type); -+ fndecl = build_fn_decl ("__cpu_indicator_init_local", type); - call_expr = build_call_expr (fndecl, 0); - return expand_expr (call_expr, target, mode, EXPAND_NORMAL); - } -diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c -index a1dc011525f..dac5e889abf 100644 ---- a/libgcc/config/i386/cpuinfo.c -+++ b/libgcc/config/i386/cpuinfo.c -@@ -391,7 +391,7 @@ __cpu_indicator_init (void) - return 0; - } - --#if defined SHARED && defined USE_ELF_SYMVER --__asm__ (".symver __cpu_indicator_init, __cpu_indicator_init@GCC_4.8.0"); --__asm__ (".symver __cpu_model, __cpu_model@GCC_4.8.0"); -+#ifndef SHARED -+int __cpu_indicator_init_local (void) -+ __attribute__ ((weak, alias ("__cpu_indicator_init"))); - #endif -diff --git a/libgcc/config/i386/t-linux b/libgcc/config/i386/t-linux -index 11bb46e0ee4..4f47f7bfa59 100644 ---- a/libgcc/config/i386/t-linux -+++ b/libgcc/config/i386/t-linux -@@ -3,4 +3,4 @@ - # t-slibgcc-elf-ver and t-linux - SHLIB_MAPFILES = libgcc-std.ver $(srcdir)/config/i386/libgcc-glibc.ver - --HOST_LIBGCC2_CFLAGS += -mlong-double-80 -DUSE_ELF_SYMVER -+HOST_LIBGCC2_CFLAGS += -mlong-double-80 --- -2.12.2 - From patchwork Mon Jan 29 03:27:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126138 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091630ljd; Sun, 28 Jan 2018 19:27:58 -0800 (PST) X-Google-Smtp-Source: AH8x227MzRsTqRyMYZkVIi2tdcO7S1TX9DRnv6AGXkMOMugloSh56b/yVE/MQpXFX+mIOshaHsxt X-Received: by 10.99.169.26 with SMTP id u26mr20257365pge.270.1517196478450; Sun, 28 Jan 2018 19:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196478; cv=none; d=google.com; s=arc-20160816; b=dV4cxbN6wTRaGvI2NfBJTwsQxNGzyMjFcqIBudcse8d95sbAZXKNnImRxzJGMMCXlQ OZewolfGopQlf1E3FDBFyCfNdc9LJqTV0O2RoxN7vobmKB+xBxDMQGnSpk3GN6jQDKy+ XKrnVqvoDAQKJs9yLi8LQvtSMuZooXn1swo/LMLZhDk4ciSUXxoDd14bNWgCdQPncExI aIWTyb9iWDq66b/cQo5VI5GUWufwKvl9Va+zL+yozs7PzT9DaGOOiE6BZlnmMsBAWjIh VpE+fMP21pE7jsXhqgCBkkBpwiVHrmvYuTBKJ/LRbGExDddVipHwF77dwQVWIbzcmd9V cl2w== 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=Z3qqVoshTAPc6ycE1ks1Her3KRBsauPzF1Se/EVA7io=; b=auM7sYA65eFfG6jA7ztduhCdRvslZxbbWLuuEH8bHw55sVZjw2MMailyZhZJkMfdC7 uzVWd6qgzVLA8ZXX1VWebJlMUrOjhVoxtV5WpUvPyecUqocv/QGGNX5jefXvM24kqkaC FxLRD0tmO40b0TufiPTFb2sWFT+SiLpM3RgqqtMsSxg4EAzwIPU+fw+1dvBd4bZR7UOT feiKyrHbEgCO9NpyPGkPi344QVMy8+QR7Vuco4KjFjb4FC6TB1o1A5LfBmuI6eHmY3oG hd7bNod/U0XLtlnpmiWrZ4h+vztTlqrhwXF4o/96h2fTmGPKfSJqX5wL7L3OkV2d836q SD9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pRNwVGcA; 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 o24-v6si7145397pll.716.2018.01.28.19.27.58; Sun, 28 Jan 2018 19:27:58 -0800 (PST) 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=pRNwVGcA; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CF0CF7871D; Mon, 29 Jan 2018 03:27:53 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id 92C3E78650 for ; Mon, 29 Jan 2018 03:27:27 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id y5so3723283pff.13 for ; Sun, 28 Jan 2018 19:27:29 -0800 (PST) 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=S6cudfNfJKHyv+f+9+1PHdbTY/nQE+bqcKtbunDhHF0=; b=pRNwVGcATDAFKXLkcVK37cmGzLTUIFHpznXyadAB8R64w/8efnXuR7CwA411UAxNq2 bsDrSQ3NdMXIGmJRKVpgfBfwH70HWkZjkhJ3ajVmFnFXMOemYdD+zgX9QPl7d1DcdOYx rDpaoR2bBVeVUAU/PWka4fnxs8bf8icYGnc85rporjT3x49e1omSsFkcr/vlu1km+dXh z7bjwVKIRKdiKlskcCzf9/SHsdM47FLEm3QitH8pQd9U0QKRfvqJxRIgBWSIJxZT19Tz rVJFSCTfnHaksyR1j77u1wDItXdRNrJ0ZcW6JBC29hS5A9eLHe1qxEluM/CTtKX8sHTF CL+Q== 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=S6cudfNfJKHyv+f+9+1PHdbTY/nQE+bqcKtbunDhHF0=; b=uOe8u6WEfXx5UeP80/nuWMOHdyy4yQr2eegfno1UbWh/S8LUMY7v7YvmzSf+a3kwFb rOnLPiAPHSXBSB0R9LZE4q7jIAkmHmLmq8B8S0J9naQS+ooxDjrEH2M+NAKoserBcOWS Rbhlzms6lqcdxoslYvGp1yKkt/rUuNZuT8jGH0JLtNVEy36/C5WSc9xvHSKv5SV/EEtt 1DFiNM3TtHfocKO6XixtUoUqQ/xfilSUwnL/f1NKIRS4UAG5LsL7qp7vat8h1QEqdv4v uiBLU/jqGSLJYe48vr5ZG6M1bA/jcvAo7z7uH58eV9GBnLIrX3svaoZc1Yc5l2GwkG2x +AmA== X-Gm-Message-State: AKwxyteZfVVfbCESk+4bjJyPwZB6vR5mZ6EEswiGD9HZEA1PdSIxeb9u xfkHIjY/H8J1nbuAbkXjhF0/yw== X-Received: by 10.99.105.72 with SMTP id e69mr20942733pgc.239.1517196448839; Sun, 28 Jan 2018 19:27:28 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:28 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:13 -0800 Message-Id: X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH 2/8] make: Backport fixes to not assume glibc internal glob implementation 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 Exposed with glibc 2.27 Signed-off-by: Khem Raj --- meta/recipes-devtools/make/make.inc | 5 +- ...1-glob-Do-not-assume-glibc-glob-internals.patch | 69 ++++++++++++++++++++++ ...2-glob-Do-not-assume-glibc-glob-internals.patch | 38 ++++++++++++ 3 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/make/make/0001-glob-Do-not-assume-glibc-glob-internals.patch create mode 100644 meta/recipes-devtools/make/make/0002-glob-Do-not-assume-glibc-glob-internals.patch -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/make/make.inc b/meta/recipes-devtools/make/make.inc index 849b74299c..b8905bc6d3 100644 --- a/meta/recipes-devtools/make/make.inc +++ b/meta/recipes-devtools/make/make.inc @@ -5,7 +5,10 @@ called the makefile, which lists each of the non-source files and how to compute HOMEPAGE = "http://www.gnu.org/software/make/" SECTION = "devel" -SRC_URI = "${GNU_MIRROR}/make/make-${PV}.tar.bz2" +SRC_URI = "${GNU_MIRROR}/make/make-${PV}.tar.bz2 \ + file://0001-glob-Do-not-assume-glibc-glob-internals.patch \ + file://0002-glob-Do-not-assume-glibc-glob-internals.patch \ + " inherit autotools gettext pkgconfig texinfo diff --git a/meta/recipes-devtools/make/make/0001-glob-Do-not-assume-glibc-glob-internals.patch b/meta/recipes-devtools/make/make/0001-glob-Do-not-assume-glibc-glob-internals.patch new file mode 100644 index 0000000000..5839d2ddd1 --- /dev/null +++ b/meta/recipes-devtools/make/make/0001-glob-Do-not-assume-glibc-glob-internals.patch @@ -0,0 +1,69 @@ +From c90a7dda6c572f79b8e78da44b6ebf8704edef65 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Sun, 24 Sep 2017 09:12:58 -0400 +Subject: [PATCH 1/2] glob: Do not assume glibc glob internals. + +It has been proposed that glibc glob start using gl_lstat, +which the API allows it to do. GNU 'make' should not get in +the way of this. See: +https://sourceware.org/ml/libc-alpha/2017-09/msg00409.html + +* dir.c (local_lstat): New function, like local_stat. +(dir_setup_glob): Use it to initialize gl_lstat too, as the API +requires. +--- +Upstream-Status: Backport + + dir.c | 29 +++++++++++++++++++++++++++-- + 1 file changed, 27 insertions(+), 2 deletions(-) + +diff --git a/dir.c b/dir.c +index f34bbf5..12eef30 100644 +--- a/dir.c ++++ b/dir.c +@@ -1299,15 +1299,40 @@ local_stat (const char *path, struct stat *buf) + } + #endif + ++/* Similarly for lstat. */ ++#if !defined(lstat) && !defined(WINDOWS32) || defined(VMS) ++# ifndef VMS ++# ifndef HAVE_SYS_STAT_H ++int lstat (const char *path, struct stat *sbuf); ++# endif ++# else ++ /* We are done with the fake lstat. Go back to the real lstat */ ++# ifdef lstat ++# undef lstat ++# endif ++# endif ++# define local_lstat lstat ++#elif defined(WINDOWS32) ++/* Windows doesn't support lstat(). */ ++# define local_lstat local_stat ++#else ++static int ++local_lstat (const char *path, struct stat *buf) ++{ ++ int e; ++ EINTRLOOP (e, lstat (path, buf)); ++ return e; ++} ++#endif ++ + void + dir_setup_glob (glob_t *gl) + { + gl->gl_opendir = open_dirstream; + gl->gl_readdir = read_dirstream; + gl->gl_closedir = free; ++ gl->gl_lstat = local_lstat; + gl->gl_stat = local_stat; +- /* We don't bother setting gl_lstat, since glob never calls it. +- The slot is only there for compatibility with 4.4 BSD. */ + } + + void +-- +2.16.1 + diff --git a/meta/recipes-devtools/make/make/0002-glob-Do-not-assume-glibc-glob-internals.patch b/meta/recipes-devtools/make/make/0002-glob-Do-not-assume-glibc-glob-internals.patch new file mode 100644 index 0000000000..d49acd9f6e --- /dev/null +++ b/meta/recipes-devtools/make/make/0002-glob-Do-not-assume-glibc-glob-internals.patch @@ -0,0 +1,38 @@ +From 9858702dbd1e137262c06765919937660879f63c Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Sun, 24 Sep 2017 09:12:58 -0400 +Subject: [PATCH 2/2] glob: Do not assume glibc glob internals. + +It has been proposed that glibc glob start using gl_lstat, +which the API allows it to do. GNU 'make' should not get in +the way of this. See: +https://sourceware.org/ml/libc-alpha/2017-09/msg00409.html + +* dir.c (local_lstat): New function, like local_stat. +(dir_setup_glob): Use it to initialize gl_lstat too, as the API +requires. +--- +Upstream-Status: Backport + + configure.ac | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 64ec870..e87901c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -399,10 +399,9 @@ AC_CACHE_CHECK([if system libc has GNU glob], [make_cv_sys_gnu_glob], + #include + #include + +-#define GLOB_INTERFACE_VERSION 1 + #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1 + # include +-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION ++if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2 + gnu glob + # endif + #endif], +-- +2.16.1 + From patchwork Mon Jan 29 03:27:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126139 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091691ljd; Sun, 28 Jan 2018 19:28:05 -0800 (PST) X-Google-Smtp-Source: AH8x224BbmrIECkwMCH5mrgkPgKtQqALBmpYnHTFBz5qpRm+jVP+N0PM0dY0tQIbqnR8c5itqWIK X-Received: by 10.98.86.19 with SMTP id k19mr25410585pfb.71.1517196485751; Sun, 28 Jan 2018 19:28:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196485; cv=none; d=google.com; s=arc-20160816; b=PfYqrpPxyodzVcWJdtfcWIFIgK7Q7oqXt5bak0v86QRpOYaR9khSMc8R+jr8RhwJhy Gmx6PATPjTpAmIyzol8jwbKcf+NNp4YkLz3x/mBoAO87O2ONkh74hVkRfJgLP9z3Z3NS /7qv/87RM/mAvLnWLTnPke+YuFuk185/cnyVe0m+awxfSQTAxSXa24zKQv5yH7aU1/dI slL3nlm8Cfvnp+taqBdH+s7oiaKc3hvj3cXZqkpxi8uLCCsJfyZrHQktJxuFWzQnEmNn oCgBp8WqDgDxl4I0HYL6IoU04bwje0yMJOT0IhzY9ntsebY+yGQb/UCS+o9AoOfkIV/O te4g== 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=sE5RTNYncfzVqngWmcoTSNfcQ39SINuuvCJGMnwsVzU=; b=jZY0xgX78tFDRNsBUmMMgXTIS6SOKprFDvFoO6+SU9d3+36rGh3ix9bG1XWolt7fLj FRzHrxwfKkr+4ivQ/o+7vqng9hQG6CMmIaetRhUEw44aO1J3+yI4zUNEXSv2GtAQYdAy 2qdQl35SeKJoOsnan3PqjrstRcjMvztVgkMTWaeuYbi1iEEy53Q6b9SY5x0/y6ChkMLa csLUA5/zJIuK4IaeT+nmf7RCen8KjXFXccE00OWQHl6X2dYmvWU5Q5Fig6gIwYz20DhT 8rxZvdWNbr03zOQffcg5nzM7uzPnzeXD0PEZ/+CRhJcqrVAE9nm79DW3qxfGfBA/6ChK llXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=U3qJ84Nn; 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 n2-v6si8436283pll.4.2018.01.28.19.28.05; Sun, 28 Jan 2018 19:28:05 -0800 (PST) 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=U3qJ84Nn; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DE44878741; Mon, 29 Jan 2018 03:27:54 +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 B6E7E786C4 for ; Mon, 29 Jan 2018 03:27:29 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id n17so3365427pgf.10 for ; Sun, 28 Jan 2018 19:27:31 -0800 (PST) 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=tblmqdq1tet5DZtplj1tfL5gp1bbouI6ARjiBfy+Ny4=; b=U3qJ84Nnrr3wGBhMrNfZaPn0BZUdIOILzI6wVIuGD9qXXdGKMVatZHN0RZ7O9tpv0R f2wbg71rGzDUXshOtZvBN3Ei011uViRzXvG7mOE1pPajEERxNEBsblaomRnk2Bgzl5g/ ARtLaz8roXmzz0kSNqEdC+Z6IIN+EmJPOoagYKv0bW3NSkRCzm7x4cHxu89UQ3WmJqYg DHenRb36lP9GVs9x4aoEbtT156CbFhDCEUmQ4OsejChlp6JAL2FrUfQMOsANVQmYgXNA 7A9ZwuSre7sqaaVp3wXMpop8+zC/29OwlUHPYJkWeCFU7/apO/DudcsgOFd2+JDnWLz7 3wcA== 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=tblmqdq1tet5DZtplj1tfL5gp1bbouI6ARjiBfy+Ny4=; b=YTRcOZXpcgvpzeo7244FDHeMGLkO92dfq97I2EtShZN3FUtAbOrHm4agOWdICokR6B HS78d99HpEFoEp5Ssx4DmpVyJUifw8EIgi8fSg1gNRS477MICh6bQqHCAevGrM9Au4Ez EINHTdLHi1zZuRopGmADI2MF2AiBzXcWwdgbpM+hrGXY8Rryh7rQE/DksgSnjxnPGDiV UbhuIu3bvsbK2cRpdBP3rLpI+3QaOTlvXIWfnUBepB1ws30y2RW3TyrqbYM04vFveD8G jUYS/xDEz7rFDJbPTFdjq7ivRcccjGCJsbCDvLkQgpajamQnLxSkUrdkWQiwmycuQo5b efLw== X-Gm-Message-State: AKwxytde52Ib5j3h0CPmsTKwfIzWSBn1YkdNYixT9MirQAmQTYS4NfRc 7xED9UOuNCaCQ1gPNppatnB/mg== X-Received: by 10.99.183.15 with SMTP id t15mr20863354pgf.111.1517196450690; Sun, 28 Jan 2018 19:27:30 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:29 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:14 -0800 Message-Id: <7f0ee0942c3d47c4e57e0d6e8f9f0bc6ccd9acdb.1517196242.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [OE-core] [PATCH 3/8] perl: Undefine d_libm_lib_version. 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 From: Daniel Díaz A recent commit in GLIBC [1] got rid of _LIB_VERSION, which makes Perl's build fail: | pp.c:47:5: error: unknown type name '_LIB_VERSION_TYPE'; did you mean '__VERSION__'? | _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; | ^~~~~~~~~~~~~~~~~ | __VERSION__ | pp.c:47:38: error: '_IEEE_' undeclared here (not in a function); did you mean '_SIZET_'? | _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; | ^~~~~~ | _SIZET_ | make[1]: *** [pp.o] Error 1 The current config.sh enables d_libm_lib_version for everyone, with special cases left to undefine it as fixup (such as MUSL [2]). Since this may only affect some BSDs and Cygwin [3], it follows that the opposite (defining it) should be a fixup for those special cases. [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=813378e9fe17e029caf627cab76fe23eb46815fa [2] http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/perl/perl_5.24.1.bb?id=8ca61a5464743ff85b6d26886112750d6ddd13e0#n127 [3] https://perl5.git.perl.org/perl.git/blob/443bd156a6baaf7a8fe6b6b05fcf6c4178140ed2:/pp.c#l42 Signed-off-by: Daniel Díaz Signed-off-by: Khem Raj --- meta/recipes-devtools/perl/perl/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/perl/config.sh b/meta/recipes-devtools/perl/perl/config.sh index 4657673005..ac0484ca64 100644 --- a/meta/recipes-devtools/perl/perl/config.sh +++ b/meta/recipes-devtools/perl/perl/config.sh @@ -361,7 +361,7 @@ d_ldbl_dig='define' d_ldexpl='define' d_lgamma='define' d_lgamma_r='define' -d_libm_lib_version='define' +d_libm_lib_version='undef' d_libname_unique='undef' d_link='define' d_llrint='define' From patchwork Mon Jan 29 03:27:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126140 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091732ljd; Sun, 28 Jan 2018 19:28:12 -0800 (PST) X-Google-Smtp-Source: AH8x226K4bw9gJfW7MO8QbhH77RSKJSZl9lwWK7FIWgyMa4D3u/nXfPetQb7gT5HCh2FGjr2GFQs X-Received: by 10.98.181.14 with SMTP id y14mr25712985pfe.216.1517196492521; Sun, 28 Jan 2018 19:28:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196492; cv=none; d=google.com; s=arc-20160816; b=xPAt3s/OdUHGZeJFZbYz+7T0n2xa9XeMh5129VSwrqQRaKjJvsOfuDyubiPKSiqxHH j4r+ztlqxH5T3JWOc4VTI+gqIm/hu45uO+uv2bAVz8hq2dMmwFUc18+KBPHtIFPrbUyY iHuex2pjKc/A4bZbeReYR8z1p4fhAoMOMqbCNRWvAhgbi8VW40tnyuMFpTAV3JT+ZkSx 7J64/FsnluWBLZyhy0WZ99Nq/JNF6Kf/6Ooxsr8L8VXfM2SSRhjtANs6jjVf4WJt2jV9 poFXbaTYEmbDsW5mOzNmoQH4JW5aYiuBIWf2qaI2CU0R5d+1YcqjWiCFdht5Qwh0sT1g H0iQ== 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=SS2MDSh0M8LQsH8VFeN7vMoZf6lDuqOZapht+SOwP28=; b=E6prgr2sRL9u50yqZ7HB9stDKy7TNCs8zZC34naiZvmbbAV09bia0l3JDJFRKOiUGt QjYENGxOHKJ7hCx9Wbnt4qMt/OhpDk0CLaz5tw1SxrQgaUPExCJu0RTI4+f/tCDnYmuk OZrNxYGfhXxf8qSjZSQg0ria0LYCjTJtGJOnbxQZiRyATibl2YgOzBOf55CipYTKROKp lG0Ht5Yud/ZRvfIst8tJr73G9GEqxWIK5TLGym3/RRSj/VN0bl+ZIAljdVFtlMNKbXsQ q40lA/oSHXs9FM+RNzANxgSuW+QJG2zQTeL/AffZficOx2yfqHKqPEPcFlOUuMXUj1mc r+kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=OPsSgtMe; 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 a69-v6si324006pli.184.2018.01.28.19.28.12; Sun, 28 Jan 2018 19:28:12 -0800 (PST) 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=OPsSgtMe; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DF1DB78752; Mon, 29 Jan 2018 03:27:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 29E8578650 for ; Mon, 29 Jan 2018 03:27:30 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id w17so3368638pgv.6 for ; Sun, 28 Jan 2018 19:27:32 -0800 (PST) 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=9utHWFgNUseXEQKQ/Z6z/APvkJZkU/hYtLoHBX43Kb4=; b=OPsSgtMeLYsisHAxlfxZzNLAcNJ//07odNy1PA4kyjJ+m++ZUKyKF9983g13HQYh5H sti18jS6yuVLHA5LmaW9nfJZwxzJxwIgh5mokD5k9va2MU7aHkBWQ7xcysI2IIzue3sq fD4OeiwvoTyipt7ZLOxj6fvdv1NOe4MLNxl9JEVF2Ex+OsU5JOomCF0rfQ1WA8iyKIMz hVXNfpKHJqvx3AuhQ/yDwHeaYRJ3sV/wuSC+AT9v1ktgm6lJxWE/bxmsW423/dJ/Pjqo rERPtnlp1pvCixvJM91bQwmgkjs9+s1RUwVCw2rktSw5ocRpcr0oKbUrA1QNe3dq0WR0 Q41Q== 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=9utHWFgNUseXEQKQ/Z6z/APvkJZkU/hYtLoHBX43Kb4=; b=JU0MRyHGf7Mt/0dYg9s1AP1x/YLDuxp/aMktCLafK5t1kTH7thGMM9iP29v5MiHxo+ dqulYFSzhLkPYJZczBqp8oQ334yw8RNt55fST3g/A7R17DxATGNDLFuaUdoDNMQk4TG/ Z9JJwbbrY4n2LGXknTCDsoHg7kpDZBYWuySW4wpR/SbVj4WQ5rJLyxx3VdltvnwL8Ozu S5hGShtBjvJ2R3LVZyOdWU85fs5txMvtLnzJ1aSjjBKhj2BrzUwXgabLWRgkzO1wndki amPBfwe7l/snigxbN2QhVY7eR+hgKTyTauEkWvWk2dlY7LPc1flvZ/A3F6gALbbATyyB jxJA== X-Gm-Message-State: AKwxyteLbDfqBE5dR2BDwgE99SlN0IInJ2lD9ayjvoECnS+uEfT1p4xR efBLg4iVSXK8Jb1HdeOwW6cJWA== X-Received: by 10.99.178.85 with SMTP id t21mr19608150pgo.296.1517196451850; Sun, 28 Jan 2018 19:27:31 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:31 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:15 -0800 Message-Id: <87d8a8cef974e8bf73f67e51a4cc7c32f60bd86b.1517196242.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH 4/8] e2fsprogs: 1.43.7 -> 1.43.8 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 From: Huang Qiyu Upgrade e2fsprogs from 1.43.7 to 1.43.8. Backport patch to fix build on BE systems Signed-off-by: Huang Qiyu Signed-off-by: Khem Raj --- ...ix-build-failure-in-swapfs.c-on-big-endia.patch | 40 ++++++++++++++++++++++ ...s-fix-missing-check-for-permission-denied.patch | 10 ++++-- .../{e2fsprogs_1.43.7.bb => e2fsprogs_1.43.8.bb} | 5 +-- 3 files changed, 50 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch rename meta/recipes-devtools/e2fsprogs/{e2fsprogs_1.43.7.bb => e2fsprogs_1.43.8.bb} (96%) -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch new file mode 100644 index 0000000000..ff1284edc4 --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch @@ -0,0 +1,40 @@ +From ae6603206176b771c9ed1f82569f68fc1257f014 Mon Sep 17 00:00:00 2001 +From: Theodore Ts'o +Date: Wed, 3 Jan 2018 01:32:02 -0500 +Subject: [PATCH] libext2fs: fix build failure in swapfs.c on big-endian + systems + +Addresses-Debian-Bug: #886119 + +Reported-by: James Clarke +Signed-off-by: Theodore Ts'o +--- +Upstream-Status: Backport + + lib/ext2fs/swapfs.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/ext2fs/swapfs.c b/lib/ext2fs/swapfs.c +index 6e5cff97..b13dc422 100644 +--- a/lib/ext2fs/swapfs.c ++++ b/lib/ext2fs/swapfs.c +@@ -19,6 +19,7 @@ + + #include "ext2_fs.h" + #include "ext2fs.h" ++#include "ext2fsP.h" + #include + + #ifdef WORDS_BIGENDIAN +@@ -358,7 +359,7 @@ void ext2fs_swap_inode_full(ext2_filsys fs, struct ext2_inode_large *t, + if (inode_includes(inode_size, i_projid)) + t->i_projid = ext2fs_swab16(f->i_projid); + /* catch new static fields added after i_projid */ +- EXT2FS_BUILD_BUG_ON(sizeof(ext2_inode_large) != 160); ++ EXT2FS_BUILD_BUG_ON(sizeof(struct ext2_inode_large) != 160); + + i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32); + if (bufsize < (int) i) +-- +2.16.1 + diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch index 33054c61fa..69c09bc1d7 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch @@ -1,3 +1,6 @@ +From c7914309aeee6209ddb6995c084805a911d9cc82 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Wed, 10 Aug 2016 11:19:44 +0800 Subject: [PATCH] Fix missing check for permission denied. If the path to "ROOT_SYSCONFDIR/mke2fs.conf" has a permission denied problem, @@ -10,15 +13,16 @@ Upstream-Status: Pending Written-by: Henrik Wallin Signed-off-by: Jackie Huang + --- lib/support/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/support/profile.c b/lib/support/profile.c -index 51a3314..1c1039f 100644 +index 9e96673b..32d83002 100644 --- a/lib/support/profile.c +++ b/lib/support/profile.c -@@ -335,7 +335,7 @@ profile_init(const char **files, profile_t *ret_profile) +@@ -335,7 +335,7 @@ profile_init(const char * const *files, profile_t *ret_profile) *last = new_file; last = &new_file->next; } @@ -28,5 +32,5 @@ index 51a3314..1c1039f 100644 goto errout; -- -2.7.4 +2.16.1 diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.7.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb similarity index 96% rename from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.7.bb rename to meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb index 168eecfe8e..b5cfc6810b 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.7.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb @@ -7,11 +7,12 @@ SRC_URI += "file://remove.ldconfig.call.patch \ file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \ file://mkdir_p.patch \ file://0001-misc-create_inode.c-set-dir-s-mode-correctly.patch \ -" + file://0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch \ + " SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" -SRCREV = "4c5e6cd6defb83f1b35a5ef6fccd68c86874ee06" +SRCREV = "af2eac481cf426c05ae12b946396980e16c8ab19" UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+\.\d+(\.\d+)*)$" EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \ From patchwork Mon Jan 29 03:27:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126141 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091788ljd; Sun, 28 Jan 2018 19:28:19 -0800 (PST) X-Google-Smtp-Source: AH8x227Fk2syjL4w9RfB2Tht2L8hGCeBW9QjHkuFzN6tTdGLfMc9hPr/cvCX28u5g60KOz0JPzNX X-Received: by 2002:a17:902:7c86:: with SMTP id y6-v6mr11184302pll.24.1517196499599; Sun, 28 Jan 2018 19:28:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196499; cv=none; d=google.com; s=arc-20160816; b=VtNHpLTs1BVFOA0O7+zFEwUdJD2eGdYyAiaUvhmnB9fM7BGo5OJRfIwMtuZ+rzOCVk oONYAnJPAPNDj1a19fMV0gBuA0hHhULuc0wLYxEmackEy7eg8SHSYAP9KLyUCcEmGTDR iL81TY0emcC1mt1uCEtz3Axe+hN5tHic0gpa8y2hasEpzC74JlZDa/PYxm4Pio6Qd4OO oEp5sCF1KHLIk4rkm3jdokyCtuF+0J3A0t4wEvVqCgKPN3wjPCm+y6/8Xx8pnx1f6HhA FxwvME7LceZbvZw0qDZwKB+CtYZz2ZR3e7+fT5HfwKcsJs/7LF/nPK/KFgM0XeKk8lp0 TJhg== 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=pakZBA+T0wWwmRflETByOHmWXfbTwkSZLaNCFqaq+5I=; b=xLo4WEocIXYWCppwJhfeJf8sWJBmSMwEVjBKq2tdi9tPxPn10Japqqb4D5pFPo6PwM KZzcJBHY9cXAzpPDgzXJ3iE/6uEeLgBZi810LMkUFEo2uJapahp0QBHCMyH114A/9qQA 0z8GJr7z0cQYVKszpP2DDrHKEQHGaeAv380459s2z3brmeGEVNuehaDHZygQJnHQW8pT h3IgxFViU4k4Kg47CaYE4zw6L7W7MeU/VT7pQbAveIZ0EKmW8PkB7SLc9CeVu1jgblZV ggKCsmv4NhTFYvqr2PGFZgE+K9lAJYdrmeGCCbxaMX6Li+RShzfTggUrSoP9O5CMBFV3 73wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Z2SOqS1X; 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 t4si6651250pgr.205.2018.01.28.19.28.19; Sun, 28 Jan 2018 19:28:19 -0800 (PST) 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=Z2SOqS1X; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E1BA778763; Mon, 29 Jan 2018 03:27:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 4F9C9786B6 for ; Mon, 29 Jan 2018 03:27:32 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id t12so3737679pfg.2 for ; Sun, 28 Jan 2018 19:27:33 -0800 (PST) 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=BnkiC3ww1ECrLLLYY83d3CzFfK0uz+JiB+ssjfL6iI8=; b=Z2SOqS1XZcTv2+qlZp7M/cIxV5m6FnYKYHt5d3gD4XQArQ3YndC6CcN2NKDgZ0hmIe 7JnSL5cPhDwhKljtDaLQRQ9Jcad1PKeBxGdO5x8TZ+pB79vJUuw9VcvgoVBn/5KoTpQd hppyjeFR0kCCd23cthofQHrfouD7TbEaGCWh51xuNpnWm2elAOYbiwacb9jKBt4zbd90 owYe87d1ks1teW5BnM9pWrKZlU/RfKmhk8C1N2d7hf7ePV7FIR36+CZWxMyYBYxC0UE6 1Q3bUnQMt4lQMtFpjrIG30AJkQNXQ1+pESlGpSPOyMhdSXuis4PrM6oZqZ6GhsL/qjCX CSIg== 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=BnkiC3ww1ECrLLLYY83d3CzFfK0uz+JiB+ssjfL6iI8=; b=LuG74+HsEwL4s7VGEzVeICPxYI/H4uzE+x4Tp7Jpx5h77e4PxHXyUZqItg01nn5Opq KtHKxecHHU8lXfC8ST4AaK0GNjmYP8pLllXGTG8bBRHWMsI/tHalaO6hLwQaSWYzb57s ZRe/zWhov8nTv6AVlDW8oJi0DOv/7ojYp9nxMLSovwYLx1zX0l9fyvhT+OjA555BlnI/ rAwppeH+EEupimZb1CIDy5R0QHoJXgIjibslTqiYJZuDBc64Vd//E5K+xeQKKQOzM4zj Ne2j0gXm8az4N2um6V7GZhg/q/uCY/3zeex+VgKQ3KNvlH/mfB7YbswnFvXyVeox2izc Aypw== X-Gm-Message-State: AKwxytcHYcIP7c9c7gLvGVRtNsxyHtrJ+VzFr+AI/6jpknb0KgDB7szN PjQ0VtVNfOMweiRbz407bKAHuA== X-Received: by 2002:a17:902:2845:: with SMTP id e63-v6mr19926537plb.438.1517196453315; Sun, 28 Jan 2018 19:27:33 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:32 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:16 -0800 Message-Id: <2d45d8cdf8c9455e022a64322a242a9042a4e276.1517196242.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH 5/8] systemd: Fix build with glibc 2.27 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 --- ....c-Change-the-default-device-timeout-to-2.patch | 7 +++--- ...update-header-file-to-detect-memfd_create.patch | 28 ++++++++++++++++++++++ ...c-Check-if-memfd_create-is-already-define.patch | 27 +++++++++++++++++++++ .../systemd/0003-fileio-include-sys-mman.h.patch | 26 ++++++++++++++++++++ meta/recipes-core/systemd/systemd_234.bb | 3 +++ 5 files changed, 87 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch create mode 100644 meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch create mode 100644 meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch b/meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch index 7f1bc447fe..b7b1ea0886 100644 --- a/meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch +++ b/meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch @@ -1,8 +1,7 @@ -From f1b5a6f717bda6f80a6b5e3e4d50b450f6cc7b09 Mon Sep 17 00:00:00 2001 +From 9820c165a9e559cf851e3beb60fad2571de4ded2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 14 Dec 2015 04:09:19 +0000 -Subject: [PATCH 14/14] core/device.c: Change the default device timeout to 240 - sec. +Subject: [PATCH] core/device.c: Change the default device timeout to 240 sec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -30,5 +29,5 @@ index 77601c552..98bf49ba2 100644 u->ignore_on_isolate = true; } -- -2.13.2 +2.16.1 diff --git a/meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch b/meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch new file mode 100644 index 0000000000..c6431209d0 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch @@ -0,0 +1,28 @@ +From 2207e1ffe4f7e2dcc5e745dadb48738aa1048d63 Mon Sep 17 00:00:00 2001 +From: Yu Watanabe +Date: Sun, 26 Nov 2017 02:17:06 +0900 +Subject: [PATCH 1/3] meson: update header file to detect memfd_create() + +--- +Upstream-Status: Backport + + meson.build | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 20b27c860..550dd4ad8 100644 +--- a/meson.build ++++ b/meson.build +@@ -414,7 +414,8 @@ foreach ident : ['secure_getenv', '__secure_getenv'] + endforeach + + foreach ident : [ +- ['memfd_create', '''#include '''], ++ ['memfd_create', '''#define _GNU_SOURCE ++ #include '''], + ['gettid', '''#include '''], + ['pivot_root', '''#include '''], # no known header declares pivot_root + ['name_to_handle_at', '''#define _GNU_SOURCE +-- +2.16.1 + diff --git a/meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch b/meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch new file mode 100644 index 0000000000..da798a79a3 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch @@ -0,0 +1,27 @@ +From 025408c87869962f511de044dd41a1f4b1d80165 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 27 Jan 2018 11:53:38 -0800 +Subject: [PATCH 2/3] configure.ac: Check if memfd_create is already defined + +Upstream-Status: Inappropriate [upstream systemd uses meson] + +Signed-off-by: Khem Raj +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.ac b/configure.ac +index 3674190fb..c7a184d72 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -340,6 +340,7 @@ AC_CHECK_DECLS([ + [], [], [[ + #include + #include ++#include + #include + #include + #include +-- +2.16.1 + diff --git a/meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch b/meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch new file mode 100644 index 0000000000..c466d0d87b --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch @@ -0,0 +1,26 @@ +From 52e922343faaa87b9efb8aa9ea578399ccc9bec9 Mon Sep 17 00:00:00 2001 +From: Yu Watanabe +Date: Sun, 26 Nov 2017 02:40:23 +0900 +Subject: [PATCH 3/3] fileio: include sys/mman.h + +--- +Upstream-Status: Backport + + src/basic/fileio.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/basic/fileio.c b/src/basic/fileio.c +index 9a185e3e6..1015afd29 100644 +--- a/src/basic/fileio.c ++++ b/src/basic/fileio.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.16.1 + diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb index 4132cdf40f..d12e94f463 100644 --- a/meta/recipes-core/systemd/systemd_234.bb +++ b/meta/recipes-core/systemd/systemd_234.bb @@ -48,6 +48,9 @@ SRC_URI = "git://github.com/systemd/systemd.git;protocol=git \ file://0001-Use-uintmax_t-for-handling-rlim_t.patch \ file://0001-core-evaluate-presets-after-generators-have-run-6526.patch \ file://0001-main-skip-many-initialization-steps-when-running-in-.patch \ + file://0001-meson-update-header-file-to-detect-memfd_create.patch \ + file://0002-configure.ac-Check-if-memfd_create-is-already-define.patch \ + file://0003-fileio-include-sys-mman.h.patch \ " SRC_URI_append_qemuall = " file://0001-core-device.c-Change-the-default-device-timeout-to-2.patch" From patchwork Mon Jan 29 03:27:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126142 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091836ljd; Sun, 28 Jan 2018 19:28:26 -0800 (PST) X-Google-Smtp-Source: AH8x225eDS9PB8oxjVjsjyaTGuGGhlLYz9iubuGTX709dXdib5g04hGjRVeTxtdb2OCB+or0bwqB X-Received: by 10.98.67.138 with SMTP id l10mr25237574pfi.72.1517196506762; Sun, 28 Jan 2018 19:28:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196506; cv=none; d=google.com; s=arc-20160816; b=gmZ+D7iJd2BgZsMNm3h5QZOCJwIiPigiwpF8f6vSJD5RPU0KI3vjAFEsldhI8LUc6q 7wlvI/emVzMCCfifShyLbAyFKL7XQgcO+YFKPKZVX93tZtFmzbgC8WvhBuWaaMDhkwEy NNr2k7qu34Ke4B2QjbpnGUcGcDYadmJF5gAhvzLRTiR7haesuuOcXfb4WCc9UgnohO4m 9FXyHRe8H8DEI2YEejaSZlwOVBlfHyeC5AYBkTPeeJoS5rEjTUnFnJWsr80tgOv7VTnk NiW4Yu2eHQMYSE2+Jx7OwJP4wQBa1U17Jmyw+S0i1S/L2UeurUL7zeI38IBORko4l7nh +s8A== 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=eulaGudxMF/5GO7fZUgQdR2NOx30oYT8jyGvH1WlfwM=; b=tzXOjZZJ7sCwpdj6XQuQz5YolFyz/gTEDuuogZwj0tq0AnUSrgNy1DniFms6rOIj28 rSYuopFCPBY9UfKIwEPYh4F4Ycw9R52/21RcbEgV1XAYvc0BU2OwWj63ZygvPiWqBoQM SGjFlkprQpvWMvl76WdwV8Q2be9vZzVwvqzZ4b8q+lJS1Xohbzd4xOpbkXLSVLmaRkNA knSuZ8BKvTKFTKWMs3d5cNw5StTLwiuGfYBCHF1GWq3acPxeieOZQsZLe+XJRslda1t1 TTjaaNQI8xy15wuVP8hB+gG1A0O9iLavHgSP1t/sdhkfilBK4+N0WFYVJolGUwB2PzMh zVOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ze3Zc2sM; 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 e13-v6si2131747plo.242.2018.01.28.19.28.26; Sun, 28 Jan 2018 19:28:26 -0800 (PST) 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=Ze3Zc2sM; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E6CA578784; Mon, 29 Jan 2018 03:27:57 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 44E03786D6 for ; Mon, 29 Jan 2018 03:27:33 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id w17so3368740pgv.6 for ; Sun, 28 Jan 2018 19:27:35 -0800 (PST) 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=bXWSnjJObcwcwramYptJinSvqnTLgMAA3IGimbsAsCI=; b=Ze3Zc2sMO1rUsbSRAUO7eTHPKZLYg3498oV5Dtvi7/3KMUIMeG2CF0xqDXUwNW5HNW aVTPjnh+t4qLXBRkhceYmMKy550DJ4V5BlyhgAWBQ5Km20fYcORptxDAX7qwLZaTzZD7 THkA06Ivth8ISodIQ8+qqExi9TQWSkvvzLvDNZohL6/GsEaWrTlmDf/BrXq4ninxWUt2 QGVmEHiiS8CSoVDySHw1ZHOg72/hP8RBgo8qBIAsoHBHz2xh+OGsb7Wx5+pQZvE9NrBC KG/ZtIINkG7qPMvh/8jdALZEokl+uTmjgel48DNsYam0CDDKl86Vpov8vCBR8lbS59xi idAA== 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=bXWSnjJObcwcwramYptJinSvqnTLgMAA3IGimbsAsCI=; b=lZsuSDVSiQOqfq3gPUKoiUz8IEtZ9DUnMVHtx+9jwbyS8SuYdCXHrT7V+CVU+C8pnh DriuN/uQQwaAZiemZldl+id6Kv9VXkZd3YN2/VmVksubQXaA1K5apJBLyUTE4NgeoHuw emHC2MC2aNRRmUv1SWLd0eAs+XOp5vgWRjfTyByztAuCr1JSMRq0l+mrWBnqlsE082oI Qri2G0ULAnrZFW587pND5TN83t17FiZZss7SccRDV/W/9M5f/IrDysytAiaofLvl9qY1 J0i0ZVl8DSrRTGJDTkkvDMUyxSgiyEoVQrMasyWjS6K39/CsExhVUMPcwrRkFaedZeA4 cKAQ== X-Gm-Message-State: AKwxytd7OEZONAIdKPVQTS5oBLLPN2RMsVpG9HIAsbfm06Z4n82Hv3Hh begUSQkJvtCnCJ7cvwGwFn6J6w== X-Received: by 2002:a17:902:14d:: with SMTP id 71-v6mr20732424plb.42.1517196454520; Sun, 28 Jan 2018 19:27:34 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:33 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:17 -0800 Message-Id: X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH 6/8] pulseaudio: Fix build with glibc 2.27 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 memfd_create is now available in glibc Signed-off-by: Khem Raj --- ...-Check-if-memfd_create-is-already-defined.patch | 62 ++++++++++++++++++++++ .../pulseaudio/pulseaudio_11.1.bb | 3 +- 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-Check-if-memfd_create-is-already-defined.patch -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-Check-if-memfd_create-is-already-defined.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-Check-if-memfd_create-is-already-defined.patch new file mode 100644 index 0000000000..a02f7d505c --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-Check-if-memfd_create-is-already-defined.patch @@ -0,0 +1,62 @@ +From 185b3c0cdd564901133e530ddd30853f65151622 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 27 Jan 2018 13:14:03 -0800 +Subject: [PATCH] build-sys: Check if memfd_create is already defined + +glibc 2.27+ has introduced this function + +BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=104815 +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted + + configure.ac | 7 +++++++ + src/pulsecore/memfd-wrappers.h | 4 ++-- + 2 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 77b5ff5..aa97944 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -603,6 +603,10 @@ AS_IF([test "x$enable_memfd" != "xno"], + AC_CHECK_DECL(SYS_memfd_create, [HAVE_MEMFD=1], [HAVE_MEMFD=0], [#include ]), + [HAVE_MEMFD=0]) + ++AS_IF([test "x$enable_memfd" != "xno"], ++ AC_CHECK_FUNC(memfd_create, [HAVE_MEMFD_CREATE=1], [HAVE_MEMFD_CREATE=0], [#include ]), ++ [HAVE_MEMFD_CREATE=0]) ++ + AS_IF([test "x$enable_memfd" = "xyes" && test "x$HAVE_MEMFD" = "x0"], + [AC_MSG_ERROR([*** Your Linux kernel does not support memfd shared memory. + *** Use linux v3.17 or higher for such a feature.])]) +@@ -610,6 +614,9 @@ AS_IF([test "x$enable_memfd" = "xyes" && test "x$HAVE_MEMFD" = "x0"], + AC_SUBST(HAVE_MEMFD) + AM_CONDITIONAL([HAVE_MEMFD], [test "x$HAVE_MEMFD" = x1]) + AS_IF([test "x$HAVE_MEMFD" = "x1"], AC_DEFINE([HAVE_MEMFD], 1, [Have memfd shared memory.])) ++AC_SUBST(HAVE_MEMFD_CREATE) ++AM_CONDITIONAL([HAVE_MEMFD_CREATE], [test "x$HAVE_MEMFD_CREATE" = x1]) ++AS_IF([test "x$HAVE_MEMFD_CREATE" = "x1"], AC_DEFINE([HAVE_MEMFD_CREATE], 1, [Define to 1 if you have the `memfd_create` function.])) + + #### X11 (optional) #### + +diff --git a/src/pulsecore/memfd-wrappers.h b/src/pulsecore/memfd-wrappers.h +index 3bed9b2..87ed758 100644 +--- a/src/pulsecore/memfd-wrappers.h ++++ b/src/pulsecore/memfd-wrappers.h +@@ -32,11 +32,11 @@ + * defined in the kernel header file , that file as + * a whole conflicts with the original glibc header . + */ +- ++#ifndef HAVE_MEMFD_CREATE + static inline int memfd_create(const char *name, unsigned int flags) { + return syscall(SYS_memfd_create, name, flags); + } +- ++#endif + /* memfd_create(2) flags */ + + #ifndef MFD_CLOEXEC +-- +2.16.1 + diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_11.1.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_11.1.bb index a50b5a08ae..94278eb34e 100644 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio_11.1.bb +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_11.1.bb @@ -4,7 +4,8 @@ SRC_URI = "http://freedesktop.org/software/pulseaudio/releases/${BP}.tar.xz \ file://0001-padsp-Make-it-compile-on-musl.patch \ file://0001-client-conf-Add-allow-autospawn-for-root.patch \ file://volatiles.04_pulse \ -" + file://0001-build-sys-Check-if-memfd_create-is-already-defined.patch \ + " SRC_URI[md5sum] = "390de38231d5cdd6b43ada8939eb74f1" SRC_URI[sha256sum] = "f2521c525a77166189e3cb9169f75c2ee2b82fa3fcf9476024fbc2c3a6c9cd9e" From patchwork Mon Jan 29 03:27:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126143 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091890ljd; Sun, 28 Jan 2018 19:28:33 -0800 (PST) X-Google-Smtp-Source: AH8x226C4xcjXZmaMCwzxu3RlIFDbV6t2mJdFdlhLG7N0kS59BPhvF5Dvm6VakJKzPI/VhNqYAWL X-Received: by 10.99.163.96 with SMTP id v32mr20068084pgn.432.1517196513691; Sun, 28 Jan 2018 19:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196513; cv=none; d=google.com; s=arc-20160816; b=zmbQhPJKaBRxCy2e9oF4la/MEpNk1kKBgsALPTtK3nDXbQCwN2rAVo/onf4UujPt6v 3GxKYxmDorGK9tEHfPzrPwUVfZuOiaqF5Ir2xcTUEU3qIFFJ9hEWq55NUzNP8Wca45dP bnHtfSEKXRXeoXF7myNNht0Y+1hSgnVEVYNV1h5/0xgDZKoEAqc996Eoy9wlvZVluVzh BPMABMn0mRQ93aqH+5HVxUT2d5EIPTrmyLFlmbmRV3julu72IlrSQihzPRbdC19HFYLb sjkdm1eDwDI3dirl1bEI4IAlSVdBu1x21MDomKL27Cyx53DnG03PG4S80T6ZGdY8tlZN 2zGg== 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=6HFoOptSOfOOGO9r9hWXhIDmisFRcRQLqMKcMOkLeu0=; b=VoQd7a5gLEqAglaWSIVSEMgoactUJmiXOup0fkuQzjvUOXGcCrKwHjuMIS2d7zo2YE umrlLyUIdYDqabjuNSvG99QD53gDYygF1XHZqIRVGIUL3+UOMW7e6eX2vme7qIb4wjrV iD0+2TCOlM32M2isEFqkFagCSWdYyPJIgmUXXSxCNH2WktbyplcfJSLbWQuUuznY+uUu RWnEudVYrogPfHgtDSFPhAGuSFoXI+q65s+GGgBXBzZecNlrzqQ7FNZ7Yr+lkLX6BIl7 1n1EkIXsqLyBL8Nqj1v9vmCVkCVwTdpJ8ffqF3r66GloRLrg8IIiV6cwkuwGjungDrId qqMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Zc3U5saF; 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 q7si2493373pfh.74.2018.01.28.19.28.33; Sun, 28 Jan 2018 19:28:33 -0800 (PST) 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=Zc3U5saF; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EAF80787D0; Mon, 29 Jan 2018 03:27:58 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 8B92978650 for ; Mon, 29 Jan 2018 03:27:34 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id 17so2286619pfw.11 for ; Sun, 28 Jan 2018 19:27:36 -0800 (PST) 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=ivfTfNk0dewXpE6/QxsH4XG9P/7CQ6dmsDylpmSrldI=; b=Zc3U5saFhnuC6ueVu+A5ECkIo7enAtgv1baXQicdail1P0wUn5OqT2rNGg6lgzR9MO 4+QOOJtNgOU/Eyl00i60n7KHzh59rs3zZOgvOe3vJW54jCwUd6gYP+NkYZNzuWO96pTL jthlB6GGG74SUeIx2mNOq9GsafjDYLrYvCkjI54VX5uYCWPHCJtvPShHQCvO1jwfxkw0 +JGSBPs+BoPYuDSkJxTzfTr2rSpwrvN5IrGZyro5MSDKigkGuf7vjfrCwDuyMtAkhBXt XkLGEuM5lb4g21f2xJ0TcJdvpVIYdTWVKotOjPy9/ogMn57RsEcU8K21qfFDuHMubue+ NFcA== 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=ivfTfNk0dewXpE6/QxsH4XG9P/7CQ6dmsDylpmSrldI=; b=OAfPRikh0Yi11zwnTLcfTHRAM0qjNJtw8XknZP9E/bH+1LeYOhk/JWS185x3YW6Hk+ dsTEF4WBjR/CixFIykQZhbLE1lwAD8BPCmV8Q+eO1d/Dga6/QuYTDxuSsRdD/dLR49lj +/2e64fkCSSU9Ytal2Fb4q6f1p1Y8HcGROZ72ap/lcEKlWTAykwDlpTXq6yc+ujD/Lbk D0eJLbxdNyoIWsRECCroh+5POgzf4533rYQePjhTNR4GHQke4LVF9rxh0Xq01Nua4dVo 6UaWthJ4C05mgoxTq9Z23bILePnKRPb74PbkD+twQ3qCD02oscTd+0+ez08b0lx5WF6u rdeA== X-Gm-Message-State: AKwxytdM2FfTiNdksF4SEKXrm9iejUrWG2oxnwKcwgjDOXO53DRXvdIs EYuO6PEm+qrtLL4k1WaiMDwJ1w== X-Received: by 2002:a17:902:624:: with SMTP id 33-v6mr20113586plg.327.1517196455783; Sun, 28 Jan 2018 19:27:35 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:34 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:18 -0800 Message-Id: <1738903d1af876c493371ac28dab36d1c2dcf978.1517196242.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH 7/8] musl: Update to latest master 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 The changes are https://git.musl-libc.org/cgit/musl/log/?qt=range&q=4000b0107ddd7fe733fa31d4f078c6fcd35851d6..628cf979b249fa76a80962e2eefe05073216a4db Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.16.1 -- _______________________________________________ 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 04ce5bbb1b..8b2cb4d49d 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 = "4000b0107ddd7fe733fa31d4f078c6fcd35851d6" +SRCREV = "628cf979b249fa76a80962e2eefe05073216a4db" PV = "1.1.18+git${SRCPV}" From patchwork Mon Jan 29 03:27:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126144 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091940ljd; Sun, 28 Jan 2018 19:28:41 -0800 (PST) X-Google-Smtp-Source: AH8x227dvDIKnlFhB3zR/qxGGvfyfLpgGS6U/SA5B4tRrsL5KYM66/YH71V6anteq/h8nc4+Nzbr X-Received: by 10.99.56.18 with SMTP id f18mr20081853pga.438.1517196521140; Sun, 28 Jan 2018 19:28:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196521; cv=none; d=google.com; s=arc-20160816; b=i/G4GoWOtOd36TISEf5zFPWGb0WW5X3XRyqSSL7JEMhVfRaR8FDURImCApgmy7PqJ0 M4mMDdXXupG1mfnoACabjtLOi+9q790NfuUqUvNn/jvjd7Q6BJMaVEqGmS5eDxnnnDJW nTmbByUtqRAg1RSJtQ8Z20LnE41Je6Uk8DFCr96lS4vTEVYwe9ghnsjiNPyQe8zkNwL+ +djVoIdkLRe3vQKS0W9GFyi8bSyvii6TIrijnhQ8KPAsRKF5c8pJqCC3s798nrJc5fCK AHZpNw0DPPhA2m9vu8eCYEWnY96yLh3HWTl++m3lbr99fAalK4DR5xU3wU01q0V2d+7d ngtw== 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=0PK+zGQAMfqfUZXt/w1LVFb2jtqZQWvuzkyQexi2Q2o=; b=ndFMy3w6jgW7SYf/syJ+gpNixh3QF1j3QQpx8OMRrdAm/s9oQY222iC3Mj2J7avcNY OOEkMfAy08AariObhsSYeaKpl7TzLdOT/gbLmsfwbv6dlJnN7C+gmbYnKdBECmEhZbWy yjR22oVqB04KWATwaxNKXTEY6kpm+MCeggSBDzWfDmuiiQNYIN17bKPYfIhyP38CoG9N 0e+DJqr1Sg/+7C7H5YCQcaGp86RJymIozjzHy0eLFoduekpstRwrGtKgbftxSlFUoKnG 7tVyj4RHabI/W8UgTew3LJ5qYOAXexy21ojWvKeVcXlOszXAd1OmR+3RlTpIsg+X3VUb XrRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=qp24vM0t; 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 t4si6636597pgc.108.2018.01.28.19.28.40; Sun, 28 Jan 2018 19:28:41 -0800 (PST) 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=qp24vM0t; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2B47D787DE; Mon, 29 Jan 2018 03:28:00 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f173.google.com (mail-pf0-f173.google.com [209.85.192.173]) by mail.openembedded.org (Postfix) with ESMTP id 2A7A6786E1 for ; Mon, 29 Jan 2018 03:27:36 +0000 (UTC) Received: by mail-pf0-f173.google.com with SMTP id y26so3723658pfi.10 for ; Sun, 28 Jan 2018 19:27:38 -0800 (PST) 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=zgZmsf3GTDMYOagHoZUpRWGBE0sFjBK4MVwRJHtW3zA=; b=qp24vM0tIdgdjddqALXoffSvNNJ8OUA7s12i6t1wmri6uCXdfQx6piMp06tSR3zw56 OkhUx9k1vl/3qfC2BKNTFdvwTcwaSRD4tZ0FzHvKlqE+qEFWhAc+TCfT7FkcEuSsQWcX +UPORo4zTZYjpF2dg5k1abvwgtVAFiqYwu1S4rp5MDMiBSi6pv/6nVDlz8ABiPHQLrO4 cfscTgybEMj9i+xowyKMcKvJZ+2D92SFPj2qCRwwK+We15rgJ4k30GReqvGM8begQTv9 Tqgtzi+6OTDy6pByxpPrwoCxvy8LSknzZv/vN6+Vyf2BZW2IANGJDUvz5gc80xpg4UBa J4sw== 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=zgZmsf3GTDMYOagHoZUpRWGBE0sFjBK4MVwRJHtW3zA=; b=tPAOcYCXEsOhLdhHsS7S4Nq7zzxxVeoObB0yLOQ5hVYxupnkBpwtQMSbUdvx0sFQuA pRn+x22MDZUxdK4+6y/EiSFwiijKZ0qYCPoSzsPoORkjo5oApATXCKITIAWIIUaQAPXP qu//3DZogLgEy/aTnuinGgn3KNofe/gqqxsk3aX8EiESswfoqapEqqLLicxmw0zMTFk8 xCCPouJ9Iek2mtPM0Idmw2guMJxic1sgmwWo6SkFi1Vtkh2vRFui//nrvA9wSNX+1SzY g1vokyld9VuW9+B8MrNYWiiBUIQxq4ZsZfi3PtO2iZksVv6NVWvh1QxlSibyIcMtOzzT ZDoA== X-Gm-Message-State: AKwxytete46VGNVpcLNabM+ud9ilkove6W+iQaS8eWRuBA3SSFMOH4wc OfRMHZMWdYUeFgMQKAwunPhI7A== X-Received: by 10.98.134.206 with SMTP id x197mr13895049pfd.82.1517196457441; Sun, 28 Jan 2018 19:27:37 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:36 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:19 -0800 Message-Id: <5d96cb5d5495f0958ac91a3d043296ed22c37a52.1517196242.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH 8/8] binutils: Upgrade to 2.30 release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../{binutils-2.29.1.inc => binutils-2.30.inc} | 2 +- ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} | 0 ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} | 0 ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} | 0 ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++--- ...oss-Do-not-generate-linker-script-directo.patch | 6 +- ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++--- .../0004-Point-scripts-location-to-libdir.patch | 8 +-- ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++-- .../binutils/binutils/0006-Use-libtool-2.4.patch | 66 ++++++++------------ ...7-Add-the-armv5e-architecture-to-binutils.patch | 8 +-- ...he-distro-compiler-point-to-the-wrong-ins.patch | 6 +- ...es-of-system-directories-when-cross-linki.patch | 24 ++++---- ...-rpath-in-libtool-when-sysroot-is-enabled.patch | 4 +- ...Change-default-emulation-for-mips64-linux.patch | 14 ++--- .../0012-Add-support-for-Netlogic-XLP.patch | 70 +++++++++++----------- ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++-- .../binutils/0014-Detect-64-bit-MIPS-targets.patch | 6 +- .../0015-sync-with-OE-libtool-changes.patch | 4 +- .../{binutils_2.29.1.bb => binutils_2.30.bb} | 0 21 files changed, 127 insertions(+), 141 deletions(-) rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc => binutils-2.30.inc} (97%) rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb => binutils-cross_2.30.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} (100%) rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb => binutils_2.30.bb} (100%) -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 1787a8248d..98b1a2a7ba 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "7.%" SDKGCCVERSION ?= "${GCCVERSION}" -BINUVERSION ?= "2.29%" +BINUVERSION ?= "2.30%" GDBVERSION ?= "8.0%" GLIBCVERSION ?= "2.26%" LINUXLIBCVERSION ?= "4.12%" diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc b/meta/recipes-devtools/binutils/binutils-2.30.inc similarity index 97% rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc rename to meta/recipes-devtools/binutils/binutils-2.30.inc index 07a72e2b5a..74c65f5473 100644 --- a/meta/recipes-devtools/binutils/binutils-2.29.1.inc +++ b/meta/recipes-devtools/binutils/binutils-2.30.inc @@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)" -SRCREV ?= "90276f15379d380761fc499da2ba24cfb3c12a94" +SRCREV ?= "8db5daf9efe8a6174d3b10ac7bba8c178836e9ce" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git" SRC_URI = "\ ${BINUTILS_GIT_URI} \ diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.29.1.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.30.bb similarity index 100% rename from meta/recipes-devtools/binutils/binutils-cross-canadian_2.29.1.bb rename to meta/recipes-devtools/binutils/binutils-cross-canadian_2.30.bb diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb b/meta/recipes-devtools/binutils/binutils-cross_2.30.bb similarity index 100% rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb rename to meta/recipes-devtools/binutils/binutils-cross_2.30.bb diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.30.bb similarity index 100% rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb rename to meta/recipes-devtools/binutils/binutils-crosssdk_2.30.bb diff --git a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch index 0b515d83c7..2df836057d 100644 --- a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch +++ b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch @@ -1,4 +1,4 @@ -From 58ac9f95a3d83c29efaf7a8906fb6aefea8c8e79 Mon Sep 17 00:00:00 2001 +From 2e1b5e24a6759de7f73aa6060a574848d9131b5a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 01:58:54 +0000 Subject: [PATCH 01/15] binutils-crosssdk: Generate relocatable SDKs @@ -18,7 +18,7 @@ Signed-off-by: Khem Raj 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ld/genscripts.sh b/ld/genscripts.sh -index b6940d376d..a42c4d7a4b 100755 +index 8732422b3a..1f257e99ca 100755 --- a/ld/genscripts.sh +++ b/ld/genscripts.sh @@ -277,6 +277,7 @@ DATA_ALIGNMENT_u="${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}" @@ -37,16 +37,16 @@ index b6940d376d..a42c4d7a4b 100755 ( echo "/* Script for ld -Ur: link w/out relocation, do create constructors */" . ${CUSTOMIZER_SCRIPT} . ${srcdir}/scripttempl/${SCRIPT_NAME}.sc - ) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xu + ) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xu +unset PARTIAL_LINKING - LD_FLAG= DATA_ALIGNMENT=${DATA_ALIGNMENT_} + RELOCATING=" " diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc -index d9138bc059..e48faeca43 100644 +index 9787ab5dac..0c8a93c2c8 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc -@@ -138,8 +138,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then +@@ -139,8 +139,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);" fi fi @@ -58,5 +58,5 @@ index d9138bc059..e48faeca43 100644 if test -z "$PLT"; then IPLT=".iplt ${RELOCATING-0} : { *(.iplt) }" -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch index 370333d5d0..bac7fb2d1a 100644 --- a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch +++ b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch @@ -1,4 +1,4 @@ -From 8f929c616208351d0971d7dfd7574d48d3144603 Mon Sep 17 00:00:00 2001 +From 58ddf38fa53abb48b69dd76e398c73451ad1a5eb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 6 Mar 2017 23:37:05 -0800 Subject: [PATCH 02/15] binutils-cross: Do not generate linker script @@ -23,7 +23,7 @@ Signed-off-by: Khem Raj 1 file changed, 23 deletions(-) diff --git a/ld/genscripts.sh b/ld/genscripts.sh -index a42c4d7a4b..d727b4d07e 100755 +index 1f257e99ca..1583b73a2b 100755 --- a/ld/genscripts.sh +++ b/ld/genscripts.sh @@ -189,29 +189,6 @@ append_to_lib_path() @@ -57,5 +57,5 @@ index a42c4d7a4b..d727b4d07e 100755 libs=${NATIVE_LIB_DIRS} if [ "x${NATIVE}" = "xyes" ] ; then -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch b/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch index b6c09ccf19..306afe7018 100644 --- a/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch +++ b/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch @@ -1,4 +1,4 @@ -From e5a806aae02a10290c71deb72f6294c98068368d Mon Sep 17 00:00:00 2001 +From 5089be88f670bcadf7db0e778894f900b2c05d7b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 01:07:33 +0000 Subject: [PATCH 03/15] configure: widen the regexp for SH architectures @@ -14,12 +14,12 @@ Signed-off-by: Khem Raj 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure -index be9dd89d9b..d8af155ab5 100755 +index 2d615a9996..c4ad45c06c 100755 --- a/configure +++ b/configure -@@ -3844,7 +3844,7 @@ case "${target}" in - or1k*-*-*) - noconfigdirs="$noconfigdirs gdb" +@@ -3835,7 +3835,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" ;; - sh-*-*) + sh*-*-* | sh64-*-*) @@ -27,7 +27,7 @@ index be9dd89d9b..d8af155ab5 100755 sh*-*-elf) ;; diff --git a/gprof/configure b/gprof/configure -index e71fe8b9e4..679e0dce77 100755 +index 1e25102976..6b43bf2b18 100755 --- a/gprof/configure +++ b/gprof/configure @@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) @@ -43,5 +43,5 @@ index e71fe8b9e4..679e0dce77 100755 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch index 38eee30855..3e29c5815a 100644 --- a/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch +++ b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch @@ -1,4 +1,4 @@ -From 3634ec3547bc0f8a5d1b8ad15365e2f836cda642 Mon Sep 17 00:00:00 2001 +From a0e893ea094c48fa803046ffa89e31907aee0597 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 01:09:58 +0000 Subject: [PATCH 04/15] Point scripts location to libdir @@ -12,7 +12,7 @@ Signed-off-by: Khem Raj 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index 625347ff62..d5334d2681 100644 +index 6243c12528..3c5d6c8202 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -57,7 +57,7 @@ endif @@ -25,7 +25,7 @@ index 625347ff62..d5334d2681 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index ba251777b0..a2cf2282b5 100644 +index 760c037f9d..6dea692869 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) @@ -38,5 +38,5 @@ index ba251777b0..a2cf2282b5 100644 BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch b/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch index 59150a2e4d..2f49969371 100644 --- a/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +++ b/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch @@ -1,4 +1,4 @@ -From 9d37c8f68c07da63186cb993f1221f6c11eca422 Mon Sep 17 00:00:00 2001 +From 518abb195d0eb47d8eef581d7fd0a5fd9fa73f7d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 01:27:17 +0000 Subject: [PATCH 05/15] Only generate an RPATH entry if LD_RUN_PATH is not @@ -15,10 +15,10 @@ Signed-off-by: Khem Raj 1 file changed, 4 insertions(+) diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em -index 9ac1840316..9dc4c149bc 100644 +index c0925fc9b9..7d7670a89f 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em -@@ -1463,6 +1463,8 @@ fragment <link.next) if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch b/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch index e87efe653b..333e2ee176 100644 --- a/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch +++ b/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch @@ -1,4 +1,4 @@ -From 71c734bb3754319029dcfc898cedbade42274dcb Mon Sep 17 00:00:00 2001 +From fad053cc59baa6277182b0fc90415a214060ba99 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 14 Feb 2016 17:04:07 +0000 Subject: [PATCH 06/15] Use libtool 2.4 @@ -12,7 +12,6 @@ Signed-off-by: Khem Raj bfd/configure | 1318 +++++++++++++++++------ bfd/configure.ac | 2 +- binutils/configure | 1316 +++++++++++++++++------ - configure | 2 +- gas/configure | 1314 +++++++++++++++++------ gprof/configure | 1321 +++++++++++++++++------ ld/configure | 1691 +++++++++++++++++++++-------- @@ -24,10 +23,10 @@ Signed-off-by: Khem Raj opcodes/configure | 1318 +++++++++++++++++------ opcodes/configure.ac | 2 +- zlib/configure | 1316 +++++++++++++++++------ - 15 files changed, 9927 insertions(+), 3694 deletions(-) + 14 files changed, 9926 insertions(+), 3693 deletions(-) diff --git a/bfd/configure b/bfd/configure -index 48276594ed..3ece8943f3 100755 +index 6c2b24ebe3..5fdd723b7f 100755 --- a/bfd/configure +++ b/bfd/configure @@ -672,6 +672,9 @@ OTOOL @@ -1931,7 +1930,7 @@ index 48276594ed..3ece8943f3 100755 chmod +x "$ofile" diff --git a/bfd/configure.ac b/bfd/configure.ac -index 8fd03a7ea8..8816c3286c 100644 +index 2342f3faea..a6451fccda 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac @@ -254,7 +254,7 @@ changequote(,)dnl @@ -1944,7 +1943,7 @@ index 8fd03a7ea8..8816c3286c 100644 # More hacks to build DLLs on Windows. diff --git a/binutils/configure b/binutils/configure -index 22e1b1736e..321b63535b 100755 +index 5d9c9105a7..a65b2b4518 100755 --- a/binutils/configure +++ b/binutils/configure @@ -659,8 +659,11 @@ OTOOL @@ -3841,21 +3840,8 @@ index 22e1b1736e..321b63535b 100755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" -diff --git a/configure b/configure -index d8af155ab5..005ed827ab 100755 ---- a/configure -+++ b/configure -@@ -3844,7 +3844,7 @@ case "${target}" in - or1k*-*-*) - noconfigdirs="$noconfigdirs gdb" - ;; -- sh*-*-* | sh64-*-*) -+ sh-*-* | sh64-*-*) - case "${target}" in - sh*-*-elf) - ;; diff --git a/gas/configure b/gas/configure -index 93afb20c8f..81dd4cbd97 100755 +index fbac8f44d5..a40ac2144f 100755 --- a/gas/configure +++ b/gas/configure @@ -650,8 +650,11 @@ OTOOL @@ -5156,7 +5142,7 @@ index 93afb20c8f..81dd4cbd97 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -15436,13 +16089,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -15437,13 +16090,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' @@ -5177,7 +5163,7 @@ index 93afb20c8f..81dd4cbd97 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -15457,14 +16117,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -15458,14 +16118,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' @@ -5196,7 +5182,7 @@ index 93afb20c8f..81dd4cbd97 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -15497,12 +16160,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -15498,12 +16161,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' @@ -5210,7 +5196,7 @@ index 93afb20c8f..81dd4cbd97 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -15557,8 +16220,13 @@ reload_flag \ +@@ -15558,8 +16221,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ @@ -5224,7 +5210,7 @@ index 93afb20c8f..81dd4cbd97 100755 STRIP \ RANLIB \ CC \ -@@ -15568,12 +16236,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -15569,12 +16237,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ @@ -5240,7 +5226,7 @@ index 93afb20c8f..81dd4cbd97 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -15589,7 +16259,6 @@ no_undefined_flag \ +@@ -15590,7 +16260,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ @@ -5248,7 +5234,7 @@ index 93afb20c8f..81dd4cbd97 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -15625,6 +16294,7 @@ module_cmds \ +@@ -15626,6 +16295,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ @@ -5256,7 +5242,7 @@ index 93afb20c8f..81dd4cbd97 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -16389,7 +17059,8 @@ $as_echo X"$file" | +@@ -16390,7 +17060,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, @@ -5266,7 +5252,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -16492,19 +17163,42 @@ SP2NL=$lt_lt_SP2NL +@@ -16493,19 +17164,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP @@ -5310,7 +5296,7 @@ index 93afb20c8f..81dd4cbd97 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -16534,6 +17228,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -16535,6 +17229,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix @@ -5323,7 +5309,7 @@ index 93afb20c8f..81dd4cbd97 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -16543,6 +17243,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -16544,6 +17244,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks @@ -5333,7 +5319,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -16657,12 +17360,12 @@ with_gcc=$GCC +@@ -16658,12 +17361,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag @@ -5349,7 +5335,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -16749,9 +17452,6 @@ inherit_rpath=$inherit_rpath +@@ -16750,9 +17453,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs @@ -5359,7 +5345,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -16767,6 +17467,9 @@ include_expsyms=$lt_include_expsyms +@@ -16768,6 +17468,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds @@ -5369,7 +5355,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -16799,210 +17502,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -16800,210 +17503,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? @@ -5744,7 +5730,7 @@ index 93afb20c8f..81dd4cbd97 100755 chmod +x "$ofile" diff --git a/gprof/configure b/gprof/configure -index 679e0dce77..ac4c016a63 100755 +index 6b43bf2b18..245ee48bc3 100755 --- a/gprof/configure +++ b/gprof/configure @@ -631,8 +631,11 @@ OTOOL @@ -7654,7 +7640,7 @@ index 679e0dce77..ac4c016a63 100755 chmod +x "$ofile" diff --git a/ld/configure b/ld/configure -index d7f66f8cdc..4e71511bd1 100755 +index 0cc6e8a50f..db8b998722 100755 --- a/ld/configure +++ b/ld/configure @@ -655,8 +655,11 @@ OTOOL @@ -17336,7 +17322,7 @@ index bf92b5e079..c573da90c5 100644 # These exist entirely to fool aclocal when bootstrapping libtool. # diff --git a/opcodes/configure b/opcodes/configure -index 17530f54b9..79b39611c2 100755 +index 4f29887098..2127d39288 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -650,6 +650,9 @@ OTOOL @@ -19240,7 +19226,7 @@ index 17530f54b9..79b39611c2 100755 chmod +x "$ofile" diff --git a/opcodes/configure.ac b/opcodes/configure.ac -index a9fbfd61f1..c43780f64d 100644 +index b07f3f3629..5a32d9b1fc 100644 --- a/opcodes/configure.ac +++ b/opcodes/configure.ac @@ -167,7 +167,7 @@ changequote(,)dnl @@ -21153,5 +21139,5 @@ index dc2d9ed383..ed9a492f5c 100755 chmod +x "$ofile" -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch b/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch index 88019606f7..4a5127380f 100644 --- a/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch +++ b/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch @@ -1,4 +1,4 @@ -From 2b87aad1741bc481dd0982f100ad5ea7f937bb61 Mon Sep 17 00:00:00 2001 +From 697903256e09533778baa8af66402c44d70219d9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 01:37:10 +0000 Subject: [PATCH 07/15] Add the armv5e architecture to binutils @@ -19,10 +19,10 @@ Signed-off-by: Khem Raj 1 file changed, 1 insertion(+) diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c -index a885efe4fc..735eaa7447 100644 +index ec50420518..a25d1721af 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c -@@ -25990,6 +25990,7 @@ static const struct arm_arch_option_table arm_archs[] = +@@ -26195,6 +26195,7 @@ static const struct arm_arch_option_table arm_archs[] = ARM_ARCH_OPT ("armv4t", ARM_ARCH_V4T, FPU_ARCH_FPA), ARM_ARCH_OPT ("armv4txm", ARM_ARCH_V4TxM, FPU_ARCH_FPA), ARM_ARCH_OPT ("armv5", ARM_ARCH_V5, FPU_ARCH_VFP), @@ -31,5 +31,5 @@ index a885efe4fc..735eaa7447 100644 ARM_ARCH_OPT ("armv5txm", ARM_ARCH_V5TxM, FPU_ARCH_VFP), ARM_ARCH_OPT ("armv5te", ARM_ARCH_V5TE, FPU_ARCH_VFP), -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch b/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch index 30a22b504f..939be67b58 100644 --- a/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +++ b/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch @@ -1,4 +1,4 @@ -From 331443a87a31ec504e5652fc099d9129a9a4deb8 Mon Sep 17 00:00:00 2001 +From 622d66634eb2e509d4126f5bdcab26de367241a1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 01:39:01 +0000 Subject: [PATCH 08/15] don't let the distro compiler point to the wrong @@ -17,7 +17,7 @@ Signed-off-by: Khem Raj 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in -index 25cfa29ad5..ce67a710e3 100644 +index ed1b334c36..d4ffd8b57b 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -364,7 +364,8 @@ install-strip: install @@ -31,5 +31,5 @@ index 25cfa29ad5..ce67a710e3 100644 if test -n "${target_header_dir}"; then \ ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \ -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch b/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch index e0e257880d..e75104722b 100644 --- a/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch +++ b/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch @@ -1,4 +1,4 @@ -From 0a4afdcf0700efd45963568e2d0049127cdf4434 Mon Sep 17 00:00:00 2001 +From 27e38ee92c24fca86b1c3f6ef156a1892dd06bfd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 15 Jan 2016 06:31:09 +0000 Subject: [PATCH 09/15] warn for uses of system directories when cross linking @@ -77,7 +77,7 @@ index a846743da6..df3cd5fb60 100644 #undef EXTRA_SHLIB_EXTENSION diff --git a/ld/configure b/ld/configure -index 4e71511bd1..71c6ad1fd1 100755 +index db8b998722..489ead5c13 100755 --- a/ld/configure +++ b/ld/configure @@ -789,6 +789,7 @@ with_lib_path @@ -118,7 +118,7 @@ index 4e71511bd1..71c6ad1fd1 100755 if test "${enable_gold+set}" = set; then : enableval=$enable_gold; case "${enableval}" in diff --git a/ld/configure.ac b/ld/configure.ac -index 00080f85fd..3aa98e37fb 100644 +index bada1b50b0..d074a3820b 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot) @@ -139,10 +139,10 @@ index 00080f85fd..3aa98e37fb 100644 dnl "install_as_default" is set to false if gold is the default linker. dnl "installed_linker" is the installed BFD linker name. diff --git a/ld/ld.h b/ld/ld.h -index c6fa1247f0..01c373498f 100644 +index ba914b921e..9df17dab6c 100644 --- a/ld/ld.h +++ b/ld/ld.h -@@ -174,6 +174,14 @@ typedef struct +@@ -180,6 +180,14 @@ typedef struct in the linker script. */ bfd_boolean force_group_allocation; @@ -158,10 +158,10 @@ index c6fa1247f0..01c373498f 100644 enum endian_enum endian; diff --git a/ld/ld.texinfo b/ld/ld.texinfo -index ebe7e7b7bd..33aa2c62fa 100644 +index c89915f1aa..df430837e2 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo -@@ -2480,6 +2480,18 @@ string identifying the original linked file does not change. +@@ -2498,6 +2498,18 @@ string identifying the original linked file does not change. Passing @code{none} for @var{style} disables the setting from any @code{--build-id} options earlier on the command line. @@ -181,7 +181,7 @@ index ebe7e7b7bd..33aa2c62fa 100644 @c man end diff --git a/ld/ldfile.c b/ld/ldfile.c -index 3b37a0a3e2..5c85b01849 100644 +index 6532a57d96..f943f0b2e5 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) @@ -209,7 +209,7 @@ index 3b37a0a3e2..5c85b01849 100644 /* Try to open a BFD for a lang_input_statement. */ diff --git a/ld/ldlex.h b/ld/ldlex.h -index 5aa7f6bc3e..cb655e0399 100644 +index 140ed1d9da..9965cbc04f 100644 --- a/ld/ldlex.h +++ b/ld/ldlex.h @@ -147,6 +147,8 @@ enum option_values @@ -222,7 +222,7 @@ index 5aa7f6bc3e..cb655e0399 100644 /* The initial parser states. */ diff --git a/ld/ldmain.c b/ld/ldmain.c -index 2b09f20413..89e2a3a805 100644 +index c473ed24c3..adae0b4610 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -261,6 +261,8 @@ main (int argc, char **argv) @@ -235,7 +235,7 @@ index 2b09f20413..89e2a3a805 100644 /* We initialize DEMANGLING based on the environment variable COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the diff --git a/ld/lexsup.c b/ld/lexsup.c -index effa277b16..e4929607e9 100644 +index f2191602d4..bccb3bdeef 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -538,6 +538,14 @@ static const struct ld_option ld_options[] = @@ -269,5 +269,5 @@ index effa277b16..e4929607e9 100644 } -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch b/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch index 496242efa4..33dfff9bd7 100644 --- a/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +++ b/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch @@ -1,4 +1,4 @@ -From 88fac08f1c472c612f381cbb9408756f2f58b4ff Mon Sep 17 00:00:00 2001 +From e205ae05c41a8cc8d47708f0a3b6f740e2bf2526 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 01:42:38 +0000 Subject: [PATCH 10/15] Fix rpath in libtool when sysroot is enabled @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644 if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch index ac87a2d1de..80fcbc1194 100644 --- a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch +++ b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch @@ -1,4 +1,4 @@ -From 497660bdbeb6788786553a5d733105f7f898dc62 Mon Sep 17 00:00:00 2001 +From 7978c1299021033c35c29c94e0997235f7ede248 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Mar 2015 01:44:14 +0000 Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bfd/config.bfd b/bfd/config.bfd -index dc24aabad5..4511024f22 100644 +index f04a993f06..8777f96bd2 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd -@@ -1186,12 +1186,12 @@ case "${targ}" in +@@ -1189,12 +1189,12 @@ case "${targ}" in targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; mips64*el-*-linux*) @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644 mips*el-*-linux*) targ_defvec=mips_elf32_trad_le_vec diff --git a/ld/configure.tgt b/ld/configure.tgt -index 47c719cd05..fe7b9238b2 100644 +index 6183a85b3d..1d78465590 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt -@@ -530,11 +530,11 @@ mips*el-*-vxworks*) targ_emul=elf32elmipvxworks +@@ -535,11 +535,11 @@ mips*el-*-vxworks*) targ_emul=elf32elmipvxworks mips*-*-vxworks*) targ_emul=elf32ebmipvxworks - targ_extra_emuls="elf32elmipvxworks" ;; + targ_extra_emuls="elf32elmipvxworks" ;; mips*-*-windiss) targ_emul=elf32mipswindiss ;; -mips64*el-*-linux-*) targ_emul=elf32ltsmipn32 - targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip" @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644 mips*el-*-linux-*) targ_emul=elf32ltsmip targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch index dc5e580739..1fefb680f8 100644 --- a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch +++ b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch @@ -1,4 +1,4 @@ -From 8c60a55d3678589d93739bd27fec216911d80968 Mon Sep 17 00:00:00 2001 +From 3b40bf584615f794b85fd50d4d0a5c0a1d2ee7bf Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 14 Feb 2016 17:06:19 +0000 Subject: [PATCH 12/15] Add support for Netlogic XLP @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle 14 files changed, 61 insertions(+), 21 deletions(-) diff --git a/bfd/aoutx.h b/bfd/aoutx.h -index 3d38fda14b..0aec49bbb3 100644 +index eec9c4ad2a..3bf0a71e63 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch, @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644 arch_flags = M_MIPS2; break; diff --git a/bfd/archures.c b/bfd/archures.c -index 433b95fa08..063b7943a1 100644 +index e83c57a2f3..3016ea1bae 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -201,6 +201,7 @@ DESCRIPTION - .#define bfd_mach_mips_octeon3 6503 - .#define bfd_mach_mips_xlr 887682 {* decimal 'XLR' *} - .#define bfd_mach_mips_interaptiv_mr2 736550 {* decimal 'IA2' *} -+.#define bfd_mach_mips_xlp 887680 {* decimal 'XLP' *} - .#define bfd_mach_mipsisa32 32 - .#define bfd_mach_mipsisa32r2 33 - .#define bfd_mach_mipsisa32r3 34 + .#define bfd_mach_mips_octeon3 6503 + .#define bfd_mach_mips_xlr 887682 {* decimal 'XLR'. *} + .#define bfd_mach_mips_interaptiv_mr2 736550 {* decimal 'IA2'. *} ++.#define bfd_mach_mips_xlp 887680 {* decimal 'XLP'. *} + .#define bfd_mach_mipsisa32 32 + .#define bfd_mach_mipsisa32r2 33 + .#define bfd_mach_mipsisa32r3 34 diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index d126aed086..2b753b3a93 100644 +index 42991e7848..27abc5d5a8 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h -@@ -2060,6 +2060,7 @@ enum bfd_architecture +@@ -2062,6 +2062,7 @@ enum bfd_architecture #define bfd_mach_mips_octeon3 6503 - #define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */ - #define bfd_mach_mips_interaptiv_mr2 736550 /* decimal 'IA2' */ -+#define bfd_mach_mips_xlp 887680 /* decimal 'XLP' */ + #define bfd_mach_mips_xlr 887682 /* decimal 'XLR'. */ + #define bfd_mach_mips_interaptiv_mr2 736550 /* decimal 'IA2'. */ ++#define bfd_mach_mips_xlp 887680 /* decimal 'XLP'. */ #define bfd_mach_mipsisa32 32 #define bfd_mach_mipsisa32r2 33 #define bfd_mach_mipsisa32r3 34 diff --git a/bfd/config.bfd b/bfd/config.bfd -index 4511024f22..f0f9072f10 100644 +index 8777f96bd2..7b80bda8c9 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd -@@ -1169,6 +1169,11 @@ case "${targ}" in +@@ -1172,6 +1172,11 @@ case "${targ}" in targ_defvec=mips_elf32_le_vec targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec" ;; @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644 targ_defvec=mips_elf32_be_vec targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec" diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c -index 2493094bef..8375d1ae96 100644 +index cb50c64371..2b9d1d6ecf 100644 --- a/bfd/cpu-mips.c +++ b/bfd/cpu-mips.c @@ -105,7 +105,8 @@ enum @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644 #define NN(index) (&arch_info_struct[(index) + 1]) @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[] = - N (64, 64, bfd_mach_mips_xlr, "mips:xlr", FALSE, NN(I_xlr)), + N (64, 64, bfd_mach_mips_xlr, "mips:xlr", FALSE, NN(I_xlr)), N (32, 32, bfd_mach_mips_interaptiv_mr2, "mips:interaptiv-mr2", FALSE, NN(I_interaptiv_mr2)), - N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0) @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644 /* The default architecture is mips:3000, but with a machine number of diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c -index fddf68c816..354c85d00b 100644 +index 285401367d..14ebb5f175 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags) +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags) case E_MIPS_MACH_IAMR2: return bfd_mach_mips_interaptiv_mr2; @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644 default: switch (flags & EF_MIPS_ARCH) { -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd) +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd) val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2; break; @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644 case bfd_mach_mipsisa32: val = E_MIPS_ARCH_32; break; -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension mips_mach_extensions[] = +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension mips_mach_extensions[] = { bfd_mach_mips_octeonp, bfd_mach_mips_octeon }, { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 }, { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 }, @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644 /* MIPS64 extensions. */ { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 }, diff --git a/binutils/readelf.c b/binutils/readelf.c -index 2b15f0f2cb..092744708e 100644 +index ae1cda9a7b..fed0387a94 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine) +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine) case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break; case E_MIPS_MACH_XLR: strcat (buf, ", xlr"); break; case E_MIPS_MACH_IAMR2: strcat (buf, ", interaptiv-mr2"); break; @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644 /* We simply ignore the field in this case to avoid confusion: MIPS ELF does not specify EF_MIPS_MACH, it is a GNU diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c -index 3804df2958..9576c986db 100644 +index c135131b59..d8fbda8e31 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -552,6 +552,7 @@ static int mips_32bitmode = 0; @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644 ) /* Whether the processor uses hardware interlocks to protect reads -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] = +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] = /* Broadcom XLP. XLP is mostly like XLR, with the prominent exception that it is MIPS64R2 rather than MIPS64. */ @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644 /* MIPS 64 Release 6 */ { "i6400", 0, ASE_MSA, ISA_MIPS64R6, CPU_MIPS64R6}, diff --git a/gas/configure b/gas/configure -index 81dd4cbd97..95bdf3b19b 100755 +index a40ac2144f..65a6995243 100755 --- a/gas/configure +++ b/gas/configure @@ -12989,6 +12989,9 @@ _ACEOF @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755 mips_cpu=r3900 ;; diff --git a/include/elf/mips.h b/include/elf/mips.h -index a4bea43ff8..73d904e25f 100644 +index 9de0b4e175..74fc4f7e55 100644 --- a/include/elf/mips.h +++ b/include/elf/mips.h @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext) @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644 #define E_MIPS_MACH_OCTEON3 0x008e0000 #define E_MIPS_MACH_5400 0x00910000 diff --git a/include/opcode/mips.h b/include/opcode/mips.h -index ceae9ec50a..276ee3c6c1 100644 +index 5eea72f139..90f6d57e15 100644 --- a/include/opcode/mips.h +++ b/include/opcode/mips.h @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = { @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644 return FALSE; } diff --git a/ld/configure.tgt b/ld/configure.tgt -index fe7b9238b2..2adf108b17 100644 +index 1d78465590..307e787b64 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*) +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*) mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) targ_emul=elf32btsmip targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;; @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644 targ_extra_emuls="elf32lr5900" targ_extra_libpath=$targ_extra_emuls ;; diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c -index 45195007c1..4a80a05d19 100644 +index 984fcbb802..95b107d216 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -655,13 +655,11 @@ const struct mips_arch_choice mips_arch_choices[] = @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644 /* This entry, mips16, is here only for ISA/processor selection; do not print its name. */ diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c -index 19fca408c9..d02069c528 100644 +index 180d613c93..65b7b8cc23 100644 --- a/opcodes/mips-opc.c +++ b/opcodes/mips-opc.c @@ -328,6 +328,7 @@ decode_mips_operand (const char *p) @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644 {"swc0", "E,A(b)", 0, (int) M_SWC0_AB, INSN_MACRO, 0, I1, 0, IOCT|IOCTP|IOCT2|I37 }, {"swc1", "T,o(b)", 0xe4000000, 0xfc000000, RD_1|RD_3|SM|FP_S, 0, I1, 0, 0 }, -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch index 247376b7ed..c3e1b13841 100644 --- a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch +++ b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch @@ -1,4 +1,4 @@ -From e46202becab625c6c08caf91e08ccbbc1bf799c4 Mon Sep 17 00:00:00 2001 +From 27ec22ca3cd56cfdf060d2e1f414bedce269b322 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Sat, 11 Jun 2016 22:08:29 -0500 Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait mnemonic @@ -11,10 +11,10 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c -index 426261ab21..0d35916cdd 100644 +index bb17f26c2e..dbdd762b4e 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"ldepx", X(31,29), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, {"waitasec", X(31,30), XRTRARB_MASK, POWER8, POWER9, {0}}, @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644 {"lwepx", X(31,31), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitrsv", X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0, {0}}, {"waitimpl", X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0, {0}}, @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644 {"dcbstep", XRT(31,63,0), XRT_MASK, E500MC|PPCA2, 0, {RA0, RB}}, -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch index 42b1065f8d..cf3690f25d 100644 --- a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch +++ b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch @@ -1,4 +1,4 @@ -From bf20d5823662d1f2eb47de2cdfd173627a205b17 Mon Sep 17 00:00:00 2001 +From 7dfbd6889d868a09d695dd2736104848c1a9c9c3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 31 Mar 2017 11:42:03 -0700 Subject: [PATCH 14/15] Detect 64-bit MIPS targets @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj 1 file changed, 14 insertions(+) diff --git a/gold/configure.tgt b/gold/configure.tgt -index 3d63027297..c1f92a1360 100644 +index 8aef22a318..7030026ffa 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -153,6 +153,13 @@ aarch64*-*) @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644 targ_obj=mips targ_machine=EM_MIPS -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch index 2c8900cb66..8c9fd237e7 100644 --- a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch +++ b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch @@ -1,4 +1,4 @@ -From 9b456a0e4f284fd41ac36595144ed44dc82410ee Mon Sep 17 00:00:00 2001 +From 298804f430939d6cc94b09732ee93e64c5e6be18 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 6 Mar 2017 23:33:27 -0800 Subject: [PATCH 15/15] sync with OE libtool changes @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644 elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils_2.29.1.bb b/meta/recipes-devtools/binutils/binutils_2.30.bb similarity index 100% rename from meta/recipes-devtools/binutils/binutils_2.29.1.bb rename to meta/recipes-devtools/binutils/binutils_2.30.bb