All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
@ 2019-04-11  9:04 bugzilla at busybox.net
  2019-06-10 12:53 ` Nathan Ford
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: bugzilla at busybox.net @ 2019-04-11  9:04 UTC (permalink / raw)
  To: buildroot

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
>>> 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
>>> 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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-04-11  9:04 [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain bugzilla at busybox.net
@ 2019-06-10 12:53 ` Nathan Ford
  2019-06-11  1:21 ` Nathan Ford
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 21+ messages in thread
From: Nathan Ford @ 2019-06-10 12:53 UTC (permalink / raw)
  To: buildroot

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.


On Thu, Apr 11, 2019 at 5:04 AM <bugzilla@busybox.net> 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
> >>> 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
> >>> 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.
>
> --
> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-04-11  9:04 [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain bugzilla at busybox.net
  2019-06-10 12:53 ` Nathan Ford
@ 2019-06-11  1:21 ` Nathan Ford
  2019-06-17 20:34   ` David Barbion
  2019-06-19 12:02 ` [Buildroot] [Bug 11776] " bugzilla at busybox.net
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 21+ messages in thread
From: Nathan Ford @ 2019-06-11  1:21 UTC (permalink / raw)
  To: buildroot

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@busybox.net> 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
> >>> 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
> >>> 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.
>
> --
> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-11  1:21 ` Nathan Ford
@ 2019-06-17 20:34   ` David Barbion
  2019-06-18 13:41     ` Nathan Ford
  0 siblings, 1 reply; 21+ messages in thread
From: David Barbion @ 2019-06-17 20:34 UTC (permalink / raw)
  To: buildroot

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++
> -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@busybox.net
> <mailto:bugzilla@busybox.net>> 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:unassigned@buildroot.uclibc.org>
>     ? ? ? ? ? Reporter: jacky at ticctv.cn <mailto:jacky@ticctv.cn>
>     ? ? ? ? ? ? ? ? CC: buildroot at uclibc.org <mailto:buildroot@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
>     >>> 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:buildroot@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/20190617/10b761ff/attachment.html>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-17 20:34   ` David Barbion
@ 2019-06-18 13:41     ` Nathan Ford
  2019-06-18 14:14       ` David Barbion
  0 siblings, 1 reply; 21+ messages in thread
From: Nathan Ford @ 2019-06-18 13:41 UTC (permalink / raw)
  To: buildroot

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@230ruedubac.fr> 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.
> 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++
> -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@busybox.net> 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
>> >>> 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
>> >>> 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.
>>
>> --
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190618/90a6742a/attachment.html>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-18 13:41     ` Nathan Ford
@ 2019-06-18 14:14       ` David Barbion
  2019-06-22 12:50         ` Nathan Ford
  0 siblings, 1 reply; 21+ messages in thread
From: David Barbion @ 2019-06-18 14:14 UTC (permalink / raw)
  To: buildroot

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
>
> On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb@230ruedubac.fr
> <mailto:davidb@230ruedubac.fr>> 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.
>     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++
>>     -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@busybox.net
>>     <mailto:bugzilla@busybox.net>> 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:unassigned@buildroot.uclibc.org>
>>         ? ? ? ? ? Reporter: jacky at ticctv.cn <mailto:jacky@ticctv.cn>
>>         ? ? ? ? ? ? ? ? CC: buildroot at uclibc.org
>>         <mailto:buildroot@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
>>         >>> 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:buildroot@busybox.net>
>>         http://lists.busybox.net/mailman/listinfo/buildroot
>>
>>
>>     _______________________________________________
>>     buildroot mailing list
>>     buildroot at busybox.net <mailto:buildroot@busybox.net>
>>     http://lists.busybox.net/mailman/listinfo/buildroot
>     _______________________________________________
>     buildroot mailing list
>     buildroot at busybox.net <mailto:buildroot@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/f78e6ebb/attachment.html>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-04-11  9:04 [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain bugzilla at busybox.net
  2019-06-10 12:53 ` Nathan Ford
  2019-06-11  1:21 ` Nathan Ford
@ 2019-06-19 12:02 ` bugzilla at busybox.net
  2019-06-19 20:20 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 21+ messages in thread
From: bugzilla at busybox.net @ 2019-06-19 12:02 UTC (permalink / raw)
  To: buildroot

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-04-11  9:04 [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-06-19 12:02 ` [Buildroot] [Bug 11776] " bugzilla at busybox.net
@ 2019-06-19 20:20 ` bugzilla at busybox.net
  2019-06-20 20:48   ` David Barbion
  2019-10-03  8:48 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 21+ messages in thread
From: bugzilla at busybox.net @ 2019-06-19 20:20 UTC (permalink / raw)
  To: buildroot

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,

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-19 20:20 ` bugzilla at busybox.net
@ 2019-06-20 20:48   ` David Barbion
  0 siblings, 0 replies; 21+ messages in thread
From: David Barbion @ 2019-06-20 20:48 UTC (permalink / raw)
  To: buildroot

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.

On 19/06/2019 22:20, bugzilla at busybox.net wrote:
> 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,
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-18 14:14       ` David Barbion
@ 2019-06-22 12:50         ` Nathan Ford
  2019-06-22 13:50           ` Nathan Ford
  0 siblings, 1 reply; 21+ messages in thread
From: Nathan Ford @ 2019-06-22 12:50 UTC (permalink / raw)
  To: buildroot

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@230ruedubac.fr>
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.
> 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
>
> On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb@230ruedubac.fr>
> 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.
>> 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++
>> -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@busybox.net> 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
>>> >>> 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
>>> >>> 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.
>>>
>>> --
>>> 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
>>
> _______________________________________________
> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-22 12:50         ` Nathan Ford
@ 2019-06-22 13:50           ` Nathan Ford
  2019-06-22 17:29             ` Nathan Ford
  2019-06-26 18:33             ` Michał Kalbarczyk
  0 siblings, 2 replies; 21+ messages in thread
From: Nathan Ford @ 2019-06-22 13:50 UTC (permalink / raw)
  To: buildroot

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,

On Sat, Jun 22, 2019 at 8:50 AM Nathan Ford <nford@westpond.com> 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@230ruedubac.fr>
> 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.
>> 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
>>
>> On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb@230ruedubac.fr>
>> 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.
>>> 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++
>>> -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@busybox.net> 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
>>>> >>> 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
>>>> >>> 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.
>>>>
>>>> --
>>>> 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
>>>
>> _______________________________________________
>> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-22 13:50           ` Nathan Ford
@ 2019-06-22 17:29             ` Nathan Ford
  2019-06-22 18:48               ` Nathan Ford
  2019-06-26 18:33             ` Michał Kalbarczyk
  1 sibling, 1 reply; 21+ messages in thread
From: Nathan Ford @ 2019-06-22 17:29 UTC (permalink / raw)
  To: buildroot

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

On Sat, Jun 22, 2019 at 9:50 AM Nathan Ford <nford@westpond.com> 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
> @@ -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@westpond.com> 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@230ruedubac.fr>
>> 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.
>>> 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
>>>
>>> On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb@230ruedubac.fr>
>>> 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.
>>>> 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++
>>>> -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@busybox.net> 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
>>>>> >>> 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
>>>>> >>> 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.
>>>>>
>>>>> --
>>>>> 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
>>>>
>>> _______________________________________________
>>> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-22 17:29             ` Nathan Ford
@ 2019-06-22 18:48               ` Nathan Ford
  2019-06-25 20:55                 ` Arnout Vandecappelle
  0 siblings, 1 reply; 21+ messages in thread
From: Nathan Ford @ 2019-06-22 18:48 UTC (permalink / raw)
  To: buildroot

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

On Sat, Jun 22, 2019 at 1:29 PM Nathan Ford <nford@westpond.com> wrote:

> 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
>
> On Sat, Jun 22, 2019 at 9:50 AM Nathan Ford <nford@westpond.com> 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
>> @@ -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@westpond.com> 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@230ruedubac.fr>
>>> 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.
>>>> 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
>>>>
>>>> On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb@230ruedubac.fr>
>>>> 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.
>>>>> 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++
>>>>> -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@busybox.net> 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
>>>>>> >>> 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
>>>>>> >>> 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.
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>
>>>> _______________________________________________
>>>> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-22 18:48               ` Nathan Ford
@ 2019-06-25 20:55                 ` Arnout Vandecappelle
  0 siblings, 0 replies; 21+ messages in thread
From: Arnout Vandecappelle @ 2019-06-25 20:55 UTC (permalink / raw)
  To: buildroot



On 22/06/2019 20:48, Nathan Ford wrote:
> 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

 Could you test if that fixes it for you, and if yes, send it as a patch to the
Buildroot mailing list?

 Qt 5.13.0 indeed includes this change.

 Regards,
 Arnout

[snip]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-22 13:50           ` Nathan Ford
  2019-06-22 17:29             ` Nathan Ford
@ 2019-06-26 18:33             ` Michał Kalbarczyk
  2019-06-27 21:45               ` Nathan Ford
  2019-07-04 16:32               ` Michał Kalbarczyk
  1 sibling, 2 replies; 21+ messages in thread
From: Michał Kalbarczyk @ 2019-06-26 18:33 UTC (permalink / raw)
  To: buildroot

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 <nford@westpond.com> 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
> @@ -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:nford@westpond.com>> 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:davidb@230ruedubac.fr>> 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.
> 
> 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
>> 
>> On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb at 230ruedubac.fr <mailto:davidb@230ruedubac.fr>> 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.
>> 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++ -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:bugzilla@busybox.net>> 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:unassigned@buildroot.uclibc.org>
>>>           Reporter: jacky at ticctv.cn <mailto:jacky@ticctv.cn>
>>>                 CC: buildroot at uclibc.org <mailto:buildroot@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
>>> >>> 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:buildroot@busybox.net>
>>> http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
>>> 
>>> 
>>> _______________________________________________
>>> buildroot mailing list
>>> buildroot at busybox.net <mailto:buildroot@busybox.net>
>>> http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net <mailto:buildroot@busybox.net>
>> http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net <mailto:buildroot@busybox.net>
> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-26 18:33             ` Michał Kalbarczyk
@ 2019-06-27 21:45               ` Nathan Ford
  2019-06-28 10:12                 ` Michał Kalbarczyk
  2019-07-04 16:32               ` Michał Kalbarczyk
  1 sibling, 1 reply; 21+ messages in thread
From: Nathan Ford @ 2019-06-27 21:45 UTC (permalink / raw)
  To: buildroot

That looks like a new issue.

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

--Nate

On Wed, Jun 26, 2019 at 2:34 PM Micha? Kalbarczyk <michal@gamecodehq.com>
wrote:

> 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 <nford@westpond.com> 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
> @@ -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@westpond.com> 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@230ruedubac.fr>
>> 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.
>>> 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
>>>
>>> On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb@230ruedubac.fr>
>>> 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.
>>>> 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++
>>>> -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@busybox.net> 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
>>>>> >>> 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
>>>>> >>> 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.
>>>>>
>>>>> --
>>>>> 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
>>>>
>>> _______________________________________________
>>> 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/20190627/a2cb7568/attachment.html>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-27 21:45               ` Nathan Ford
@ 2019-06-28 10:12                 ` Michał Kalbarczyk
  0 siblings, 0 replies; 21+ messages in thread
From: Michał Kalbarczyk @ 2019-06-28 10:12 UTC (permalink / raw)
  To: buildroot

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?


> On 27 Jun 2019, at 23:45, Nathan Ford <nford@westpond.com> wrote:
> 
> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-06-26 18:33             ` Michał Kalbarczyk
  2019-06-27 21:45               ` Nathan Ford
@ 2019-07-04 16:32               ` Michał Kalbarczyk
  1 sibling, 0 replies; 21+ messages in thread
From: Michał Kalbarczyk @ 2019-07-04 16:32 UTC (permalink / raw)
  To: buildroot

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

> On 26 Jun 2019, at 20:33, Micha? Kalbarczyk <michal@gamecodehq.com> wrote:
> 
> 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 <nford at westpond.com <mailto:nford@westpond.com>> 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
>> @@ -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:nford@westpond.com>> 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:davidb@230ruedubac.fr>> 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.
>> 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
>>> 
>>> On Mon, Jun 17, 2019 at 4:41 PM David Barbion <davidb at 230ruedubac.fr <mailto:davidb@230ruedubac.fr>> 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.
>>> 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++ -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:bugzilla@busybox.net>> 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:unassigned@buildroot.uclibc.org>
>>>>           Reporter: jacky at ticctv.cn <mailto:jacky@ticctv.cn>
>>>>                 CC: buildroot at uclibc.org <mailto:buildroot@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
>>>> >>> 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 <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
>>>> >>> 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 <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.
>>>> 
>>>> -- 
>>>> You are receiving this mail because:
>>>> You are on the CC list for the bug.
>>>> _______________________________________________
>>>> buildroot mailing list
>>>> buildroot at busybox.net <mailto:buildroot@busybox.net>
>>>> http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> buildroot mailing list
>>>> buildroot at busybox.net <mailto:buildroot@busybox.net>
>>>> http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
>>> _______________________________________________
>>> buildroot mailing list
>>> buildroot at busybox.net <mailto:buildroot@busybox.net>
>>> http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net <mailto:buildroot@busybox.net>
>> http://lists.busybox.net/mailman/listinfo/buildroot <http://lists.busybox.net/mailman/listinfo/buildroot>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net <mailto:buildroot@busybox.net>
>> 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>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-04-11  9:04 [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2019-06-19 20:20 ` bugzilla at busybox.net
@ 2019-10-03  8:48 ` bugzilla at busybox.net
  2019-10-05 18:14 ` bugzilla at busybox.net
  2022-09-18 10:52 ` bugzilla
  6 siblings, 0 replies; 21+ messages in thread
From: bugzilla at busybox.net @ 2019-10-03  8:48 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Thomas Preston <thomas.preston@codethink.co.uk> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-04-11  9:04 [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2019-10-03  8:48 ` bugzilla at busybox.net
@ 2019-10-05 18:14 ` bugzilla at busybox.net
  2022-09-18 10:52 ` bugzilla
  6 siblings, 0 replies; 21+ messages in thread
From: bugzilla at busybox.net @ 2019-10-05 18:14 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Bernd Kuhls <bernd.kuhls@t-online.de> ---
(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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [Bug 11776] qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain
  2019-04-11  9:04 [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2019-10-05 18:14 ` bugzilla at busybox.net
@ 2022-09-18 10:52 ` bugzilla
  6 siblings, 0 replies; 21+ messages in thread
From: bugzilla @ 2022-09-18 10:52 UTC (permalink / raw)
  To: buildroot

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

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Peter Korsgaard <jacmet@uclibc.org> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-09-18 10:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-11  9:04 [Buildroot] [Bug 11776] New: qt5webengine 5.12.2 build failed with arm toolchain and linaro toolchain bugzilla at busybox.net
2019-06-10 12:53 ` Nathan Ford
2019-06-11  1:21 ` Nathan Ford
2019-06-17 20:34   ` David Barbion
2019-06-18 13:41     ` Nathan Ford
2019-06-18 14:14       ` David Barbion
2019-06-22 12:50         ` Nathan Ford
2019-06-22 13:50           ` Nathan Ford
2019-06-22 17:29             ` Nathan Ford
2019-06-22 18:48               ` Nathan Ford
2019-06-25 20:55                 ` Arnout Vandecappelle
2019-06-26 18:33             ` Michał Kalbarczyk
2019-06-27 21:45               ` Nathan Ford
2019-06-28 10:12                 ` Michał Kalbarczyk
2019-07-04 16:32               ` Michał Kalbarczyk
2019-06-19 12:02 ` [Buildroot] [Bug 11776] " bugzilla at busybox.net
2019-06-19 20:20 ` bugzilla at busybox.net
2019-06-20 20:48   ` David Barbion
2019-10-03  8:48 ` bugzilla at busybox.net
2019-10-05 18:14 ` bugzilla at busybox.net
2022-09-18 10:52 ` bugzilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.