perf_event_tests icon indicating copy to clipboard operation
perf_event_tests copied to clipboard

`make` fails on ppc64le - Error: unrecognized opcode: `rdpmc'

Open nasastry opened this issue 5 years ago • 1 comments

Cloned from master and ran make command.

gcc -Wall -O2 -g -I../../include -c -o rdpmc_invalid.o rdpmc_invalid.c /tmp/ccNwuEkW.s: Assembler messages: /tmp/ccNwuEkW.s:40: Error: unrecognized opcode: `rdpmc' make[2]: *** [: rdpmc_invalid.o] Error 1 make[2]: Leaving directory '/root/perf_event_tests-master/tests/rdpmc' make[1]: *** [Makefile:17: all] Error 2 make[1]: Leaving directory '/root/perf_event_tests-master/tests' make: *** [Makefile:9: all] Error 2

# uname -m
ppc64le

nasastry avatar Mar 21 '19 05:03 nasastry

Removing the following commit

https://github.com/deater/perf_event_tests/commit/660a091ed3dd471c3916bc1354f9ab06e6cbcc1e

helped to successfully compile using make

nasastry avatar Mar 21 '19 05:03 nasastry