When compiling TVM in Debug with clang-6.0, my build is spammed with the warning:
warning: argument unused during compilation: '-rdynamic'
I think this is coming from the fact that -rdynamic is added to the C/++ flags for the Debug configuration in CMakeLists.txt.
Clang produces this warning when you compile (but not link) files with the -rdynamic flag, e.g. here.
It seems like the flag shouldn’t be passed when going from .cc–>.o, if it’s going to be passed when everything is linked together.
Any advice on this? Is it just something about my setup?