From patchwork Thu Apr 5 18:25:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Victor Kamensky \(kamensky\)" X-Patchwork-Id: 132880 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp6606033ljb; Thu, 5 Apr 2018 11:26:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx49jX3XABK3AKX9BGnaQooSFhID7b+sG0Pq9D5nJ4yYBrSjQa3q4aIFznNyDfUbLuHe3DpsE X-Received: by 10.99.95.214 with SMTP id t205mr15756485pgb.145.1522952769825; Thu, 05 Apr 2018 11:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522952769; cv=none; d=google.com; s=arc-20160816; b=XD+UxYEku3Fb3BVzAd+2/M4EHU8Sr9a6sUQIZuybUKqA3L4S4IX/kd0bTP3kCnXtZk aXWM5FegdKUIaoZMVMHT6BMW5/Cb6purxfRUP+Q3DPGYXUVHyS1HV6cwuO9l6Hl1wni9 KnUG/+CZ0FtKAOYfyPMkXjVa97yYwur/GX+EHaVZro2/D/gmhDxhOERDHd7HG5gYb/qx ffZTyMUj4y9FK76TXHPTQHz2eNZaa3Xd26IoAB/aUYvx1iyRcOTi0nnMhkCjHNjOALGv g9PGOGFguKiDL7KpqCeNXWbbhB5xA9eAG/P9YVhGvDH9HfBd+nA8dmvL2aPT6ajK1eEA PaGA== 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:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=+BYOHQpT++jf4gBxxyRmQ6A3NcxnOI3ac0Ihiw3ZhcM=; b=YNgAwTeUTkaECvfUBpAHXzQsLC6nsWUNvALp0T4/0gF9jGrD6j5+rTbR+qk/Pp0i5U iqxDTv9EhjH1mzJPnmAJWsz+8dwBMx7Ah+JqqTbAt13YcGBxTBpz9U7Ff8Gotnc8cmV/ XzGNdmzLPvMVLh39QQnQwukaANjDoB9QAN3TcqhvRnYwXB6VcttdO5J8RnSkwxpuYGCM SnNES9XZKYTDpOKrnOl8MaTY21LYqsrTJLwNYCV8PDy4+M7J0YDclrLKCaicM3elvMB8 jHtl/oKM2Vow0EVrjn4P26+gZtMMUGmJAdaOfiQ6qhODJBEQl9Sc35ElNvSzHNCXC2qG Ulzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cisco.com header.s=iport header.b=Li4SYfoB; 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=cisco.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k8si6381469pfi.243.2018.04.05.11.26.09; Thu, 05 Apr 2018 11:26:09 -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=fail header.i=@cisco.com header.s=iport header.b=Li4SYfoB; 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=cisco.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5BED774FB8; Thu, 5 Apr 2018 18:26:07 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by mail.openembedded.org (Postfix) with ESMTP id 7A7CC74C5E for ; Thu, 5 Apr 2018 18:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2242; q=dns/txt; s=iport; t=1522952742; x=1524162342; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=33bCibs251DhTwCR/r+oasZFLczgmqrT/DMkhN399xc=; b=Li4SYfoBZZoVLqatZixLEUzrrFEBx7BuI1ggxs25sY52NPOMEwlKfk7Q hdbnBO44B9GrbGfRDFMGITY4UcazDACPR28B7bkVjtiuI+PwTgbBIFquG kGZh1Rhq7YAQkq21JA5dJh/O8VO8/LmIDsrNwZXVK68z9qFP3A/nhg5li w=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DHAABYacZa/5tdJa1cGQEBAQEBAQEBAQEBAQcBAQEBAYNCYW8oi1+NCYMDixKHQ4F6CxuEaAKCPiE0GAECAQEBAQEBAmwcDIUjBnkQUVcZhQ2uXIhDgiWHaoITg1yFb4UIAoclhTGKagiFU4heAoFqilGPXAIREwGBJRw4gVJNIxWCfQmLB4VeHzCNGwEB X-IronPort-AV: E=Sophos;i="5.48,411,1517875200"; d="scan'208";a="376983089" Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2018 18:25:41 +0000 Received: from kamensky-w541.cisco.com ([10.24.32.120]) (authenticated bits=0) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id w35IPUvj013347 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NO); Thu, 5 Apr 2018 18:25:41 GMT From: Victor Kamensky To: openembedded-core@lists.openembedded.org Date: Thu, 5 Apr 2018 11:25:27 -0700 Message-Id: <1522952730-5967-3-git-send-email-kamensky@cisco.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522952730-5967-1-git-send-email-kamensky@cisco.com> References: <1522952730-5967-1-git-send-email-kamensky@cisco.com> X-Authenticated-User: kamensky@cisco.com Cc: Alexander Kanavin Subject: [OE-core] [PATCH v3 2/5] Revert "systemtap: Cross compilation fix" 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 reverts commit 787bed708676fc04aee2850825e803273152f657. Signed-off-by: Victor Kamensky --- .../systemtap/systemtap/system_map_location.patch | 23 ---------------------- meta/recipes-kernel/systemtap/systemtap_git.inc | 1 - 2 files changed, 24 deletions(-) delete mode 100644 meta/recipes-kernel/systemtap/systemtap/system_map_location.patch -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch b/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch deleted file mode 100644 index 013af5c..0000000 --- a/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch +++ /dev/null @@ -1,23 +0,0 @@ -systemtap: Cross compilation fix - -This is a cross compilation fix. It allows systemtap to find -the kernel map file in the right place, i.e. in the kernel build tree. -Without this fix it takes a map file from the build host, if available. - -Upstream-Status: Pending - -Signed-off-by: Mikhail Durnev - -Index: git/session.cxx -=================================================================== ---- git.orig/session.cxx -+++ git/session.cxx -@@ -1634,7 +1634,7 @@ systemtap_session::parse_kernel_function - clog << _F("Kernel symbol table %s unavailable, (%s)", - system_map_path.c_str(), strerror(errno)) << endl; - -- system_map_path = "/boot/System.map-" + kernel_release; -+ system_map_path = kernel_build_tree + "/System.map-" + kernel_release; - system_map.clear(); - system_map.open(system_map_path.c_str(), ifstream::in); - if (! system_map.is_open()) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc index 4d887ed..eef0c9c 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.inc +++ b/meta/recipes-kernel/systemtap/systemtap_git.inc @@ -4,7 +4,6 @@ SRCREV = "4051c70c9318c837981384cbb23f3e9eb1bd0892" PV = "3.2" SRC_URI = "git://sourceware.org/git/systemtap.git \ - file://system_map_location.patch \ file://configure-allow-to-disable-libvirt.patch \ file://x32_abi_time.patch \ file://monitor-option.patch \