I am trying to install VTune 2013 Update 16 on Archlinux 3.14.2-1. However, after following the instructions here and on the archwiki (as posted in the last message), I was only able to install the RPMs. When I try to compile the drivers, I get following error.
I am using GNU compilers. Do I need to install intel compilers to compile the drivers? Any suggestions are welcome.
Makefile:615: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler gcc: error: unrecognized command line option ‘-fstack-protector-strong’ scripts/Makefile.build:308: recipe for target '/opt/intel/vtune_amplifier_xe_2013/sepdk/src/lwpmudrv.o' failed
The problem may be due to system environment, or you are using high Linux kernel 3.14.2-1 (gcc 4.9 supports 3.14 kernel?)
You might use MACRO CONFIG_CC_STACKPROTECTOR_REGULAR ( or CONFIG_CC_STACKPROTECTOR_NONE) instead of MACRO
I don't know if latest u16 (driver test) can support kernel 3.14 well, you may try low Linux kernel platform, e.g 3.10 - if above does't work.
Thank you for your advice Peter. I moved back to linux 3.10.39 kernel and I was able to compile it. I need to disable the `nmi_watchdog` and it should work. Will report back if there are any further issues. By changing the kernel, I was able to compile the drivers effortlessly.