print_ubacktrace() and ppc 32

Holger Brunck holger.brunck@keymile.com
Tue Jun 18 06:46:00 GMT 2013


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



More information about the Systemtap mailing list