From patchwork Fri Aug 16 17:33:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 171516 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1160754ily; Fri, 16 Aug 2019 10:33:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvN85yo4NKayu+huNCvXsWjORM0DQKThecC4oxA9spjyqn0KGI8D6zU+nMrhhqAyltlTcy X-Received: by 2002:a17:90a:ec07:: with SMTP id l7mr8214295pjy.39.1565976799248; Fri, 16 Aug 2019 10:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565976799; cv=none; d=google.com; s=arc-20160816; b=NoGsUsWMqDRjO0G5z6H5yU2y3xvTgGMBXJhPRTUm1/mqgL5ppBIjkHkx2maa6qJzEH IjtrW6uhIYmd9MzePo9zH0gORnDFi9sZxVk7n/VpRFkPUkYyWjCwFSztJTdQM0JHgTgo t7SDJcdzma3Vq9/IBp/Tz9Be/rNnDGPI+N3fuEdRqSL17va+ir17kRblXZvEo3/NA9x5 6k0S/3ZDuYSZgRsd66D6IoSgkODb/zL4/UG7TWG44PjE4x3dUXni19ti9j0A0CPg0XUa dSxnXWNKl1QGAlhhfv85GLzeC0zW/QwGEvw/vkgJvmSqg/jSceCPHHzkOD/gA0yhxkNV oBVQ== 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:message-id:date:to:from:dkim-signature:delivered-to; bh=B3TlM2MbIAI+0SbDTzAnwhhm9XQm24OblvqZ0ZrVMhY=; b=a4Ucl8uVHbZN0IT6fXTv461PceVBd7yFqpIeF9QbEyV9SPeCOvfv16jdzgIMwbMRgz RM0/ywDp8rV/ZIi9EwramzFl+JzFkgbw62S98u1rmCeqQwk4wnh0C+HJvVGW4ih8WQXr IFylsLeSlq5UwynfMUqIUxPHFS4MvCZiGZDiA9B9AvaftNAV4m2o1ESs1J2G+/uf7MK2 3p7/GwZOovK/drKqhq6y+Aq2Qy9g1/CPgL17Yiks+1FiUdoZhT3H3In3douNd8Xb3aDE XWQTHDxOZuTB42yHXpR18qAXPY2FZ4tpnj7Jo32NOZS8aKd8oQ0RDPwQGsy4e5PqVOLx a/aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=L+eQnT8H; 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 b24si4791879pfi.180.2019.08.16.10.33.18; Fri, 16 Aug 2019 10:33:19 -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=L+eQnT8H; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5628E7F378; Fri, 16 Aug 2019 17:33:16 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mail.openembedded.org (Postfix) with ESMTP id A7C6E7F363 for ; Fri, 16 Aug 2019 17:33:14 +0000 (UTC) Received: by mail-pg1-f172.google.com with SMTP id w10so3267884pgj.7 for ; Fri, 16 Aug 2019 10:33:16 -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:mime-version :content-transfer-encoding; bh=3UJvszKz9DF45/bfC6uSILI94t7Ow87OLVEwXH5KXiE=; b=L+eQnT8HdReC4Tm6a4KvdY1P4nekXJbeMuJGRNLCQoMu2fbKWWXTmA0tpq98+0L6Ax 0dzNNiKWaTI2Hfx7l5ocFwe9qH0oumcCYMI8VbkhQIvnUn3bn3zyCzFaO6+w6GY9P90H kerWkYQuVbukDhAy5wSI9Bgs+CsWrBWbpDTmnpfZWJ1X61iX8VkvFtZdRnisiPwdkOI4 Cklx6/HcnQNQ+6BVlFzPjQB9Seeb4sBUvXrH78LtkvlCAbI6nNvPSNWn5zUgsOKc7A/m No7GKn9I0kJeINNVLghAkNjYB4psso/4ookb0aFAIWM++Fo3twDTiHvx1LtsCYo5+pGJ k9/A== 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:mime-version :content-transfer-encoding; bh=3UJvszKz9DF45/bfC6uSILI94t7Ow87OLVEwXH5KXiE=; b=EOs2hFgBzR3RCuixbY8Lbmg8CwAROz6Yzsuj2WOwVlwIGEI4fdINMnq1m7HwGggm/b fHABC4HaHDgBVn+HGdNIpVPeDkwA9yd4lcw3J94TRIk2bvHseh7M9biACSBiB1VDU+U4 1s4X5tGBxTwRNU76zgehwg2s4AecheuJ2Mmf2XIIoPRauqXPLZoizYRf4EcB1kLoXoRL QcPP2OhH9wJp3eX00kBL35DyF10/oFLwbNQUFlEyBZpS93fr5XciMVN7IvZHZVL00GhE 0XmWtt/UryjGeI4hvSNp7/rYjEWXbOkK6yt5Di9Vb2/0viQHpQYvwvZSzyr1BU/588ZY XJbQ== X-Gm-Message-State: APjAAAU7zkeW89/D6YHtKECa8d7LrksIMM/czPR8Pb7xqh/XSCJQNM9o 2FQw0UVFYU7rSvwUgTLCFyalsp/YeQk= X-Received: by 2002:a17:90a:dc82:: with SMTP id j2mr8543070pjv.89.1565976794983; Fri, 16 Aug 2019 10:33:14 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id a6sm6188517pjv.30.2019.08.16.10.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 10:33:14 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 16 Aug 2019 10:33:00 -0700 Message-Id: <20190816173301.807-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] gcc: Search in OE specific target gcclibdir 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 We put gcclibir to be /usr/lib//... and not default usr/lib/gcc/, therefore make the include search path also look into this directory, this should help in finding gcc headers like omp.h Signed-off-by: Khem Raj Cc: Martin Jansa --- .../0021-Ensure-target-gcc-headers-can-be-included.patch | 8 ++++---- .../0019-Ensure-target-gcc-headers-can-be-included.patch | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) -- 2.22.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-8.3/0021-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-8.3/0021-Ensure-target-gcc-headers-can-be-included.patch index 60d72699d6..58b4d1aa68 100644 --- a/meta/recipes-devtools/gcc/gcc-8.3/0021-Ensure-target-gcc-headers-can-be-included.patch +++ b/meta/recipes-devtools/gcc/gcc-8.3/0021-Ensure-target-gcc-headers-can-be-included.patch @@ -1,4 +1,4 @@ -From 476eda9054df443d094273c8b61fce63d940adfc Mon Sep 17 00:00:00 2001 +From 94cc995cee76a9d59204a900fcaa2afb2eaa75c2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 20 Feb 2015 10:25:11 +0000 Subject: [PATCH 21/40] Ensure target gcc headers can be included @@ -23,14 +23,14 @@ Signed-off-by: Khem Raj 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in -index 71a8275c39f..5ae693fb06c 100644 +index 71a8275c39f..aa4adc3db24 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -614,6 +614,7 @@ libexecdir = @libexecdir@ # Directory in which the compiler finds libraries etc. libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix) -+libsubdir_target = gcc/$(target_noncanonical)/$(version) ++libsubdir_target = $(target_noncanonical)/$(version) # Directory in which the compiler finds executables libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix) # Directory in which all plugin resources are installed @@ -94,5 +94,5 @@ index 570cdc00034..3fb64d453f1 100644 #undef MD_EXEC_PREFIX #undef MD_STARTFILE_PREFIX -- -2.21.0 +2.22.1 diff --git a/meta/recipes-devtools/gcc/gcc-9.2/0019-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-9.2/0019-Ensure-target-gcc-headers-can-be-included.patch index 4809bdf4bd..af0ea5c60a 100644 --- a/meta/recipes-devtools/gcc/gcc-9.2/0019-Ensure-target-gcc-headers-can-be-included.patch +++ b/meta/recipes-devtools/gcc/gcc-9.2/0019-Ensure-target-gcc-headers-can-be-included.patch @@ -1,4 +1,4 @@ -From 5225980db3e03b2fe6597393d7177d0cafd1b1d9 Mon Sep 17 00:00:00 2001 +From d27ba49e2e5c608c43265462d6831363cc7f565b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 20 Feb 2015 10:25:11 +0000 Subject: [PATCH 19/36] Ensure target gcc headers can be included @@ -23,14 +23,14 @@ Signed-off-by: Khem Raj 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in -index 0064a282488..21472745c2c 100644 +index 0064a282488..98d1488171f 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -618,6 +618,7 @@ libexecdir = @libexecdir@ # Directory in which the compiler finds libraries etc. libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix) -+libsubdir_target = gcc/$(target_noncanonical)/$(version) ++libsubdir_target = $(target_noncanonical)/$(version) # Directory in which the compiler finds executables libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix) # Directory in which all plugin resources are installed