Skip to contentSkip to conversation

New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain

Buildroot bugzilla at busybox.net 5 participants 21 messages Apr 11, 2019 – Sep 18, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316) to build qt5webengine. The qt5webengine version is v5.12.2.
I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"
GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
/usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd buildtools/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui2/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.ninja
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn_run
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn_run
ninja -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
QtWebEngineCore
ninja: Entering directory
`/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o
/home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o
obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from
../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from
../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc: In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc: In
static member function 'static bool
sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"
GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
/usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd buildtools/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui2/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.ninja
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn_run
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn_run
ninja -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
QtWebEngineCore
ninja: Entering directory
`/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o
/home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/convolver.cc -o
obj/skia/skia/convolver.o
In file included from
/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from
/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:
/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++ -MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -I../../3rdparty/chromium/third_party/skia/include/codec -I../../3rdparty/chromium/third_party/skia/include/private -I../../3rdparty/chromium/third_party/skia/include/client/android -I../../3rdparty/chromium/third_party/skia/src/codec -I../../3rdparty/chromium/third_party/skia/src/core -I../../3rdparty/chromium/third_party/skia/src/image -I../../3rdparty/chromium/third_party/skia/src/images -I../../3rdparty/chromium/third_party/skia/src/opts -I../../3rdparty/chromium/third_party/skia/src/pdf -I../../3rdparty/chromium/third_party/skia/src/ports -I../../3rdparty/chromium/third_party/skia/src/shaders -I../../3rdparty/chromium/third_party/skia/src/shaders/gradients -I../../3rdparty/chromium/third_party/skia/src/sfnt -I../../3rdparty/chromium/third_party/skia/src/utils -I../../3rdparty/chromium/third_party/skia/src/lazy -I../../3rdparty/chromium/third_party/skia/third_party/gif -I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen -I../../3rdparty/chromium/third_party/libwebp/src -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16 -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2 -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti --sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot -fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
from
../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
from
../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 372 lines · On Thu, Apr 11, 2019 at 5:04 AM <[email protected]> wrote:

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
to build qt5webengine. The qt5webengine version is v5.12.2. I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -19
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o
obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from

../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from
../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX

obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV

(quoted diff) +0 -70
-DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
 
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/convolver.cc -o

obj/skia/skia/convolver.o
In file included from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 8 lines

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190610/c6683c9e/attachment.html>

#2 lore raw
In reply to bugzilla at busybox.net

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++ -MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -I../../3rdparty/chromium/third_party/skia/include/codec -I../../3rdparty/chromium/third_party/skia/include/private -I../../3rdparty/chromium/third_party/skia/include/client/android -I../../3rdparty/chromium/third_party/skia/src/codec -I../../3rdparty/chromium/third_party/skia/src/core -I../../3rdparty/chromium/third_party/skia/src/image -I../../3rdparty/chromium/third_party/skia/src/images -I../../3rdparty/chromium/third_party/skia/src/opts -I../../3rdparty/chromium/third_party/skia/src/pdf -I../../3rdparty/chromium/third_party/skia/src/ports -I../../3rdparty/chromium/third_party/skia/src/shaders -I../../3rdparty/chromium/third_party/skia/src/shaders/gradients -I../../3rdparty/chromium/third_party/skia/src/sfnt -I../../3rdparty/chromium/third_party/skia/src/utils -I../../3rdparty/chromium/third_party/skia/src/lazy -I../../3rdparty/chromium/third_party/skia/third_party/gif -I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen -I../../3rdparty/chromium/third_party/libwebp/src -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16 -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2 -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti --sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot -fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
from
../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
from
../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

Quoted 372 lines · On Thu, Apr 11, 2019 at 5:04 AM <[email protected]> wrote:

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
to build qt5webengine. The qt5webengine version is v5.12.2. I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -19
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o
obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from

../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from
../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX

obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV

(quoted diff) +0 -70
-DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
 
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/convolver.cc -o

obj/skia/skia/convolver.o
In file included from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 8 lines

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190610/747ac5a6/attachment-0001.html>

#3 lore raw

Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information...

David.

Quoted 551 lines · Nathan Ford

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
?- External gcc 6.3.0
?- External gcc 8.3.0
?- Buildroot built 8.x
?- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++

(quoted diff) +0 -69
-MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config
-I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__=
-funwind-tables -fPIC -pipe -pthread -m64 -fno-omit-frame-pointer -g0
-fvisibility=hidden -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections
-ffunction-sections
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c

../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41, ? ? ? ? ? ? ? ? ?from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400, ? ? ? ? ? ? ? ? ?from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52, ? ? ? ? ? ? ? ? ?from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39, ? ? ? ? ? ? ? ? ?from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39, ? ? ? ? ? ? ? ? ?from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39, ? ? ? ? ? ? ? ? ?from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54, ? ? ? ? ? ? ? ? ?from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
? ? ? ? ? ? ? ? ?from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
? ? ? ? ? ? ? ? ?from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
? ? ? ? ? ? ? ? ?from ../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
? ? ? ? ? ? ? ? ?from ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

On Thu, Apr 11, 2019 at 5:04 AM <[email protected] <mailto:[email protected]>> wrote:

    https://bugs.busybox.net/show_bug.cgi?id=11776

    ? ? ? ? ? ? Bug ID: 11776
    ? ? ? ? ? ?Summary: qt5webengine 5.12.2 build failed with arm
    toolchain
    ? ? ? ? ? ? ? ? ? ? and linaro toolchain
    ? ? ? ? ? ?Product: buildroot
    ? ? ? ? ? ?Version: unspecified
    ? ? ? ? ? Hardware: All
    ? ? ? ? ? ? ? ? OS: Linux
    ? ? ? ? ? ? Status: NEW
    ? ? ? ? ? Severity: normal
    ? ? ? ? ? Priority: P5
    ? ? ? ? ?Component: Other
    ? ? ? ? ? Assignee: unassigned at buildroot.uclibc.org
    <mailto:[email protected]>
    ? ? ? ? ? Reporter: jacky at ticctv.cn <mailto:[email protected]>
    ? ? ? ? ? ? ? ? CC: buildroot at uclibc.org <mailto:[email protected]>
    ? Target Milestone: ---

    I'm using the least buildroot (commit
    4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
    to build qt5webengine. The qt5webengine version is? v5.12.2.
    I use arm toolchain and linaro toolchain for building, but both
    failed.

    Here is the build log for arm toolchain:
    dev at Dev:^buildroot-qt$make
    >>> qt5webengine 5.12.2 Building
    PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
    PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
    NINJAFLAGS="-j9"
    GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
    /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
    cd src/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro
    <http://src.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    cd buildtools/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake
    -o Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro
    <http://buildtools.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    cd webengine/ui/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake
    -o Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro
    <http://ui.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    cd webengine/ui2/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake -o Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro
    <http://ui2.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    ( test -e Makefile.configure_host ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.configure_host
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro
    <http://configure_host.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.configure_host
    ( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.ninja
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro
    <http://ninja.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.ninja
    make[4]: Nothing to be done for 'first'.
    make[4]: Nothing to be done for 'first'.
    make[5]: Nothing to be done for 'first'.
    ( test -e Makefile.configure_target ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.configure_target
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro
    <http://configure_target.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.configure_target
    make[5]: Nothing to be done for 'first'.
    ( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.gn
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro
    <http://gn.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.gn
    make[5]: Nothing to be done for 'first'.
    make[5]: Nothing to be done for 'first'.
    cd core/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro
    <http://core.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    ( test -e Makefile.core_headers ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.core_headers
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro
    <http://core_headers.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.core_headers
    make[5]: Nothing to be done for 'first'.
    ( test -e Makefile.core_generator ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.core_generator
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro
    <http://core_generator.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.core_generator
    make[5]: Nothing to be done for 'first'.
    ( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.gn_run
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro
    <http://gn_run.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.gn_run
    ninja -j9 -C
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
    QtWebEngineCore
    ninja: Entering directory
    `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
    [1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
    FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o
    /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
    obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d
    -DSANDBOX_IMPLEMENTATION
    -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
    -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
    -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
    -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    -D_LARGEFILE64_SOURCE
    -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
    -DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
    -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
    -I../../3rdparty/chromium -fno-strict-aliasing
    --param=ssp-buffer-size=4
    -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
    -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
    -Wno-unused-local-typedefs -Wno-maybe-uninitialized
    -Wno-deprecated-declarations -fno-delete-null-pointer-checks
    -Wno-comments
    -Wno-dangling-else -Wno-packed-not-aligned
    -Wno-missing-field-initializers
    -Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2
    -fvisibility=hidden
    -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
    -Wno-subobject-linkage -fno-exceptions -fno-rtti
    --sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
    -fvisibility-inlines-hidden -c
    ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
    -o
    obj/sandbox/linux/seccomp_bpf/syscall_sets.o
    In file included from
    ../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
    ? ? ? ? ? ? ? ? ?from
    ../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
    ? ? ? ? ? ? ? ? ?from
    ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
    ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
    In
    static member function 'static bool
    sandbox::SyscallSets::IsFileSystem(int)':
    ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
    error: '__NR3264_fstatat' was not declared in this scope
    ? ? ?case __NR_newfstatat:? // fstatat(). EPERM not a valid errno.
    ? ? ? ? ? ^~~~~~~~~~~~~~~
    ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
    In
    static member function 'static bool
    sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':
    ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
    error: '__NR3264_fstat' was not declared in this scope
    ? ? ?case __NR_fstat:
    ? ? ? ? ? ^~~~~~~~~~
    [9/11410] CXX
    obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
    ninja: build stopped: subcommand failed.
    Makefile.gn_run:336: recipe for target 'run_ninja' failed
    make[5]: *** [run_ninja] Error 1
    Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed
    make[4]: *** [sub-gn_run-pro-make_first] Error 2
    Makefile:79: recipe for target 'sub-core-make_first' failed
    make[3]: *** [sub-core-make_first] Error 2
    Makefile:48: recipe for target 'sub-src-make_first' failed
    make[2]: *** [sub-src-make_first] Error 2
    package/pkg-generic.mk:238 <http://pkg-generic.mk:238>: recipe for
    target
    '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed
    make[1]: ***
    [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built]
    Error 2
    Makefile:23: recipe for target '_all' failed
    make: *** [_all] Error 2



    Here is the build log for linaro toolchain:
    dev at Dev:^buildroot-qt$make
    >>> qt5webengine 5.12.2 Building
    PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
    PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
    NINJAFLAGS="-j9"
    GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
    /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
    cd src/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro
    <http://src.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    cd buildtools/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake
    -o Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro
    <http://buildtools.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    cd webengine/ui/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake
    -o Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro
    <http://ui.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    cd webengine/ui2/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake -o Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro
    <http://ui2.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    make[4]: Nothing to be done for 'first'.
    make[4]: Nothing to be done for 'first'.
    ( test -e Makefile.configure_host ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.configure_host
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro
    <http://configure_host.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.configure_host
    ( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.ninja
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro
    <http://ninja.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.ninja
    make[5]: Nothing to be done for 'first'.
    ( test -e Makefile.configure_target ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.configure_target
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro
    <http://configure_target.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.configure_target
    make[5]: Nothing to be done for 'first'.
    ( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.gn
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro
    <http://gn.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.gn
    make[5]: Nothing to be done for 'first'.
    make[5]: Nothing to be done for 'first'.
    cd core/ && ( test -e Makefile ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro
    <http://core.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile
    ( test -e Makefile.core_headers ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.core_headers
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro
    <http://core_headers.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.core_headers
    make[5]: Nothing to be done for 'first'.
    ( test -e Makefile.core_generator ||
    /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.core_generator
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro
    <http://core_generator.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.core_generator
    make[5]: Nothing to be done for 'first'.
    ( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o
    Makefile.gn_run
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro
    <http://gn_run.pro>
    WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
    /usr/bin/make -f
    Makefile.gn_run
    ninja -j9 -C
    /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
    QtWebEngineCore
    ninja: Entering directory
    `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
    [1/11212] CXX obj/skia/skia/convolver.o
    FAILED: obj/skia/skia/convolver.o
    /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
    obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV
    -DUSE_AURA=1
    -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
    -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
    -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
    -DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
    -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
    -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
    -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
    -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
    -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
    -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
    -DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
    -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
    -DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
    -I../../3rdparty/chromium/skia/config
    -I../../3rdparty/chromium/skia/ext
    -I../../3rdparty/chromium/third_party/skia/include/c
    -I../../3rdparty/chromium/third_party/skia/include/config
    -I../../3rdparty/chromium/third_party/skia/include/core
    -I../../3rdparty/chromium/third_party/skia/include/effects
    -I../../3rdparty/chromium/third_party/skia/include/encode
    -I../../3rdparty/chromium/third_party/skia/include/gpu
    -I../../3rdparty/chromium/third_party/skia/include/images
    -I../../3rdparty/chromium/third_party/skia/include/lazy
    -I../../3rdparty/chromium/third_party/skia/include/pathops
    -I../../3rdparty/chromium/third_party/skia/include/pdf
    -I../../3rdparty/chromium/third_party/skia/include/pipe
    -I../../3rdparty/chromium/third_party/skia/include/ports
    -I../../3rdparty/chromium/third_party/skia/include/utils
    -I../../3rdparty/chromium/third_party/skia/src/gpu
    -I../../3rdparty/chromium/third_party/skia/src/sksl
    -I../../3rdparty/chromium/third_party/skia/include/codec
    -I../../3rdparty/chromium/third_party/skia/include/private
    -I../../3rdparty/chromium/third_party/skia/include/client/android
    -I../../3rdparty/chromium/third_party/skia/src/codec
    -I../../3rdparty/chromium/third_party/skia/src/core
    -I../../3rdparty/chromium/third_party/skia/src/image
    -I../../3rdparty/chromium/third_party/skia/src/images
    -I../../3rdparty/chromium/third_party/skia/src/opts
    -I../../3rdparty/chromium/third_party/skia/src/pdf
    -I../../3rdparty/chromium/third_party/skia/src/ports
    -I../../3rdparty/chromium/third_party/skia/src/shaders
    -I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
    -I../../3rdparty/chromium/third_party/skia/src/sfnt
    -I../../3rdparty/chromium/third_party/skia/src/utils
    -I../../3rdparty/chromium/third_party/skia/src/lazy
    -I../../3rdparty/chromium/third_party/skia/third_party/gif
    -I../../3rdparty/chromium/third_party/skia/src/effects/gradients
    -I../../3rdparty/chromium/third_party/libwebp/src
    -I../../3rdparty/chromium/third_party/libpng
    -I../../3rdparty/chromium/third_party/zlib
    -I../../3rdparty/chromium/third_party/libjpeg_turbo
    -I../../3rdparty/chromium/third_party/icu/source/common
    -I../../3rdparty/chromium/third_party/icu/source/i18n
    -fno-strict-aliasing
    --param=ssp-buffer-size=4 -fstack-protector
    -Wno-builtin-macro-redefined
    -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC
    -pipe -pthread
    -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
    -Wno-unused-local-typedefs
    -Wno-maybe-uninitialized -Wno-deprecated-declarations
    -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
    -Wno-packed-not-aligned -Wno-missing-field-initializers
    -Wno-unused-parameter
    -isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
    -isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
    -std=gnu++14 -fno-exceptions -fno-rtti
    --sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
    -fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
    -Wno-class-memaccess
    -Wno-subobject-linkage -c
    ../../3rdparty/chromium/skia/ext/convolver.cc -o
    obj/skia/skia/convolver.o
    In file included from
    /home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
    ? ? ? ? ? ? ? ? ?from
    /home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,
    ? ? ? ? ? ? ? ? ?from ../../3rdparty/chromium/skia/ext/convolver.cc:5:
    /home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
    fatal error: stdlib.h: No such file or directory
    ?#include_next <stdlib.h>
    ? ? ? ? ? ? ? ?^~~~~~~~~~
    compilation terminated.

    -- 
    You are receiving this mail because:
    You are on the CC list for the bug.
    _______________________________________________
    buildroot mailing list
    buildroot at busybox.net <mailto:[email protected]>
    http://lists.busybox.net/mailman/listinfo/buildroot
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190617/10b761ff/attachment.html>

#4 lore raw

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

Quoted 519 lines · David Barbion

Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information... David.
On 11/06/2019 03:21, Nathan Ford wrote:

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++

(quoted diff) +0 -66
-MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c

../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
from
../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
from
../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

Quoted 379 lines · On Thu, Apr 11, 2019 at 5:04 AM <[email protected]> wrote:

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
to build qt5webengine. The qt5webengine version is v5.12.2. I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -19
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o
obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from

../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from
../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX

obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV

(quoted diff) +0 -70
-DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
 
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/convolver.cc -o

obj/skia/skia/convolver.o
In file included from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 8 lines

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing listbuildroot at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190618/90a6742a/attachment.html>

#5 lore raw

Hi,

I took a few minutes to dig into it and found that the an include path points to -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include (which contains pure c stdlib.h)

This include path is defined in the file qt5webengine-5.12.2/src/core/release/obj/skia/skia.ninja and is built dynamically by a tool called ninja.

If I remove the declaration, the compilation continues...

I can't figure out how the file skia.ninja is created...

David.

Quoted 590 lines · Nathan Ford

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

On Mon, Jun 17, 2019 at 4:41 PM David Barbion <[email protected] <mailto:[email protected]>> wrote:

Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information...

David.

Quoted 572 lines · Nathan Ford
    Does anyone have any ideas / fixes for this issue? I'm running
    into the latter ' fatal error: stdlib.h: No such file or
    directory' since updating to buildroot-2019.05. While not exactly
    the same as the above from an include path perspective, the final
    error is the same ( pasted below ).

    I've tried 4 different toolchains:
    ?- External gcc 6.3.0
    ?- External gcc 8.3.0
    ?- Buildroot built 8.x
    ?- Buildroot built 7.x
    and all produce the same error.

    2019.02.1 with the same buildroot config compiles fine ( with the
    external 6.3.0 toolchain ).

    Does any one have any ideas or pointers on where to look to
    figure this out?

    Thanks,
    --Nate

    FAILED: obj/skia/skia/SkNullCanvas.o
    /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++
    -MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
    -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1
    -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
    -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
    -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
    -DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab
    -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
    -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
    -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
    -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
    -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
    -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
    -DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0
    -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION
    -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t
    -Igen -I../../3rdparty/chromium
    -I../../3rdparty/chromium/skia/config
    -I../../3rdparty/chromium/skia/ext
    -I../../3rdparty/chromium/third_party/skia/include/c
    -I../../3rdparty/chromium/third_party/skia/include/config
    -I../../3rdparty/chromium/third_party/skia/include/core
    -I../../3rdparty/chromium/third_party/skia/include/effects
    -I../../3rdparty/chromium/third_party/skia/include/encode
    -I../../3rdparty/chromium/third_party/skia/include/gpu
    -I../../3rdparty/chromium/third_party/skia/include/images
    -I../../3rdparty/chromium/third_party/skia/include/lazy
    -I../../3rdparty/chromium/third_party/skia/include/pathops
    -I../../3rdparty/chromium/third_party/skia/include/pdf
    -I../../3rdparty/chromium/third_party/skia/include/pipe
    -I../../3rdparty/chromium/third_party/skia/include/ports
    -I../../3rdparty/chromium/third_party/skia/include/utils
    -I../../3rdparty/chromium/third_party/skia/src/gpu
    -I../../3rdparty/chromium/third_party/skia/src/sksl
    -I../../3rdparty/chromium/third_party/skia/include/codec
    -I../../3rdparty/chromium/third_party/skia/include/private
    -I../../3rdparty/chromium/third_party/skia/include/client/android
    -I../../3rdparty/chromium/third_party/skia/src/codec
    -I../../3rdparty/chromium/third_party/skia/src/core
    -I../../3rdparty/chromium/third_party/skia/src/image
    -I../../3rdparty/chromium/third_party/skia/src/images
    -I../../3rdparty/chromium/third_party/skia/src/opts
    -I../../3rdparty/chromium/third_party/skia/src/pdf
    -I../../3rdparty/chromium/third_party/skia/src/ports
    -I../../3rdparty/chromium/third_party/skia/src/shaders
    -I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
    -I../../3rdparty/chromium/third_party/skia/src/sfnt
    -I../../3rdparty/chromium/third_party/skia/src/utils
    -I../../3rdparty/chromium/third_party/skia/src/lazy
    -I../../3rdparty/chromium/third_party/skia/third_party/gif
    -I../../3rdparty/chromium/third_party/skia/src/effects/gradients
    -Igen -I../../3rdparty/chromium/third_party/libwebp/src
    -I../../3rdparty/chromium/third_party/icu/source/common
    -I../../3rdparty/chromium/third_party/icu/source/i18n
    -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
    -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
    -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64
    -fno-omit-frame-pointer -g0 -fvisibility=hidden
    -Wno-unused-local-typedefs -Wno-maybe-uninitialized
    -Wno-deprecated-declarations -fno-delete-null-pointer-checks
    -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned
    -Wno-missing-field-initializers -Wno-unused-parameter -O2
    -fno-ident -fdata-sections -ffunction-sections
    -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16
    -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
    -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2
    -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
    -std=gnu++14 -fno-exceptions -fno-rtti
    --sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot
    -fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
    -Wno-class-memaccess -Wno-subobject-linkage -c
    ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp
    -o obj/skia/skia/SkNullCanvas.o
    In file included from
    /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
    ? ? ? ? ? ? ? ? ?from
    /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
    ? ? ? ? ? ? ? ? ?from
    /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
    ? ? ? ? ? ? ? ? ?from
    /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
    ? ? ? ? ? ? ? ? ?from
    /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
    ? ? ? ? ? ? ? ? ?from
    /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
    ? ? ? ? ? ? ? ? ?from
    /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
    ? ? ? ? ? ? ? ? ?from
    ../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
    ? ? ? ? ? ? ? ? ?from
    ../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
    ? ? ? ? ? ? ? ? ?from
    ../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
    ? ? ? ? ? ? ? ? ?from
    ../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
    ? ? ? ? ? ? ? ? ?from
    ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
    /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
    fatal error: stdlib.h: No such file or directory

    On Thu, Apr 11, 2019 at 5:04 AM <[email protected]
    <mailto:[email protected]>> wrote:

        https://bugs.busybox.net/show_bug.cgi?id=11776

        ? ? ? ? ? ? Bug ID: 11776
        ? ? ? ? ? ?Summary: qt5webengine 5.12.2 build failed with arm
        toolchain
        ? ? ? ? ? ? ? ? ? ? and linaro toolchain
        ? ? ? ? ? ?Product: buildroot
        ? ? ? ? ? ?Version: unspecified
        ? ? ? ? ? Hardware: All
        ? ? ? ? ? ? ? ? OS: Linux
        ? ? ? ? ? ? Status: NEW
        ? ? ? ? ? Severity: normal
        ? ? ? ? ? Priority: P5
        ? ? ? ? ?Component: Other
        ? ? ? ? ? Assignee: unassigned at buildroot.uclibc.org
        <mailto:[email protected]>
        ? ? ? ? ? Reporter: jacky at ticctv.cn <mailto:[email protected]>
        ? ? ? ? ? ? ? ? CC: buildroot at uclibc.org
        <mailto:[email protected]>
        ? Target Milestone: ---

        I'm using the least buildroot (commit
        4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
        to build qt5webengine. The qt5webengine version is? v5.12.2.
        I use arm toolchain and linaro toolchain for building, but
        both failed.

        Here is the build log for arm toolchain:
        dev at Dev:^buildroot-qt$make
        >>> qt5webengine 5.12.2 Building
        PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
        PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
        NINJAFLAGS="-j9"
        GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
        /usr/bin/make -j9 -C
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2
        cd src/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro
        <http://src.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        cd buildtools/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake
        -o Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro
        <http://buildtools.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        cd webengine/ui/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake
        -o Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro
        <http://ui.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        cd webengine/ui2/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake -o Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro
        <http://ui2.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        ( test -e Makefile.configure_host ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.configure_host
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro
        <http://configure_host.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.configure_host
        ( test -e Makefile.ninja ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.ninja
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro
        <http://ninja.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.ninja
        make[4]: Nothing to be done for 'first'.
        make[4]: Nothing to be done for 'first'.
        make[5]: Nothing to be done for 'first'.
        ( test -e Makefile.configure_target ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.configure_target
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro
        <http://configure_target.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.configure_target
        make[5]: Nothing to be done for 'first'.
        ( test -e Makefile.gn ||
        /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro
        <http://gn.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.gn
        make[5]: Nothing to be done for 'first'.
        make[5]: Nothing to be done for 'first'.
        cd core/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro
        <http://core.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        ( test -e Makefile.core_headers ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.core_headers
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro
        <http://core_headers.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.core_headers
        make[5]: Nothing to be done for 'first'.
        ( test -e Makefile.core_generator ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.core_generator
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro
        <http://core_generator.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.core_generator
        make[5]: Nothing to be done for 'first'.
        ( test -e Makefile.gn_run ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.gn_run
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro
        <http://gn_run.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.gn_run
        ninja -j9 -C
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
        QtWebEngineCore
        ninja: Entering directory
        `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
        [1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
        FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o
        /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
        obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d
        -DSANDBOX_IMPLEMENTATION
        -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1
        -DUSE_NSS_CERTS=1
        -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
        -DSAFE_BROWSING_CSD
        -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
        -DFIELDTRIAL_TESTING_ENABLED
        -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
        -D_LARGEFILE64_SOURCE
        -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
        -DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35
        -D_DEBUG
        -DDYNAMIC_ANNOTATIONS_ENABLED=1
        -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
        -I../../3rdparty/chromium -fno-strict-aliasing
        --param=ssp-buffer-size=4
        -fstack-protector -Wno-builtin-macro-redefined -D__DATE__=
        -D__TIME__=
        -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
        -Wno-unused-local-typedefs -Wno-maybe-uninitialized
        -Wno-deprecated-declarations -fno-delete-null-pointer-checks
        -Wno-comments
        -Wno-dangling-else -Wno-packed-not-aligned
        -Wno-missing-field-initializers
        -Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2
        -fvisibility=hidden
        -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
        -Wno-subobject-linkage -fno-exceptions -fno-rtti
        --sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
        -fvisibility-inlines-hidden -c
        ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
        -o
        obj/sandbox/linux/seccomp_bpf/syscall_sets.o
        In file included from
        ../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
        ? ? ? ? ? ? ? ? ?from
        ../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
        ? ? ? ? ? ? ? ? ?from
        ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
        ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
        In
        static member function 'static bool
        sandbox::SyscallSets::IsFileSystem(int)':
        ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
        error: '__NR3264_fstatat' was not declared in this scope
        ? ? ?case __NR_newfstatat:? // fstatat(). EPERM not a valid
        errno.
        ? ? ? ? ? ^~~~~~~~~~~~~~~
        ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
        In
        static member function 'static bool
        sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':
        ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
        error: '__NR3264_fstat' was not declared in this scope
        ? ? ?case __NR_fstat:
        ? ? ? ? ? ^~~~~~~~~~
        [9/11410] CXX
        obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
        ninja: build stopped: subcommand failed.
        Makefile.gn_run:336: recipe for target 'run_ninja' failed
        make[5]: *** [run_ninja] Error 1
        Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed
        make[4]: *** [sub-gn_run-pro-make_first] Error 2
        Makefile:79: recipe for target 'sub-core-make_first' failed
        make[3]: *** [sub-core-make_first] Error 2
        Makefile:48: recipe for target 'sub-src-make_first' failed
        make[2]: *** [sub-src-make_first] Error 2
        package/pkg-generic.mk:238 <http://pkg-generic.mk:238>:
        recipe for target
        '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built'
        failed
        make[1]: ***
        [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built]
        Error 2
        Makefile:23: recipe for target '_all' failed
        make: *** [_all] Error 2



        Here is the build log for linaro toolchain:
        dev at Dev:^buildroot-qt$make
        >>> qt5webengine 5.12.2 Building
        PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
        PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
        NINJAFLAGS="-j9"
        GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
        /usr/bin/make -j9 -C
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2
        cd src/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro
        <http://src.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        cd buildtools/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake
        -o Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro
        <http://buildtools.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        cd webengine/ui/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake
        -o Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro
        <http://ui.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        cd webengine/ui2/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake -o Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro
        <http://ui2.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        make[4]: Nothing to be done for 'first'.
        make[4]: Nothing to be done for 'first'.
        ( test -e Makefile.configure_host ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.configure_host
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro
        <http://configure_host.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.configure_host
        ( test -e Makefile.ninja ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.ninja
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro
        <http://ninja.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.ninja
        make[5]: Nothing to be done for 'first'.
        ( test -e Makefile.configure_target ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.configure_target
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro
        <http://configure_target.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.configure_target
        make[5]: Nothing to be done for 'first'.
        ( test -e Makefile.gn ||
        /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro
        <http://gn.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.gn
        make[5]: Nothing to be done for 'first'.
        make[5]: Nothing to be done for 'first'.
        cd core/ && ( test -e Makefile ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro
        <http://core.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile
        ( test -e Makefile.core_headers ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.core_headers
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro
        <http://core_headers.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.core_headers
        make[5]: Nothing to be done for 'first'.
        ( test -e Makefile.core_generator ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.core_generator
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro
        <http://core_generator.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.core_generator
        make[5]: Nothing to be done for 'first'.
        ( test -e Makefile.gn_run ||
        /home/dev/buildroot-qt/host/bin/qmake -o
        Makefile.gn_run
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro
        <http://gn_run.pro>
        WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
        /usr/bin/make -f
        Makefile.gn_run
        ninja -j9 -C
        /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
        QtWebEngineCore
        ninja: Entering directory
        `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
        [1/11212] CXX obj/skia/skia/convolver.o
        FAILED: obj/skia/skia/convolver.o
        /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
        obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS
        -DUSE_UDEV -DUSE_AURA=1
        -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
        -DFULL_SAFE_BROWSING
        -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
        -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
        -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
        -DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35
        -D_DEBUG
        -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
        -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
        -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
        -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
        -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
        -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
        -DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0
        -DU_ENABLE_DYLOAD=0
        -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
        -DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
        -I../../3rdparty/chromium/skia/config
        -I../../3rdparty/chromium/skia/ext
        -I../../3rdparty/chromium/third_party/skia/include/c
        -I../../3rdparty/chromium/third_party/skia/include/config
        -I../../3rdparty/chromium/third_party/skia/include/core
        -I../../3rdparty/chromium/third_party/skia/include/effects
        -I../../3rdparty/chromium/third_party/skia/include/encode
        -I../../3rdparty/chromium/third_party/skia/include/gpu
        -I../../3rdparty/chromium/third_party/skia/include/images
        -I../../3rdparty/chromium/third_party/skia/include/lazy
        -I../../3rdparty/chromium/third_party/skia/include/pathops
        -I../../3rdparty/chromium/third_party/skia/include/pdf
        -I../../3rdparty/chromium/third_party/skia/include/pipe
        -I../../3rdparty/chromium/third_party/skia/include/ports
        -I../../3rdparty/chromium/third_party/skia/include/utils
        -I../../3rdparty/chromium/third_party/skia/src/gpu
        -I../../3rdparty/chromium/third_party/skia/src/sksl
        -I../../3rdparty/chromium/third_party/skia/include/codec
        -I../../3rdparty/chromium/third_party/skia/include/private
        -I../../3rdparty/chromium/third_party/skia/include/client/android
        -I../../3rdparty/chromium/third_party/skia/src/codec
        -I../../3rdparty/chromium/third_party/skia/src/core
        -I../../3rdparty/chromium/third_party/skia/src/image
        -I../../3rdparty/chromium/third_party/skia/src/images
        -I../../3rdparty/chromium/third_party/skia/src/opts
        -I../../3rdparty/chromium/third_party/skia/src/pdf
        -I../../3rdparty/chromium/third_party/skia/src/ports
        -I../../3rdparty/chromium/third_party/skia/src/shaders
        -I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
        -I../../3rdparty/chromium/third_party/skia/src/sfnt
        -I../../3rdparty/chromium/third_party/skia/src/utils
        -I../../3rdparty/chromium/third_party/skia/src/lazy
        -I../../3rdparty/chromium/third_party/skia/third_party/gif
        -I../../3rdparty/chromium/third_party/skia/src/effects/gradients
        -I../../3rdparty/chromium/third_party/libwebp/src
        -I../../3rdparty/chromium/third_party/libpng
        -I../../3rdparty/chromium/third_party/zlib
        -I../../3rdparty/chromium/third_party/libjpeg_turbo
        -I../../3rdparty/chromium/third_party/icu/source/common
        -I../../3rdparty/chromium/third_party/icu/source/i18n
        -fno-strict-aliasing
        --param=ssp-buffer-size=4 -fstack-protector
        -Wno-builtin-macro-redefined
        -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables
        -fPIC -pipe -pthread
        -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
        -Wno-unused-local-typedefs
        -Wno-maybe-uninitialized -Wno-deprecated-declarations
        -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
        -Wno-packed-not-aligned -Wno-missing-field-initializers
        -Wno-unused-parameter
        -isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
        -isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
        -std=gnu++14 -fno-exceptions -fno-rtti
        --sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
        -fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
        -Wno-class-memaccess
        -Wno-subobject-linkage -c
        ../../3rdparty/chromium/skia/ext/convolver.cc -o
        obj/skia/skia/convolver.o
        In file included from
        /home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
        ? ? ? ? ? ? ? ? ?from
        /home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,
        ? ? ? ? ? ? ? ? ?from
        ../../3rdparty/chromium/skia/ext/convolver.cc:5:
        /home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
        fatal error: stdlib.h: No such file or directory
        ?#include_next <stdlib.h>
        ? ? ? ? ? ? ? ?^~~~~~~~~~
        compilation terminated.

        -- 
        You are receiving this mail because:
        You are on the CC list for the bug.
        _______________________________________________
        buildroot mailing list
        buildroot at busybox.net <mailto:[email protected]>
        http://lists.busybox.net/mailman/listinfo/buildroot
Quoted 9 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190618/f78e6ebb/attachment.html>

#15 lore raw

[Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11776

--- Comment #1 from romain.naour at gmail.com ---
Hi,

This could be related to kernel headers version used by the ARM toolchain [1]. Can you test with the Arm AArch64 toolchain 8.3-2019.03 recently updated ?

Note, there are two different issues... I'm not sure about the second issue.

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b7d624ab431227af376787148cd7d474088c03aa

Best regards,
Romain

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#16 lore raw

[Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11776

--- Comment #2 from fazibear at gmail.com ---
Hello,

For sure it's a bug related to -isystem` bug. It was fixed earlier but maybe something changed.

https://github.com/buildroot/buildroot/commit/3a0ed5d25e26cb2ec99a1da077c9dcfea67b0ecc

Removing -isystem <path> lines from ninja file when <path> is the path to your toolchain include dir make it works. But ninja files are generated.

regards,

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#17 lore raw

[Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain

Absolutely. It must a commit between 2018.11.2 (working) and 2019.05 (not working).

I made another test with the minimum selected packages plus qt5webengine, leaving all options by default and it gives the same result.

If anyone in the list know how those ninja files are created, please let me know.

David.

Quoted 15 lines · bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11776

--- Comment #2 from fazibear at gmail.com ---
Hello,

For sure it's a bug related to -isystem` bug. It was fixed earlier but maybe something changed.

https://github.com/buildroot/buildroot/commit/3a0ed5d25e26cb2ec99a1da077c9dcfea67b0ecc

Removing -isystem <path> lines from ninja file when <path> is the path to your toolchain include dir make it works. But ninja files are generated.

regards,

#6 lore raw
In reply to David Barbion

The .ninja files are created by the gn tool ( qt5webengine-5.12.2/src/3rdparty/gn ). This tool uses the BUILD.gn files to then create the .ninja files.

--Nate

Quoted 560 lines · David Barbion

Hi,

I took a few minutes to dig into it and found that the an include path points to -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include (which contains pure c stdlib.h)

This include path is defined in the file qt5webengine-5.12.2/src/core/release/obj/skia/skia.ninja and is built dynamically by a tool called ninja.

If I remove the declaration, the compilation continues...

I can't figure out how the file skia.ninja is created...

David.
On 18/06/2019 15:41, Nathan Ford wrote:

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

Quoted 527 lines · David Barbion

Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information... David.
On 11/06/2019 03:21, Nathan Ford wrote:

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++

(quoted diff) +0 -66
-MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c

../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
from
../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
from
../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

Quoted 387 lines · On Thu, Apr 11, 2019 at 5:04 AM <[email protected]> wrote:

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
to build qt5webengine. The qt5webengine version is v5.12.2. I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -21
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks
-Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned
-Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o
obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from

../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from
../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX

obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV

(quoted diff) +0 -72
-DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
 
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n
-fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/convolver.cc
-o

obj/skia/skia/convolver.o
In file included from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 8 lines

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing listbuildroot at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190622/28ba9b64/attachment.html>

#7 lore raw

It's possible this change is the culprit. Still digging.

---
a/qt5webengine-5.11.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni

 2018-08-27 04:21:31.000000000 -0400
+++
b/qt5webengine-5.12.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni
  2019-03-07 04:23:57.000000000 -0500

@@ -101,13 +101,18 @@
}

pkgresult = exec_script(pkg_config_script, args, "value")
- include_dirs = pkgresult[0]
cflags = pkgresult[1]

+ # We want the system include paths to use -isystem instead of -I to
suppress
+ # warnings in those headers.
+ foreach(include, pkgresult[0]) {
+ include_relativized = rebase_path(include, root_build_dir)
+ cflags += [ "-isystem$include_relativized" ]
+ }
+
if (!defined(invoker.ignore_libs) || !invoker.ignore_libs) {
libs = pkgresult[2]
lib_dirs = pkgresult[3]
- ldflags = pkgresult[4]

     }

     forward_variables_from(invoker,
Quoted 4 lines · Nathan Ford

The .ninja files are created by the gn tool ( qt5webengine-5.12.2/src/3rdparty/gn ). This tool uses the BUILD.gn files to then create the .ninja files.

Quoted 603 lines

--Nate

Quoted 595 lines · David Barbion

Hi,

I took a few minutes to dig into it and found that the an include path points to -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include (which contains pure c stdlib.h)

This include path is defined in the file qt5webengine-5.12.2/src/core/release/obj/skia/skia.ninja and is built dynamically by a tool called ninja.

If I remove the declaration, the compilation continues...

I can't figure out how the file skia.ninja is created...

David.
On 18/06/2019 15:41, Nathan Ford wrote:

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

Quoted 557 lines · David Barbion

Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information... David.
On 11/06/2019 03:21, Nathan Ford wrote:

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++

(quoted diff) +0 -66
-MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c

../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
from
../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
from
../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

Quoted 417 lines · On Thu, Apr 11, 2019 at 5:04 AM <[email protected]> wrote:

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
to build qt5webengine. The qt5webengine version is v5.12.2. I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/
ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.core_headers ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -22
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks
-Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned
-Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2
-fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o
obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from

../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from

../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX

obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/
ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.core_headers ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV

(quoted diff) +0 -72
-DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
 
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n
-fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/convolver.cc
-o

obj/skia/skia/convolver.o
In file included from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 8 lines

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing listbuildroot at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190622/bffd7a78/attachment.html>

#8 lore raw

Reverting this change seems to have fixed the build for me. I haven't made a patch to do a clean build yet though.

I'm going to lookup the change on chromium git to see what else was changed and see about a patch to revert.

--Nate

Quoted 637 lines · Nathan Ford

It's possible this change is the culprit. Still digging.

---
a/qt5webengine-5.11.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni

 2018-08-27 04:21:31.000000000 -0400
+++
b/qt5webengine-5.12.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni
  2019-03-07 04:23:57.000000000 -0500
(quoted diff) +1 -1
@@ -101,13 +101,18 @@
     }
 
     pkgresult = exec_script(pkg_config_script, args, "value")
-    include_dirs = pkgresult[0]
     cflags = pkgresult[1]
 
+    # We want the system include paths to use -isystem instead of -I to

suppress

(quoted diff) +6 -1
+    # warnings in those headers.
+    foreach(include, pkgresult[0]) {
+      include_relativized = rebase_path(include, root_build_dir)
+      cflags += [ "-isystem$include_relativized" ]
+    }
+
     if (!defined(invoker.ignore_libs) || !invoker.ignore_libs) {
       libs = pkgresult[2]
       lib_dirs = pkgresult[3]
-      ldflags = pkgresult[4]
     }
 
     forward_variables_from(invoker,
Quoted 604 lines · Nathan Ford

The .ninja files are created by the gn tool ( qt5webengine-5.12.2/src/3rdparty/gn ). This tool uses the BUILD.gn files to then create the .ninja files.

--Nate

Quoted 593 lines · David Barbion

Hi,

I took a few minutes to dig into it and found that the an include path points to -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include (which contains pure c stdlib.h)

This include path is defined in the file qt5webengine-5.12.2/src/core/release/obj/skia/skia.ninja and is built dynamically by a tool called ninja.

If I remove the declaration, the compilation continues...

I can't figure out how the file skia.ninja is created...

David.
On 18/06/2019 15:41, Nathan Ford wrote:

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

Quoted 565 lines · David Barbion

Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information... David.
On 11/06/2019 03:21, Nathan Ford wrote:

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++

(quoted diff) +0 -66
-MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c

../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
from
../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
from
../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

Quoted 420 lines · On Thu, Apr 11, 2019 at 5:04 AM <[email protected]> wrote:

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
to build qt5webengine. The qt5webengine version is v5.12.2. I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/
ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.core_headers ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -23
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing
--param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks
-Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned
-Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2
-fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o
obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from

../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from

../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX

obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/
ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.core_headers ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV

(quoted diff) +0 -73
-DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
 
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config
-I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n
-fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector
-Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess
-Wno-subobject-linkage -c

../../3rdparty/chromium/skia/ext/convolver.cc -o
obj/skia/skia/convolver.o
In file included from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 8 lines

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing listbuildroot at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190622/f30e2625/attachment.html>

#9 lore raw

It is very possible this has been fixed in qt 5.13.0.

Here is the chromium fix I believe:
https://chromium.googlesource.com/chromium/src/+/a8c8396fd20d98666d517c45b358c63736e345ef%5E%21/#F0

--Nate

Quoted 658 lines · Nathan Ford

Reverting this change seems to have fixed the build for me. I haven't made a patch to do a clean build yet though.

I'm going to lookup the change on chromium git to see what else was changed and see about a patch to revert.

--Nate

Quoted 648 lines · Nathan Ford

It's possible this change is the culprit. Still digging.

---
a/qt5webengine-5.11.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni

 2018-08-27 04:21:31.000000000 -0400
+++
b/qt5webengine-5.12.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni
  2019-03-07 04:23:57.000000000 -0500
(quoted diff) +1 -1
@@ -101,13 +101,18 @@
     }
 
     pkgresult = exec_script(pkg_config_script, args, "value")
-    include_dirs = pkgresult[0]
     cflags = pkgresult[1]
 
+    # We want the system include paths to use -isystem instead of -I to

suppress

(quoted diff) +6 -1
+    # warnings in those headers.
+    foreach(include, pkgresult[0]) {
+      include_relativized = rebase_path(include, root_build_dir)
+      cflags += [ "-isystem$include_relativized" ]
+    }
+
     if (!defined(invoker.ignore_libs) || !invoker.ignore_libs) {
       libs = pkgresult[2]
       lib_dirs = pkgresult[3]
-      ldflags = pkgresult[4]
     }
 
     forward_variables_from(invoker,
Quoted 615 lines · Nathan Ford

The .ninja files are created by the gn tool ( qt5webengine-5.12.2/src/3rdparty/gn ). This tool uses the BUILD.gn files to then create the .ninja files.

--Nate

Quoted 603 lines · David Barbion

Hi,

I took a few minutes to dig into it and found that the an include path points to -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include (which contains pure c stdlib.h)

This include path is defined in the file qt5webengine-5.12.2/src/core/release/obj/skia/skia.ninja and is built dynamically by a tool called ninja.

If I remove the declaration, the compilation continues...

I can't figure out how the file skia.ninja is created...

David.
On 18/06/2019 15:41, Nathan Ford wrote:

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

Quoted 565 lines · David Barbion

Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information... David.
On 11/06/2019 03:21, Nathan Ford wrote:

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++

(quoted diff) +0 -66
-MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c

../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
from
../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
from
../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

Quoted 425 lines · On Thu, Apr 11, 2019 at 5:04 AM <[email protected]> wrote:

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm
toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
to build qt5webengine. The qt5webengine version is v5.12.2. I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/
ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
gn.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
( test -e Makefile.core_headers ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d

(quoted diff) +0 -24
-DSANDBOX_IMPLEMENTATION
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing
--param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks
-Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned
-Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2
-fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o
obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from

../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from

../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:
In
static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX

obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/
ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
gn.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile
( test -e Makefile.core_headers ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) &&
/usr/bin/make -f
Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV

(quoted diff) +0 -73
-DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
 
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config
-I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n
-fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector
-Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess
-Wno-subobject-linkage -c

../../3rdparty/chromium/skia/ext/convolver.cc -o
obj/skia/skia/convolver.o
In file included from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 8 lines

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing listbuildroot at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190622/d3392ebb/attachment.html>

#11 lore raw
In reply to Nathan Ford

Tried this patch and it looks like resolve -isystem problem but it won't compile anyway.

This is an error:

surface_factory_qt.cpp:(.text._ZN15QtWebEngineCore16SurfaceFactoryQtC2Ev+0x41): undefined reference to `vtable for ui::GLOzoneGLXQt'
collect2: error: ld returned 1 exit status
Makefile.core_module:85: recipe for target '../../lib/libQt5WebEngineCore.so.5.12.2' failed
make[5]: *** [../../lib/libQt5WebEngineCore.so.5.12.2] Error 1
Makefile:124: recipe for target 'sub-core_module-pro-make_first' failed
make[4]: *** [sub-core_module-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed
make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed
make[2]: *** [sub-src-make_first] Error 2
package/pkg-generic.mk:238: recipe for target '/mnt/2tb/nerves/._nerves/rb/artifacts/rzjb_system_dev_beta-portable-1.0.0/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/mnt/2tb/nerves/._nerves/rb/artifacts/rzjb_system_dev_beta-portable-1.0.0/build/qt5webengine-5.12.2/.stamp_built] Error 2 Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Quoted 434 lines · Nathan Ford

It's possible this change is the culprit. Still digging.

qt5webengine-5.12.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni 2019-03-07 04:23:57.000000000 -0500 renamed from qt5webengine-5.11.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni 2018-08-27 04:21:31.000000000 -0400 +7 -2
@@ -101,13 +101,18 @@
     }
 
     pkgresult = exec_script(pkg_config_script, args, "value")
-    include_dirs = pkgresult[0]
     cflags = pkgresult[1]
 
+    # We want the system include paths to use -isystem instead of -I to suppress
+    # warnings in those headers.
+    foreach(include, pkgresult[0]) {
+      include_relativized = rebase_path(include, root_build_dir)
+      cflags += [ "-isystem$include_relativized" ]
+    }
+
     if (!defined(invoker.ignore_libs) || !invoker.ignore_libs) {
       libs = pkgresult[2]
       lib_dirs = pkgresult[3]
-      ldflags = pkgresult[4]
     }
 
     forward_variables_from(invoker,

On Sat, Jun 22, 2019 at 8:50 AM Nathan Ford <nford at westpond.com <mailto:[email protected]>> wrote:
The .ninja files are created by the gn tool ( qt5webengine-5.12.2/src/3rdparty/gn ). This tool uses the BUILD.gn files to then create the .ninja files.

--Nate

On Tue, Jun 18, 2019 at 10:15 AM David Barbion <davidb at 230ruedubac.fr <mailto:[email protected]>> wrote:
Hi,

I took a few minutes to dig into it and found that the an include path points to -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include (which contains pure c stdlib.h)

This include path is defined in the file qt5webengine-5.12.2/src/core/release/obj/skia/skia.ninja and is built dynamically by a tool called ninja.

If I remove the declaration, the compilation continues...

I can't figure out how the file skia.ninja is created...

David.

Quoted 377 lines · Nathan Ford

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb at 230ruedubac.fr <mailto:[email protected]>> wrote:
Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information...

David.

Quoted 362 lines · Nathan Ford

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o
/home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++ -MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2 -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern -DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -I../../3rdparty/chromium/third_party/skia/include/codec -I../../3rdparty/chromium/third_party/skia/include/private -I../../3rdparty/chromium/third_party/skia/include/client/android -I../../3rdparty/chromium/third_party/skia/src/codec -I../../3rdparty/chromium/third_party/skia/src/core -I../../3rdparty/chromium/third_party/skia/src/image -I../../3rdparty/chromium/third_party/skia/src/images -I../../3rdparty/chromium/third_party/skia/src/opts -I../../3rdparty/chromium/third_party/skia/src/pdf -I../../3rdparty/chromium/third_party/skia/src/ports -I../../3rdparty/chromium/third_party/skia/src/shaders -I../../3rdparty/chromium/third_party/skia/src/shaders/gradients -I../../3rdparty/chromium/third_party/skia/src/sfnt -I../../3rdparty/chromium/third_party/skia/src/utils -I../../3rdparty/chromium/third_party/skia/src/lazy -I../../3rdparty/chromium/third_party/skia/third_party/gif -I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen -I../../3rdparty/chromium/third_party/libwebp/src -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16 -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2 -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include -std=gnu++14 -fno-exceptions -fno-rtti --sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot -fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,

                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
                 from ../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
                 from ../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
                 from ../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
                 from ../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
                 from ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:

/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory

On Thu, Apr 11, 2019 at 5:04 AM <bugzilla at busybox.net <mailto:[email protected]>> wrote:
https://bugs.busybox.net/show_bug.cgi?id=11776 <https://bugs.busybox.net/show_bug.cgi?id=11776>

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org <mailto:[email protected]>
Reporter: jacky at ticctv.cn <mailto:[email protected]>
CC: buildroot at uclibc.org <mailto:[email protected]>
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316) to build qt5webengine. The qt5webengine version is v5.12.2.
I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"
GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
/usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro <http://src.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd buildtools/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro <http://buildtools.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro <http://ui.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui2/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro <http://ui2.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro <http://configure_host.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.ninja
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro <http://ninja.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro <http://configure_target.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro <http://gn.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro <http://core.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro <http://core_headers.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro <http://core_generator.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn_run
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro <http://gn_run.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn_run
ninja -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
QtWebEngineCore
ninja: Entering directory
`/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o
/home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -18
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -o obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from ../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from
../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc: In static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc: In static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238 <http://pkg-generic.mk:238/>: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"
GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
/usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro <http://src.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd buildtools/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro <http://buildtools.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro <http://ui.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui2/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro <http://ui2.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro <http://configure_host.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.ninja
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro <http://ninja.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro <http://configure_target.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro <http://gn.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro <http://core.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro <http://core_headers.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro <http://core_generator.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn_run
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro <http://gn_run.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn_run
ninja -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
QtWebEngineCore
ninja: Entering directory
`/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o
/home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1

(quoted diff) +0 -65
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/convolver.cc -o

obj/skia/skia/convolver.o
In file included from /home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from
/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:
/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
Quoted 8 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>

_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>

Quoted 8 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190626/f2a8300e/attachment.html>

#12 lore raw

That looks like a new issue.

For reference I am successfully building Buildroot 2019.05 with gcc 8.3.0.

--Nate

Quoted 670 lines · Micha? Kalbarczyk

Tried this patch and it looks like resolve -isystem problem but it won't compile anyway.

This is an error:

surface_factory_qt.cpp:(.text._ZN15QtWebEngineCore16SurfaceFactoryQtC2Ev+0x41):
undefined reference to `vtable for ui::GLOzoneGLXQt'
collect2: error: ld returned 1 exit status
Makefile.core_module:85: recipe for target
'../../lib/libQt5WebEngineCore.so.5.12.2' failed
make[5]: *** [../../lib/libQt5WebEngineCore.so.5.12.2] Error 1
Makefile:124: recipe for target 'sub-core_module-pro-make_first' failed
make[4]: *** [sub-core_module-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed
make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed
make[2]: *** [sub-src-make_first] Error 2
package/pkg-generic.mk:238: recipe for target '/mnt/2tb/nerves/._nerves/rb/artifacts/rzjb_system_dev_beta-portable-1.0.0/build/qt5webengine-5.12.2/.stamp_built' failed
make[1]: *** [/mnt/2tb/nerves/._nerves/rb/artifacts/rzjb_system_dev_beta-portable-1.0.0/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

On 22 Jun 2019, at 15:50, Nathan Ford <[email protected]> wrote:

It's possible this change is the culprit. Still digging.

---
a/qt5webengine-5.11.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni

 2018-08-27 04:21:31.000000000 -0400
+++
b/qt5webengine-5.12.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni
  2019-03-07 04:23:57.000000000 -0500
(quoted diff) +1 -1
@@ -101,13 +101,18 @@
     }
 
     pkgresult = exec_script(pkg_config_script, args, "value")
-    include_dirs = pkgresult[0]
     cflags = pkgresult[1]
 
+    # We want the system include paths to use -isystem instead of -I to

suppress

(quoted diff) +6 -1
+    # warnings in those headers.
+    foreach(include, pkgresult[0]) {
+      include_relativized = rebase_path(include, root_build_dir)
+      cflags += [ "-isystem$include_relativized" ]
+    }
+
     if (!defined(invoker.ignore_libs) || !invoker.ignore_libs) {
       libs = pkgresult[2]
       lib_dirs = pkgresult[3]
-      ldflags = pkgresult[4]
     }
 
     forward_variables_from(invoker,
Quoted 609 lines · Nathan Ford

The .ninja files are created by the gn tool ( qt5webengine-5.12.2/src/3rdparty/gn ). This tool uses the BUILD.gn files to then create the .ninja files.

--Nate

Quoted 598 lines · David Barbion

Hi,

I took a few minutes to dig into it and found that the an include path points to -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include (which contains pure c stdlib.h)

This include path is defined in the file qt5webengine-5.12.2/src/core/release/obj/skia/skia.ninja and is built dynamically by a tool called ninja.

If I remove the declaration, the compilation continues...

I can't figure out how the file skia.ninja is created...

David.
On 18/06/2019 15:41, Nathan Ford wrote:

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

Quoted 560 lines · David Barbion

Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64.

Search engines did not give me relevant information... David.
On 11/06/2019 03:21, Nathan Ford wrote:

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o /home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++

(quoted diff) +0 -66
-MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess -Wno-subobject-linkage -c

../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o
In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
from
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
from
../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
from
../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
from
../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
from
../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
from
../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:
/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

Quoted 420 lines · On Thu, Apr 11, 2019 at 5:04 AM <[email protected]> wrote:

https://bugs.busybox.net/show_bug.cgi?id=11776

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jacky at ticctv.cn
CC: buildroot at uclibc.org
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316)
to build qt5webengine. The qt5webengine version is v5.12.2. I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/
ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.core_headers ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -23
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing
--param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks
-Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned
-Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2
-fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/ syscall_sets.cc -o obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from

../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from

../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/ syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/ syscall_sets.cc: In
static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/ syscall_sets.cc:112:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/ syscall_sets.cc: In
static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/ syscall_sets.cc:161:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX

obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"

GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd buildtools/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ buildtools.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/
ui.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
cd webengine/ui2/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/
ui2.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_host.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.ninja /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/
ninja.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ configure_target.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile
( test -e Makefile.core_headers ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_headers.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator ||
/home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/
core_generator.pro
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn_run /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make
-f
Makefile.gn_run
ninja -j9 -C
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug QtWebEngineCore
ninja: Entering directory `/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o /home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV

(quoted diff) +0 -73
-DUSE_AURA=1
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
 
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config
-I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n
-fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector
-Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
 
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes
-Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/

convolver.cc -o
obj/skia/skia/convolver.o
In file included from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc:5:

/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 8 lines

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing listbuildroot at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Quoted 7 lines
Quoted 1 line

_______________________________________________

buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190627/a2cb7568/attachment.html>

#13 lore raw

Tried gcc 8.3 with the same result. I'm using eglfs, maybe this matter.

BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM=y
BR2_PACKAGE_QT5BASE_LINUXFB=y
BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs"
BR2_PACKAGE_QT5BASE_GIF=y
BR2_PACKAGE_QT5BASE_PNG=y
BR2_PACKAGE_QT5MULTIMEDIA=y
BR2_PACKAGE_QT5WEBENGINE=y

Best regards,
Micha?

Quoted 7 lines · Nathan Ford

That looks like a new issue.

For reference I am successfully building Buildroot 2019.05 with gcc 8.3.0.

--Nate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190628/3eb3dc71/attachment.html>

#14 lore raw
In reply to Michał Kalbarczyk

I?ve updated QT to 5.13 and works perfectly. Also this version does not need -isystem patches.

Quoted 6 lines · Micha? Kalbarczyk

Tried this patch and it looks like resolve -isystem problem but it won't compile anyway.

This is an error:

Quoted 455 lines

surface_factory_qt.cpp:(.text._ZN15QtWebEngineCore16SurfaceFactoryQtC2Ev+0x41): undefined reference to `vtable for ui::GLOzoneGLXQt'
collect2: error: ld returned 1 exit status
Makefile.core_module:85: recipe for target '../../lib/libQt5WebEngineCore.so.5.12.2' failed
make[5]: *** [../../lib/libQt5WebEngineCore.so.5.12.2] Error 1
Makefile:124: recipe for target 'sub-core_module-pro-make_first' failed
make[4]: *** [sub-core_module-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed
make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed
make[2]: *** [sub-src-make_first] Error 2
package/pkg-generic.mk:238: recipe for target '/mnt/2tb/nerves/._nerves/rb/artifacts/rzjb_system_dev_beta-portable-1.0.0/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/mnt/2tb/nerves/._nerves/rb/artifacts/rzjb_system_dev_beta-portable-1.0.0/build/qt5webengine-5.12.2/.stamp_built] Error 2 Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Quoted 439 lines · On 22 Jun 2019, at 15:50, Nathan Ford <nford at westpond.com…

It's possible this change is the culprit. Still digging.

qt5webengine-5.12.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni 2019-03-07 04:23:57.000000000 -0500 renamed from qt5webengine-5.11.2/src/3rdparty/chromium/build/config/linux/pkg_config.gni 2018-08-27 04:21:31.000000000 -0400 +7 -2
@@ -101,13 +101,18 @@
     }
 
     pkgresult = exec_script(pkg_config_script, args, "value")
-    include_dirs = pkgresult[0]
     cflags = pkgresult[1]
 
+    # We want the system include paths to use -isystem instead of -I to suppress
+    # warnings in those headers.
+    foreach(include, pkgresult[0]) {
+      include_relativized = rebase_path(include, root_build_dir)
+      cflags += [ "-isystem$include_relativized" ]
+    }
+
     if (!defined(invoker.ignore_libs) || !invoker.ignore_libs) {
       libs = pkgresult[2]
       lib_dirs = pkgresult[3]
-      ldflags = pkgresult[4]
     }
 
     forward_variables_from(invoker,

On Sat, Jun 22, 2019 at 8:50 AM Nathan Ford <nford at westpond.com <mailto:[email protected]>> wrote:
The .ninja files are created by the gn tool ( qt5webengine-5.12.2/src/3rdparty/gn ). This tool uses the BUILD.gn files to then create the .ninja files.

--Nate

On Tue, Jun 18, 2019 at 10:15 AM David Barbion <davidb at 230ruedubac.fr <mailto:[email protected]>> wrote:
Hi,

I took a few minutes to dig into it and found that the an include path points to -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include (which contains pure c stdlib.h)

This include path is defined in the file qt5webengine-5.12.2/src/core/release/obj/skia/skia.ninja and is built dynamically by a tool called ninja.

If I remove the declaration, the compilation continues...

I can't figure out how the file skia.ninja is created...

David.

Quoted 375 lines · Nathan Ford

Unfortunately I have not had time to dig in to this, nor have I been able to find a work around.

Sorry :(

--Nate

On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb at 230ruedubac.fr <mailto:[email protected]>> wrote:
Hello,

I'm facing the exact same problem. I'm on 2019.05. Target is x86_64. Search engines did not give me relevant information... David.

Quoted 362 lines · Nathan Ford

Does anyone have any ideas / fixes for this issue? I'm running into the latter ' fatal error: stdlib.h: No such file or directory' since updating to buildroot-2019.05. While not exactly the same as the above from an include path perspective, the final error is the same ( pasted below ).

I've tried 4 different toolchains:
- External gcc 6.3.0
- External gcc 8.3.0
- Buildroot built 8.x
- Buildroot built 7.x
and all produce the same error.

2019.02.1 with the same buildroot config compiles fine ( with the external 6.3.0 toolchain ).

Does any one have any ideas or pointers on where to look to figure this out?

Thanks,
--Nate

FAILED: obj/skia/skia/SkNullCanvas.o
/home/nate/wpt/flexstream-1u/buildroot/output_container/host/bin/x86_64-mx400-linux-gnu-g++ -MMD -MF obj/skia/skia/SkNullCanvas.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2 -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern -DUSE_SYSTEM_LIBJPEG -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -I../../3rdparty/chromium/third_party/skia/include/codec -I../../3rdparty/chromium/third_party/skia/include/private -I../../3rdparty/chromium/third_party/skia/include/client/android -I../../3rdparty/chromium/third_party/skia/src/codec -I../../3rdparty/chromium/third_party/skia/src/core -I../../3rdparty/chromium/third_party/skia/src/image -I../../3rdparty/chromium/third_party/skia/src/images -I../../3rdparty/chromium/third_party/skia/src/opts -I../../3rdparty/chromium/third_party/skia/src/pdf -I../../3rdparty/chromium/third_party/skia/src/ports -I../../3rdparty/chromium/third_party/skia/src/shaders -I../../3rdparty/chromium/third_party/skia/src/shaders/gradients -I../../3rdparty/chromium/third_party/skia/src/sfnt -I../../3rdparty/chromium/third_party/skia/src/utils -I../../3rdparty/chromium/third_party/skia/src/lazy -I../../3rdparty/chromium/third_party/skia/third_party/gif -I../../3rdparty/chromium/third_party/skia/src/effects/gradients -Igen -I../../3rdparty/chromium/third_party/libwebp/src -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/libpng16 -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include/freetype2 -isystem../../../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/include -std=gnu++14 -fno-exceptions -fno-rtti --sysroot=../../../../../host/x86_64-buildroot-linux-gnu/sysroot -fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp -o obj/skia/skia/SkNullCanvas.o In file included from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/ext/string_conversions.h:41,

                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/bits/basic_string.h:6400,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/string:52,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/stdexcept:39,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/array:39,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/tuple:39,
                 from /opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/functional:54,
                 from ../../3rdparty/chromium/third_party/skia/include/core/SkRefCnt.h:15,
                 from ../../3rdparty/chromium/third_party/skia/include/core/SkPaint.h:26,
                 from ../../3rdparty/chromium/third_party/skia/include/core/SkCanvas.h:25,
                 from ../../3rdparty/chromium/third_party/skia/include/utils/SkNullCanvas.h:11,
                 from ../../3rdparty/chromium/third_party/skia/src/utils/SkNullCanvas.cpp:8:

/opt/toolchains/x86_64-mx400-linux-gnu/x86_64-mx400-linux-gnu/include/c++/8.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory

On Thu, Apr 11, 2019 at 5:04 AM <bugzilla at busybox.net <mailto:[email protected]>> wrote:
https://bugs.busybox.net/show_bug.cgi?id=11776 <https://bugs.busybox.net/show_bug.cgi?id=11776>

Bug ID: 11776
Summary: qt5webengine 5.12.2 build failed with arm toolchain
and linaro toolchain
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org <mailto:[email protected]>
Reporter: jacky at ticctv.cn <mailto:[email protected]>
CC: buildroot at uclibc.org <mailto:[email protected]>
Target Milestone: ---

I'm using the least buildroot (commit 4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316) to build qt5webengine. The qt5webengine version is v5.12.2.
I use arm toolchain and linaro toolchain for building, but both failed.

Here is the build log for arm toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"
GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
/usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro <http://src.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd buildtools/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro <http://buildtools.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro <http://ui.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui2/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro <http://ui2.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro <http://configure_host.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.ninja
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro <http://ninja.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.ninja
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro <http://configure_target.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro <http://gn.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro <http://core.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro <http://core_headers.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro <http://core_generator.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn_run
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro <http://gn_run.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn_run
ninja -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
QtWebEngineCore
ninja: Entering directory
`/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11410] CXX obj/sandbox/linux/seccomp_bpf/syscall_sets.o
FAILED: obj/sandbox/linux/seccomp_bpf/syscall_sets.o
/home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
obj/sandbox/linux/seccomp_bpf/syscall_sets.o.d -DSANDBOX_IMPLEMENTATION

(quoted diff) +0 -18
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen
-I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -Wall
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden
-std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -c

../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc <http://syscall_sets.cc/> -o obj/sandbox/linux/seccomp_bpf/syscall_sets.o
In file included from ../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
from
../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
from
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc <http://syscall_sets.cc/>:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc <http://syscall_sets.cc/>: In static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112 <http://syscall_sets.cc:112/>:10:
error: '__NR3264_fstatat' was not declared in this scope
case __NR_newfstatat: // fstatat(). EPERM not a valid errno.
^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc <http://syscall_sets.cc/>: In static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161 <http://syscall_sets.cc:161/>:10:
error: '__NR3264_fstat' was not declared in this scope

     case __NR_fstat:
          ^~~~~~~~~~

[9/11410] CXX obj/services/service_manager/sandbox/sandbox/bpf_cros_arm_gpu_policy_linux.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:336: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1
Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2
Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:238 <http://pkg-generic.mk:238/>: recipe for target '/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built' failed make[1]: *** [/home/dev/buildroot-qt/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

Here is the build log for linaro toolchain:
dev at Dev:^buildroot-qt$make

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5webengine 5.12.2 Building

PATH="/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin:"/home/dev/buildroot-qt/host/bin:/home/dev/buildroot-qt/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" NINJAFLAGS="-j9"
GN_PKG_CONFIG_HOST=/home/dev/buildroot-qt/build/qt5webengine-5.12.2/host-bin/host-pkg-config
/usr/bin/make -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/src.pro <http://src.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd buildtools/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro <http://buildtools.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake
-o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro <http://ui.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
cd webengine/ui2/ && ( test -e Makefile ||
/home/dev/buildroot-qt/host/bin/qmake -o Makefile
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro <http://ui2.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
make[4]: Nothing to be done for 'first'.
make[4]: Nothing to be done for 'first'.
( test -e Makefile.configure_host || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_host
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro <http://configure_host.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_host
( test -e Makefile.ninja || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.ninja
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/ninja.pro <http://ninja.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.configure_target
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro <http://configure_target.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.configure_target
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn || /home/dev/buildroot-qt/host/bin/qmake -o Makefile.gn
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/buildtools/gn.pro <http://gn.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn
make[5]: Nothing to be done for 'first'.
make[5]: Nothing to be done for 'first'.
cd core/ && ( test -e Makefile || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core.pro <http://core.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile
( test -e Makefile.core_headers || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_headers
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_headers.pro <http://core_headers.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_headers
make[5]: Nothing to be done for 'first'.
( test -e Makefile.core_generator || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.core_generator
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/core_generator.pro <http://core_generator.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.core_generator
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn_run || /home/dev/buildroot-qt/host/bin/qmake -o
Makefile.gn_run
/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/gn_run.pro <http://gn_run.pro/>
WEBENGINE_CONFIG+=use_system_ffmpeg QT_CONFIG-=alsa ) && /usr/bin/make -f
Makefile.gn_run
ninja -j9 -C /home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug
QtWebEngineCore
ninja: Entering directory
`/home/dev/buildroot-qt/build/qt5webengine-5.12.2/src/core/debug'
[1/11212] CXX obj/skia/skia/convolver.o
FAILED: obj/skia/skia/convolver.o
/home/dev/buildroot-qt/host/bin/aarch64-linux-gnu-g++ -MMD -MF
obj/skia/skia/convolver.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1

(quoted diff) +0 -65
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_SYSROOT_HASH=37dfa5f22e2c0e847cee34f9848eb31230c33d35 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
-DSK_GAMMA_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2
-DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DWEBP_EXTERN=extern
-DUSE_LIBJPEG_TURBO=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE
-DUCHAR_TYPE=uint16_t -Igen -I../../3rdparty/chromium
-I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext
-I../../3rdparty/chromium/third_party/skia/include/c
-I../../3rdparty/chromium/third_party/skia/include/config
-I../../3rdparty/chromium/third_party/skia/include/core
-I../../3rdparty/chromium/third_party/skia/include/effects
-I../../3rdparty/chromium/third_party/skia/include/encode
-I../../3rdparty/chromium/third_party/skia/include/gpu
-I../../3rdparty/chromium/third_party/skia/include/images
-I../../3rdparty/chromium/third_party/skia/include/lazy
-I../../3rdparty/chromium/third_party/skia/include/pathops
-I../../3rdparty/chromium/third_party/skia/include/pdf
-I../../3rdparty/chromium/third_party/skia/include/pipe
-I../../3rdparty/chromium/third_party/skia/include/ports
-I../../3rdparty/chromium/third_party/skia/include/utils
-I../../3rdparty/chromium/third_party/skia/src/gpu
-I../../3rdparty/chromium/third_party/skia/src/sksl
-I../../3rdparty/chromium/third_party/skia/include/codec
-I../../3rdparty/chromium/third_party/skia/include/private
-I../../3rdparty/chromium/third_party/skia/include/client/android
-I../../3rdparty/chromium/third_party/skia/src/codec
-I../../3rdparty/chromium/third_party/skia/src/core
-I../../3rdparty/chromium/third_party/skia/src/image
-I../../3rdparty/chromium/third_party/skia/src/images
-I../../3rdparty/chromium/third_party/skia/src/opts
-I../../3rdparty/chromium/third_party/skia/src/pdf
-I../../3rdparty/chromium/third_party/skia/src/ports
-I../../3rdparty/chromium/third_party/skia/src/shaders
-I../../3rdparty/chromium/third_party/skia/src/shaders/gradients
-I../../3rdparty/chromium/third_party/skia/src/sfnt
-I../../3rdparty/chromium/third_party/skia/src/utils
-I../../3rdparty/chromium/third_party/skia/src/lazy
-I../../3rdparty/chromium/third_party/skia/third_party/gif
-I../../3rdparty/chromium/third_party/skia/src/effects/gradients
-I../../3rdparty/chromium/third_party/libwebp/src
-I../../3rdparty/chromium/third_party/libpng
-I../../3rdparty/chromium/third_party/zlib
-I../../3rdparty/chromium/third_party/libjpeg_turbo
-I../../3rdparty/chromium/third_party/icu/source/common
-I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread
-O0 -fno-omit-frame-pointer -g2 -fvisibility=hidden -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations
-fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include/freetype2
-isystem../../../../../host/aarch64-buildroot-linux-gnu/sysroot/usr/include
-std=gnu++14 -fno-exceptions -fno-rtti
--sysroot=../../../../../host/aarch64-buildroot-linux-gnu/sysroot
-fvisibility-inlines-hidden -Wno-narrowing -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -c ../../3rdparty/chromium/skia/ext/convolver.cc <http://convolver.cc/> -o

obj/skia/skia/convolver.o
In file included from /home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/stl_algo.h:59:0,
from
/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/algorithm:62,

                 from ../../3rdparty/chromium/skia/ext/convolver.cc <http://convolver.cc/>:5:
/home/dev/buildroot-qt/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
Quoted 8 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>

_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>

_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
_______________________________________________
buildroot mailing list
buildroot at busybox.net <mailto:[email protected]>
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190704/9f9f1ce8/attachment.html>

#18 lore raw

[Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11776

--- Comment #3 from Thomas Preston <[email protected]> --- Hi,
It doesn't look like this but could it be related to pkgconf, which might be used to generate the Ninja files? We had to fix that [0] to get the correct -I and -isystem flags.

Tom

[0] http://lists.busybox.net/pipermail/buildroot/2019-October/261276.html

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#19 lore raw

[Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11776

--- Comment #4 from Bernd Kuhls <[email protected]> --- (In reply to fazibear from comment #2)

Today I hit this bug with buildroot master (37be55a5db) and this defconfig:

BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_BINUTILS_VERSION_2_32_X=y
BR2_GCC_VERSION_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5WEBENGINE=y
BR2_PACKAGE_XORG7=y

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#20 lore raw

[Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11776

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Peter Korsgaard <[email protected]> ---
The 2019.05.x series is no longer supported, and qt5webengine has been bumped since, so closing the issue. Please reopen with more details if you still see the issue, thanks.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot