From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16750 invoked by alias); 18 Jun 2013 06:46:29 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 16710 invoked by uid 89); 18 Jun 2013 06:46:23 -0000 X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL autolearn=no version=3.3.1 Received: from mail-in-01.arcor-online.net (HELO mail-in-01.arcor-online.net) (151.189.21.41) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 18 Jun 2013 06:46:21 +0000 Received: from mail-in-17-z2.arcor-online.net (mail-in-17-z2.arcor-online.net [151.189.8.34]) by mx.arcor.de (Postfix) with ESMTP id 3C8895B7B8; Tue, 18 Jun 2013 08:46:19 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-17-z2.arcor-online.net (Postfix) with ESMTP id 3822810C00C; Tue, 18 Jun 2013 08:46:19 +0200 (CEST) Received: from [192.168.0.100] (dslc-082-083-211-234.pools.arcor-ip.net [82.83.211.234]) (Authenticated sender: holger.brunck@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPA id E10345B7B8; Tue, 18 Jun 2013 08:46:18 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net E10345B7B8 Message-ID: <51C0023A.6020707@keymile.com> Date: Tue, 18 Jun 2013 06:46:00 -0000 From: Holger Brunck User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Mark Wielaard CC: systemtap@sourceware.org Subject: Re: print_ubacktrace() and ppc 32 References: <51BF1C1E.7020208@keymile.com> <1371491014.4501.97.camel@bordewijk.wildebeest.org> In-Reply-To: <1371491014.4501.97.camel@bordewijk.wildebeest.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-q2/txt/msg00312.txt.bz2 Hi Mark, On 06/17/2013 07:43 PM, Mark Wielaard wrote: >> If I use print_ubacktrace() in my stap script it won't compile. I am getting two >> > main error messages and I ask myself which one tells me the real reason for the >> > error: >> > >> > backtraces for 32bit programs on 64bit kernels don't work. > Yes, if your powerpc kernel is 64bit, but the user program is 32bit > (same for 32bit user space on x86_64) then you will get that warning > during stap translation time (the stap script should still run, but > won't produce a user backtrace for the 32bit module/library/process). > This is bug: http://sourceware.org/bugzilla/show_bug.cgi?id=10272 > "backtraces fail with 32-on-64 executables" > no it's not a 32 Bit program running on a 64bit machine it's a 32 bit ppc binary crosscompiled on a 64 bit x86 architecture. The target architecture is a 32 bit ppc. Best regards Holger