Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python build fails with -fp-model errors #8

Open
mdean1120 opened this issue Apr 11, 2018 · 0 comments
Open

python build fails with -fp-model errors #8

mdean1120 opened this issue Apr 11, 2018 · 0 comments

Comments

@mdean1120
Copy link

Using Ubuntu 16.04 LTS on VirtualBox

| Skipping: __spins = __elision_data.__espins
| Skipping: __elision = __elision_data.__eelision
| Skipping: __PTHREAD_SPINS_DATA = int __spins
| Warning - could not find file bits/pthreadtypes-n32.h
| Warning - could not find file bits/pthreadtypes-64.h
| /home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/build
| NOTE: make -j 4 CROSS_COMPILE=yes HOSTPGEN=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native/usr/bin/python3-native/pgen HOSTPYTHON=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native/usr/bin/python3-native/python3 STAGING_LIBDIR=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot/usr/lib STAGING_BASELIBDIR=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot/lib STAGING_INCDIR=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot/usr/include LIB=lib ARCH=arm OPT= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= libpython3.so
| arm-oe-linux-gnueabi-gcc -march=armv7ve -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -DNDEBUG -fno-inline --sysroot=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot -c -Wsign-compare -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -Werror=declaration-after-statement -fp-model strict -IObjects -IInclude -IPython -I. -I../Python-3.5.3/Include -fPIC -DPy_BUILD_CORE -o Parser/acceler.o ../Python-3.5.3/Parser/acceler.c
| arm-oe-linux-gnueabi-gcc -march=armv7ve -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -DNDEBUG -fno-inline --sysroot=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot -c -Wsign-compare -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -Werror=declaration-after-statement -fp-model strict -IObjects -IInclude -IPython -I. -I../Python-3.5.3/Include -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o ../Python-3.5.3/Parser/grammar1.c
| arm-oe-linux-gnueabi-gcc -march=armv7ve -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -DNDEBUG -fno-inline --sysroot=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot -c -Wsign-compare -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -Werror=declaration-after-statement -fp-model strict -IObjects -IInclude -IPython -I. -I../Python-3.5.3/Include -fPIC -DPy_BUILD_CORE -o Parser/listnode.o ../Python-3.5.3/Parser/listnode.c
| arm-oe-linux-gnueabi-gcc: error: strict: No such file or directory
| arm-oe-linux-gnueabi-gcc: error: strict: No such file or directory
| arm-oe-linux-gnueabi-gcc -march=armv7ve -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -DNDEBUG -fno-inline --sysroot=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot -c -Wsign-compare -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0=/usr/src/debug/python3/3.5.3-r1.0 -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot-native= -fdebug-prefix-map=/home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/recipe-sysroot= -Werror=declaration-after-statement -fp-model strict -IObjects -IInclude -IPython -I. -I../Python-3.5.3/Include -fPIC -DPy_BUILD_CORE -o Parser/node.o ../Python-3.5.3/Parser/node.c
| arm-oe-linux-gnueabi-gcc: error: strict: No such file or directory
| arm-oe-linux-gnueabi-gcc: error: unrecognized command line option '-fp-model'
| arm-oe-linux-gnueabi-gcc: error: unrecognized command line option '-fp-model'
| Makefile:1552: recipe for target 'Parser/grammar1.o' failed
| make: *** [Parser/grammar1.o] Error 1
| make: *** Waiting for unfinished jobs....
| Makefile:1552: recipe for target 'Parser/acceler.o' failed
| make: *** [Parser/acceler.o] Error 1
| arm-oe-linux-gnueabi-gcc: error: strict: No such file or directory
| arm-oe-linux-gnueabi-gcc: error: unrecognized command line option '-fp-model'
| Makefile:1552: recipe for target 'Parser/node.o' failed
| make: *** [Parser/node.o] Error 1
| arm-oe-linux-gnueabi-gcc: error: unrecognized command line option '-fp-model'
| Makefile:1552: recipe for target 'Parser/listnode.o' failed
| make: *** [Parser/listnode.o] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/temp/run.do_compile.32349:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/opi/orange-pi-distro/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3/3.5.3-r1.0/temp/log.do_compile.32349)
ERROR: Task (/home/opi/orange-pi-distro/poky/meta/recipes-devtools/python/python3_3.5.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1114 tasks of which 1109 didn't need to be rerun and 1 failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant