Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2991321ima; Mon, 22 Oct 2018 21:14:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV63pzGf8xugcP96GcYlBZyB7SEZNrUIGMYAXQq5dDQvRZ80O7BNrXXjojpDuTQXJCvRmy2yZ X-Received: by 2002:a17:902:9693:: with SMTP id n19-v6mr35434324plp.20.1540268084566; Mon, 22 Oct 2018 21:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540268084; cv=none; d=google.com; s=arc-20160816; b=0LIlGFzb+3tsroGcI13bK4FIbDreeMFPlru9YfgkvdTDrk4QMisUcK4qbSb26lHsY6 bnSe6JOPh8aDrgdpqy1+rk5uzLuSgh2t2WElD0R5GJHlWSkNer53YysLdzvQfueO8mZN F6rHyMJwe3tOQzZwzDRkqOil2sdxRk3OabfIi4bamSSn+Emb50HkuvHtIMnabYoLuH70 3XBWkiHt8MuZ0XxG1x/QR463EnRtv4cjOEdug1jdPVDMtFFfFCNw9duM+M46idzdnlCD srpSrdthJxxvA3Mq1NC1MsXr4w2zF2giFXZgQPbHIi+4XBOsQOP8BdZXp+YSa8ImVf7h wyhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WHfMt53jHIDSnX/jGInyVJhlTb110o2r7e31FbK0XXA=; b=ZHsHF1bVo+y1xUuNlco72Q9AX1F1DMKjwgibB8sN7orxW8q4jqfrcpxsMpcosggFmH bFvHKjeRkFQKj+Of6XmXZK4/Ma4g/1SjzJ3vTeDQZ569c/oqpT/1/07FTZDfME4r07dA 4FIvSGOKdpZLDbRqxvJGg62XFGxlE+iFXkRjQ6FwbOhnDR8uwJyoc5L9nhdPJF1SjWMO WMAhstj0BAJ/fn2hRh9oAYKiPct+yhXAk2eDDk6WLLSEBMj3RAaCUuTOvyAVXo8FXo/h yYQxDvgqx8AjKG7TWBIebuCsjc+lkDbp7HfFQu7Ts7NWif8wVE8gK5Oh39+Q7tRovr6j zmJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13-v6si45598pgd.152.2018.10.22.21.14.27; Mon, 22 Oct 2018 21:14:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727356AbeJWMZd (ORCPT + 99 others); Tue, 23 Oct 2018 08:25:33 -0400 Received: from mga12.intel.com ([192.55.52.136]:53992 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726885AbeJWMZd (ORCPT ); Tue, 23 Oct 2018 08:25:33 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2018 21:04:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,414,1534834800"; d="scan'208";a="102452794" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.126]) by orsmga002.jf.intel.com with ESMTP; 22 Oct 2018 21:03:56 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 8D24F301004; Mon, 22 Oct 2018 21:03:56 -0700 (PDT) Date: Mon, 22 Oct 2018 21:03:56 -0700 From: Andi Kleen To: Milian Wolff Cc: linux-kernel@vger.kernel.org, Jiri Olsa , namhyung@kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho Subject: Re: Broken dwarf unwinding - wrong stack pointer register value? Message-ID: <20181023040356.GA6218@tassilo.jf.intel.com> References: <2335309.gnWok9HYb4@agathebauer> <1775744.0RuD2nMEIt@agathebauer> <87o9bmrsli.fsf@linux.intel.com> <2679413.U8bCfAhSQu@agathebauer> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2679413.U8bCfAhSQu@agathebauer> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > So what if my libm wasn't compiled with -fasynchronous-unwind-tables? We It's default (64bit since always and 32bit now too) Unless someone disabled it. However libm might be partially written in assembler and hand written assembler often has problems with unwind tables because the programmer has to get them correct explicitely. -Andi