I am trying to build core-image-minimal using poky-pyro 2.3.1, its corresponding Intel-corei7-64 bsp, and building on Debian Jessie. I haven't customized it yet so its just the generic minimal image. Everything else cross-compiles except for python which gives me these errors:
| x86_64-poky-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot -c -fno-strict-aliasing -fp-model strict -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1=/usr/src/debug/python/2.7.13-r1 -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1=/usr/src/debug/python/2.7.13-r1 -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot= -I. -IInclude -I../Python-2.7.13/Include -fPIC -DPy_BUILD_CORE -o Modules/python.o ../Python-2.7.13/Modules/python.c
| x86_64-poky-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot -c -fno-strict-aliasing -fp-model strict -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1=/usr/src/debug/python/2.7.13-r1 -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1=/usr/src/debug/python/2.7.13-r1 -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot= -I. -IInclude -I../Python-2.7.13/Include -fPIC -DPy_BUILD_CORE -o Parser/acceler.o ../Python-2.7.13/Parser/acceler.c
| ERROR: oe_runmake failed
| x86_64-poky-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot -c -fno-strict-aliasing -fp-model strict -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1=/usr/src/debug/python/2.7.13-r1 -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1=/usr/src/debug/python/2.7.13-r1 -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot= -I. -IInclude -I../Python-2.7.13/Include -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o ../Python-2.7.13/Parser/grammar1.c
| x86_64-poky-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot -c -fno-strict-aliasing -fp-model strict -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1=/usr/src/debug/python/2.7.13-r1 -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1=/usr/src/debug/python/2.7.13-r1 -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/recipe-sysroot= -I. -IInclude -I../Python-2.7.13/Include -fPIC -DPy_BUILD_CORE -o Parser/listnode.o ../Python-2.7.13/Parser/listnode.c
| x86_64-poky-linux-gcc: error: strict: No such file or directory
| x86_64-poky-linux-gcc: error: strict: No such file or directory
| x86_64-poky-linux-gcc: error: strict: No such file or directory
| x86_64-poky-linux-gcc: error: unrecognized command line option '-fp-model'
| Makefile:694: recipe for target 'Modules/python.o' failed
| make: *** [Modules/python.o] Error 1
| make: *** Waiting for unfinished jobs....
| x86_64-poky-linux-gcc: error: unrecognized command line option '-fp-model'
| x86_64-poky-linux-gcc: error: strict: No such file or directory
| Makefile:1373: recipe for target 'Parser/grammar1.o' failed
| make: *** [Parser/grammar1.o] Error 1
| x86_64-poky-linux-gcc: error: unrecognized command line option '-fp-model'
| Makefile:1373: recipe for target 'Parser/listnode.o' failed
| make: *** [Parser/listnode.o] Error 1
| x86_64-poky-linux-gcc: error: unrecognized command line option '-fp-model'
| Makefile:1373: recipe for target 'Parser/acceler.o' failed
| make: *** [Parser/acceler.o] Error 1
| ERROR: Function failed: do_compile (log file is located at /home/intel_build/tmp/work/corei7-64-poky-linux/python/2.7.13-r1/temp/log.do_compile.11642)
This happens for both python 2 and 3. I read up on it a bit and it seems the fp-model option is for the intel c compiler icc. Is there a library for gcc somewhere that I am missing, or do I just need to replace the fp-model with the gcc equivalent?