From patchwork Mon Jan 29 03:27:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126137 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2091572ljd; Sun, 28 Jan 2018 19:27:51 -0800 (PST) X-Google-Smtp-Source: AH8x225fiXHF/TKoTMrEohxAYfVbHSN2EQBSMikJA934WBOq9fB8PWFrPw03dXQIhj5HMFLg9o+k X-Received: by 2002:a17:902:3381:: with SMTP id b1-v6mr20876244plc.20.1517196471361; Sun, 28 Jan 2018 19:27:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517196471; cv=none; d=google.com; s=arc-20160816; b=DCWU01zTRNR3WL/ERB26FnrKkG2KBEwRQqy9+Pm7YdZt+PxEwv9pYBW99OhXb7ayTZ NtqZ71lEr3Pq1MzcS5aqK7ilU5I7E606q3BgY8z3+c39aNPMS+nd6A0SiVlh6XYJDERy 5AbhW/R5eTgqt/K9jy0Z8jU2+ctng6IrOd9kowUdoh8ZPOnx1Q5E3LluJiiEFqoTN/DL cePrl1Eu0Bp9TMYUytGFVP/V6w0y3Qaf853Do4xZgbJTcRhL4bPLVM4vwZ2uby0nSFH/ c+RuTyS5A+9xjDrMD8tnL1DbLKgHuZ93mG7eAzXpiF608NVnGPOCDGCaBOlGQGAbEXny CLhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=qk6ED6tEppvxwlHdJBexl1wrRuGtE2vNGZLQzLSyDf8=; b=ZPd2a9kaBBOsbU0h5JnooymBhoTT5JxVomYt5RoUPFsEwsfLFfh3rp0vORvvJJ3EWM /NeLSxafYJ+9lsPh8yP1twjOoY6OM/lsFmdgGQRqtZAkqTFFC5giCi8vCkG0gj2xhnfi nmuAG1LrWwokcN/f2BK56SSl6t7nwBMjeNDOobfXiShvLPqRq6E7vCX/LfVKrxTc1dRN XM1QReoCi6uIHs5eI3ABbeA1na6rMUfjp6L/puPub4or9fcgVleg6xa/AP6LE/6XQEiD quH93ft+mNTOxwi0xh3ZnMwYUMVCkjROB4FOOuSEauPAoWFHRAutym5Lp8g6F0uYepry B/Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TqE2UOt2; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 15si5215821pfa.303.2018.01.28.19.27.51; Sun, 28 Jan 2018 19:27:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TqE2UOt2; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 89E5B786A0; Mon, 29 Jan 2018 03:27:48 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 351D5786B2 for ; Mon, 29 Jan 2018 03:27:26 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id b25so3728279pfd.9 for ; Sun, 28 Jan 2018 19:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v35w854K3NhsIp8Ly+ZhhmnyOOiN37zvbzt1Q3JapV0=; b=TqE2UOt28dgiKg/L1jGhvoWBMru/GqPP9OE2N7cy1iJD+Vbm50OK2/Jx7hdlDLo8VD vUMT1vVvLjI/jCJjBnad2MUly/cilSNs3oj07QICweQaiRIo1bwUg65ebc6dicBxFsyI pfOozYij16s61abgHao903FG6E0UILf1c/pAhPDni1yYWVkragobxL1iQR3D3pExk6Hs cXUUz/Abhuf2cCAsA7x7myotGQko0zI4Lw/W0zuNu7vDlzLftfTz+O4gvsHoqK00dh4M XAs5gOANjinI+6KEJHtt4T27ThFFMw4LpWIBUwhsqYvQ34zwNcBXu9XJSZOhbKQYPI+o SUKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=v35w854K3NhsIp8Ly+ZhhmnyOOiN37zvbzt1Q3JapV0=; b=KL9cXodd6Ujgnyl91x86492FlTRxXTyhF0vvQgb6KY2tqWRLiA3XIAy8m7EZUgIYsR lNMbQvOKRIfKzU5sYkMjfdSgXZdfQwF7eIez1LXih0zXx3wHyhrw1EP9+ll2cbwCRuFG co/eWA/e5HsERq2rEZeaNCBaRXrnMrg7QvWt431HCKih0N8MIxjqfZyEzVuCJtye5avE mYLTF0aDQ/CrMjK7uf1D0X3IQkvU+hrz1S4+QwrQaEDpVX9eBK45sfmkgzTetNtEWiFH YZxMoqxXHZSG9A7f/GjMubgdLAgLFuARrVOxx47ASFYoK7I/v2bt7ISGpBK/A7rOiNEX cdlw== X-Gm-Message-State: AKwxyteDGC4Fv0hax0aCBA57bOLD7gH9j70HrU3Tj4jt4ITYOX/TXbAS W+3IxqRzibEkhC7QKm4JXoTqCw== X-Received: by 10.101.77.208 with SMTP id q16mr19922093pgt.395.1517196448087; Sun, 28 Jan 2018 19:27:28 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id y5sm29184689pfd.163.2018.01.28.19.27.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 19:27:27 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 28 Jan 2018 19:27:12 -0800 Message-Id: <38140252cb66052fe8ab18076b2eecc64f751d02.1517196242.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Subject: [OE-core] [PATCH 1/8] gcc-7.3: Drop upstreamed musl cpuinfo patch X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This patch is already in gcc-7-branch https://github.com/gcc-mirror/gcc/commit/6e6c7fc1e15525a10f48d4f5ac2edd853e2f5cb7 Thanks nsz for noticing it Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-7.3.inc | 1 - ...e-alias-for-__cpu_indicator_init-instead-.patch | 85 ---------------------- 2 files changed, 86 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-7.3/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index efa62eaf6a..724f9c32a0 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3.inc +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc @@ -70,7 +70,6 @@ SRC_URI = "\ file://0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch \ file://0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch \ file://0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ - file://0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ file://0047-sync-gcc-stddef.h-with-musl.patch \ file://0048-gcc-Enable-static-PIE.patch \ file://fix-segmentation-fault-precompiled-hdr.patch \ diff --git a/meta/recipes-devtools/gcc/gcc-7.3/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch b/meta/recipes-devtools/gcc/gcc-7.3/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch deleted file mode 100644 index f6b2829364..0000000000 --- a/meta/recipes-devtools/gcc/gcc-7.3/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch +++ /dev/null @@ -1,85 +0,0 @@ -From c7bce03a625fe2215a13f520850604178103ddd7 Mon Sep 17 00:00:00 2001 -From: Szabolcs Nagy -Date: Sat, 24 Oct 2015 20:09:53 +0000 -Subject: [PATCH 46/47] libgcc_s: Use alias for __cpu_indicator_init instead of - symver - -Adapter from - -https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00899.html - -This fix was debated but hasnt been applied gcc upstream since -they expect musl to support '@' in symbol versioning which is -a sun/gnu versioning extention. This patch however avoids the -need for the '@' symbols at all - -libgcc/Changelog: - -2015-05-11 Szabolcs Nagy - - * config/i386/cpuinfo.c (__cpu_indicator_init_local): Add. - (__cpu_indicator_init@GCC_4.8.0, __cpu_model@GCC_4.8.0): Remove. - - * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Remove -DUSE_ELF_SYMVER. - -gcc/Changelog: - -2015-05-11 Szabolcs Nagy - - * config/i386/i386.c (ix86_expand_builtin): Make __builtin_cpu_init - call __cpu_indicator_init_local instead of __cpu_indicator_init. - -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending - - gcc/config/i386/i386.c | 4 ++-- - libgcc/config/i386/cpuinfo.c | 6 +++--- - libgcc/config/i386/t-linux | 2 +- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c -index dec3aee0048..0452dcfcb8d 100644 ---- a/gcc/config/i386/i386.c -+++ b/gcc/config/i386/i386.c -@@ -36918,10 +36918,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget, - { - case IX86_BUILTIN_CPU_INIT: - { -- /* Make it call __cpu_indicator_init in libgcc. */ -+ /* Make it call __cpu_indicator_init_local in libgcc.a. */ - tree call_expr, fndecl, type; - type = build_function_type_list (integer_type_node, NULL_TREE); -- fndecl = build_fn_decl ("__cpu_indicator_init", type); -+ fndecl = build_fn_decl ("__cpu_indicator_init_local", type); - call_expr = build_call_expr (fndecl, 0); - return expand_expr (call_expr, target, mode, EXPAND_NORMAL); - } -diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c -index a1dc011525f..dac5e889abf 100644 ---- a/libgcc/config/i386/cpuinfo.c -+++ b/libgcc/config/i386/cpuinfo.c -@@ -391,7 +391,7 @@ __cpu_indicator_init (void) - return 0; - } - --#if defined SHARED && defined USE_ELF_SYMVER --__asm__ (".symver __cpu_indicator_init, __cpu_indicator_init@GCC_4.8.0"); --__asm__ (".symver __cpu_model, __cpu_model@GCC_4.8.0"); -+#ifndef SHARED -+int __cpu_indicator_init_local (void) -+ __attribute__ ((weak, alias ("__cpu_indicator_init"))); - #endif -diff --git a/libgcc/config/i386/t-linux b/libgcc/config/i386/t-linux -index 11bb46e0ee4..4f47f7bfa59 100644 ---- a/libgcc/config/i386/t-linux -+++ b/libgcc/config/i386/t-linux -@@ -3,4 +3,4 @@ - # t-slibgcc-elf-ver and t-linux - SHLIB_MAPFILES = libgcc-std.ver $(srcdir)/config/i386/libgcc-glibc.ver - --HOST_LIBGCC2_CFLAGS += -mlong-double-80 -DUSE_ELF_SYMVER -+HOST_LIBGCC2_CFLAGS += -mlong-double-80 --- -2.12.2 -