impossible constraint in 'asm' error
问题 I'm trying to cross-compile a c++ file with arm-linux-gnueabi-g++.: make CROSS_COMPILE=arm-linux-gnueabi- all But an error occurs: arm-linux-gnueabi-g++ -O2 -c -oa32.o PMCTestA.cpp In file included from PMCTest.h:54:0, from PMCTestA.cpp:24: PMCTestLinux.h: In member function ‘void CCounters::GetProcessorVendor()’: PMCTestLinux.h:63:73: error: impossible constraint in ‘asm’ make: *** [a32.o] Error 1 And here is part of the code in PMCTestLinux.h from row 61: static void Cpuid (int Output[4],