Part Number:PROCESSOR-SDK-AM57X
Tool/software: Linux
Hi,
I'm building processor SDK 05.00.00.15 on Ubuntu 16.04. When baking qtwebengine, It fails in one of linking stages with this message:
ERROR: Task (/home/smart/Projects/arago-project/tisdk/sources/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_compile) failed with exit code '1'
The log shows that it could not find the stdc++ library:
...
[10626/17407] LINK v8_snapshot/mkpeephole
FAILED: v8_snapshot/mkpeephole
/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools/g++ -pie -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -pthread -m32 -Wl,-rpath-link=v8_snapshot -Wl,--disable-new-dtags -Wl,-O1 -Wl,--gc-sections -o "v8_snapshot/mkpeephole" -Wl,--start-group @"v8_snapshot/mkpeephole.rsp" -Wl,--end-group -ldl -lrt
/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so when searching for -lstdc++
/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.a when searching for -lstdc++
/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
[10627/17407] AR v8_snapshot/obj/v8/libv8_libplatform.a
[10628/17407] ACTION //v8/src/inspector:protocol_generated_sources(/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.9.6+gitAUTOINC+cc526afe9c_e517527148-r0.arago0/build/src/toolchain:v8_snapshot)
[10629/17407] ACTION //v8:js2c(/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.9.6+gitAUTOINC+cc526afe9c_e517527148-r0.arago0/build/src/toolchain:v8_snapshot)
ninja: build stopped: subcommand failed.
Makefile.gn_run:327: recipe for target 'run_ninja' failed
make[3]: *** [run_ninja] Error 1
make[3]: Leaving directory '/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.9.6+gitAUTOINC+cc526afe9c_e517527148-r0.arago0/build/src/core'
Makefile:80: recipe for target 'sub-gn_run-pro-make_first' failed
make[2]: *** [sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.9.6+gitAUTOINC+cc526afe9c_e517527148-r0.arago0/build/src/core'
Makefile:78: recipe for target 'sub-core-make_first' failed
make[1]: *** [sub-core-make_first] Error 2
make[1]: Leaving directory '/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.9.6+gitAUTOINC+cc526afe9c_e517527148-r0.arago0/build/src'
Makefile:46: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
ERROR: oe_runmake failed
WARNING: /home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.9.6+gitAUTOINC+cc526afe9c_e517527148-r0.arago0/temp/run.do_compile.31633:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at /home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.9.6+gitAUTOINC+cc526afe9c_e517527148-r0.arago0/temp/log.do_compile.31633)
...
The complete log file (/home/smart/Projects/arago-project/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebengine/5.9.6+gitAUTOINC+cc526afe9c_e517527148-r0.arago0/temp/log.do_compile.31633)(Please visit the site to view this file) is attached.
Any help is greatly appreciated.
Thank you.