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.