Gentoo. Trying to valgrind simple app:
Code:
#include <iostream>
int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}
Getting:
vex x86->IR: unhandled instruction bytes: 0xC4 0xE2 0x79 0xF7
==16978== valgrind: Unrecognised instruction at address 0x4001a05.
==16978== at 0x4001A05: dl_main (rtld.c:1170)
==16978== by 0x40151C2: _dl_sysdep_start (dl-sysdep.c:249)
==16978== by 0x4004A42: _dl_start_final (rtld.c:331)
==16978== by 0x4004A42: _dl_start (rtld.c:557)
==16978== by 0x4000FE6: ??? (in /lib/ld-2.19.so)
dev-util/valgrind-3.10.1 was built with the following:
USE="-mpi"
CFLAGS="-march=native -O2 -pipe -fno-stack-protector"
CXXFLAGS="-march=native -O2 -pipe -fno-stack-protector"
sys-libs/glibc-2.19-r1 was built with the following:
USE="debug -gd (-hardened) (-multilib) -nscd -profile (-selinux) -suid -systemtap -vanilla"
CFLAGS="-march=native -pipe -g -O2 -fno-strict-aliasing -fno-stack-protector"
CXXFLAGS="-march=native -pipe -g -O2 -fno-strict-aliasing -fno-stack-protector"
Also, FEATURES="splitdebug" set in /etc/portage/env