Hello,
I am trying to cross compile stressapptest for aarch64, getting below error:
g++ -DHAVE_CONFIG_H -I. -DCHECKOPTS -Wreturn-type -Wunused -Wuninitialized -Wall -O3 -funroll-all-loops -funroll-loops -DNDEBUG -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
mv -f .deps/main.Tpo .deps/main.Po
g++ -DHAVE_CONFIG_H -I. -DCHECKOPTS -Wreturn-type -Wunused -Wuninitialized -Wall -O3 -funroll-all-loops -funroll-loops -DNDEBUG -MT os.o -MD -MP -MF .deps/os.Tpo -c -o os.o os.cc
os.cc:215:2: warning: #warning "Unsupported CPU type: unable to determine feature set."
os.h: Assembler messages:
os.h:160: Error: no such instruction: `dc cvau,%rsi'
os.h:161: Error: suffix or operands invalid for `ds'
os.h:162: Error: no such instruction: `ic ivau,%rsi'
os.h:163: Error: suffix or operands invalid for `ds'
os.h:164: Error: no such instruction: `isb'
make[2]: *** [os.o] Error 1
Above error gives me clue that instead of cross compiler, make still using the standard g++/gcc on my machine not the correct one. Can someone help me to get past this error ?
Thanks
-Prakash