When trying to compile ocio for x86, the following error appears:
ninja: job failed: /usr/bin/g++ -DOpenColorIO_EXPORTS -I/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/include/OpenColorIO/.. -I/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/include/OpenColorIO -I/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO -I/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/build/include/OpenColorIO -I/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/build/src/OpenColorIO -I/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/build/generated_include -isystem /usr/include/Imath -isystem /builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/build/ext/dist/include -isystem /builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/ext/sampleicc/src/include -isystem /builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/utils/.. -isystem /builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/ext/xxHash/src/include -isystem /builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/build/ext/dist/include/minizip-ng -w -msse2 -O3 -DNDEBUG -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/CPUInfo.cpp.o -MF src/OpenColorIO/CMakeFiles/OpenColorIO.dir/CPUInfo.cpp.o.d -o src/OpenColorIO/CMakeFiles/OpenColorIO.dir/CPUInfo.cpp.o -c /builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp: Assembler messages:
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:54: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:56: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:54: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:56: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:54: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:56: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:54: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:56: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:54: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:56: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:54: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:56: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:54: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:56: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:54: Error: bad register name `%rbx'
/builds/lmarz/aports/community/opencolorio/src/OpenColorIO-2.3.0/src/OpenColorIO/CPUInfo.cpp:56: Error: bad register name `%rbx'
It seems like you accidentally used the 64-bit register %rbx instead of the 32-bit register %ebx there.
When trying to compile ocio for x86, the following error appears:
It seems like you accidentally used the 64-bit register
%rbx
instead of the 32-bit register%ebx
there.