sprof “PLTREL not found error”
问题 I'm trying to profile our shared library, but whenever I have the environmental variable LD_PROFILE set, I get "PLTREL not found in object ". What gives? Is there some sort of linker flag I'm missing or what? There seems to be no information about this on the internets. The man page for sprof is about 10 words long. 回答1: According to an unanswered question on Google Groups, it looks like you aren't the very first person with this problem. I think pltrel means plt-rel ative; in some ELF design