m32r-linux-gnu-gprof: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/m32r-linux-gnu-gprof - from package: binutils-m32r-linux-gnu

You may install the required package with command yum install {package}
Error in other languages:
m32r-linux-gnu-gprof: bevel nie gevind nie
m32r-linux-gnu-gprof: comandă negăsită
m32r-linux-gnu-gprof: comando não encontrado
m32r-linux-gnu-gprof: commande introuvable
m32r-linux-gnu-gprof: command not found
m32r-linux-gnu-gprof: käsku ei ole
m32r-linux-gnu-gprof: không tìm thấy lệnh
m32r-linux-gnu-gprof: komanda nerasta
m32r-linux-gnu-gprof: Kommando nicht gefunden.
m32r-linux-gnu-gprof: kommandot finns inte
m32r-linux-gnu-gprof: komut yok
m32r-linux-gnu-gprof: nie znaleziono polecenia
m32r-linux-gnu-gprof: níor aimsíodh an t-ordú
m32r-linux-gnu-gprof: no se encontró la orden
m32r-linux-gnu-gprof: no s'ha trobat l'ordre
m32r-linux-gnu-gprof: opdracht niet gevonden
m32r-linux-gnu-gprof: parancs nem található
m32r-linux-gnu-gprof: perintah tidak ditemukan
m32r-linux-gnu-gprof: príkaz nenájdený
m32r-linux-gnu-gprof: příkaz nenalezen
m32r-linux-gnu-gprof: команда не найдена
m32r-linux-gnu-gprof: командата не е открита
m32r-linux-gnu-gprof: 命令找不到
m32r-linux-gnu-gprof: コマンドが見つかりません