Tool/software: Linux
hi guys:
i followed the instruction on
processors.wiki.ti.com/index.php
and i'm trying to build the processor sdk for am3354 based on ti arago. the version i want to build is 03.02.00.05.
here is the steps i took:
apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386
dpkg-reconfigure dash
wget releases.linaro.org/.../gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
tar -Jxvf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME
download CCS6.1.3.00034_linux.tar.gz to ~/Downloads(default location)
$cd ~
$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.02.00.05-config.txt
visit
software-dl.ti.com/.../index_FDS.html
download am335x-evm-linux-sdk-arago-src-03.02.00.05.tar.xz
$cd ~/tisdk
$mkdir downloads
$cp $HOME/Downloads/CCS6.1.3.00034_linux.tar.gz downloads/
$touch downloads/CCS6.1.3.00034_linux.tar.gz.done
$cd downloads
$tar xvfJ ~/Downloads/am335x-evm-linux-sdk-arago-src-03.02.00.05.tar.xz
$am335x-evm-linux-sdk-arago-src-03.02.00.05/get_build_sources.sh am335x-evm-linux-sdk-arago-src-03.02.00.05/source_pkg_list.txt
$cd ../build
$ echo 'PACKAGECONFIG_append = " accessibility"' >> conf/local.conf
$ . conf/setenv
$ export PATH=$HOME/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH
$ touch conf/sanity.conf
$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
so.
after all those steps. the building process can be started .
but still it will fail when do_compile the qtwebengine-5.6.2.
normall it will build qtwebengine-5.6.2 for 3 hours. then tell me qtwebengine-5.6.2 failed to compile.which is really crazy.
I'm attaching the failure log partially here. i will attach the entire log in the next message in this post.
here:
...
| compiling qtwebenginecoreglobal.cpp
| compiling qwebenginecookiestore.cpp
| compiling qwebengineurlrequestinfo.cpp
| compiling qwebengineurlrequestjob.cpp
| compiling qwebengineurlschemehandler.cpp
| moc qwebenginecookiestore.h
| moc qwebengineurlrequestinterceptor.h
| moc qwebengineurlrequestjob.h
| moc qwebengineurlschemehandler.h
| compiling .moc/moc_qwebenginecookiestore.cpp
| compiling .moc/moc_qwebengineurlrequestinterceptor.cpp
| compiling .moc/moc_qwebengineurlrequestjob.cpp
| compiling .moc/moc_qwebengineurlschemehandler.cpp
| rm -f Release/libqtwebenginecoreapi.a
| arm-linux-gnueabihf-ar cqs Release/libqtwebenginecoreapi.a .obj/qtwebenginecoreglobal.o .obj/qwebenginecookiestore.o .obj/qwebengineurlrequestinfo.o .obj/qwebengineurlrequestjob.o .obj/qwebengineurlschemehandler.o .obj/moc_qwebenginecookiestore.o .obj/moc_qwebengineurlrequestinterceptor.o .obj/moc_qwebengineurlrequestjob.o .obj/moc_qwebengineurlschemehandler.o
| make[3]: Leaving directory `/root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0/git/src/core/api'
| ( test -e Makefile.core_module || /root/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/qt5/qmake /root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0/git/src/core/core_module.pro GYP_CONFIG+=use_system_yasm WEBENGINE_CONFIG+=use_system_flac WEBENGINE_CONFIG+=use_system_libevent WEBENGINE_CONFIG+=use_system_libwebp WEBENGINE_CONFIG+=use_system_libxslt WEBENGINE_CONFIG+=use_system_speex QTWEBENGINE_ROOT=/root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0/git 'QMAKE_CXX=arm-linux-gnueabihf-g++ -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/root/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm' 'QMAKE_CC=arm-linux-gnueabihf-gcc -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/root/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm' 'QMAKE_LINK=arm-linux-gnueabihf-g++ -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/root/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm' 'QMAKE_CFLAGS= -isystem/root/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0=/usr/src/debug/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0 -fdebug-prefix-map=/root/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux= -fdebug-prefix-map=/root/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm= ' 'QMAKE_CXXFLAGS= -isystem/root/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0=/usr/src/debug/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0 -fdebug-prefix-map=/root/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux= -fdebug-prefix-map=/root/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm= ' 'QMAKE_AR=arm-linux-gnueabihf-ar cqs' -after -o Makefile.core_module ) && make -f Makefile.core_module
| make[3]: Entering directory `/root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0/git/src/core'
| creating linker version script QtWebEngineCore.version
| rm -f libQt5WebEngineCore.so.5.6.2 libQt5WebEngineCore.so libQt5WebEngineCore.so.5 libQt5WebEngineCore.so.5.6
| linking ../../lib/libQt5WebEngineCore.so.5.6.2
| collect2: fatal error: ld terminated with signal 9 [Killed]
| compilation terminated.
| make[3]: *** [../../lib/libQt5WebEngineCore.so.5.6.2] Error 1
| make[3]: Leaving directory `/root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0/git/src/core'
| make[2]: *** [sub-core_module-pro-make_first] Error 2
| make[2]: Leaving directory `/root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0/git/src/core'
| make[1]: *** [sub-core-make_first] Error 2
| make[1]: Leaving directory `/root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0/git/src'
| make: *** [sub-src-make_first] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /root/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.6.2+gitAUTOINC+ec84507898_4d61c01b71-r0.arago0.tisdk0/temp/log.do_compile.2563)
ERROR: Task 3063 (/root/tisdk/sources/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4435 tasks of which 3993 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/root/tisdk/sources/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb, do_compile
Summary: There were 53 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
anyone have any idea what i should do?
i've changed no source code.
actually i don't even need qtwebengine in my actual product.
so if anybody can tell me how to remove it rather than fixing the failure...that will also be great.
thanks guys.