From patchwork Tue Mar 6 17:50:37 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: 130825 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp4220958lja; Tue, 6 Mar 2018 09:51:06 -0800 (PST) X-Google-Smtp-Source: AG47ELvD0b1yqojGK5xjKu2GoGgOD9325VhUZwGKdEPgziIIZST6S4QowCafc7MJCi/kVFfuPCKA X-Received: by 2002:a17:902:d81:: with SMTP id 1-v6mr17829086plv.324.1520358665892; Tue, 06 Mar 2018 09:51:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520358665; cv=none; d=google.com; s=arc-20160816; b=SR+G2XxtYcRYDCRlHebRPiuJq/ZnDEuoP5ewIx7qQnn5HnEvxpfwkof4vz6CpbWn+L Y8sLxYfKJ+o71PaaDKiVqapdIotaGXV/mUD6y6PJGp9u6zF9VVOHEkZ7fRDn7QU3y4aU OnFzWBkorXPFjbhtiQmAnZ+pE6JbJHt51RhojlN8m/QUKdAMa0w3P2PzYOO+SQwkdrmC J3SZpHvX/R/mokdnvm2/uVRZqelVGlWycsihn/MW8o/nXBh30YizATQVntXSOQyNSaEK 4J8uM8i5qlIav/O2nlK86k71Ve07Qnk+LM9Z05GrrwfDXhXw03x0kpS/oxSymvZHdvQq 5MvQ== 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=68EZaFu5/dvaIG2fO1ETxs/cNKbJUUE2mkOfLDjm5lU=; b=VVivFFsdpwt/CHQTASg/MXQNrJkec9j+MSPzYvDzm2ng3BvJpT40PzT56G6gEoi6Gy SlcryZZ8RDOdstjBx5koQLOZaiKiybA411j1fOZXnPfb96Viz5NoI26CfzXYAYg42DRU YtXlqDt8bx0A5eFPWu7DdAqVzu3rsybPIaTfCHNqCP8i8TfYYGotCIlgYFkFwdbLTSir hdxb4uevxmlH//k0zT+hW9VHodUW5nYMbtCZ/zgEFII2DFeXPCdss6pgrOe54HHkoveh yEh/55PdMBJ0M9hiONDcaARgCfvxy6vkSH8SJslsuamd131ewhAJUI72AXDR97fQ17x2 4XyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cisco.com header.s=iport header.b=Vaj9aVt+; 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 k24si12401965pfh.151.2018.03.06.09.51.05; Tue, 06 Mar 2018 09:51:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=fail header.i=@cisco.com header.s=iport header.b=Vaj9aVt+; 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 C1C0078AA6; Tue, 6 Mar 2018 17:51:02 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) by mail.openembedded.org (Postfix) with ESMTP id C22E278A83 for ; Tue, 6 Mar 2018 17:50:49 +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=1520358651; x=1521568251; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=wZFLZHTnZeNK0kAU+BNJayfrit59KnU1+CuG+kQf66I=; b=Vaj9aVt+ADTfc2gHGFwS2B5ZmAQ5gj9AuzgFupG1EvGpRzomQ8M9JZjU fNQ7k7cYBFGC78zdaph62f5rulZ6RpETNLV3X7Grr6ElylMVQ+ZQ5SqhD wl1q5XwlLv7+Y9HsXCMU/HcbXGrcB9FoI8E162BCkOLJbxC3fybigfg4r Q=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BKAgCk055a/5xdJa1dGQEBAQEBAQEBAQEBAQcBAQEBAYNQZnAom3GDGIwYijEKG4UVAoMDITcVAQIBAQEBAQECayeFJAZ5EFFXGYUbqzqEcoN0giaFMYIuhjSGI4UhBIgjhk6LdgmGVIorAoIzjEORKQIRGQGBLjQigVJNIxWCfQmEYB83jCUBAQE X-IronPort-AV: E=Sophos;i="5.47,432,1515456000"; d="scan'208";a="353773035" Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2018 17:50:50 +0000 Received: from kamensky-w541.cisco.com ([10.24.22.184]) (authenticated bits=0) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id w26HofYm007528 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NO); Tue, 6 Mar 2018 17:50:50 GMT From: Victor Kamensky To: openembedded-core@lists.openembedded.org Date: Tue, 6 Mar 2018 09:50:37 -0800 Message-Id: <1520358641-7062-2-git-send-email-kamensky@cisco.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520358641-7062-1-git-send-email-kamensky@cisco.com> References: <1520358641-7062-1-git-send-email-kamensky@cisco.com> X-Authenticated-User: kamensky@cisco.com Cc: Alexander Kanavin Subject: [OE-core] [RFC PATCH 1/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 f51bd28..af5b004 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 \