taucmdr
taucmdr copied to clipboard
10. Symbolication support for Mac
We need to test TAU Commander on the Mac with the new Symbolication support that is now part of TAU and see that we don’t build with -bfd=download
on the Mac. I think this is the case, but we just need to verify that MPI and TAU work well with Mac. I recall seeing some issues with -opencl
on the Mac with -framework opneCL
that we should test.
- From Sameer's email
See also #235
Note to self: symbolication = translating addresses to function names
libbfd doesn't work on mac because mac is MACHO not elf.
Man sure we don't build with bfd. Use apple's built in symbolication library which is completely undocumented.... guess and hope for the best. It seems to work.
Apple doesn't put debug symbols into executable itself, but creates a separate directory along side and puts debug info there. Private framework internally used by apple to generate call stacks. core-symbolication framework. No headers available.
https://github.com/mountainstorm/CoreSymbolication
Note: on macOS the configure line for TAU is being passed compilers as /usr/bin/gcc
and /usr/bin/g++
which are NOTE GNU compilers, but Apples llvm versions. The logic of how the compiler is picked for configuring and building TAU/PDT should be examined for this. Passing --source-inst never
causes only a baseline
measurement to be built & generated which can be helpful to get around this without having a completely bare initialization.