From patchwork Tue Jan 30 04:31:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126195 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021500ljd; Mon, 29 Jan 2018 20:32:10 -0800 (PST) X-Google-Smtp-Source: AH8x227RorgJL2rtbiIK2joijHvmmOhrBFa2aYLFyejl8qkRuwPkeioN49QIL3GcQNrGz31F0KTV X-Received: by 2002:a17:902:6909:: with SMTP id j9-v6mr23772519plk.372.1517286729997; Mon, 29 Jan 2018 20:32:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286729; cv=none; d=google.com; s=arc-20160816; b=Dtt6P7ukmffXBZS3EEBC6MUNVDkASKKzTo5D/yEeyi0+WDXttML3crVj8sMiTDt8jg cShlSo0DLz4lLHJkEo3M/lXz2FBsurW8Mw52Ri6BCC1qoZDPkJbrDVXyROlJHtjVLmRS 8jqleF6DCKBYsZ5xYTqMmDeNdW4OdqlJ9OA9LO7k231ERXNg7J8a/UTqSzUEts85152a TzrG6g5mu+zSsk/DzlYfVX0a8BgnXrjoggOewafENZ4XLoZtuIVixDGp6Ik1nGbrzPkq +5oZMdpnlLi556TE+ErEi8qhnTMwecrBFeV5WdeC6yii5OClVyTMjHYBFzThMRuMjg5y sZwg== 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=AJ8mnPg//2OJ1fzHz5Dozf9RN+fNq4nbWjHdgsghp9nedHFSDJ48YrkeRPi6W1v3sr /7QUo2SNLh2mzL98j1RfSn8BtRpH+0hpolipuWZhAR420Gc5lGXvBSm/yMhNh98AzLZE D0YaW9//R0NWlZao23QckvEb1bNFuOFWTMAg+S/v+UPiNy/qU8vgrQU+aPCurj3X6cJy S2aFhHw4qLiKxgOYorvwbPDanDv69p11FDj//ohAByBzrVEaFkpnNWksINCnLrztYups a2Du0NPxhl7Ruw54N5901jNQr6ylohyoSmgHUMSWaNOum95k19QA5S8C8sYhVm+Di93b lykw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=H9/A7YOZ; 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 v18si8479467pgo.360.2018.01.29.20.32.09; Mon, 29 Jan 2018 20:32:09 -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=H9/A7YOZ; 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 2507978871; Tue, 30 Jan 2018 04:32:07 +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 052C778876 for ; Tue, 30 Jan 2018 04:32:03 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id t5so7622954pfi.0 for ; Mon, 29 Jan 2018 20:32:05 -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=H9/A7YOZGmJ3Z227Mp2VeEG4bZ+Vofq9ZHblB/YMemoHyOGTmQSEmlLPy8z9aY1Sv4 MTiPzP2tcvPkUT5dadWL9DBWmDaoIwTeCdLFpxtw4Y2An20+EMrb3FC03LaPANaDGCk/ Rlbmtm0Ld6TpB2JezaMeyrNXgPaQ1o09r3Phl08U1u0zfgW9gtEiW1dMV3rtSbNnLFlq Ae8NQzq98KyFdi/VsniL3KEqJdxL6CsSORH8drrbCqgObVsYlrckLchChbTBGdNsRtEb BUPVEyGezed2lMyRPP+TDkgsIRILPYNTavoWy2RuhpyRUfRRusonsKjKTonSiIe3DQZp MFUw== 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=sabmw+Q7pFef5ly80KYRlwT8D6ep+LpFdvhexxJLQoFegaP3gBR3Cbs18Uc4VnLMYN RL+P4OrPrMYlSlVJ3Quc5udPHui6Zmwh/YfJTTEXJ/ds+DODWjjjoB0ZjuxVTrz5wuLA P4YItiKEHvBETlYnkJz8Konkx8yo6osJUFqgG8of/MujjDLWCqkzWAIx006yBtVvvsj6 b2zVhb3v4nx3HGA5BTqAB8N3t+LvEGH8Xb8x4unnaqqWaB030TQkB+yPZmHUMPKiIj6V LAx6Ae30zWlv1VH5FgvJztY5fiM6299DqYBTYrZY5NRkKjnjJgms6ZVPJozUgPh7P+Ww yb3w== X-Gm-Message-State: AKwxytdA2qDAymy9+N1F3fouJk/nrf5CnfdrY5Y8o5rleEOvz0KvOFrz h2ik2AT824I4untp6v7IOHLSSQ== X-Received: by 2002:a17:902:7844:: with SMTP id e4-v6mr4029225pln.83.1517286725049; Mon, 29 Jan 2018 20:32:05 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:04 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:49 -0800 Message-Id: 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 Tue Jan 30 04:31:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126196 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021533ljd; Mon, 29 Jan 2018 20:32:15 -0800 (PST) X-Google-Smtp-Source: AH8x226ciVQhLLAo2siWkWKRLNsKQC9KptMc/eVpTqWCkgaWsV3+JywK1FNg6BsjjZNXuy5XYtSp X-Received: by 2002:a17:902:7889:: with SMTP id q9-v6mr3584334pll.114.1517286735364; Mon, 29 Jan 2018 20:32:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286735; cv=none; d=google.com; s=arc-20160816; b=TDLrFnsUUXR2DiuLo2u3VAlEq4mmxmrMVRI8HvyDw5pGkcC4Fusdf1mtDlyBORQwrg a/qt+mOk4hAi2WqU/VYfQMnI0hU8WL0MUgsXZSN+j7Lkozm/lyxng/vgLjqn2nQXphtH 4qKcjUFfD+H2JDsXLyUu9uEMxqR0Tj7sJ9KT4U2XpfaJ4U3RIcQOIA1jQ2QfQsbN3iuc WQEzPzV53ymlFQkDaTvnhfJmL8mlWWjasu5CyBhYBTl6bWjMkmA/2SgTJ0LKJRkeoW8+ 3m7RjeFS6Jh8YuH7cgerTCuqrbC98GSrooWcVFRxHIyhKVgAw66SMo9hFcQfiCGCt7Rg kHhA== 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=97h0/KMYuw8tBiyEPHjs/jiv7owfmAQldoJJ7Ng6mws=; b=GgwVaHQAhSKwzyrLv8L6/udap0CMxk4wcZ8Fs0upfm+uE+td8jupf5R+3OvVqySHvc WeaQUr00IbOC2SUXHwm6LlbrtTTDxXXRJY/zeb/PJNywtbeDc/aetXlPuePBsB1Wiarq LAnFCToIHvJhBw9i/u3XViazEfGslm4vqcgNyPpqrgAClcMRkkwZh1lh7w8Ouwj1SIlL 2r02IfanB+izr8h2+qpOqSV3sw0vRICVRGtpJeGEU7niOnmNmn+RN8mfngB+rXQ+d4UO btwp0IhAA2BK6qWeIuEEEkfLt8CFxwVhZewO+RSVIZYWtvbCDM7z5Z8JHqjPCbMhjogy LQig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=tAGHhS2X; 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 g3-v6si1489020plb.331.2018.01.29.20.32.15; Mon, 29 Jan 2018 20:32:15 -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=tAGHhS2X; 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 2FEE978892; Tue, 30 Jan 2018 04:32:08 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 080F278876 for ; Tue, 30 Jan 2018 04:32:05 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id r19so6271241pgn.1 for ; Mon, 29 Jan 2018 20:32:07 -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=Stbyk86x1RKqufvYD2JmiSod/PfkZ/qnL/gXKBKmkaY=; b=tAGHhS2XeKGgGvc5ULVOd4HQndotSeTEIFXgD0ie7ZhWNCDx0JXXxTan7NDG7mL++E bVNF9HP2EzJ8JvcfHfCOEf7HfnoW1dwgx7cxBXxNp3fsTf7Cix9POfZLSVW4iB2amPkO JEcy7bQNqotDbAcFB0czNZ4Su9UtD2yqpPksrPc4QIujPKd8Jqh7x2cslY+3gbk09JuG +aff6YM6m2uto34U1YQ/hSMWYGxELHsmPpLn2p+X9JN25AMykSPJhdLmUP6/S31LEjHU RIhTurdFQ4ahJBYUeBzlUUKrDk9uAYR8Ikz5B7SFyVDM+3p2HBR1ybR4CB/aM8VvXxr3 1GeQ== 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=Stbyk86x1RKqufvYD2JmiSod/PfkZ/qnL/gXKBKmkaY=; b=PwEF2cypeiOiOwz9O/LzCwbz8Zk/4oaQld6NxXDGpT2IfgyIRM5zfSiZf5B2fhZ4OR 4FCjd4flrA+plK/gU5wp5tNrPGxjGul5Fb43xwuzhWNM9TgUedfXVlR3c310H2P8zyrB NdXItOQfh9YqmNqiPOPbFR+hqbf+rLwCOwtKKWPwLYttPdhIPX0VVms6F4LT7ZtL3J4n CxBK/YpBix3xWBo4KuPBQgwuz38pVz3pSrMWECFLWYn+3N/wi7n1tzGiZ5XWLEi+9DIb Ba/TRZdkTHxDx+gswrAhAEufIroY+JoszOEr7RP/K8ZoFfwddJSMOaSlDRDY6YIQC71I OtKA== X-Gm-Message-State: AKwxytc99b8XWChxRjIxPcfDRt83uzWcDX+W4Y/lbczySyRMc7bU35Rg u9IZbmoDznYj9sIMp0E2qzJrrQ== X-Received: by 2002:a17:902:7d96:: with SMTP id a22-v6mr14575111plm.296.1517286726970; Mon, 29 Jan 2018 20:32:06 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:05 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:50 -0800 Message-Id: <92a10eebd7525de6eeaa80701f4ae256500836b2.1517286478.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH V2 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 | 70 ++++++++++++++++++++++ ...2-glob-Do-not-assume-glibc-glob-internals.patch | 38 ++++++++++++ 3 files changed, 112 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..2b6e4d40c3 --- /dev/null +++ b/meta/recipes-devtools/make/make/0001-glob-Do-not-assume-glibc-glob-internals.patch @@ -0,0 +1,70 @@ +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 +Signed-off-by: Khem Raj + + 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 Tue Jan 30 04:31:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126197 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021585ljd; Mon, 29 Jan 2018 20:32:23 -0800 (PST) X-Google-Smtp-Source: AH8x227NeLzcJ4P5GvqAasXfvL+9vmRreIc2b40VxhrdZEnc7ibEmcpgmxAu5RFdNlHFyWdXxZs7 X-Received: by 10.99.120.8 with SMTP id t8mr14342777pgc.371.1517286742992; Mon, 29 Jan 2018 20:32:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286742; cv=none; d=google.com; s=arc-20160816; b=hXUNpbM4XteAlmB0hfcSKgq3sqAYhzjt+c7zCHKZCasPd+9+1vXb0+nt6WtxqOVfiN 8GgEb9LT4BmwHlu6Ff6NdgfJ9YU2rhx5MBudchVWZQF0WdlJOU0GRN/X9RxEZyDriIVk Y9cXapphnCaGtm2A2Z5N/cjmmIE6oSOWtvTUt668hGYp/e8OYagS1S5PWR6xc/mVS1X6 UvSRUlbrM6s2fhL7cqLKKMOYUAAibyjPHwKzDzp4hzi/n0G24oLiqsZg7S4mu3Ba/dhu dKi42aD4fjC1MVFksLNVK2rY/bqj9CxIf/SjiYwCAn5f5wKNUI0QHOUdH/8ljRpAXUd8 uZ9g== 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=0itIHiXuwzLz1dag4JXL3sZlNzbF865bg9s4gLmkYpGSDjhLD4+oMGmmahJ/4uU7Fu 0WcWDew3cLbnW4UNppTjuJFNV3tqqM9AUPvR+7Gg8HIpZ5rRBsTJeK0AGjGfhEhJ0mSX 1Fjm5eVgRj7f9SoJSBR4db4FRaW0MRD5L3dtqPUnaeGgocwF+FlNKTqAnliNudCYKvJp FR+QSCZshAYf0BVSA0oOnB5dE7Iv/zGUu4laE8rcPW6p0gpDrrkPIUrfIM0i9u29vsqU +jdOf7WBF+N/k9/9HaGlyOGY4O6hx/MmaHWXD9TfmDIfvgIqlp46JL5Q3qF5ZKp1NkzD 513Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=B7CgsWz+; 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 91-v6si10748379plf.541.2018.01.29.20.32.22; Mon, 29 Jan 2018 20:32:22 -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=B7CgsWz+; 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 94B367888D; Tue, 30 Jan 2018 04:32:14 +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 5A17578886 for ; Tue, 30 Jan 2018 04:32:07 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id a88so7605481pfe.12 for ; Mon, 29 Jan 2018 20:32:08 -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=B7CgsWz+QsfX1FbGjueG0I2rsSVMr4OcP3LigzyIyli4biu8E4c7jnCo7FYGUzAAZl uQJLt9bkCFonFfqQmuMCxOt1lOOWDs6iBJZBxUWwR2pzjA2aG6sRwFhr4hD8+4A1/cAK 5LxpoNj5Zl1alURRieS+JZEjB8/ju/RpnId5oUq0r7T+5/9WXTIe/UPjR01dsO5UwG8l jnaHYII5r1cWB6b3n4w756DFPVfEPloo6J5HCdoBHpDpQ5bYlm2oPo3be+6DWzbuvyi9 JKvtjTU7RZEi6vvHAUETasMczY+an++bw6XeZ5awmKwXxrCnHMcI2agSkF3GDpQfPXcA Hvvw== 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=G65KSgY9Azp7faghpxXbPpqSyB+lQWMTf1ic1JRc+EPrSjSbYyJ1MBBECSG/sAgG5j n7tDelaH4GRE4RYtlA3BtneUO+eV1MEKKoViyk1h72ZGLgofkzsqYQICuiq16OxOJab6 TQKlKWZNso81DfmZ4PRrU+SwEoHbmW240VImX5BDFbRon67De9FneTFQjRNzoD/uCFF+ knuOCxf0i+ckepq9b6eZgJBCwifmgIhKef1DUO8462lo8d9cS+R47xtMkDuBV4vdQEdn Pp008VDWzHcZld542+XbR8RdgneAqE5sdSdV1ThUJqKK08g+v/Y+KA1TdjZOAI2nC3Zl JYRA== X-Gm-Message-State: AKwxytf6AONvXcMjxu7XaWE0dfvkcyDxS95cp0NHj2xuPZuMkW2+uM2p iYd2YMU+Vbv1WXyCIVm1hxx7lg== X-Received: by 2002:a17:902:901:: with SMTP id 1-v6mr4431763plm.349.1517286728351; Mon, 29 Jan 2018 20:32:08 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:07 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:51 -0800 Message-Id: <2c07b4f4d01eee5b0bb5356ccc7638f29bbeee43.1517286478.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 Tue Jan 30 04:31:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126198 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021629ljd; Mon, 29 Jan 2018 20:32:30 -0800 (PST) X-Google-Smtp-Source: AH8x225leJUlhv9btKi+6yK/h0V3N5fIi/aLvxniAXGGIg25H2IPqmEhaK6FxYgxw6zyJyhR6Qql X-Received: by 10.101.99.203 with SMTP id n11mr14247149pgv.78.1517286750764; Mon, 29 Jan 2018 20:32:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286750; cv=none; d=google.com; s=arc-20160816; b=Y6J8PfL1PSXCEZaYYRginuzStqXMwC+NxC23l3ASu8MQEj7Xp+8ZG91XR+OJ+oaQgA OCWCBs+Te1DP+xIJYIB/xIgVAYksvF/+8wSIDt9nuN32XtROc0xaAqMMT3Mh/DyCy/Nn VlVgJCqLfb8jV1D64Ewop39Eg6yGQEDy3jsrcR1Mo77f7I8EYtw9D//KriqTeorzwReZ E5TnnoZqSCa0gTt+2iUCSsWu7hIS9n913mud3eCPmmcIj8OWTMhoxwZq0fOv16iAsg9y ekPSsC3tgczDxkzzpzNpGVgYHXiiaHN197pqgMpmEXK0I71J4QnQ/1pXYd1Lf1fu3kma n3/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=SS2MDSh0M8LQsH8VFeN7vMoZf6lDuqOZapht+SOwP28=; b=qjP3Fs6/T+CKSeYJz/jSWP7vANsKfKW9TOCCvQBecKLgrQGg6X6pZj2CVGqyCPdyoI DQNqn+TzQEGnqe2IND5VTcg0jCOQoKU05s/25mdrjDV9QSzPwHkxC+hqRnAtu0gIDAvK oU0sjDoaDt3rJrkTR2ae4TZsUsbvvuVFWR62mG9yE0bubwptzj2XtwMr0opeLQ8WYPMA uQqU+ebuIiHnXmkLN+HVl9jS0mNBhKfA/igA8bLrVaIvLLi3/kXQ7ykkp/4Y2nnjFbxH v/lvSB1nQfO+cC8i6zo1/ae+Mp8o4p7aNyY+byTIDWSWC3mGA9Jq9eDj/m+6S8fD6IrY D5tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=r9caq1Nu; 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 r88si521807pfl.392.2018.01.29.20.32.30; Mon, 29 Jan 2018 20:32:30 -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=r9caq1Nu; 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 AABB9788AC; Tue, 30 Jan 2018 04:32:15 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id ABEBC7889B for ; Tue, 30 Jan 2018 04:32:08 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id i66so7603504pfd.7 for ; Mon, 29 Jan 2018 20:32:10 -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=r9caq1NuAYz3N/T5m/6GueOIAW9F5osPdeeA0d727yGgJT4+t39i87Yy4Vbq/Rk9AM MEPw7KahwAIErGVf2NpOMSTaJtoLNdJ7iXKlWNY0mEq32px4Bj/4hqP9fTsnBAWd7tw2 2tu1ZGUXpGrO57rEdaH4YpcM1QwpWBAi5HwBeogECTOiBUTX0aeLiKpLWrQ6zQxEfP84 ngh2Hxncl7O9QlbrucQsPa+UNzWPaMFQQdGsslmJT25HSJqDM+uaC/NwphuEFwRXuOMq dHgDU7W26B0aS3Op10nFhr6xIcx8wZyg30owVMP1O6s+2NYiHC80BqA2gcvyfrsciaa4 ybJw== 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=bLdCgDXcE75+jr+0X18aLfH02C6WjEYom8ghtDiAtOkoCzXWWSX0cMDNhCPYGfDeSk yQhCwwFoKHkqTKSGUyTrzKmUaUVUGiA0o0WzGzuhxfWPUdq7aU3w+85juixTHxKFLOax fQcuYfgvaqqMl2q/VUpY461pWT8AMJdPO0D3vJPLDjrPd0E8qRcaoGxMp7jjnFtbZFOy AoIwGjPJlVv52GPpMVcGqqlSzHRz75du/GQHpSBA+kHWSPYrytCIAtZtfOs1Cie9LPAt VJbTLZVZ0C+xFDXiFBdcvy56Y1ZFrHuIbgZ0zSKACQnPwZK7o4UVgAdrFYrEwBrCVYfX d+PQ== X-Gm-Message-State: AKwxytdS67r5KFsUquENypQOd0nLn746DQK6EU2rbUIQFX1shKPBcRw9 G28LvSp5hxKzZPawJWmAo5ykfQ== X-Received: by 10.98.89.71 with SMTP id n68mr13888697pfb.121.1517286729651; Mon, 29 Jan 2018 20:32:09 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:08 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:52 -0800 Message-Id: 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 Tue Jan 30 04:31:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126199 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021683ljd; Mon, 29 Jan 2018 20:32:37 -0800 (PST) X-Google-Smtp-Source: AH8x22697I28aRH8hxpntyZ5h2M0rWzbFXBVPPkwSZ/Dekut2B8WVBzkbc+Q+/osSkvKKfdjy2Kt X-Received: by 10.99.132.200 with SMTP id k191mr22406040pgd.177.1517286757583; Mon, 29 Jan 2018 20:32:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286757; cv=none; d=google.com; s=arc-20160816; b=fjzKYfZwxX97caVbbi5ekABsg1QmsymMvTrmxHTsUlk3L5+en3loiIPoeV8E5pstFa /+mrMpxvllB5ySXjF00xEfunY7bWV9OSzxNv9l/ld+g6SYA+RtnY7Ik8utomnzSYXGiH 5XlVwSySXgjOO7b4tubiJ4Xh73vnVwsz0cRt0qopy3vNHa2bbWQr2AXne18klQvEiHjO zDa307++ZCkqt9Y+ux5mPqIODWGgRyadmssdK0ZVwVj6Rskm9+A7AuO4h48PYbjj6pWl EB+vafOWF7sTWMXFx6K1AiwWO3IFmQJH/Tpey9ugvgWTm6MvSFOd78baAgKykBfaNrFw oZIA== 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=RRNp+ixKrYwQI4Zdm9uFLJ2oW6j9ecYHCWzAmyJRhQcIGAlinDOboVckmRzzqr1A6u uC9UNEoiO5p1/vwm0hls2fy97DqfcHg9V9OR2tN38T7HrQFFgnryOm87O+9potQIoiLE hvM5G43JuyD5VBpf3e02Y5MdTOgz9fSHrvB44lgaamhDeurAvg6IzqFzf1id9rU4114x KpkHozvh3NRlf34qlLyBq2I4UEIhkouEyaITPhdUgriJo2+VOr0xMoXPK/Vw1Dwg1iPO Ath3goYJs+2ZDJnwVMAp8fRz7TMpl0MzRqh9qRaEqL4HeYTbZqYpEekJQivc1iHNmh9t OKhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=PTHg1B7T; 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 bg5-v6si1270407plb.822.2018.01.29.20.32.37; Mon, 29 Jan 2018 20:32:37 -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=PTHg1B7T; 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 AD5F4788C7; Tue, 30 Jan 2018 04:32:16 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 7EDD178872 for ; Tue, 30 Jan 2018 04:32:09 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id e76so7619313pfk.1 for ; Mon, 29 Jan 2018 20:32:11 -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=PTHg1B7TMaZ7jr8xxJBnq3suFeChQrUtzzfCENSUO9PyoeZF/rDZHKp2uNYpLid5LL ige6z2pwlLKaqvUwGfGK71MS7qFB9U8/PrTRMN36dBbnp76nJ/phWNngSjL6ub/SOSUm 564PpVcmaFHjt3Ja/vfDR7cgnAMLzOmuWVVq+dLMIKZrr86I6fpI5ksWv+MkZ7BFRCE/ A/zJndHIUBbZK9gutbOIhxa0iFE/zLVjCyIyGBKWGguDNtQJaxUzdWCJCEUdewegXUzd oQdnwg4LXzQEDeBjvTky3cp8PGpFWadwHY1Z/4Io5YXTmWZqHju6f0BzJ6Wg2PLMSqGh gOJA== 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=qEZaKLUxj8jkEptAhjW2UV7R1FHAq9U5g/Xz3ZPtq7bFPqRW0eI4aOTrEnVmAzrphT rhVW+gSQnYY2n6DVJs/RiZI5rBGHjR66uUB9e/B8D+wEVJ4K92lnF6VaC2YOyTvh4YlJ gbYTnQkKazvZeTlh5fgo7eZkAcYUJLDImX5FQyvze2bjeu81/OJ27PlIKS7e3XQsZCnj rlYP/ULVCjRNpm+t/8UCbVYASBchl+is+bYYDjGUZ5Xx/iu0Rp0cUmnX+N56kiMJNKIU S5KIuuEygGNxYFPaQFjdcp+CzRzP3+hvfptjyEC7FHTwqzmeQ6iNr6YfeKmKboIVacnT Uevw== X-Gm-Message-State: AKwxytdCDSoKAaNYqWPti37lR026hH/BlsVeWljN1YD4wlERewsZPVFZ lu2Eo6Bv5smgA4gfvLatbYirIw== X-Received: by 2002:a17:902:8284:: with SMTP id y4-v6mr3361630pln.194.1517286730777; Mon, 29 Jan 2018 20:32:10 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:09 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:53 -0800 Message-Id: <3b73df7a319fef412528dc1335e1f148a7aa0cc4.1517286478.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 Tue Jan 30 04:31:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126200 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021744ljd; Mon, 29 Jan 2018 20:32:44 -0800 (PST) X-Google-Smtp-Source: AH8x226xquXAoab3vZYxuJ94hsXNsX+o2JPGb9nlQcoQC5GPNY/WXrzVpBCB/zDINCcHauXhViq3 X-Received: by 10.101.98.133 with SMTP id f5mr15706607pgv.357.1517286764533; Mon, 29 Jan 2018 20:32:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286764; cv=none; d=google.com; s=arc-20160816; b=cULMJj7jHspNB9Gyl2DSNqduv0sFG8Bxro+7T9g+I6MxkzJTKOfKoyzyyc3EwqIISe qcB+qs4iNXTugVKZcFjoNmeQ4A8KoEDf4Ajltsti2MVq2t9eV9Z+tZNS2yqS1zlMjZ4X M0F2efILKgOulGubY8C32+4in3ZpCzYHOMfbjV+fxfQBpg9xys2rTPdXMY5p3Mq1Go3D f/e2IHJRwBWUqw43ggmljV0FVt7Dbk4T2iojTOeRPvFt3mQx2/aLQkw6/Cv8rucTOh+6 6H4R8bHwIXeCit+xLvgHlfwR4XLqulSWtCEz7pp465/xlpyGnSItWk5vyOXUNjjEHSpz nDmg== 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=rE2jcts4GgdZRdCEne13vmBj6GgWSob/IZJyg3+mdaI=; b=KhUx2u0IDLAvx9wr6T8xwV//QIcRsiE1d+82g4Vmw/ekANcQIOVlyj9iwe2wNuk7z6 DOumtucXU54dBp20OQMXlXDKb2XuxgAH5WY1ts5ZwzAlGJip9A7ketxcFE3d3wb0M0De wVFZHo4SnZZ0oVSoxq7E/PBPKsWqOgDPTi/SFO0EFlZpHX5z50OtTg6G1z48mIrRryuM h9sVM1/7udnJ8jkFkt4kDB8QqwbVbX+volhCewf9VrXvMa98dfXLdwF3flyHWnBWJD53 EAgKsjaZIsYHmcrHq4opsk0u1HT20tJzEaBeEvRI9AN7MXZ3YGdrx3Waw2bs8f0+A+zr sk2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kQ0FiGPc; 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 n17si13383408pfj.302.2018.01.29.20.32.44; Mon, 29 Jan 2018 20:32:44 -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=kQ0FiGPc; 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 AAA39788CB; Tue, 30 Jan 2018 04:32:17 +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 14AB578876 for ; Tue, 30 Jan 2018 04:32:10 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id m136so6254857pga.12 for ; Mon, 29 Jan 2018 20:32:12 -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=/yYvsC6Whnpl7R22i0kevzLm/jSpbFihMl5QToeUQEM=; b=kQ0FiGPcT5jwQABe7S35UF2kWNZSzmsKK58pjaiJtpZNlkBHbDj4q9YKZj2salyOoA knZP/thazmTiCh0XbHKZPMLzLMLlOxyBpkBO92jP9l3oS019fflUGWwEob2/F/DMe5FD J2qVDS7jHGWXY4SOptaKU8xGnn95NChmcig4YlHSKvKjd/bBDU4Iy+GjFs+kJpIylbPP xDJGYkqzgcYoLa0K0iScj3mhXBZwhfM+v5cZdmBStG3U47SGBfNGe3hBDW8TvFic3pf+ +YIRAk6NcgJlT+n7pDNnF+JKnJYLOqoM+rAD388pN5L0xNnm2efEYrjaAqft7fKtjaWt mauA== 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=/yYvsC6Whnpl7R22i0kevzLm/jSpbFihMl5QToeUQEM=; b=RE9gCI6tnbezBsgaBOrihTTFzUt65y58L1RTrfDDTFAMSrzz8mZbLP5bXfq1iJOXR+ 9ekJcQTc9+/VWXD1QyDPsUIi/XgNuCvlz9a0u3kSMkrJt2VT8shI1xV3FatfTvYxZy8O YQE0t4FPkwafLG9UeydjnSt8zp3IA+Z0xtrHrlt7BTysFUS7lKXqv4ZVi6t/GUhJXGJM z39r4FCzIr64W+Y6OepH+r4mV9xI5cMhu6KXqroOyb5Uezkw4cehbH/APwoY9h3SYMHd TavOdJqnnLPicJSVT/orzOn697x/4x4FDoTwpkjy/ashny/Vftk7905HulA6SZFC9A0q L+Ug== X-Gm-Message-State: AKwxytf+GkfC8NClyAJ8rwWSkxddFVthMpfyPjaTuAEir5Ve4H6G/ylz d+jrJ+Tp9vZNHaHN4QuAsLrQYA== X-Received: by 10.98.231.11 with SMTP id s11mr28997641pfh.174.1517286731898; Mon, 29 Jan 2018 20:32:11 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:11 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:54 -0800 Message-Id: <9860454b2d2d1b82cd0d9ee2855af05808f36ffb.1517286478.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH V2 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 --- ...ers-only-define-memfd_create-if-not-alrea.patch | 66 ++++++++++++++++++++++ .../pulseaudio/pulseaudio_11.1.bb | 3 +- 2 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio/0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.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-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch new file mode 100644 index 0000000000..0391f3785b --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch @@ -0,0 +1,66 @@ +From 0cb66c0c5aafd48b63a755860746e70afb332c8d Mon Sep 17 00:00:00 2001 +From: Tanu Kaskinen +Date: Wed, 24 Jan 2018 03:51:49 +0200 +Subject: [PATCH] memfd-wrappers: only define memfd_create() if not already + defined + +glibc 2.27 is to be released soon, and it will provide memfd_create(). +If glibc provides the function, we must not define it ourselves, +otherwise building fails due to conflict between the two implementations +of the same function. + +BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=104733 +--- +Upstream-Status: Submitted [https://bugs.freedesktop.org/attachment.cgi?id=136927] +Signed-off-by: Khem Raj + + configure.ac | 3 +++ + src/pulsecore/memfd-wrappers.h | 7 ++++--- + 2 files changed, 7 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 77b5ff5..3a71fd8 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -607,6 +607,9 @@ 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.])]) + ++AS_IF([test "x$HAVE_MEMFD" = "x1"], ++ AC_CHECK_FUNCS([memfd_create])) ++ + 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.])) +diff --git a/src/pulsecore/memfd-wrappers.h b/src/pulsecore/memfd-wrappers.h +index 3bed9b2..c7aadfd 100644 +--- a/src/pulsecore/memfd-wrappers.h ++++ b/src/pulsecore/memfd-wrappers.h +@@ -20,13 +20,14 @@ + License along with PulseAudio; if not, see . + ***/ + +-#ifdef HAVE_MEMFD ++#if defined(HAVE_MEMFD) && !defined(HAVE_MEMFD_CREATE) + + #include + #include + + /* +- * No glibc wrappers exist for memfd_create(2), so provide our own. ++ * Before glibc version 2.27 there was no wrapper for memfd_create(2), ++ * so we have to provide our own. + * + * Also define memfd fcntl sealing macros. While they are already + * defined in the kernel header file , that file as +@@ -63,6 +64,6 @@ static inline int memfd_create(const char *name, unsigned int flags) { + #define F_SEAL_WRITE 0x0008 /* prevent writes */ + #endif + +-#endif /* HAVE_MEMFD */ ++#endif /* HAVE_MEMFD && !HAVE_MEMFD_CREATE */ + + #endif +-- +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..245302d2bc 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-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch \ + " SRC_URI[md5sum] = "390de38231d5cdd6b43ada8939eb74f1" SRC_URI[sha256sum] = "f2521c525a77166189e3cb9169f75c2ee2b82fa3fcf9476024fbc2c3a6c9cd9e" From patchwork Tue Jan 30 04:31:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126201 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021793ljd; Mon, 29 Jan 2018 20:32:51 -0800 (PST) X-Google-Smtp-Source: AH8x224rY1McOBvC78+XR4X7f5KTMcweTrQHedelCfI++IZIM9LfHw6JeYnlV83Keqpigt8gF5v8 X-Received: by 10.99.123.91 with SMTP id k27mr23055916pgn.179.1517286771422; Mon, 29 Jan 2018 20:32:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286771; cv=none; d=google.com; s=arc-20160816; b=YD8Ky9fgYhapRGOAvn3jY7FPqas55U2jocadoiCmPc64Ywn0DapyVHFLvT+iuYBXeS /t/TB/6uH/Wf48X//fR42IQ6GauVwX4h8ousrxYV10Yox5VnbDA3TuDtW8sTruCdX9Ll N3h3Vr+hs2+rCjKHeZrmnzLQuP6NkyVk5w+MwVna6+OdQre8oHWS/Fu26HQlB51kA45R D73fdrQCSBYWu87TfUpxc1vKQaasK88gMTM3KoIrVSJY44CfLt3+NW/oEkTWb/z8E9Uc p4Mvlh01Ck0ftClJcJ2WHQhG9EeRK+ba4Sl9ZIo94vk6ER7YRwWkrCK5MOGnMCGXXhuu sJZw== 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=f6IVBN4kGc1VXYtzZuHdzUhCphEJLJH6E7D1XCDURixwbQC4QKB6RAqYTvJeZvsOGW obcJv4T8+xILpOaOCADGBqkWmaFF2Kj3ZMEJHvKzKTVdAKRx/3g+tRMYHmR4SZ/ezrx7 t7johiQ3ZzyCilkclL4OlU8vIM3kONoXgnT7KI7JFqZBHX5zC4QHhGxdw+GXBCHp6JOq kTt5nEr6I7kam3HGYkSNQrPmfx5YlPam2ZuoF19GOBxMoSTRbdBaZKCMD14/yM+Fena0 JaxoqD8WNVwrz+uKHz7XzwSoXQU2KVQUXaWxF4TNoTNyPSQ0Cq/NstejJQL8+b3wOUfe PoZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Cwm8d+dh; 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 97-v6si1132966plb.789.2018.01.29.20.32.51; Mon, 29 Jan 2018 20:32: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=Cwm8d+dh; 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 A4DCB788CF; Tue, 30 Jan 2018 04:32:18 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by mail.openembedded.org (Postfix) with ESMTP id 2A66E788AE for ; Tue, 30 Jan 2018 04:32:11 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id r19so6271451pgn.1 for ; Mon, 29 Jan 2018 20:32:13 -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=Cwm8d+dhe7Fzn/gVQPFyg3m1DcvUF7pNdzTDJ+PC1clpCdmOa6uwlQgG8iqh4m3+kX coO39bADIGjcW5/aSRHQqGMCS5j8GKk/aPiYjxFCHi3PfWkV05rjTQQL3v6TZjvQFa9O szED/RHSs/K81+6jumiOP/Nz649VdyIGp4YLYcSNVl1EOLI7mAVLanJdrqp/jTBqbtGW TESIieF7pn4LeO43J9ujZTHw03CUCJ5tFKw/GP9Jye7xTWfxrdUewSaVTeCHGx5Kjeyw g3HjqaWzi6ljzkF8Eqrl/Jvi9yIWcdomeIllYWmEa3wkeKt65nau/wCwi0BHZNbDBIlX Y1nw== 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=n/CrsR/MoUByN7XcdqqNL3gwLAm83DkvvPAL4nNMcOh4vPW/hHGTFKFR/YbadtATOZ UWVIZ7g7T/p5kslrtj36pj9rqaPZNxXqnkae4JYBpdX3jsit6Vf3Ge1WtgyTyKFc/KBX 5CMImB7J3HfUg+GFpyi73mH+c0QeXjePSKTdCuz/cFpx/FLmi9hWDWLQlnF2Uh5nU4iv rzWeNrcLsly2HVuoHsScCn+kmWyrawC2krYj2qrfacZ0ClomeOrB2einG0m4MKEXWZYP n7tTc/1rIIHnf2LhdnEBE61VMzQlaimcUPgqNmFkhXZkl0gKPJqz5zZ2HdNiHMEC0I9U 7Ccw== X-Gm-Message-State: AKwxytdelG38uD3qqYYfWqwYmgcSNetJs7VT/rpnnWI4LtBOjtA5EkQU Df8crjehFX0Z5puUlOfqdP7Okg== X-Received: by 2002:a17:902:8f87:: with SMTP id z7-v6mr23893595plo.242.1517286733100; Mon, 29 Jan 2018 20:32:13 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:12 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:55 -0800 Message-Id: <20e7a9c8ace0a49ec783c3d31414ce0bb3fbef22.1517286478.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 Tue Jan 30 04:31:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126202 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021859ljd; Mon, 29 Jan 2018 20:32:58 -0800 (PST) X-Google-Smtp-Source: AH8x226YmNMkP8cnwvCfsGxxmJzjZxJ7yZ2TV36efVlIUgkrqm8G4nJHo9ya1x9PfHD05wT8GhIg X-Received: by 2002:a17:902:8646:: with SMTP id y6-v6mr24536145plt.406.1517286778644; Mon, 29 Jan 2018 20:32:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286778; cv=none; d=google.com; s=arc-20160816; b=YNT05ZZW9WHJGmGCXXNuUiNYQI9yMw4J8au4g0EwU9QCNQIrjrhMOyOL9L/YsRuzdj FnQS+Cq6Z5xWv+FHZ9sFSWD6EC5OZPmdWZi4MPvQRw886Ml9jFjLZ32/Imtq3C0eN+d5 V8VeNHhwldpprdYdw74uv2BWMGh9XParc3rYtvh0OjiLTECtoXRNh1WUw3kuLmzGJdW/ gFlNg6gIOH5heYL1+NVY8pxrgIJYSzfshrRAiZwapkd2C22aoJpJjCpospDBjl/v5KMD WClUWeGlVjKNe3Lz3wvlNp+GAzoLmZ1H5244LklC0IErPtxPtSoVGS9z1tUhoGZztIfB 9qLQ== 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=Mh+jhP0ygvqnJRfusWXGMcOjegIXFqYMNSpwCJyB8qR7mcXI05MWabtfaZ1YNejRqj Mi4+GEcAHzE3dGe0LRMqDG163dAmGNR0XETTdw/KQgyPOjRprBwD+kOEcPnBTr4KJmgR /lWNAuBt8fMWL7X6faPj5jL08IuErIuMMUCoJmavBzw7UbUXzlSHQK9nup1EjlNcys9b o32LiwDQNi9OUlQMpBy5E0KjdmYFZSsqvuvuD5Ys99vXNXUQOjx7dH5xliRfINwjknqs 1EpKacunpF85SXaFGolau1RKQOa4g6nRDDHBjVTsEmpX+4mry2Il26+PAwxhK8Ezro4D ZshA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ovUg1xMH; 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 i2si13332276pfi.190.2018.01.29.20.32.58; Mon, 29 Jan 2018 20:32: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=ovUg1xMH; 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 953F8788D6; Tue, 30 Jan 2018 04:32:19 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by mail.openembedded.org (Postfix) with ESMTP id E33F87888A for ; Tue, 30 Jan 2018 04:32:13 +0000 (UTC) Received: by mail-pg0-f52.google.com with SMTP id k68so6266343pga.3 for ; Mon, 29 Jan 2018 20:32:15 -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=ovUg1xMHEbRSKZYbJRO7O9eLyn4e7DNInWh7K+Ep4plZN28pC2vpJA4TYgqingStBx 5MJ8IFymjVsnbs312LyOa0RBQrCdRUoZQNnz4+2YGcPSR5p0UtxAa/lSHKu0MzFRhRjm 6EddPc/4nNJZs1kMBKEIU+YYk0UKPOcH7E9/YBG/ImJK6LXCXDMkwTQbp+wcBMbhYXUn PXIgVF/V6IaBPd1ChZwgfx49kG8pkXvHK98v+1qawIMNMLY8Y/lR8LWpe1FVh58XKZAg Rvb2b4WQCDASo6mkpq2kPacaQTbDbGQCQxtOLK8/BO8JeaKqWDbRrbN03F4Nm3673PKI cAOw== 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=WFIca7Y6yCFNOZp3PxSFVHiVKa1TdvCk9CBj47RyvlGcsH2NEclOZMyoclEzl6sVXU 6vjcbQsPYPx/imgTU6k3DnCYs/Pf/44869CrTRCyJ8Aw8uwgdJIC+w7xHcknPB2zx3j7 9UV0TDcILDG4E6U60icfixNP1anX9hH2DJoc+Nf5oa+jLZVBlGBD5jvC2lJYanjF37ho eKOo0287tM/ZU0VKlC2dHPIRzFKqKS8kg5ciYNoDx5p4OFKSQYAgyGRALGz9F6HFatW7 Goj9EYMXS8aWfdRV2p+QsX0KSdMzFTiFNCT+xdwtbOa7Mhey41Ze/mFba3WlUS5ZZezx dRPA== X-Gm-Message-State: AKwxytc3CepjQ1c8RqP8ywZmkEqV3GPqjV09PGyAhtapDcwew6kYP0kC J0vzO+vYokC3dKfQOuzCpH0syQ== X-Received: by 2002:a17:902:61:: with SMTP id 88-v6mr15171791pla.428.1517286734320; Mon, 29 Jan 2018 20:32:14 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:13 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:56 -0800 Message-Id: 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