From patchwork Mon May 6 17:51:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 163441 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:81:0:0:0:0 with SMTP id l1csp270183ilm; Mon, 6 May 2019 10:52:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8aE361Zs4WMUgqDkcZhiDhB5/iDh3s/wTpuIAviL/GjiXVy7Lh4F0Hgj8+ynkmtq3oigC X-Received: by 2002:a63:c104:: with SMTP id w4mr33274804pgf.409.1557165130146; Mon, 06 May 2019 10:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557165130; cv=none; d=google.com; s=arc-20160816; b=pZ22Gh5atQChifpLL3x+L60d9FQ/YPtIYIIo8FMTpH6itIjkN0IobV1RzEnrbLmxjq XeoTTqg7iGVNedPIaKNu+U5zWA439keC4WfysM2UuRbWEcRIVsMEcjaie8wPPGctr4SF zPuhyC6uYJ16ODY7coQ6nBz9UP27WtBo9iKXcWX+QX/RjagVcsVHqRpTpoz/5v+D5+ea eMfEpKbYIVFVa+ua3WsANykboLpiyWN8L5caCKe4G6x0zj9RJMhyYd//x4rFjEBCrJ2A E9eGIX3VXwtrHSpKDFHfjaHRXX8f6bCbPYf9SxmdsmA6420Z1/tszSfhokNZ8vZwILyx lcMA== 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; bh=XeycsJuzP1wU0RXI6x1keIZdJJS0qetCQO/BV/3peTI=; b=BqY3aNVlYlhozTMGixUL5FWdkWT0cQS+1fN0LV/KA97WskQ9sQE7L/OcOA05bkD7+4 M9JGGHiaGXCpw6OukNQeYl1LhiC+h/KLbhZkYccW3UFrXC0/A7+bHhYzkC06CuvEqCVZ iNXyi5RAFrAjexVf3Vmc9V9zCdQeau25btgpxxe3KKy4Foxa3mG8YmxdVdFVK4Xpp27L zKetMazcyqkef2ejep51bzAWOtcnRHbTtaE+ra4XVa5cAIUSYPJXqcSim+ZxOiVS5SqA uMI6fA87tsimEmnBaRt/XoYDBY0yUiUBeKHsNwxkA9B+GSys9f1l+ccgD42uTNf2+4q/ GSag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gdh9F5XP; 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 r16si15141506pgv.503.2019.05.06.10.52.09; Mon, 06 May 2019 10:52: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=gdh9F5XP; 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 79F2A7D533; Mon, 6 May 2019 17:52:07 +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 77A9A7D391 for ; Mon, 6 May 2019 17:51:43 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id g3so7157118pfi.4 for ; Mon, 06 May 2019 10:51:44 -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 :mime-version:content-transfer-encoding; bh=LEkfMaWY9uGXqW33P3GGSxP9mi6XMnIoV6MSqL99V6Y=; b=gdh9F5XPZmkeSaMf0OtJPdL9a38Intze7aAgdX/SfwkF4D7cQGR5H6HkzWspzNJcVV 0Z5AYoXoGwi4q/2dZsqjXtiZ1m/rKH2ZaN7N8QMJHcQEPX7gpTGM5vyCaKM3qSft37iv BZtpG21+l04lSpf4LQPnI7CWg42BgfRkv+jTs4k7Kfql98k7JUeJP3YNXwEMO9kvQ2wM ElQtLGmZje933TJQ1wGZDpp1n/YLJP6YeTAUI4VOGZPEess/dddfB6jVExqFvnMR5T0O WI76DeSOaBbCnnXvTZ1aQnGjLWsyotIJILbdU/Klfs9KImkNR+CmZ7ncol9wA43VW6mm sfNw== 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=LEkfMaWY9uGXqW33P3GGSxP9mi6XMnIoV6MSqL99V6Y=; b=GyOz9rB0GwRtvjmppO4ySXotC+N8Y4EbqAFQWYlP7mgxDr3CaKcJYOq1ElKSqttr4o U5VocycSRPmfHjNCHUWLs9jqhBARyA6o25Ep3H/FPjmawZ1cG5jxzqqVE48eiPmSGBJp Ei4cxdY1YjA1qOUw6Be4lMZZ2TMIq5fV507FaWaB31K5z0OgYup9zF5pMKUTPfkziAIb 24LEAXGtj4m3/m8BRkocQQaAly8gtnMgG4DUwCu0JhK8ABvgXdl7+b6eFZ1s4yUTwAyY qPfeVOaqxC4ylYvCDfaHBcknO4C5RJN5laKFoIVeiVhjGpcX9qXyXwLOamm8SvXY7kFU tP3A== X-Gm-Message-State: APjAAAUYEtb2Lt6+urxiqF2/5IpYTj0/BslLjYTSfQ5RiVuFarrEK+WS /o8EHLEcOXQNhMOUbFwSZ2Fxd0t9BNg= X-Received: by 2002:a62:b602:: with SMTP id j2mr35092528pff.68.1557165104253; Mon, 06 May 2019 10:51:44 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::592a]) by smtp.gmail.com with ESMTPSA id n7sm14764022pff.45.2019.05.06.10.51.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 10:51:43 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 6 May 2019 10:51:36 -0700 Message-Id: <20190506175136.7594-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190506175136.7594-1-raj.khem@gmail.com> References: <20190506175136.7594-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] gcc-target: Do not set --with-sysroot and gxx-include-dir paths 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 These options are not needed on target infact since the defaults would be good enough for compiler to find the relevant headers and libraries from compiler runtime with gcc9 it starts to strip the sysroot from gxx-include-dir which means it tries to look for gxx headers in localdir ignoring nonexistent directory "usr/include/c++/9.0.1" ignoring nonexistent directory "usr/include/c++/9.0.1/arm-yoe-linux-gnueabi" ignoring nonexistent directory "usr/include/c++/9.0.1/backward" instead of sysroot Removing these options make it behave normal Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-target.inc | 2 -- 1 file changed, 2 deletions(-) -- 2.21.0 -- _______________________________________________ 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-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index 6270059644..bdc6ff658f 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc @@ -2,9 +2,7 @@ GCCMULTILIB = "--enable-multilib" require gcc-configure-common.inc EXTRA_OECONF_PATHS = "\ - --with-sysroot=/ \ --with-build-sysroot=${STAGING_DIR_TARGET} \ - --with-gxx-include-dir=${includedir}/c++/${BINV} \ " EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"