AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only

mt__trce() function issue on AIX 64bit

  • 1.  mt__trce() function issue on AIX 64bit

    Posted Tue March 03, 2009 10:05 AM

    Originally posted by: SystemAdmin


    I use function mt__trce to create stack trace for my application. I use -O3 -qstrict flags for optimizations purposes.
    On AIX 32bit everything works fine, but on AIX 64bit, mt__trce does not generate function names and line numbers. I use -g -qtbtable=full options to instruct compiler to include debug information.

    What options should I provide to generate function names and line numbers on AIX 64bit?

    PS:
    With -qfullpath -qlinedebug flags function mt__trce() generates only function names but not line numbers.