[yocto] Python build failed on x86-64
Brijesh Singh
brijeshkumar.singh at amd.com
Tue Nov 17 14:34:41 PST 2015
Hello,
Getting the following error when building the core-image-minimal for genericx86-64 on Ubuntu 14.04.03.
I did followed the yocoto quickstart guide for installation the Ubuntu dependent packages etc. The same error is seen on both master as well as jethro branch. Any tips on what I am missing, is this a knowing issue ?
The error log:
| x86_64-poky-linux-ar rc libpython2.7.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/zipimport.o Modules/symtablemodule.o Modules/md5module.o Modules/md5.o Modules/xxsubtype.o
| x86_64-poky-linux-ranlib libpython2.7.a
| x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/brijesh/poky/build/tmp/sysroots/genericx86-64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Xlinker -export-dynamic -o python \
| Modules/python.o \
| -L. -lpython2.7 -lpthread -ldl -lpthread -lutil -lm
| _PYTHON_PROJECT_BASE=/home/brijesh/poky/build/tmp/work/core2-64-poky-linux/python/2.7.9-r1/build _PYTHON_HOST_PLATFORM=linux2-x86_64 PYTHONPATH=/home/brijesh/poky/build/tmp/work/core2-64-poky-linux/python/2.7.9-r1/build/build/lib.linux2-x86_64-2.7:/home/brijesh/poky/build/tmp/work/core2-64-poky-linux/python/2.7.9-r1/Python-2.7.9/Lib:/home/brijesh/poky/build/tmp/work/core2-64-poky-linux/python/2.7.9-r1/Python-2.7.9/Lib/plat-linux2 python2.7 -S -m sysconfig --generate-posix-vars ;\
| if test $? -ne 0 ; then \
| echo "generate-posix-vars failed" ; \
| rm -f ./pybuilddir.txt ; \
| exit 1 ; \
| fi
| Illegal instruction (core dumped)
| make: *** [sharedmods] Error 132
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_install (log file is located at /home/brijesh/poky/build/tmp/work/core2-64-poky-linux/python/2.7.9-r1/temp/log.do_install.9970)
ERROR: Task 1260 (/home/brijesh/poky/meta/recipes-devtools/python/python_2.7.9.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1833 tasks of which 1066 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/brijesh/poky/meta/recipes-devtools/python/python_2.7.9.bb, do_install
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
-Brijesh
More information about the yocto
mailing list