From patchwork Sun Aug 19 17:23:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144532 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089468ljj; Sun, 19 Aug 2018 10:23:59 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxsySZFJb5oNy+eoub//RRF368Vh71jnqJJhsS2K3aq2MdPe+Us/ccDbZ7E3NCZAFP/aFso X-Received: by 2002:a63:2352:: with SMTP id u18-v6mr2042318pgm.202.1534699439460; Sun, 19 Aug 2018 10:23:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699439; cv=none; d=google.com; s=arc-20160816; b=akVbKGD7NNdB5+q+6py/RP1rUOIo1e6Qx8iTk9QzsaemqK7g45r1rq7fK86J8pSOqa 1GP8mmPt2OFJNimrz1UqjfY1Lm5xBfzTSUwiQAfY2+oJKYFoim44HyoBOIb7gIMuJVIk 1exNQjD5ni6O/4BeLFX9ZFMEO4CatP6tXcja/035ejtFSQI5qo2newMuJSOWJeRehFha W8IeNl6pcAwt4euvTCPQUm62dimuxZc+CGEGOLcth720H2Wu4pib8wU3x3YunBvogiVy 3BGKE71R7aLdmVPU/K8ZLRxM2KdQJLh9oE/f7RhD4ieLbxHhULno/lOFFOlS5ZutVLqm ayrA== 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=Yjtxn8UH9FcU/EGU1YdNPLJmQ3r8ewFD6Hq4HnQcJok=; b=Gv7SbbunTJeHZCY6KQOJwoTgJmcVfi+NqXsYnc02ltKPxvUy0zo5O4uCTGew0aXK4B aQvpTYV9n/a/KW2PbqVmFfTIXpZzWe0EQjZOsejGBI/xFrx1b/S0eO9GlEOUxqeUGzHA CpnGGcN/E9yWRqBK4C38spRIEpP29PgiCFx0bbJo2o0vVqN4/sZpozhPdS9TR7yB+k7+ svIyOjImmP0XBKLbN+KqgSYLumgSv9ETygbBtgQva9Lsq2Y/jAKMhwSTXZsCz/LVSTJ3 lzR79qy1cvk0WNpd+2hUjy8+kJt4q2g8qbdwvMY/ddc9KWt9yo+wAIuTP3NBGDPvJY3C WPiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="csJW/5bx"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 184-v6si7356533pgb.587.2018.08.19.10.23.59; Sun, 19 Aug 2018 10:23:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="csJW/5bx"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C1D667923A; Sun, 19 Aug 2018 17:23:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f53.google.com (mail-pl0-f53.google.com [209.85.160.53]) by mail.openembedded.org (Postfix) with ESMTP id 123F97921F for ; Sun, 19 Aug 2018 17:23:48 +0000 (UTC) Received: by mail-pl0-f53.google.com with SMTP id w14-v6so5943462plp.6 for ; Sun, 19 Aug 2018 10:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3nYzkTML3LkpTfybUutNp2wAEPbS1wOSwsfnGtdBfv4=; b=csJW/5bxQKMEc4TqztjH6sJ6bkesUn5Q9fgJrdiZy+uZ/Q4mIAzf3Za1Fz8eY9lT6c 7eclEJ674Lm8bfak5kfBfM9TMJ4q2Z8IWiWR/l099CFG+Iad1dvIWfw3nPXQsZzGZhYt ksk4zjc9RMfOYbAbMqdMApWKdhtXPQDDWUt5crUylugaRHzqbMvsZHuVPLuLkJmgjCTM A3xFqzJ9AAUR1eH07p6RqjYwsOMMSiCyLDhs4B0ovywOuhZYBSz4JG4/g54XZBXk35Ct RptwzTwnhDQ66MK6S7kKnacSOS5a2m5Uym4ZvG+1qCT7HCPQecFu756o5CMJvaPxUC7x r03Q== 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=3nYzkTML3LkpTfybUutNp2wAEPbS1wOSwsfnGtdBfv4=; b=pGw01jV5TirQtD3BrB8IUWd/wHsjSt813B7irEDKbu7W6tXwHrIwbZP9VkRvfntFy1 ykJqOheDif+48MSq7/YKJ+qyu8dvBDaXTJ+es4C8HGd703uN4rovoXnkr0BRvw7JLSdn vkbEhF6Z7Spa1KC5RH0ivVUSSRoEnrWSziKu4Wn2Oc8dIugG09QlB308ED5cwX2/bU2H r3/hbhb7uxLplHUII7D/Hk20FfyG9cUDl/uSDvetm4SAnS27liIRHxleFDhQ6t0spfWb 5buyrzdQmu30eMiDjdvKcG7yyDzmKsC+1PcTXp993Hehixf4NWEmB1a1RbW6tonWb5HR 4i8g== X-Gm-Message-State: AOUpUlHtmtU65abyvDob0I7oLoGjwMvGx5J+aA+53s5GOMnZ07zwLQd/ C5d6+wquoyfrxWJvuukfZ5A8luTj X-Received: by 2002:a17:902:bd4a:: with SMTP id b10-v6mr42428285plx.209.1534699429680; Sun, 19 Aug 2018 10:23:49 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:49 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:33 -0700 Message-Id: <0d484e3706a46b34f4edfc3fec906e576a29a9bd.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-graphics/cairo/cairo.inc | 3 ++- meta/recipes-graphics/mesa/mesa.inc | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc index 20e0d2c92a..7347f223ff 100644 --- a/meta/recipes-graphics/cairo/cairo.inc +++ b/meta/recipes-graphics/cairo/cairo.inc @@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)}" PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb" diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 6aedeee9dc..2671d4de4d 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -47,6 +47,9 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland vulkan', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ " +PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600" +PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600" + # "gbm" requires "dri", "opengl" PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" From patchwork Sun Aug 19 17:23:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144533 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089514ljj; Sun, 19 Aug 2018 10:24:04 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzWKyK28udKDB4en0UJRklw2XzpvKaOUVJAZRSE6dzTNX/OU2R3gviFD+SGhRH83lYkkUVh X-Received: by 2002:a17:902:1e6:: with SMTP id b93-v6mr42212195plb.149.1534699444571; Sun, 19 Aug 2018 10:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699444; cv=none; d=google.com; s=arc-20160816; b=CVC2aI55RomJ1PT545QAGVEayO7zOGf/IWqC34xoXh1EB8VWHWnCUNesmEz/EFV/16 SXIrKPJCbH7LbPtq7WLHa0Bikm0bQi3JKYfzSym3N4dJxYGjH/u2EfEqQb969epZWjyI Jf/v32BzbSGb+B7OzpsADVGfBt7marGopkYjcelJly/quejD9ILgZ5HHPy1d/y0yZXkB Ei4rqhTvyQvl3CBgyPzqQg+A+U01wbAVb9DiyCDVmy3YK6c4maEOErpn01NpFp2nQp1u zYFa+02Vx3q2Qz8bXb+ls8oPTCypZBjaJgMb82dfIuCHnRjvkrUKKRtQnJPJm+udHYnM hjbg== 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=MxnZ+q4APzMB2/cReEI2Xl5Qe5t+zN+jAeeiy0vv5Lk=; b=Vsw4RO1APD4uPpMMztsIyzg0FjTha3oUD129RxylYfvhF827iZoXJ/vKteCaG8Pn8Y /44tQW2/wteRj4fJgzcFtOyWjj8F2mDxuQ3jeQqEQlKNfwlxTbW8V9CQHk+5g0pPmkY4 ZuFGlUBDM/a/tHrf/Jo3TNA6zZWkq6qO4M2TMIgjkYJjBIZSqnamO2goWK8YbMRJ1Ftm BF4DUH6XnkymQPE9Dc6LSzh3MGXlk8ZN644fGV/4/EgyTRe/DaeEOQtfMS9vTwK4OliJ MB1u3gG9JSKEMoCLwwuaafAHNJ2081KJ6dRxPwnqkcuLLFz9ar6PY9psfbm4SYlIabPQ 2yaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=nRb3kj8U; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 31-v6si878888pgk.95.2018.08.19.10.24.04; Sun, 19 Aug 2018 10:24:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=nRb3kj8U; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E285F79244; Sun, 19 Aug 2018 17:23:57 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by mail.openembedded.org (Postfix) with ESMTP id C135679229 for ; Sun, 19 Aug 2018 17:23:49 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id s17-v6so5944857plp.7 for ; Sun, 19 Aug 2018 10:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aRwH16y3FbAMWaCGvwYkkhLhkfCbhgR8G/jyQGSXQkg=; b=nRb3kj8Uri4JZxo6g6f7x8yCQ760oZB+kAA8IQwnZvuZC7IxSpc8hAb8yOvY2TyDTY KRcwwz15RC7Lv3ftzdkjGKzT4WcRmibgsvsvMyX2RPyLyZUSgPxIsZ3q0B6VP+NYzPP9 WLkSlNlaP8QKKfgrmCe/s4JkK+NGSyqErL5doeGRmZmZnwCIN/S3/SW/ldGLMwRLbaOM ljuDlUe1dZeBlYl/u4IrITRmNcgZsK4tErFs/0c9lTGHQc9E9Hiav1n5B0BzJ7RD8PHb Nzol3x8tSZrrIPbtTpbPCECPact7iZYsaCX+A/HWh7YTG7V4BHgCj9BQU9Sgq9Tzmrtp px5Q== 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=aRwH16y3FbAMWaCGvwYkkhLhkfCbhgR8G/jyQGSXQkg=; b=KvE7wEMLFJ1w9FRZtMS+Okw8nxYnkcu9h700zv5YspvosV7ca1KIP4AVihcI1UyTfy pZs0u1YlCQEIUH2/ce/vw/MyRy4CLM9Vyf+AzJq+Jxs/VAVZymwB32BEgwW2nHffUFuT QVc/SUvHkO+yAvpJ0x8c40hvrsEvC7L3PfC38zYGWDk6wpMDmeBrd9glfrthLxwqFEVZ j2PTF9S8HieggdxoLL0cNHkUReRixaV6wVUl/SeLbhT21rZvemBiAOz4s78KTX2b7F+O +A7mJ+pmYpHqdyDjZ/5BpKwaZzTvbyXHDxbmo+5lXvw4P6a0bVAexDPjvF8UWslfQJw6 iLDA== X-Gm-Message-State: AOUpUlHhtht05/uh3V/q9UtbtiPIoP1TcL37+kG7Y91POsg2uGngXHyc rBQryuvEDKAlmd3bZ0baavmtiH76 X-Received: by 2002:a17:902:724c:: with SMTP id c12-v6mr41497663pll.326.1534699430846; Sun, 19 Aug 2018 10:23:50 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:49 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:34 -0700 Message-Id: <93fb315a5076ddc79d1dc113c8f099db2d3f61b2.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 2/9] powerpc: Remove pie flags from compiler cmdline 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 Original approach to add -no- flags cause link time behavior changes where packages start to lose the -fPIC -DPIC in compiler cmdline and this list keeps growing as we build more and more packages, Instead lets just remove the options we dont need from SECURITY_CFLAGS this makes it more robust and less intrusive This also means we do not need to re-add pic options as we started to do for affected packages Signed-off-by: Khem Raj --- meta/conf/distro/include/security_flags.inc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 52e1e4ebc5..4e20a4d0f8 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -28,13 +28,10 @@ SECURITY_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro,-z,now" SECURITY_X_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro" # powerpc does not get on with pie for reasons not looked into as yet -SECURITY_CFLAGS_powerpc = "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_NOPIE_CFLAGS}" -SECURITY_CFLAGS_pn-libgcc_powerpc = "" -SECURITY_CFLAGS_append_powerpc_pn-libdrm = " -fPIC -DPIC" -SECURITY_CFLAGS_append_powerpc_pn-libinput = " -fPIC -DPIC" -SECURITY_CFLAGS_append_powerpc_pn-at-spi2-core = " -fPIC -DPIC" GCCPIE_powerpc = "" GLIBCPIE_powerpc = "" +SECURITY_CFLAGS_remove_powerpc = "${SECURITY_PIE_CFLAGS}" +SECURITY_CFLAGS_pn-libgcc_powerpc = "" SECURITY_CFLAGS_pn-glibc = "" SECURITY_CFLAGS_pn-glibc-initial = "" From patchwork Sun Aug 19 17:23:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144534 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089579ljj; Sun, 19 Aug 2018 10:24:10 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxj+yH3N3N2jZZynUA42hESOD7xxeyzjGUEGnU/MLgNjY+F7MmCrAqI/mOD3Hyxr6PAs6aF X-Received: by 2002:a63:f54c:: with SMTP id e12-v6mr39812319pgk.286.1534699450460; Sun, 19 Aug 2018 10:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699450; cv=none; d=google.com; s=arc-20160816; b=V+RB4Q8y/VQ2v+9IMSpJamPowEsXFJEDlvqh/CEVbGS5hYCkN25RUqlFe7J7agDhvg hSM+1BhV+j4M2SjUhQK1L+qWctZTa8R+ManEgZb+T+it7NkwLOitFrMB2ulVCjLtYgVH YoBbYWQtHOCQNzMCgGu/9truhfgUIrbjKByNb1Z2ZfYWH+CFP43+bEUZzHjIM12bFjEY 7oRf5yv1VkoGzqZUKxiejq99Trc57hQSPHTn21ODyZHLHeRz5SLK9kFYxtje++geQZLB i103a5+BZSY0BhSymSM4hOLv2evLOGlibrKVv6jCDRYoNFaedaLV+9CjFTrgDTAR2mOz b6nA== 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=kN0sN0sPUgTn05dYdfVzMvv7r7n9T8YFswiFtvcSL8c=; b=0TutmB+D0NVFLtdO0HF1u9e7GRxjy0VlC/y2BBHLiMqJfE9Z8+sGsWr9s+YV0lej55 t9jJp9fGV35PrZqBgEx3oLf8jxylTp18NBpK55nLmZXt5j7BJf/+a5qc5fSsEynWQcCt 9T9oMJt1FnjhUiq6UIHRdlkv0acI2hDkL3MD4zpwCdGbOLMS7OXdW0KFlHUFehHdQYAl V0OE7q5jAPlp3DcbaXOPvoFmgqsZOK+dgimWQcRM/9p4Pkkg9lcP4KKZ1r1vf5kMGrHG chaxxqgzNiu6+wxui+k7NxR4GYDJYbQBq0r8Rp6xeTtff4kyU7WNbS708ShmmX9bGcVh lLvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ka+KVNpI; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x5-v6si7445858plo.57.2018.08.19.10.24.10; Sun, 19 Aug 2018 10:24:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ka+KVNpI; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 289BE7924C; Sun, 19 Aug 2018 17:23:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mail.openembedded.org (Postfix) with ESMTP id 44A3579229 for ; Sun, 19 Aug 2018 17:23:51 +0000 (UTC) Received: by mail-pg1-f176.google.com with SMTP id f1-v6so5643598pgq.12 for ; Sun, 19 Aug 2018 10:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qZM+k1KU8s7xfQtdaD63yjEtMmugyH6RnXDLGMxs+5U=; b=Ka+KVNpITpo4cw6Lb3dbD+0eLxM30Cv5WJeYAg777uJmeeSZeHNTvBm5019Crl3GRz 7pXzuY0wDLmyqqlQxcpF2iFpeZMM53BPeK+VgmbLgdr5Y9Te9hIIl+1Rg4rnh3BUZtEc knYHTQ0BnorVFuBxytJFMcEjUbIwfXjx879NkXKprQxiygCtIygOl1+VHXLKzqKnwTVf Ih25qlDHFp7iK+SBp4XdbN9BqISIB8aV1J72H1gt8jB8Gp8ilaK/EDQR1f0Epc1YeQ2+ EmissN7W0V0SE3CGtQfFjgqS6JhqrgU0ZV2SpRtA6A7mU6l+dj0Sau3GviJcma1wwG16 eyBQ== 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=qZM+k1KU8s7xfQtdaD63yjEtMmugyH6RnXDLGMxs+5U=; b=lALoox8yj+l2SGZ7WuzOFzkIfM+gV+Qsx8Hb6r4XOpyACrKuXoU8htMSe/bhyAlChp MruV8A4NhFZu0+fDAs1SsEh6Gys7jIzpbth/XUgRP87XxG7NjCUICNy8UuZdJ02+3/oa WQsGaVOmyZ7KaZqfJN/gyv52/sHX6ofs5ouX3jwlStIA7QCP32gixWfnBDpMcsD6IVmz 6InML1bgeeRZvGupM4FXym758mqVGIEPPgWcn22WI3es21oIuQ1fWZdqe6qbnm+xKaKX Dxd5pcA2r7TCTOpz4QVfoUNuJ1rpAnKVqP2gpQz6JTs2MotMT7vU45whNQdMXX5IKnOz sW8w== X-Gm-Message-State: AOUpUlGBv/oA0DYIpwOhuSfz8JO6kCL0MQZIKpBRkptZifOi6KKvhvbv s9P4BBFgkEFf1RYiJy/CKpZRHhJZ X-Received: by 2002:a63:fa18:: with SMTP id y24-v6mr40290645pgh.362.1534699432034; Sun, 19 Aug 2018 10:23:52 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:51 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:35 -0700 Message-Id: <5917b02b97e854be114bc0641d5c5a7dc07eef94.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 3/9] llvm: Point llvm-config to one built with llvm-native 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 If not defined, llvm build system tries to build one which then confuses the OE QA system since its building native tool and target packages in same package build moreover it is not required since we already have it via llvm-native Fixes ERROR: llvm-6.0-r0 do_package_qa: QA Issue: llvm: The compile log indicates that host include and/or library paths were used. Signed-off-by: Khem Raj --- meta/recipes-devtools/llvm/llvm_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index bb83012231..d853d4151d 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -64,17 +64,19 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_ENABLE_FFI=ON \ -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ - -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS}" \ + -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \ -G Ninja" EXTRA_OECMAKE_append_class-target = "\ -DCMAKE_CROSSCOMPILING:BOOL=ON \ -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \ + -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ " EXTRA_OECMAKE_append_class-nativesdk = "\ -DCMAKE_CROSSCOMPILING:BOOL=ON \ -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \ + -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ " do_configure_prepend() { From patchwork Sun Aug 19 17:23:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144535 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089637ljj; Sun, 19 Aug 2018 10:24:16 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzHhVSXQDrR18zEB5o6ZgzP1akW7O6TJJn12x9buGpjBtkYjtwI3R59QlJKUkZusHZs8iUJ X-Received: by 2002:a17:902:64c1:: with SMTP id y1-v6mr12873351pli.85.1534699456794; Sun, 19 Aug 2018 10:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699456; cv=none; d=google.com; s=arc-20160816; b=eHo0KuZjZ1JtMRzlJxtNHqSR6GZC9c+PsjFv0CQoVMghUkYvjtxyORe6rQQXzokCXs CS2t2EBLDr57w5FiSI6cfwJ0+ykvH6y/shXVIAcSKBHVEIHTxEuCHHUBeisYs4OYZLXm k0efxohcJH/RAezn32fOsPlRFI+LDnuy+q8+YlUUI75hWuxeTihneFbORHe8n//kzxTI GaAS11VfZRCAmbsxYTSWGJ6QLdLnbDvXwJ/kvNUecL3LiH37R5dJqiLPzM799JrYtGIH w58aFsifp7RfL9q8buokJYdoaJcW7S1JAl8yDFXx2qc7DXcHj7INZK2+KTcpga3BUxCN 5qEQ== 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=LwHXUTMq9+ZkBD5gZ4A+wt98FJVF+B7zpIQqDe3G0/I=; b=EKCvrPN0OP2LANlPFCDGWTaAjelQR7dhyglSeUzEfUBN0fv2QiB82+YZAXNQYQs8+w jJpb3X5z0k5yKCDkk4h7u5UVhNd/TCHdz637WTSH/9PfpAhGcwDyaRCbdALMQFn0Cs1o rfnH+BhS2ADiRlROcWQmhfTp//rIf5s2S2aN++6R/lh8GYH0EZB+S7W95EyWX9mFPZ9o H2Zttto8sNBd35+gt9MxAqrwLF652lx8xdHaZhfGwC+akH5+I1c+jCQvH7dLVprCjCrc rFv+8F0DFVFGj3okZFDlfOMSOmkJkL+OOefq7upBmJG1aSYCC38iVdl3Nt//LKe6+0vC 0CBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NI+5uJun; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f24-v6si7250193pgh.287.2018.08.19.10.24.16; Sun, 19 Aug 2018 10:24:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NI+5uJun; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5530E79252; Sun, 19 Aug 2018 17:24:00 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id 49DC879223 for ; Sun, 19 Aug 2018 17:23:52 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id k21-v6so5602657pff.11 for ; Sun, 19 Aug 2018 10:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cRvlbR+wfYBR/Oj+8cfsSdOvd7S7k40ieppO+sH52Oc=; b=NI+5uJunEsXr85+DAC5By9cl+HYmQh8Ymptj7cCfrZy1VrPa44YT0VVO8Gf75LLsUK r51DA+fJ1a6jpH6BqxWg0Y0La3ZkqedC/vjmi0KokE79gL7QILIj4sKl80BVcOdxtO4E LilbaNaDqF5UhcGHyaoxUzI7sAdaFGYgYmNQBQFpQRrt1GsnWT6jFwS5idB1UaL3TGW8 V4REA+jVQO7gzJDL7gXkYK8OeR0ZN6DJ1JRJrEuWryOHVIzqPOKGFnZ5YVWB8sqtoYGJ 2Hu45iY0GYrT0NjzyqsG0NZ624dqICoYxTzupCaVZsH3OQsleSgPcPe3VuwU32XGbbxd 5XVg== 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=cRvlbR+wfYBR/Oj+8cfsSdOvd7S7k40ieppO+sH52Oc=; b=Iu/hXQE6UaZIwYoofUUO9uZOyUVam1m1bTrJPoGIwyIRzOBDZPPREWRussAfJgqtgG +BS0jGLyufz0aQznvRU+Wttat/1Jfbfcm+4H3Sw/h7iehuYVtKlsa3T2Pr5ZYpZxnHU6 8LIAmaKjjNtUqLDU+dPbkH22GvmDUw7czsp+C2mZMj9BfnwOnTCZFXtCNVy9dv2yGhNE YFbNe7B6iMJl33tLxYCr55+8Tq+rfP5g9CWN0pnj72XxyFiz+95xXAHiYHaRHgQPMrfk Y45pzwNpxL7pclmmh3YML00M6Dkwcq6BobLBUgfftu2w8IYqPMDppm0DsNQXXCiRKOR3 xtLg== X-Gm-Message-State: AOUpUlEx6dQSWhYRvZ7SSD9X4811x/nkHXnNeTe++0/hp2mN0zqTjhR6 z21TuzUXZ1WOT7lh4P4CYNGhaUOs X-Received: by 2002:a63:7f0b:: with SMTP id a11-v6mr12437048pgd.22.1534699432972; Sun, 19 Aug 2018 10:23:52 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:52 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:36 -0700 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 4/9] dos2unix.bbclass: Move to oe-core 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 - Import from meta-oe layer - This is useful for many packages where CR-LF needs to be adjusted, many recipes depend on it e.g. meta-multimedia libebml and so on. Signed-off-by: Khem Raj --- meta/classes/dos2unix.bbclass | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/classes/dos2unix.bbclass -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/dos2unix.bbclass b/meta/classes/dos2unix.bbclass new file mode 100644 index 0000000000..3fc17e2196 --- /dev/null +++ b/meta/classes/dos2unix.bbclass @@ -0,0 +1,14 @@ +# Class for use to convert all CRLF line terminators to LF +# provided that some projects are being developed/maintained +# on Windows so they have different line terminators(CRLF) vs +# on Linux(LF), which can cause annoying patching errors during +# git push/checkout processes. + +do_convert_crlf_to_lf[depends] += "dos2unix-native:do_populate_sysroot" + +# Convert CRLF line terminators to LF +do_convert_crlf_to_lf () { + find ${S} -type f -exec dos2unix {} \; +} + +addtask convert_crlf_to_lf after do_unpack before do_patch From patchwork Sun Aug 19 17:23:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144536 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089710ljj; Sun, 19 Aug 2018 10:24:22 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwC5cyvBqkMm66vVNa2gepQm+D6UrRaY92bSQahghQ0P7dmdAPwqU44fXIkxAd/zQ1BJFrm X-Received: by 2002:a63:fb57:: with SMTP id w23-v6mr40189532pgj.441.1534699462721; Sun, 19 Aug 2018 10:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699462; cv=none; d=google.com; s=arc-20160816; b=0oy+B5Tg3O9aG/rPyzyFcuRUY5XPDJsBb1mCMsnkRyAXrVwWov4go1hWL2lkxjYyZy YczybyVS2eXkqXJwq4JpOmGeODyZgmPiU7yaNaEqjD8NxH2CTQw84k7UEL91d1HifqZS kFOPigVGdH2LqEFEY15znHS7fftQNgZJ7FwFzCalx6QSvQBTy+feji/LQaPE8h5azUAf CO9BZZYCUXKle0IDlHXcYAUjJCp+xmWmh2zuvt5IWlsmgl2yjLJpIbW4wEi8MuFKzt8d NIq3QGFWQOeokS6StqqhwC49fgOmV+O1NriaPwCAQ7KE9bxH7EBnnero4txI0jb0kdvG jckw== 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=bcEW1NwhF/uD7puW4b7bVyq8/t7adnnFOBKLhQPaKA4=; b=jv3bwEqGOhrKRfPAZWAJ6a3ccCWBtUvZHJB620bcMDJl0DNizjJjYPtAPg9xd3qYrf e2R4BDE1Hg/PdMASzkkTNRXhqR/wU+cpOOKKexUJ/GXKrah8jIfBmaluMPUy/lCJgPkS H2kMk1lTmAwLHLmIcMsMAcWlZwjF0EPr7W8seO19QNk6ZtgwGgSPemIMZX9/viD49bZw CoLRh0uphn8NbcCmPPUBbaq0s6oIa3ex2E+BJqhsc81YQwWV4YEkahfDpBHskNX9cfdb z1srdxvmbIb80/rMSIVvWIugs+y6f3iAg6J4gUNWNL7Z5KMly/0obIKRDtPew80y1Mad BNFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=E0oxc4mb; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id q65-v6si7948312pfb.9.2018.08.19.10.24.22; Sun, 19 Aug 2018 10:24:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=E0oxc4mb; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9751879258; Sun, 19 Aug 2018 17:24:01 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mail.openembedded.org (Postfix) with ESMTP id 3B07679224 for ; Sun, 19 Aug 2018 17:23:53 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id j8-v6so5608101pff.6 for ; Sun, 19 Aug 2018 10:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vKibzbLpaZgpSlBh2YkxbU8QkteV/aZDIQJG2yQS/Tk=; b=E0oxc4mblfzz1yTLpW35f7sq76sX+LF7QlbyYY7p0htgTx+FJeMeIN2BeAAyqSH5Ow b1Rqz5vcaNJtN93Fn5nbLfHu80ltq8PgZNNw9zQt9iJ908c6szWL8McawCeBCwY5gYqw 2/u19edkHTzWXeylxwdqdgJ6FhXTyX+KoWhHvENP9643TveY5v4EEVidKcZndhPwHr8h ipoKIIGq8I9gwuWy/chaXdAaabXoGIoXUw6mHkBLhPWK36h+bQvPvM6HQ+1zsCBKqXW3 Y53N3IV1aaTPNbxgnxQC7blgjqfVbqqh6iHjVkG7a/jWeeNDf7IzLJU40w6QI751kg/M IbuA== 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=vKibzbLpaZgpSlBh2YkxbU8QkteV/aZDIQJG2yQS/Tk=; b=egciHUjjxaii8nx1/lapydzilitbSCHyxbyZJTNUtVs+sRP7nEmY8GWatdutJw32hN DhTLc5CP+6iY8QUdUAicKd/uMaBqHPteq6AZLNZwSDr8e7AZ5fAKNUzpdKQdDpx8Ik7m 16vyhZhFs6CRnfQaVxdRn4ToTbMEXraG1V64V7Cbnjo1y8UqNgrALMH3fb7CX7XxN9uz FxsWEOe0i+v1/03mQTCMKm/wiG9pYjBwkAJLrOont9qn/wvu0Q9poAOaxMHySTYPBNk+ VD7j3u3X4N6cGCqY4LZYnxheyvBWgYSdjEImXBIZkDJamps06pleckf9Cqj2ryqCB7/t T9MA== X-Gm-Message-State: AOUpUlH+bz7/ygR9gc7IFff3xtcKG9TBv17VgkkRhaG/Q/DpSZEPDDcC 4TpRtMbKJP3nawXHduW0DKXmq3NU X-Received: by 2002:a65:614a:: with SMTP id o10-v6mr39591210pgv.387.1534699433916; Sun, 19 Aug 2018 10:23:53 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:53 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:37 -0700 Message-Id: <5745ccc3cd9a11770ef83f8360bee5672c6962f7.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 5/9] llvm: Use YOCTO_ALTERNATE_MULTILIB_NAME environment variable in llvm-config 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 llvm-config is a tool on similar veins as pkg-config but provides a lot more information and packages which use llvm e.g. mesa use this tool to poke for llvm related informaiton e.g. version, libpath, includepaths to name a few, this has few challanges in cross build environments where llvm-config is supposed to be build for buildhost but provide information about target llvm which is addressed by building native llvm-config along with target llvm build, but this is frowned upon by OE build system since it detects that host paths are being used so we have to build it as part of llvm-native but then it means install paths for llvm and llvm-native are different and wrong paths get reported when llvm-config is used. This is solved by providing YOCTO_ALTERNATE_EXE_PATH variable to let llvm-config use that path instead of self-relative path to report back Second problem is when building multi-lib packages base_libdir is different for target packages but native llvm-config does not know about it so it reports non-multilibbed paths as libdir and packages can not find llvm in sysroot. This is fixed by adding another environment variable YOCTO_ALTERNATE_MULTILIB_NAME which can be set from recipes to set proper multilib path Signed-off-by: Khem Raj --- ...-llvm-allow-env-override-of-exe-path.patch | 47 ++++++++++++++++--- 1 file changed, 40 insertions(+), 7 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch index 21d2f81b58..6a9283323c 100644 --- a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch +++ b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch @@ -1,4 +1,4 @@ -From 2f8ea767afdaa440c6368040630e1b3ea6a0977a Mon Sep 17 00:00:00 2001 +From aeccf16eaccdd80e4d5ecaa51673ce4b2bac1130 Mon Sep 17 00:00:00 2001 From: Martin Kelly Date: Fri, 19 May 2017 00:22:57 -0700 Subject: [PATCH 2/2] llvm: allow env override of exe path @@ -8,16 +8,19 @@ return the libraries, include directories, etc. from inside the sysroot rather than from the native sysroot. Thus provide an env override for calling llvm-config from a target sysroot. +To let it work in multilib environment, we need to provide a knob to supply +multilib dirname as well + +Upstream-Status: Inappropriate [OE-Specific] + Signed-off-by: Martin Kelly Signed-off-by: Khem Raj --- -Upstream-Status: Pending - - tools/llvm-config/llvm-config.cpp | 7 +++++++ - 1 file changed, 7 insertions(+) + tools/llvm-config/llvm-config.cpp | 17 ++++++++++++++++- + 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp -index 08b096afb05..d8d7742744e 100644 +index 08b096afb05..360cc5abf4e 100644 --- a/tools/llvm-config/llvm-config.cpp +++ b/tools/llvm-config/llvm-config.cpp @@ -225,6 +225,13 @@ Typical components:\n\ @@ -34,6 +37,36 @@ index 08b096afb05..d8d7742744e 100644 // This just needs to be some symbol in the binary; C++ doesn't // allow taking the address of ::main however. void *P = (void *)(intptr_t)GetExecutablePath; +@@ -306,12 +313,20 @@ int main(int argc, char **argv) { + std::string ActivePrefix, ActiveBinDir, ActiveIncludeDir, ActiveLibDir, + ActiveCMakeDir; + std::string ActiveIncludeOption; ++ // Hack for Yocto: we need to override the multilib path when we are using ++ // llvm-config from within a target sysroot. ++ std::string Multilibdir = std::getenv("YOCTO_ALTERNATE_MULTILIB_NAME"); ++ if (Multilibdir.empty()) { ++ Multilibdir = "/lib" LLVM_LIBDIR_SUFFIX; ++ } ++ + if (IsInDevelopmentTree) { + ActiveIncludeDir = std::string(LLVM_SRC_ROOT) + "/include"; + ActivePrefix = CurrentExecPrefix; + + // CMake organizes the products differently than a normal prefix style + // layout. ++ + switch (DevelopmentTreeLayout) { + case CMakeStyle: + ActiveBinDir = ActiveObjRoot + "/bin"; +@@ -336,7 +351,7 @@ int main(int argc, char **argv) { + SmallString<256> path(StringRef(LLVM_TOOLS_INSTALL_DIR)); + sys::fs::make_absolute(ActivePrefix, path); + ActiveBinDir = path.str(); +- ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX; ++ ActiveLibDir = ActivePrefix + Multilibdir; + ActiveCMakeDir = ActiveLibDir + "/cmake/llvm"; + ActiveIncludeOption = "-I" + ActiveIncludeDir; + } -- -2.16.1 +2.18.0 From patchwork Sun Aug 19 17:23:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144537 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089775ljj; Sun, 19 Aug 2018 10:24:29 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw1nvtZGajHwJZndxKrOc3w158ebC3sxGWfDDt6RJWGzXwqNjvP1NyTdK9/3Rw87FridwWs X-Received: by 2002:a17:902:a713:: with SMTP id w19-v6mr41474253plq.271.1534699468891; Sun, 19 Aug 2018 10:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699468; cv=none; d=google.com; s=arc-20160816; b=SwVSY0amBOMNGqjeHeTnCK46KNaoC1xbIrs71BBNYYMdaJngoKLZy1zp/+i2XybjVr NXV0bX80lfPPK1cO20wcxyQJyxb0ZX9LRfABwrwNUzWoTOfSJoU4EDuwi8akA3mVsKIj Ae1jNjuPQVFVJe2dJsbKHDfD6S0T61wd0NXNza/oWD4vMBhnNyiFtLN9lxuO/IknCXs1 gomu1l/kdhCKvSa1bi8FAkMC6vQcHYrJabdwzUTwKSxn9AOvfhpOLBWq31Sv9RSmRNMe Y4gPLTbmYeKS3YroGKm4C5trJYhGSjsKkl35hkQ+dTYC1AMKx1aIdLwqy2McM37XrvnF 1p+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=/z36FOnQcj0RCItDrRFOhIchllQh1PWK1FyF/lfUbYg=; b=GqhyeUHjxOiXEXDhn5AqvrL74IArIFZq5ocwpc6zfQjRndZ9IJsxauZgS7XhLjXCQg fYXDNDvEeh6kHkwzpSKHq629a6b3sxw3112GwrpVVnrVAD0T1ftBo3yJPJniXXNg0+nT MJOq3/5wV+eJ9Au+YJ+Mb1KNGblbQVE1avOcBFk7ULD4kIXDgqio/Q5hBGj9e7UkJ2+b K6HFvt+88LXnnvSIURjbTOGXpiLTVWBR7zhZqSO7UkPSeLV/S1MLUfddWq1gheKIUl1M CE3chmXrcV/WI28p0js78tHebEk1nj5VGOmKbkzmvwG7m6dqk9WbhCXcLzkmu1iEW3C0 zI4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WBU6VzHj; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id y1-v6si8018404pli.461.2018.08.19.10.24.28; Sun, 19 Aug 2018 10:24:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WBU6VzHj; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A7FF379251; Sun, 19 Aug 2018 17:24:02 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f48.google.com (mail-pl0-f48.google.com [209.85.160.48]) by mail.openembedded.org (Postfix) with ESMTP id C5E7679224 for ; Sun, 19 Aug 2018 17:23:53 +0000 (UTC) Received: by mail-pl0-f48.google.com with SMTP id g1-v6so5958323plo.2 for ; Sun, 19 Aug 2018 10:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LdLbrpmH32q3qj8mCPCakUtrLk79dx+UxclS3WTAw3o=; b=WBU6VzHjk9umbIPHr6YajnIZMQumzUaWTg3Rw/vVfsGe+hAVlKXTkxQ7JQ+ZXLzKVj 7DXmyikKYQ8WrnmutTX8ovRMX0T2h34EJ1AlE3OJEOO5KSScWPcF/Wd6btOT/v0uDPCW CKtOSGeQStbAF/UqwCoKyJ5xksvZN+QO8mvWLxXJ+pwF58bGP/oTxx+HxRKzqbdpFCmB XG6/yIaJqa2uAlZhaIBlTCGjrYymHkIg6LFApBW/qkeniWrJOkPjS8AZ/E1ZyBjjAvj6 lm/dCVaq3/XxDdCfKdppYU/b2YV/cbKxTbxC6oxgTs4b/OGG6PoYZReP9qOHTyRKaaNe X8vQ== 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=LdLbrpmH32q3qj8mCPCakUtrLk79dx+UxclS3WTAw3o=; b=cgs2ndAO2OIqOaciBr3RJBG38XY77+whknQKZeMX6paSp/u670cGGRDmXD6P/kI4vp 3PxYW946lGr1MZIlenXnPabwpvHqPso2tR0W9nX09Riouto2OG/Dss8EE04o/MYavKS0 EWujuXudMi1pVEjOfYBqttAEDHKAAT0gszFoIDBINiOG40AwfDjyB4vyR4RHAeVlU1C0 SHMD2GxXkEe5TekhHn9u6S3dpmEc2pAzw9/blXbj2VFCkk2sFazOinXPLqN2Nt2TAJF3 +BQUUCqSpKPLnUXybD7kpt24WjyHyUjhRy9R+9T0IHZE5o8dwmA4J+jXDghu+RTV2zk2 NfqA== X-Gm-Message-State: AOUpUlGkMQCWwcvBh+XT8xS2JaaPNp2wIejaoxPv61Fot01Dk7lnECyb Pc+zrooRq5BxWsFelLqgUjhKWhmE X-Received: by 2002:a17:902:b205:: with SMTP id t5-v6mr41432174plr.220.1534699434645; Sun, 19 Aug 2018 10:23:54 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:54 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:38 -0700 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 6/9] mesa: Define YOCTO_ALTERNATE_MULTILIB_NAME to consider multilib names X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa.inc | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 2671d4de4d..dd626d9f00 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -34,6 +34,7 @@ PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)} \ export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}" export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config" +export YOCTO_ALTERNATE_MULTILIB_NAME = "${base_libdir}" EXTRA_OECONF = "--enable-shared-glapi \ --disable-opencl \ --enable-glx-read-only-text \ From patchwork Sun Aug 19 17:23:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144538 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089845ljj; Sun, 19 Aug 2018 10:24:35 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyMnpxzcL1YiPw1Sr7zY2aG2A1sDq+nfEiSfeX+HHxUHXD9dranFb2nrchiDQbM3UKFpK9h X-Received: by 2002:a63:68c1:: with SMTP id d184-v6mr40170705pgc.239.1534699475481; Sun, 19 Aug 2018 10:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699475; cv=none; d=google.com; s=arc-20160816; b=1IesWN2xkcp4Eq8ibVZhjzdHZaAX1I29atbjhFHEvru9vs6xKcJxch1WRn8tvjNTD+ KTS+0sw4Vutlg1OHtTM+dOmEeNDMqj5mtakeXYHwIgD9Tv1mMlGMg0ef+lZPTHV8raDv qf3CUvThC5uLE2gEZQHFVYZvW6NsU6TAqN6QnPLz1hQuxwoIfZQHKE+e2E+yoISn8/NW GbqWUaYR4wY26yCpOiuAijkGlrA0c2NySEoSoZ3DzRZn1PtYGG6+bgeBWvf44twzMiKQ E/mEO96yyqJ5o97puh8C2NTcOfmtEuCNrMlcamBVE1MulGFpEx/3L4CzV4Npr/ndf1LJ RS2A== 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=ovZdkz9Tl+iiQrorEfKDlha5DqAWwXbAZj2SR6Bwv4g=; b=zTS3lViPmJI3gWGqEru4PrVzuO5PNqhOuMj0MlCoMFylR7E5dI1+FIGLfUQrSKaFBU Wmn4mx2JCj1kEGgPDFCXzBSd2HycTprBvEco7Gn1W0ycAm6YCiQAN4KCdjKYFaCppOhE TbShVtMfCpn1RdBaJg6Hylb0GqYFWXE24TaXZ6KyyFg1fJeTrRqvWOM3s/aSkYfJCibP EsRsq5w0+V+aloEN0jJaJC2GHq36PoluMl/c/j10NOiJiPZo4vkfk1MKIYCoxPIWZRQ0 5oT+eAIe6zbABtwHM7sUvsU3/TmgJjqiFYyXdq/x55k9qwKXOqELActD4JzO/sLe3lE3 UGFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GESTv7Og; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d11-v6si7369197pgh.564.2018.08.19.10.24.35; Sun, 19 Aug 2018 10:24:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GESTv7Og; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id BFCD77923F; Sun, 19 Aug 2018 17:24:08 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mail.openembedded.org (Postfix) with ESMTP id CFFCD79223 for ; Sun, 19 Aug 2018 17:23:54 +0000 (UTC) Received: by mail-pg1-f178.google.com with SMTP id f1-v6so5643629pgq.12 for ; Sun, 19 Aug 2018 10:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=S1HeSbOJ6PBeqxXGCZUBDleeT5vtmdhRKVlzlj3NFAU=; b=GESTv7Og2l+T/n4ogwbB353w6/lyQ9/g06esFumSOzE+M9ndzYsUTbrR1oykQyWJGj Rq8t4cBvDu+hL2cOOG8sQOzI9TC+bb0u7ppNHhmrj/RFDDOLBgfqxVSNbW1pcgMq/bFz Drs2klY4o0cmQOK0vzwkTkWedFzFjLyf3W6Rd6xY4mXhwy0nEIz1za1zLi5XTPm0LDWN 0beLCnPStSBoaj/Vrjbc7cjGiU4SKFNMSHJLyztUt/kJWqrBnohLHJPkpNICs90NYJWh 683YnMxzTHPXxoD09Q7UcNLDivZj30vf3sbFQwIO6D/NELQs4weEhawE74GA657BYbOg Lf/g== 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=S1HeSbOJ6PBeqxXGCZUBDleeT5vtmdhRKVlzlj3NFAU=; b=X3dYdTxdgawKR0/qWKP4VTVAf40qk1slt6G+CUsP/U4P0sgEijVRpuiPmtF01Y4PN9 OjZr4IEvHVr0YPubE4VXDbAtiq3atK3c62BbxC83bK71Kcv1VxjBCOTrOWTxfZ4JVaag At8ynBKuABFIIyDZaozzCN4Mq+9ncO3BaDDztaJAygA1zWHNkKCXsYUlnyzmZZ7BtC4v AxoEEqEp8ltXjTc5IAawJPeDWY2kMBwwws4E2cNN8VuhWOze5kLo+D/D/4tkJuG3jjjv 5wYa3V8gp+jdeKMb1AGr2lNQG+vEib9oqhoFrPfgUeioskymm3goOQa0t/Gn2jzkQ/As V5ig== X-Gm-Message-State: AOUpUlHno87VHRt4GhCFihhYuh3eXr7XOlnMXQp+Y13FhbbruGwMK40A XUQGGbiBjXMhrjdTyq48LZ6XgWWA X-Received: by 2002:a63:cf10:: with SMTP id j16-v6mr40247455pgg.238.1534699435533; Sun, 19 Aug 2018 10:23:55 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:54 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:39 -0700 Message-Id: <8ac6b6754204928da9be1f83f3a979ec421cb52a.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 7/9] binutils: Update past 2.31.1 release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org list of changes in this rev bump * a69de9c7cf ld-x86-64/pr23486b.d: Swap pr23486a.s and pr23486a.s * 28a27bdbb9 x86: Properly add X86_ISA_1_NEEDED property * d692290444 x86: Replace evex-no-scale.s with evex-no-scale-[32|64].s * d55c3e3609 x86: Properly merge GNU_PROPERTY_X86_ISA_1_USED * 381c1eb6ec x86: Update assembler tests for non-ELF targets * 9b075c7167 x32: Align the .note.gnu.property section to 4 bytes * 4aa5eb02fd __tls_get_addr_opt stubs and tocsave optimization * 95fbde6791 Re: PowerPC64 __tls_get_addr_opt stub .eh_frame fix * 079a6882b5 PowerPC64 __tls_get_addr_opt stub .eh_frame fix * 1d8f56a971 Updated Bulgarian translation for the ld/ directory * b7991db94c Add --warn-drop-version option; by default, do not warn when discarding version info. * dbf924a63a Fix type checking errors. * 60b3b24ca1 Fix spurious check-ld failures on aarch64-elf * feaed90494 [PATCH, LD, AArch64] Fix ifunc testisms * 2069ccaf8d x86: don't mistakenly scale non-8-bit displacements * 254ade2586 Fix unwind offset for call_info->start_symbol. * 29153520a8 S/390: Set the htm flag on PPA * 6737a6b34f x86: Add a GNU_PROPERTY_X86_ISA_1_USED note if needed * 01683b308a x86: Split vcvtps2{,u}qq and vcvttps2{,u}qq * be8a252e18 Set the development flag back to true. * 0860693812 (tag: binutils-2_31_1) Regenerate files and add changelog entries for 2.31.1 release * 4afd6a72e3 Fix typo in src-release.sh script. Update French translation for gold and Spanish translation for ld. Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.31.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/binutils/binutils-2.31.inc b/meta/recipes-devtools/binutils/binutils-2.31.inc index 6603873ba2..bc951d73e4 100644 --- a/meta/recipes-devtools/binutils/binutils-2.31.inc +++ b/meta/recipes-devtools/binutils/binutils-2.31.inc @@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)" -SRCREV ?= "f8b4d71490df766ca9c474f7ab9c82b3a8029a5a" +SRCREV ?= "4568e49ff799192fea4f66063fe13e2b871ec75a" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git" SRC_URI = "\ ${BINUTILS_GIT_URI} \ From patchwork Sun Aug 19 17:23:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144539 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089900ljj; Sun, 19 Aug 2018 10:24:41 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwhHjxPWJydtrAFSEd04FskQ7ZCKdrBOPHwBlGaf/mOMzh2OhEEYEEjgPNRoV0TeKihT4c0 X-Received: by 2002:a17:902:7793:: with SMTP id o19-v6mr42874255pll.306.1534699481296; Sun, 19 Aug 2018 10:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699481; cv=none; d=google.com; s=arc-20160816; b=aH/+/Cqt977zW9PcX7JcqZM6tbJKR1CQgXk6UWGM3ZXKHOa5sWaxq85QY2v6cAwsRD +pTB+2CY5aX8Gbm4XrR9bD23Rx8HIQRUpsvvJtTlHuzBVYTHo+ZLITM+nucnudIp65qY PBhpie/GPZ8alUebUPcCregRcrdwXAaLmTjHhixvIub9IEp75U/L7UKOK5s88MUjB6Te FNPA0erxxfJUd0XWirYDMkRj3a8EXohqnrCHgmHqmbgiKl1T6usy33IwUAzolOBD2teY uC2iJ6jZOhW4Ev2OGmFGzq23CFXii1+M7XDqmlVGzOWWLWM031gG1bvbQyBl/faHDW32 pfnA== 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=pwGWMKfvLZeYLSNZKYRWCTUY1yCTK3ENU8V4ySIrvNQ=; b=wHN8hiI5SIqWUZn0gEHO3ujHPbtxZGiMLNA39djKiWjXaY/EfFoewxVfD63Ts8itu3 aU2Vjru9v3LOFHl07F5QkDQA0F5ketEH5Q+S3PRzPwTkeRQen+Q9OG7khFww1Wq+dZAW uT4/fhy8pHRhHYX7WvhM0v7vEyTWW/67PLuqIn24xLLrFa6p1hmWdvFBIBTeTUuLu5ic LituS3ezvkeTeMFqmBce7BRmN8UDu1oiih3WhmaP04KUKHFkANEMwXEqgI/CbAptZpY7 frVp9UgV6VKZZ3Wz49bcBWsN4Spb3h3Iergi2/xcoJ6zGPAnwIGx99sAoplHI0OStyMj Q/0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=XR6wOV4f; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id w4-v6si7337580pgh.609.2018.08.19.10.24.41; Sun, 19 Aug 2018 10:24:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=XR6wOV4f; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E239B79263; Sun, 19 Aug 2018 17:24:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mail.openembedded.org (Postfix) with ESMTP id 89AC37922F for ; Sun, 19 Aug 2018 17:23:55 +0000 (UTC) Received: by mail-pg1-f169.google.com with SMTP id f14-v6so5643416pgv.13 for ; Sun, 19 Aug 2018 10:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+drmlVReINFpgVT8zC+g2o+eL0AzCILaEOH/FuMmHHg=; b=XR6wOV4fe9hdpLJim3m/aMwAHqtuncSGacCdk9FMpXgAvKkHXI1pr0SrA87UVTSltn myJ4Ek5p0gzlOqv/PaZSlDEACEJHTP+13Rv5Swjl/9F7bihQ988Q+IMrU9KwY93SMtmt Xm1Q2murc3k9hduv5s1LlYaoN0Ov85Pq0ptV6p9rH9+9QU0Oga9lDRZA4yeto9tCui1m aZQQ8JYe425tlgJaqSdtegGFXCHGm5iQqgAS0nHXaD4+2POmLcZtxtQ5FE1C7B1w5cJX lH4sLPbNZFyfuw18sWeZXHsSfMNHTL7Ei4yEwZUiU17tNDCwgrFjj3nDxu3F8gwdoZ6f 4rPg== 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=+drmlVReINFpgVT8zC+g2o+eL0AzCILaEOH/FuMmHHg=; b=H/EKXw7hF8woFeBB1NtM5kZBmwU+bMvH+KdbbVjrs0x9jLPS2JiHk9QthC/CXW/fwX xOKyrw8Kzy7qJXLuo/Mq5B6kbZZsUfpEGmOhUk0KMrOQh24QTluyq9gzKsUUZQxB8EDh EdjnBCSkTS8GzO6nuQp4IyBRmR7+J0NZ2duJyTs9DRDEAN75FqaHPufUFK4FmHjwToJI XdaizJUB3xiDQpIQHL2Q7C2I+9xbiBI+21+6qADUWeP5an66xmlncU/sl4VjeL5nAAI7 b/YMXMayhOP8wdsSG4y44wrCnMyyn9pnDgUGdXrjLeR2NOvaYZlvssrdwGYSaFyAi9RZ gwiw== X-Gm-Message-State: AOUpUlFABi+hGPpMAWZrw8EnI4FYjn6HB0+vrtpLcgJjnhrvQxIa03eZ 6AHVtaL79dBqrtd2EYCm19vWzlj6 X-Received: by 2002:aa7:860b:: with SMTP id p11-v6mr44452938pfn.247.1534699436256; Sun, 19 Aug 2018 10:23:56 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:55 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:40 -0700 Message-Id: <74b92c8785cfa4377a1738f28e3991d6adee321f.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 8/9] gdb: Upgrade to 8.1.1 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} | 4 ++-- ...{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} | 0 .../gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} | 0 meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} (89%) rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} (100%) rename meta/recipes-devtools/gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} (100%) rename meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} (100%) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gdb/gdb-8.1.inc b/meta/recipes-devtools/gdb/gdb-8.1.1.inc similarity index 89% rename from meta/recipes-devtools/gdb/gdb-8.1.inc rename to meta/recipes-devtools/gdb/gdb-8.1.1.inc index 4d9faa2d4b..ad80dd3e4d 100644 --- a/meta/recipes-devtools/gdb/gdb-8.1.inc +++ b/meta/recipes-devtools/gdb/gdb-8.1.1.inc @@ -18,6 +18,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \ file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \ file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \ " -SRC_URI[md5sum] = "f46487561f9a16916a8102316f7fd105" -SRC_URI[sha256sum] = "af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34" +SRC_URI[md5sum] = "372fa63a53adeee1bfbfd581d8da9e34" +SRC_URI[sha256sum] = "97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c" diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb rename to meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb diff --git a/meta/recipes-devtools/gdb/gdb-cross_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb-cross_8.1.bb rename to meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb diff --git a/meta/recipes-devtools/gdb/gdb_8.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb_8.1.bb rename to meta/recipes-devtools/gdb/gdb_8.1.1.bb From patchwork Sun Aug 19 17:23:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144540 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089974ljj; Sun, 19 Aug 2018 10:24:47 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxf0+fq6WfY54Nc6dLsoPmd+IlSAO5cGWJC9722Dv0pJibvkHZkJu4Taasbx874v+q1FAM0 X-Received: by 2002:a62:4add:: with SMTP id c90-v6mr45221702pfj.23.1534699486991; Sun, 19 Aug 2018 10:24:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699486; cv=none; d=google.com; s=arc-20160816; b=jmesDWLFSMwTN3XdYWW3snlIoAINB6obb2+arzYkp9MOKOgSuqQMnHTv2yZ9OAhWOJ FLMlyHjTDiedmguZxqH6UtGVAqu4qnO7hKtf8WVtBbAqCoomgJden4cjO4yp6Nth55f/ HfkBR7uUInzTJOKUbt4XqwEAMZbo25/hkdEPeUf8pxFqIZGBHNcjLjIL2rACX0y+gvaw QoR2YQU8vCL2o2ZXcb6p+BZXc1q93DMCM5lqUErsneDMSWGWy6phN6Cusp56oWQ1+gP0 xWK8RCfwM3kdCEBckRZRkIKzfBy0nXcDFdiYgWcRi8bo6td1c27AucxnciUOEOQcfEMY SQrg== 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=WQfRhdSmuUynIlNPOn2zdQM/ISnUYNFGrlJvLM5U0mY=; b=GGdiQRyZL/yiUaD024arVxuAktvx/nGVUzXg2FkuBMlISCqyzL+Yjvxpr2arg0ZXj3 ngpT0rVhW0sCIG1ILi0l5XGkx7uwxuA6VvoeZSg015nUtZmw1d4Oije7HflQNovsdT7W eHyuN+v5Z7BtU4ZtcUWvorK4OvKvlxfATuCbcYKoVWs6/IqcduH28zQ6JDqAVh0wEH4D nu9eksd1+9Lji6bE1Jr2sHePPEKgja/PDpegORf7ZXhJH1ZZ89oEulELTu2gxqyPPKf6 W/M8RuL4rdcFkkESfL6udtPsCxT2MkjrXqJ1sgvComP0JHtYs+qYocvdePlivCQt3nyP YbEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=s394nI0F; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f3-v6si7530973plo.109.2018.08.19.10.24.46; Sun, 19 Aug 2018 10:24:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=s394nI0F; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 085AD7926A; Sun, 19 Aug 2018 17:24:11 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f65.google.com (mail-pl0-f65.google.com [209.85.160.65]) by mail.openembedded.org (Postfix) with ESMTP id 1D6CD7922F for ; Sun, 19 Aug 2018 17:23:56 +0000 (UTC) Received: by mail-pl0-f65.google.com with SMTP id c6-v6so1099581pls.4 for ; Sun, 19 Aug 2018 10:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LLSa+1FFOYXZIhwiE85U9yNuZhxaeBesfS3+zgZhh8g=; b=s394nI0F9Yx/vW64z135RKkJuqoJKr17LdQK/7X/JkWFCZsAfkoWzZuFoeNbl/xXwl 6wf3FK0rUTgiTnS8b0FN5SRCT+0eYVA/F4SWMbv0Wv1YklIqDAr7ZMhNTfMXuFFOwZad /6S2YpZ9FZ9M9F3WO4Z2lI7SPSSE7rn6LgTC/TeZySDLEEwKaQJnJ0sAx933i2Lf7p2F 4PSxbgsMp57wUeudrWGlClJ1MZtxyQhpUVW/wHextkr/9pEtQbeOm0jfocBCqns/NAPl TPe2wJBLVb8EMvLy51D1HRrwMOcAWZabl1vcRzI4XkyUfdkpqH4BZTsp4JsxipHVhQOA AQvQ== 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=LLSa+1FFOYXZIhwiE85U9yNuZhxaeBesfS3+zgZhh8g=; b=lVQD9t4Dx22Ng+Imu7RpzFSvRC3SEkV+Lf3oCpoiebAr3UABK2kZpGyZHdOw1lupdx Nm3DmR+O4HwPQIUu776q7OPigb+t6H5T4CHTQXM5dhJyykAKmAxvjnfHN4iBRGu7BtSO iiVfgraK6o5GBsdrKvuTFYb5BQyt4IXLb2sW0gQ+PplPS6HeqTLc7+t7XcfTiXVRCFho o9E1IDE+Us3WKEpmnnMm/6VvbH2uK8x+C1gyG3Wle4HcGyue/0tztJ4ZN4WNJegeHEHk Ad/sm+Yz+iOm876pWLCt+3GbJi9X4DMPgKtLNbCiv9WdC0I9UkkBsEc5PHUaoDiTuFUs ZQUQ== X-Gm-Message-State: AOUpUlHJ8CET6Ezra1rvZUFsqvoqOU9fHMPaF6uJeAMhGofVV1uXgSpC rH+FRTPZtX5RanSAp/IuxV0ffUOj X-Received: by 2002:a17:902:8604:: with SMTP id f4-v6mr42417882plo.225.1534699436933; Sun, 19 Aug 2018 10:23:56 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:56 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:41 -0700 Message-Id: <911a9ac98e1ad924f22dff0582b276a0ff1cd74b.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 9/9] libidn2: Fix libunistring detection 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 libunistring is one such library which many autotooled packages mistake to use from build system if its installed on it. This is specifically toxic when build host arch is same as target arch since we only see the problem during runtime but thankfully OE has build time QA which warns about it. QA Issue: libidn2: The compile log indicates that host include and/or library paths were used. Using --with-libunistring-prefix nudges the autoconf system for the component to first look into target sysroot before going on to search on the build host Signed-off-by: Khem Raj --- meta/recipes-extended/libidn/libidn2_2.0.5.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libidn/libidn2_2.0.5.bb b/meta/recipes-extended/libidn/libidn2_2.0.5.bb index 0d7bddbc7f..0daf7a6877 100644 --- a/meta/recipes-extended/libidn/libidn2_2.0.5.bb +++ b/meta/recipes-extended/libidn/libidn2_2.0.5.bb @@ -19,6 +19,10 @@ DEPENDS = "virtual/libiconv libunistring" inherit pkgconfig autotools gettext texinfo gtk-doc lib_package +EXTRA_OECONF += "--disable-rpath \ + --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \ + " + LICENSE_${PN} = "(GPLv2+ | LGPLv3)" LICENSE_${PN}-bin = "GPLv3+"