How to build and deploy Linux BSP on S32V234EVB board with Host Ubuntu 20.04

  1. Abstract

This document records How to build and deploy Linux BSP on S32V234EVB board with Host Ubuntu 20.04. Assume that you have already set up Ubuntu20.04 computing environment and all related tools and libraries has already been installed. The build and deploy procedure is much more complicated compared to that of Ubuntu18.04 which is described in ref[2].

  1. Reference
  1. S32V2 Vision and Sensor Fusion low-cost Evaluation Board

S32V2 Vision and Sensor Fusion low-cost Evaluation Board | NXP Semiconductors

  1. S32V234_LinuxBSP_23.1_User_Manual.pdf
  2. ubuntu 20.04 编译yocto 错误集锦

ubuntu 20.04 编译yocto 错误集锦_error: oe_runmake failed-CSDN博客

  1. openwrt freadahead.c error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to buggnulib

++http://t.zoukankan.com/hzijone-p-15529946.html++

  1. 在Ubuntu21.04中编译Tina SDKV1.01 版本 踩坑记录

++https://blog.csdn.net/weixin_43094346/article/details/123063231++

  1. Main Procedures
    1. Building default YOCTO
      1. Install repo

mkdir ~/bin

curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/bin/repo

(in official ref[2] it is curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo, actually the repo's location is not fixed and you can specify it anywhere)

chmod a+x ~/bin/repo

PATH=${PATH}:~/bin

      1. Download the Yocto Project Environment

mkdir fsl-auto-yocto-bsp-s32v234

cd fsl-auto-yocto-bsp-s32v234

repo init -u https://source.codeaurora.org/external/autobsps32/auto_yocto_bsp -b release/s32v_bsp23.1

repo sync

      1. Build the Linux BSP
  1. First time setup

./sources/meta-alb/scripts/host-prepare.sh

  1. Create a build directory in the SDK root

source nxp-setup-alb.sh -m s32v234evb

  1. Configure and add GPU drivers

bitbake virtual/kernel -c menuconfig

Device Drivers -> Generic Driver Options -> [*] DMA Contiguous Memory Allocator -> set (32) Size in Mega Bytes instead of 16 (default)

  1. Generate images

bitbake fsl-image-auto

would be enough to completely build u-boot, kernel, modules, and a rootfs ready to be deployed. Look for a build result in <builddirectory>/tmp/deploy/images/.

    1. Encountered Problems

Below just exhibit majority part of encountered problems when you execute "bitbake" command. However, actually you may face many more problems.

      1. bison-native do_compile errors

yulong@yulong-ZenBook-U3700EA:~/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb$ bitbake fsl-image-auto

WARNING: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/lib/oe/maketype.py:99: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working

if not isinstance(obj, collections.Callable):

WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

Loading cache: 100% |########################################################################################################################| Time: 0:00:00

Loaded 3641 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION = "1.38.0"

BUILD_SYS = "x86_64-linux"

NATIVELSBSTRING = "ubuntu-20.04"

TARGET_SYS = "aarch64-fsl-linux"

MACHINE = "s32v234evb"

DISTRO = "fsl-auto"

DISTRO_VERSION = "1.0"

TUNE_FEATURES = "aarch64"

TARGET_FPU = ""

meta

meta-poky

meta-yocto-bsp = "HEAD:fa962ec72f8a8337eaae71ab622e340f6ef56395"

meta-oe

meta-multimedia

meta-python

meta-networking

meta-gnome

meta-filesystems

meta-webserver

meta-perl

meta-xfce = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"

meta-virtualization = "HEAD:ed2038c935777d1336c17989d454f4e9c95fea7f"

meta-freescale = "HEAD:827bda6303c9d637efb4b94727b67e1857760171"

meta-alb = "HEAD:f91cd915ab925f5d042f816e01a05d5a712f5a73"

meta-linaro-toolchain = "HEAD:282b47a10940c26854c1cca0ec40950192af16fc"

WARNING: Your host glibc verson (2.31) is newer than that in uninative (2.28). Disabling uninative so that sstate is not corrupted.

Initialising tasks: 100% |###################################################################################################################| Time: 0:00:01

Checking sstate mirror object availability: 100% |###########################################################################################| Time: 0:00:01

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: bison-native-3.0.4-r0 do_compile: oe_runmake failed

ERROR: bison-native-3.0.4-r0 do_compile: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/temp/log.do_compile.176852)

ERROR: Logfile of failure stored in: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/temp/log.do_compile.176852

Log data follows:

| DEBUG: Executing shell function do_compile

| NOTE: make -j 12

| make all-recursive

| make[1]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build'

| Making all in po

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build/po'

| make[2]: Nothing to be done for 'all'.

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build/po'

| Making all in runtime-po

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build/runtime-po'

| make[2]: Nothing to be done for 'all'.

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build/runtime-po'

| Making all in .

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build'

| gcc -I. -I./lib -I../bison-3.0.4 -I../bison-3.0.4/lib -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/recipe-sysroot-native/usr/include -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o lib/fseterr.o ../bison-3.0.4/lib/fseterr.c

| ../bison-3.0.4/lib/fseterr.c: In function 'fseterr':

| ../bison-3.0.4/lib/fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."

| 77 | #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."

| | ^~~~~

| make[2]: *** [Makefile:3366: lib/fseterr.o] Error 1

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build'

| make[1]: *** [Makefile:4379: all-recursive] Error 1

| make[1]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/build'

| make: *** [Makefile:2525: all] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/bison-native/3.0.4-r0/temp/log.do_compile.176852)

ERROR: Task (virtual:native:/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/recipes-devtools/bison/bison_3.0.4.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 264 tasks of which 243 didn't need to be rerun and 1 failed.

Summary: 1 task failed:

virtual:native:/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/recipes-devtools/bison/bison_3.0.4.bb:do_compile

Summary: There were 3 WARNING messages shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Resolution: make a patch

a. create a patch file "110-glibc-bison.patch"

--- a/lib/stdio-impl.h

+++ b/lib/stdio-impl.h

@@ -18,6 +18,12 @@

the same implementation of stdio extension API, except that some fields

have different naming conventions, or their access requires some casts. */

+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this

  • problem by defining it ourselves. FIXME: Do not rely on glibc

  • internals. */

+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN

+# define _IO_IN_BACKUP 0x100

+#endif

/* BSD stdio derived implementations. */

--- a/lib/fseterr.c

+++ b/lib/fseterr.c

@@ -29,7 +29,7 @@

/* Most systems provide FILE as a struct and the necessary bitmask in

<stdio.h>, because they need it for implementing getc() and putc() as

fast macros. */

-#if defined _IO_ftrylockfile || GNU_LIBRARY == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */

+#if defined _IO_EOF_SEEN || GNU_LIBRARY == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */

fp->_flags |= _IO_ERR_SEEN;

#elif defined __sferror || defined DragonFly /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */

fp_->_flags |= __SERR;

b. deploy the patch

cp 110-glibc-bison.patch /home/oem/code/yocto-sumo-ac8015/meta/poky/meta/recipes-devtools/bison/bison/

c. update the bb file

SRC_URI = "{GNU_MIRROR}/bison/bison-{PV}.tar.xz \

file://0001-Unset-need_charset_alias-when-building-for-musl.patch \

file://dont-depend-on-help2man.patch.patch \

file://0001-src-local.mk-fix-parallel-issue.patch \

file://add-with-bisonlocaledir.patch \

file://110-glibc-bison.patch \

"

      1. elfutils-native do_compile errors

yulong@yulong-ZenBook-U3700EA:~/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb$ bitbake fsl-image-auto

WARNING: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/lib/oe/maketype.py:99: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working

if not isinstance(obj, collections.Callable):

WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

Loading cache: 100% |########################################################################################################################| Time: 0:00:00

Loaded 3641 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION = "1.38.0"

BUILD_SYS = "x86_64-linux"

NATIVELSBSTRING = "ubuntu-20.04"

TARGET_SYS = "aarch64-fsl-linux"

MACHINE = "s32v234evb"

DISTRO = "fsl-auto"

DISTRO_VERSION = "1.0"

TUNE_FEATURES = "aarch64"

TARGET_FPU = ""

meta

meta-poky

meta-yocto-bsp = "HEAD:fa962ec72f8a8337eaae71ab622e340f6ef56395"

meta-oe

meta-multimedia

meta-python

meta-networking

meta-gnome

meta-filesystems

meta-webserver

meta-perl

meta-xfce = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"

meta-virtualization = "HEAD:ed2038c935777d1336c17989d454f4e9c95fea7f"

meta-freescale = "HEAD:827bda6303c9d637efb4b94727b67e1857760171"

meta-alb = "HEAD:f91cd915ab925f5d042f816e01a05d5a712f5a73"

meta-linaro-toolchain = "HEAD:282b47a10940c26854c1cca0ec40950192af16fc"

WARNING: Your host glibc verson (2.31) is newer than that in uninative (2.28). Disabling uninative so that sstate is not corrupted.

Initialising tasks: 100% |###################################################################################################################| Time: 0:00:01

Checking sstate mirror object availability: 100% |###########################################################################################| Time: 0:00:01

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: elfutils-native-0.170-r0 do_compile: oe_runmake failed

ERROR: elfutils-native-0.170-r0 do_compile: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/temp/log.do_compile.231503)

ERROR: Logfile of failure stored in: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/temp/log.do_compile.231503

Log data follows:

| DEBUG: Executing shell function do_compile

| NOTE: make -j 12

| make --no-print-directory all-recursive

| Making all in config

| make[2]: Nothing to be done for 'all'.

| Making all in m4

| make[2]: Nothing to be done for 'all'.

| Making all in lib

| make[2]: Nothing to be done for 'all'.

| Making all in libelf

| gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/libelf -I.. -I. -I../../elfutils-0.170/libelf -I../../elfutils-0.170/lib -I.. -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o elf32_fsize.o ../../elfutils-0.170/libelf/elf32_fsize.c

| gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/libelf -I.. -I. -I../../elfutils-0.170/libelf -I../../elfutils-0.170/lib -I.. -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o elf64_fsize.o ../../elfutils-0.170/libelf/elf64_fsize.c

| gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/libelf -I.. -I. -I../../elfutils-0.170/libelf -I../../elfutils-0.170/lib -I.. -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o elf32_xlatetof.o ../../elfutils-0.170/libelf/elf32_xlatetof.c

| gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/libelf -I.. -I. -I../../elfutils-0.170/libelf -I../../elfutils-0.170/lib -I.. -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o elf32_xlatetom.o ../../elfutils-0.170/libelf/elf32_xlatetom.c

| gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/libelf -I.. -I. -I../../elfutils-0.170/libelf -I../../elfutils-0.170/lib -I.. -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o elf64_xlatetof.o ../../elfutils-0.170/libelf/elf64_xlatetof.c

| gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/libelf -I.. -I. -I../../elfutils-0.170/libelf -I../../elfutils-0.170/lib -I.. -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o elf64_xlatetom.o ../../elfutils-0.170/libelf/elf64_xlatetom.c

| gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/libelf -I.. -I. -I../../elfutils-0.170/libelf -I../../elfutils-0.170/lib -I.. -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gelf_xlate.o ../../elfutils-0.170/libelf/gelf_xlate.c

| In file included from ../config.h:125,

| from ../../elfutils-0.170/libelf/elf32_fsize.c:31:

| ../../elfutils-0.170/libelf/libelfP.h:47:30: error: '__elf32_msize' specifies less restrictive attribute than its target 'elf32_fsize': 'const' [-Werror=missing-attributes]

| 47 | #define _elfw2(Bits, Name) __elf##Bits##_##Name

| | ^~~~~

| ../../elfutils-0.170/lib/eu-config.h:60:26: note: in definition of macro 'strong_alias'

| 60 | extern __typeof (name) aliasname attribute ((alias (#name)));

| | ^~~~~~~~~

| ../../elfutils-0.170/libelf/elf32_fsize.c:68:1: note: in expansion of macro 'local_strong_alias'

| 68 | local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))

| | ^~~~~~~~~~~~~~~~~~

| ../../elfutils-0.170/libelf/libelfP.h:52:29: note: in expansion of macro '_elfw2'

| 52 | #define __elfw2(Bits, Name) _elfw2(Bits, Name)

| | ^~~~~~~~

| ../../elfutils-0.170/libelf/elf32_fsize.c:68:47: note: in expansion of macro '__elfw2'

| 68 | local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))

| | ^~~~~~~

| In file included from ../../elfutils-0.170/libelf/elf32_fsize.c:35:

| ../../elfutils-0.170/libelf/libelfP.h:48:28: note: '__elf32_msize' target declared here

| 48 | #define elfw2_(Bits, Name) elf##Bits##_##Name

| | ^~~

| ../../elfutils-0.170/libelf/libelfP.h:53:27: note: in expansion of macro 'elfw2_'

| 53 | #define elfw2(Bits, Name) elfw2_(Bits, Name)

| | ^~~~~~

| ../../elfutils-0.170/libelf/elf32_fsize.c:43:1: note: in expansion of macro 'elfw2'

| 43 | elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version)

| | ^~~~~

| cc1: all warnings being treated as errors

| make[2]: *** [Makefile:712: elf32_fsize.o] Error 1

| make[2]: *** Waiting for unfinished jobs....

| In file included from ../config.h:125,

| from ../../elfutils-0.170/libelf/elf32_fsize.c:31,

| from ../../elfutils-0.170/libelf/elf64_fsize.c:31:

| ../../elfutils-0.170/libelf/libelfP.h:47:30: error: '__elf64_msize' specifies less restrictive attribute than its target 'elf64_fsize': 'const' [-Werror=missing-attributes]

| 47 | #define _elfw2(Bits, Name) __elf##Bits##_##Name

| | ^~~~~

| ../../elfutils-0.170/lib/eu-config.h:60:26: note: in definition of macro 'strong_alias'

| 60 | extern __typeof (name) aliasname attribute ((alias (#name)));

| | ^~~~~~~~~

| ../../elfutils-0.170/libelf/elf32_fsize.c:68:1: note: in expansion of macro 'local_strong_alias'

| 68 | local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))

| | ^~~~~~~~~~~~~~~~~~

| ../../elfutils-0.170/libelf/libelfP.h:52:29: note: in expansion of macro '_elfw2'

| 52 | #define __elfw2(Bits, Name) _elfw2(Bits, Name)

| | ^~~~~~~~

| ../../elfutils-0.170/libelf/elf32_fsize.c:68:47: note: in expansion of macro '__elfw2'

| 68 | local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))

| | ^~~~~~~

| In file included from ../../elfutils-0.170/libelf/elf32_fsize.c:35,

| from ../../elfutils-0.170/libelf/elf64_fsize.c:31:

| ../../elfutils-0.170/libelf/libelfP.h:48:28: note: '__elf64_msize' target declared here

| 48 | #define elfw2_(Bits, Name) elf##Bits##_##Name

| | ^~~

| ../../elfutils-0.170/libelf/libelfP.h:53:27: note: in expansion of macro 'elfw2_'

| 53 | #define elfw2(Bits, Name) elfw2_(Bits, Name)

| | ^~~~~~

| ../../elfutils-0.170/libelf/elf32_fsize.c:43:1: note: in expansion of macro 'elfw2'

| 43 | elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version)

| | ^~~~~

| cc1: all warnings being treated as errors

| make[2]: *** [Makefile:712: elf64_fsize.o] Error 1

| make[1]: *** [Makefile:478: all-recursive] Error 1

| make: *** [Makefile:394: all] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/elfutils-native/0.170-r0/temp/log.do_compile.231503)

ERROR: Task (virtual:native:/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/recipes-devtools/elfutils/elfutils_0.170.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 320 tasks of which 297 didn't need to be rerun and 1 failed.

Summary: 1 task failed:

virtual:native:/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/recipes-devtools/elfutils/elfutils_0.170.bb:do_compile

Summary: There were 3 WARNING messages shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Resolution: modify the source file

The reason for this error is that type __elf64_msize should be const, but in the declaration the const attribute is omitted.

a. modify ./elfutils-0.170/libelf/libelfP.h

      1. directive argument is null

yulong@yulong-ZenBook-U3700EA:~/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb$ bitbake fsl-image-auto

WARNING: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/lib/oe/maketype.py:99: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working

if not isinstance(obj, collections.Callable):

WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

Loading cache: 100% |########################################################################################################################| Time: 0:00:00

Loaded 3641 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION = "1.38.0"

BUILD_SYS = "x86_64-linux"

NATIVELSBSTRING = "ubuntu-20.04"

TARGET_SYS = "aarch64-fsl-linux"

MACHINE = "s32v234evb"

DISTRO = "fsl-auto"

DISTRO_VERSION = "1.0"

TUNE_FEATURES = "aarch64"

TARGET_FPU = ""

meta

meta-poky

meta-yocto-bsp = "HEAD:fa962ec72f8a8337eaae71ab622e340f6ef56395"

meta-oe

meta-multimedia

meta-python

meta-networking

meta-gnome

meta-filesystems

meta-webserver

meta-perl

meta-xfce = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"

meta-virtualization = "HEAD:ed2038c935777d1336c17989d454f4e9c95fea7f"

meta-freescale = "HEAD:827bda6303c9d637efb4b94727b67e1857760171"

meta-alb = "HEAD:f91cd915ab925f5d042f816e01a05d5a712f5a73"

meta-linaro-toolchain = "HEAD:282b47a10940c26854c1cca0ec40950192af16fc"

WARNING: Your host glibc verson (2.31) is newer than that in uninative (2.28). Disabling uninative so that sstate is not corrupted.

Initialising tasks: 100% |###################################################################################################################| Time: 0:00:01

Checking sstate mirror object availability: 100% |###########################################################################################| Time: 0:00:00

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: glib-2.0-native-1_2.54.3-r0 do_compile: oe_runmake failed

ERROR: glib-2.0-native-1_2.54.3-r0 do_compile: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/temp/log.do_compile.864636)

ERROR: Logfile of failure stored in: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/temp/log.do_compile.864636

Log data follows:

| DEBUG: Executing shell function do_compile

| NOTE: make -j 12

| make all-recursive

| make[1]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build'

| Making all in .

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build'

| Making all in m4macros

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/m4macros'

| make all-am

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/m4macros'

| make[3]: Nothing to be done for 'all-am'.

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/m4macros'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/m4macros'

| Making all in glib

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| make all-recursive

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| Making all in libcharset

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/libcharset'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/libcharset'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/libcharset'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/libcharset'

| Making all in update-pcre

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/update-pcre'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/update-pcre'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/update-pcre'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/update-pcre'

| Making all in .

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| make[4]: Nothing to be done for 'all-am'.

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| Making all in tests

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/tests'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/tests'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/tests'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/tests'

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| Making all in gmodule

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gmodule'

| make all-am

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gmodule'

| make[3]: Nothing to be done for 'all-am'.

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gmodule'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gmodule'

| Making all in gthread

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gthread'

| make all-am

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gthread'

| make[3]: Nothing to be done for 'all-am'.

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gthread'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gthread'

| Making all in gobject

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| make all-recursive

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| Making all in .

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| make[4]: Nothing to be done for 'all-am'.

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| Making all in tests

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject/tests'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject/tests'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject/tests'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject/tests'

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| Making all in gio

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| make all-recursive

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| Making all in gdbus-2.0/codegen

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/gdbus-2.0/codegen'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/gdbus-2.0/codegen'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/gdbus-2.0/codegen'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/gdbus-2.0/codegen'

| Making all in xdgmime

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/xdgmime'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/xdgmime'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/xdgmime'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/xdgmime'

| Making all in inotify

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/inotify'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/inotify'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/inotify'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/inotify'

| Making all in .

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| ../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libgio_2_0_la-gdbusauth.lo `test -f 'gdbusauth.c' || echo '../../glib-2.54.3/gio/'`gdbusauth.c

| ../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libgio_2_0_la-gdbusmessage.lo `test -f 'gdbusmessage.c' || echo '../../glib-2.54.3/gio/'`gdbusmessage.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gapplication-tool.o ../../glib-2.54.3/gio/gapplication-tool.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gresource-gresource-tool.o `test -f 'gresource-tool.c' || echo '../../glib-2.54.3/gio/'`gresource-tool.c

| ../x86_64-linux-libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib -L/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/lib -Wl,-O1 -o glib-compile-schemas gvdb-builder.o glib-compile-schemas.o ../glib/libglib-2.0.la

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool.o ../../glib-2.54.3/gio/gio-tool.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-cat.o ../../glib-2.54.3/gio/gio-tool-cat.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-copy.o ../../glib-2.54.3/gio/gio-tool-copy.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-info.o ../../glib-2.54.3/gio/gio-tool-info.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-list.o ../../glib-2.54.3/gio/gio-tool-list.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-mime.o ../../glib-2.54.3/gio/gio-tool-mime.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-mkdir.o ../../glib-2.54.3/gio/gio-tool-mkdir.c

| x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../glib-2.54.3/gio/gdbusauth.c -fPIC -DPIC -o .libs/libgio_2_0_la-gdbusauth.o

| x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../glib-2.54.3/gio/gdbusmessage.c -fPIC -DPIC -o .libs/libgio_2_0_la-gdbusmessage.o

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-monitor.o ../../glib-2.54.3/gio/gio-tool-monitor.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-mount.o ../../glib-2.54.3/gio/gio-tool-mount.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-move.o ../../glib-2.54.3/gio/gio-tool-move.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-open.o ../../glib-2.54.3/gio/gio-tool-open.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-rename.o ../../glib-2.54.3/gio/gio-tool-rename.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-remove.o ../../glib-2.54.3/gio/gio-tool-remove.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-save.o ../../glib-2.54.3/gio/gio-tool-save.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-set.o ../../glib-2.54.3/gio/gio-tool-set.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-trash.o ../../glib-2.54.3/gio/gio-tool-trash.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-tool-tree.o ../../glib-2.54.3/gio/gio-tool-tree.c

| gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o gio-querymodules.o ../../glib-2.54.3/gio/gio-querymodules.c

| ../../glib-2.54.3/gio/gdbusauth.c: In function '_g_dbus_auth_run_server':

| ../../glib-2.54.3/gio/gdbusauth.c:1305:11: error: '%s' directive argument is null [-Werror=format-overflow=]

| 1305 | debug_print ("SERVER: WaitingForBegin, read '%s'", line);

| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

| echo gappinfo.h gasyncinitable.h gasyncresult.h gbufferedinputstream.h gbufferedoutputstream.h gbytesicon.h gcancellable.h gcontenttype.h gcharsetconverter.h gconverter.h gconverterinputstream.h gconverteroutputstream.h gdatagrambased.h gdatainputstream.h gdataoutputstream.h gdrive.h gemblem.h gemblemedicon.h gfile.h gfileattribute.h gfileenumerator.h gfileicon.h gfileinfo.h gfileinputstream.h gfilemonitor.h gfilenamecompleter.h gfileoutputstream.h gfileiostream.h gfilterinputstream.h gfilteroutputstream.h gicon.h ginetaddress.h ginetaddressmask.h ginetsocketaddress.h ginputstream.h ginitable.h gio.h gio-autocleanups.h giotypes.h gioenums.h gioerror.h giomodule.h gioscheduler.h giostream.h gloadableicon.h gmount.h gmemoryinputstream.h gmemoryoutputstream.h gmountoperation.h gnativevolumemonitor.h gnetworkaddress.h gnetworkmonitor.h gnetworkservice.h goutputstream.h gpermission.h gpollableinputstream.h gpollableoutputstream.h gpollableutils.h gproxyaddress.h gproxy.h gproxyaddressenumerator.h gproxyresolver.h gresolver.h gresource.h gseekable.h gsimpleasyncresult.h gsimpleiostream.h gsimplepermission.h gsocket.h gsocketaddress.h gsocketaddressenumerator.h gsocketclient.h gsocketconnectable.h gsocketconnection.h gsocketcontrolmessage.h gsocketlistener.h gsocketservice.h gsrvtarget.h gsimpleproxyresolver.h gtask.h gsubprocess.h gsubprocesslauncher.h gtcpconnection.h gtcpwrapperconnection.h gthreadedsocketservice.h gthemedicon.h gtlsbackend.h gtlscertificate.h gtlsclientconnection.h gtlsconnection.h gtlsdatabase.h gtlsfiledatabase.h gtlsinteraction.h gtlspassword.h gtlsserverconnection.h gdtlsconnection.h gdtlsclientconnection.h gdtlsserverconnection.h gvfs.h gvolume.h gvolumemonitor.h gzlibcompressor.h gzlibdecompressor.h glistmodel.h gliststore.h gapplication.h gapplicationcommandline.h gactiongroup.h gactionmap.h gsimpleactiongroup.h gremoteactiongroup.h gactiongroupexporter.h gdbusactiongroup.h gaction.h gpropertyaction.h gsimpleaction.h gmenumodel.h gmenu.h gmenuexporter.h gdbusmenumodel.h gnotification.h gsettingsbackend.h gsettingsschema.h gsettings.h gdbusauthobserver.h gcredentials.h gdbusutils.h gdbuserror.h gdbusaddress.h gdbusconnection.h gdbusmessage.h gdbusnameowning.h gdbusnamewatching.h gdbusproxy.h gdbusintrospection.h gdbusmethodinvocation.h gdbusserver.h gdbusinterface.h gdbusinterfaceskeleton.h gdbusobject.h gdbusobjectskeleton.h gdbusobjectproxy.h gdbusobjectmanager.h gdbusobjectmanagerclient.h gdbusobjectmanagerserver.h gtestdbus.h gioenumtypes.h gfiledescriptorbased.h gunixconnection.h gunixcredentialsmessage.h gunixmounts.h gunixfdlist.h gunixfdmessage.h gunixinputstream.h gunixoutputstream.h gunixsocketaddress.h gdesktopappinfo.h > gio-public-headers.txt.tmp && mv gio-public-headers.txt.tmp gio-public-headers.txt

| cc1: some warnings being treated as errors

| ../../glib-2.54.3/gio/gio-tool-mount.c: In function 'prompt_for':

| ../../glib-2.54.3/gio/gio-tool-mount.c:104:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]

| 104 | fgets(data, sizeof (data), stdin);

| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

| make[4]: *** [Makefile:3617: libgio_2_0_la-gdbusauth.lo] Error 1

| make[4]: *** Waiting for unfinished jobs....

| x86_64-linux-libtool: link: gcc -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wl,-rpath-link -Wl,/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/lib -Wl,-O1 -o .libs/glib-compile-schemas gvdb-builder.o glib-compile-schemas.o -L/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib -L/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/lib ../glib/.libs/libglib-2.0.so -L/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib -lpcre -lpthread

| ../../glib-2.54.3/gio/gdbusmessage.c: In function 'g_dbus_message_to_blob':

| ../../glib-2.54.3/gio/gdbusmessage.c:2700:30: error: '%s' directive argument is null [-Werror=format-overflow=]

| 2700 | tupled_signature_str = g_strdup_printf ("(%s)", signature_str);

| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

| cc1: some warnings being treated as errors

| make[4]: *** [Makefile:3666: libgio_2_0_la-gdbusmessage.lo] Error 1

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| make[3]: *** [Makefile:4461: all-recursive] Error 1

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| make[2]: *** [Makefile:2012: all] Error 2

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| make[1]: *** [Makefile:1274: all-recursive] Error 1

| make[1]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build'

| ERROR: oe_runmake failed

| make: *** [Makefile:895: all] Error 2

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/temp/log.do_compile.864636)

ERROR: Task (virtual:native:/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/recipes-core/glib-2.0/glib-2.0_2.54.3.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1079 tasks of which 1048 didn't need to be rerun and 1 failed.

Summary: 1 task failed:

virtual:native:/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/recipes-core/glib-2.0/glib-2.0_2.54.3.bb:do_compile

Summary: There were 3 WARNING messages shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Resolution: modify the source file

From the prompt, we can see the specified %s can be null.

a. modify ./glib-2.54.3/gio/gdbusmessage.c

in line 2700 and other error positions, add such as "if (XXX != NULL)" conditions.

      1. cross-localedef-native do_compile errors

yulong@yulong-ZenBook-U3700EA:~/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb$ bitbake fsl-image-auto

WARNING: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/lib/oe/maketype.py:99: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working

if not isinstance(obj, collections.Callable):

WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

Loading cache: 100% |########################################################################################################################| Time: 0:00:00

Loaded 3641 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION = "1.38.0"

BUILD_SYS = "x86_64-linux"

NATIVELSBSTRING = "ubuntu-20.04"

TARGET_SYS = "aarch64-fsl-linux"

MACHINE = "s32v234evb"

DISTRO = "fsl-auto"

DISTRO_VERSION = "1.0"

TUNE_FEATURES = "aarch64"

TARGET_FPU = ""

meta

meta-poky

meta-yocto-bsp = "HEAD:fa962ec72f8a8337eaae71ab622e340f6ef56395"

meta-oe

meta-multimedia

meta-python

meta-networking

meta-gnome

meta-filesystems

meta-webserver

meta-perl

meta-xfce = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"

meta-virtualization = "HEAD:ed2038c935777d1336c17989d454f4e9c95fea7f"

meta-freescale = "HEAD:827bda6303c9d637efb4b94727b67e1857760171"

meta-alb = "HEAD:f91cd915ab925f5d042f816e01a05d5a712f5a73"

meta-linaro-toolchain = "HEAD:282b47a10940c26854c1cca0ec40950192af16fc"

WARNING: Your host glibc verson (2.31) is newer than that in uninative (2.28). Disabling uninative so that sstate is not corrupted.

Initialising tasks: 100% |###################################################################################################################| Time: 0:00:01

Checking sstate mirror object availability: 100% |###########################################################################################| Time: 0:00:00

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: cross-localedef-native-2.26-r0 do_compile: oe_runmake failed

ERROR: cross-localedef-native-2.26-r0 do_compile: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/cross-localedef-native/2.26-r0/temp/log.do_compile.955557)

ERROR: Logfile of failure stored in: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/cross-localedef-native/2.26-r0/temp/log.do_compile.955557

Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']

| DEBUG: Executing shell function do_compile

| NOTE: make -j 12

| gcc -o localedef charmap.o charmap-dir.o ld-address.o ld-collate.o ld-ctype.o ld-identification.o ld-measurement.o ld-messages.o ld-monetary.o ld-name.o ld-numeric.o ld-paper.o ld-telephone.o ld-time.o linereader.o localedef.o locarchive.o locfile.o repertoire.o simple-hash.o xmalloc.o xstrdup.o argp-ba.o argp-eexst.o argp-fmtstream.o argp-help.o argp-parse.o argp-pv.o argp-xinl.o error.o getopt.o getopt1.o md5.o obstack.o asprintf.o getdelim.o localedef_extra.o obstack_printf.o vasprintf.o

| /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/hosttools/ld: argp-fmtstream.o: in function `_argp_fmtstream_update':

| argp-fmtstream.c:(.text+0x4da): undefined reference to `_IO_fwide'

| /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/hosttools/ld: argp-fmtstream.c:(.text+0x52d): undefined reference to `_IO_fwide'

| /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/hosttools/ld: argp-help.o: in function `argp_failure':

| argp-help.c:(.text+0x2067): undefined reference to `_IO_fwide'

| collect2: error: ld returned 1 exit status

| make: *** [Makefile:60: localedef] Error 1

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/cross-localedef-native/2.26-r0/temp/log.do_compile.955557)

ERROR: Task (/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/meta-alb/recipes-core/glibc/cross-localedef-native_2.26.bb:do_compile) failed with exit code '1'

ERROR: glib-2.0-native-1_2.54.3-r0 do_compile: oe_runmake failed

ERROR: glib-2.0-native-1_2.54.3-r0 do_compile: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/temp/log.do_compile.955555)

ERROR: Logfile of failure stored in: /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/temp/log.do_compile.955555

Log data follows:

| DEBUG: Executing shell function do_compile

| NOTE: make -j 12

| make all-recursive

| make[1]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build'

| Making all in .

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build'

| Making all in m4macros

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/m4macros'

| make all-am

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/m4macros'

| make[3]: Nothing to be done for 'all-am'.

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/m4macros'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/m4macros'

| Making all in glib

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| make all-recursive

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| Making all in libcharset

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/libcharset'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/libcharset'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/libcharset'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/libcharset'

| Making all in update-pcre

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/update-pcre'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/update-pcre'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/update-pcre'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/update-pcre'

| Making all in .

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| make[4]: Nothing to be done for 'all-am'.

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| Making all in tests

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/tests'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/tests'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/tests'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib/tests'

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/glib'

| Making all in gmodule

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gmodule'

| make all-am

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gmodule'

| make[3]: Nothing to be done for 'all-am'.

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gmodule'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gmodule'

| Making all in gthread

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gthread'

| make all-am

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gthread'

| make[3]: Nothing to be done for 'all-am'.

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gthread'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gthread'

| Making all in gobject

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| make all-recursive

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| Making all in .

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| make[4]: Nothing to be done for 'all-am'.

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| Making all in tests

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject/tests'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject/tests'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject/tests'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject/tests'

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gobject'

| Making all in gio

| make[2]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| make all-recursive

| make[3]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| Making all in gdbus-2.0/codegen

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/gdbus-2.0/codegen'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/gdbus-2.0/codegen'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/gdbus-2.0/codegen'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/gdbus-2.0/codegen'

| Making all in xdgmime

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/xdgmime'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/xdgmime'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/xdgmime'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/xdgmime'

| Making all in inotify

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/inotify'

| make all-am

| make[5]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/inotify'

| make[5]: Nothing to be done for 'all-am'.

| make[5]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/inotify'

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio/inotify'

| Making all in .

| make[4]: Entering directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| ../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libgio_2_0_la-gdbusauth.lo `test -f 'gdbusauth.c' || echo '../../glib-2.54.3/gio/'`gdbusauth.c

| x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../glib-2.54.3/gio -I.. -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../../glib-2.54.3/glib -I../../glib-2.54.3 -I../../glib-2.54.3/gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/gio/modules\" -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -isystem/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../glib-2.54.3/gio/gdbusauth.c -fPIC -DPIC -o .libs/libgio_2_0_la-gdbusauth.o

| ../../glib-2.54.3/gio/gdbusauth.c: In function '_g_dbus_auth_run_server':

| ../../glib-2.54.3/gio/gdbusauth.c:1305:11: error: '%s' directive argument is null [-Werror=format-overflow=]

| 1305 | debug_print ("SERVER: WaitingForBegin, read '%s'", line);

| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

| cc1: some warnings being treated as errors

| make[4]: *** [Makefile:3617: libgio_2_0_la-gdbusauth.lo] Error 1

| make[4]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| make[3]: *** [Makefile:4461: all-recursive] Error 1

| make[3]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| make[2]: *** [Makefile:2012: all] Error 2

| make[2]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build/gio'

| make[1]: *** [Makefile:1274: all-recursive] Error 1

| make[1]: Leaving directory '/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/build'

| make: *** [Makefile:895: all] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/yulong/extend/fsl-auto-yocto-bsp-s32v234/build_s32v234evb/tmp/work/x86_64-linux/glib-2.0-native/1_2.54.3-r0/temp/log.do_compile.955555)

ERROR: Task (virtual:native:/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/recipes-core/glib-2.0/glib-2.0_2.54.3.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1167 tasks of which 1150 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:

/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/meta-alb/recipes-core/glibc/cross-localedef-native_2.26.bb:do_compile

virtual:native:/home/yulong/extend/fsl-auto-yocto-bsp-s32v234/sources/poky/meta/recipes-core/glib-2.0/glib-2.0_2.54.3.bb:do_compile

Summary: There were 3 WARNING messages shown.

Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

Resolution: modify the source file

"IO_fwide" is defined only under libc.

a. modify ./argp/argp-fmtstream.c

in __argp_fmtstream_update (argp_fmtstream_t fs)

  • size_t i;

  • for (i = 0; i < pad; i++)

  • {

++#ifdef _LIBC

  • if (_IO_fwide (fs->stream, 0) > 0)

  • putwc_unlocked (L' ', fs->stream);

  • else

++#endif

  • putc_unlocked (' ', fs->stream);

  • }

  • }

in __argp_fmtstream_update (argp_fmtstream_t fs)

  • *nl++ = ' ';

  • else

  • for (i = 0; i < fs->wmargin; ++i)

++#ifdef _LIBC

  • if (_IO_fwide (fs->stream, 0) > 0)

  • putwc_unlocked (L' ', fs->stream);

  • else

++#endif

  • putc_unlocked (' ', fs->stream);

      1. coreutils port errors

when meet errors such as "freadahead.c error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to buggnulib"

Resolution: modify the source file

cd coreutils-8.29

sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c

echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

  1. errors undefined errors

when meet such as below errors:

Resolution: modify the source file

The file errnos-sym.h must be blank, you should copy below there:

/* Output of mkstrtable.awk. DO NOT EDIT. */

/* errnos.in - List of system error values.

Copyright (C) 2003, 2004 g10 Code GmbH

This file is part of libgpg-error.

libgpg-error is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public License

as published by the Free Software Foundation; either version 2.1 of

the License, or (at your option) any later version.

libgpg-error is distributed in the hope that it will be useful, but

WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with libgpg-error; if not, write to the Free

Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA

02111-1307, USA. */

/* The purpose of this complex string table is to produce

optimal code with a minimum of relocations. */

static const char errnos_msgstr[] =

"GPG_ERR_E2BIG" "\0"

"GPG_ERR_EACCES" "\0"

"GPG_ERR_EADDRINUSE" "\0"

"GPG_ERR_EADDRNOTAVAIL" "\0"

"GPG_ERR_EADV" "\0"

"GPG_ERR_EAFNOSUPPORT" "\0"

"GPG_ERR_EAGAIN" "\0"

"GPG_ERR_EALREADY" "\0"

"GPG_ERR_EAUTH" "\0"

"GPG_ERR_EBACKGROUND" "\0"

"GPG_ERR_EBADE" "\0"

"GPG_ERR_EBADF" "\0"

"GPG_ERR_EBADFD" "\0"

"GPG_ERR_EBADMSG" "\0"

"GPG_ERR_EBADR" "\0"

"GPG_ERR_EBADRPC" "\0"

"GPG_ERR_EBADRQC" "\0"

"GPG_ERR_EBADSLT" "\0"

"GPG_ERR_EBFONT" "\0"

"GPG_ERR_EBUSY" "\0"

"GPG_ERR_ECANCELED" "\0"

"GPG_ERR_ECHILD" "\0"

"GPG_ERR_ECHRNG" "\0"

"GPG_ERR_ECOMM" "\0"

"GPG_ERR_ECONNABORTED" "\0"

"GPG_ERR_ECONNREFUSED" "\0"

"GPG_ERR_ECONNRESET" "\0"

"GPG_ERR_ED" "\0"

"GPG_ERR_EDEADLK" "\0"

"GPG_ERR_EDEADLOCK" "\0"

"GPG_ERR_EDESTADDRREQ" "\0"

"GPG_ERR_EDIED" "\0"

"GPG_ERR_EDOM" "\0"

"GPG_ERR_EDOTDOT" "\0"

"GPG_ERR_EDQUOT" "\0"

"GPG_ERR_EEXIST" "\0"

"GPG_ERR_EFAULT" "\0"

"GPG_ERR_EFBIG" "\0"

"GPG_ERR_EFTYPE" "\0"

"GPG_ERR_EGRATUITOUS" "\0"

"GPG_ERR_EGREGIOUS" "\0"

"GPG_ERR_EHOSTDOWN" "\0"

"GPG_ERR_EHOSTUNREACH" "\0"

"GPG_ERR_EIDRM" "\0"

"GPG_ERR_EIEIO" "\0"

"GPG_ERR_EILSEQ" "\0"

"GPG_ERR_EINPROGRESS" "\0"

"GPG_ERR_EINTR" "\0"

"GPG_ERR_EINVAL" "\0"

"GPG_ERR_EIO" "\0"

"GPG_ERR_EISCONN" "\0"

"GPG_ERR_EISDIR" "\0"

"GPG_ERR_EISNAM" "\0"

"GPG_ERR_EL2HLT" "\0"

"GPG_ERR_EL2NSYNC" "\0"

"GPG_ERR_EL3HLT" "\0"

"GPG_ERR_EL3RST" "\0"

"GPG_ERR_ELIBACC" "\0"

"GPG_ERR_ELIBBAD" "\0"

"GPG_ERR_ELIBEXEC" "\0"

"GPG_ERR_ELIBMAX" "\0"

"GPG_ERR_ELIBSCN" "\0"

"GPG_ERR_ELNRNG" "\0"

"GPG_ERR_ELOOP" "\0"

"GPG_ERR_EMEDIUMTYPE" "\0"

"GPG_ERR_EMFILE" "\0"

"GPG_ERR_EMLINK" "\0"

"GPG_ERR_EMSGSIZE" "\0"

"GPG_ERR_EMULTIHOP" "\0"

"GPG_ERR_ENAMETOOLONG" "\0"

"GPG_ERR_ENAVAIL" "\0"

"GPG_ERR_ENEEDAUTH" "\0"

"GPG_ERR_ENETDOWN" "\0"

"GPG_ERR_ENETRESET" "\0"

"GPG_ERR_ENETUNREACH" "\0"

"GPG_ERR_ENFILE" "\0"

"GPG_ERR_ENOANO" "\0"

"GPG_ERR_ENOBUFS" "\0"

"GPG_ERR_ENOCSI" "\0"

"GPG_ERR_ENODATA" "\0"

"GPG_ERR_ENODEV" "\0"

"GPG_ERR_ENOENT" "\0"

"GPG_ERR_ENOEXEC" "\0"

"GPG_ERR_ENOLCK" "\0"

"GPG_ERR_ENOLINK" "\0"

"GPG_ERR_ENOMEDIUM" "\0"

"GPG_ERR_ENOMEM" "\0"

"GPG_ERR_ENOMSG" "\0"

"GPG_ERR_ENONET" "\0"

"GPG_ERR_ENOPKG" "\0"

"GPG_ERR_ENOPROTOOPT" "\0"

"GPG_ERR_ENOSPC" "\0"

"GPG_ERR_ENOSR" "\0"

"GPG_ERR_ENOSTR" "\0"

"GPG_ERR_ENOSYS" "\0"

"GPG_ERR_ENOTBLK" "\0"

"GPG_ERR_ENOTCONN" "\0"

"GPG_ERR_ENOTDIR" "\0"

"GPG_ERR_ENOTEMPTY" "\0"

"GPG_ERR_ENOTNAM" "\0"

"GPG_ERR_ENOTSOCK" "\0"

"GPG_ERR_ENOTSUP" "\0"

"GPG_ERR_ENOTTY" "\0"

"GPG_ERR_ENOTUNIQ" "\0"

"GPG_ERR_ENXIO" "\0"

"GPG_ERR_EOPNOTSUPP" "\0"

"GPG_ERR_EOVERFLOW" "\0"

"GPG_ERR_EPERM" "\0"

"GPG_ERR_EPFNOSUPPORT" "\0"

"GPG_ERR_EPIPE" "\0"

"GPG_ERR_EPROCLIM" "\0"

"GPG_ERR_EPROCUNAVAIL" "\0"

"GPG_ERR_EPROGMISMATCH" "\0"

"GPG_ERR_EPROGUNAVAIL" "\0"

"GPG_ERR_EPROTO" "\0"

"GPG_ERR_EPROTONOSUPPORT" "\0"

"GPG_ERR_EPROTOTYPE" "\0"

"GPG_ERR_ERANGE" "\0"

"GPG_ERR_EREMCHG" "\0"

"GPG_ERR_EREMOTE" "\0"

"GPG_ERR_EREMOTEIO" "\0"

"GPG_ERR_ERESTART" "\0"

"GPG_ERR_EROFS" "\0"

"GPG_ERR_ERPCMISMATCH" "\0"

"GPG_ERR_ESHUTDOWN" "\0"

"GPG_ERR_ESOCKTNOSUPPORT" "\0"

"GPG_ERR_ESPIPE" "\0"

"GPG_ERR_ESRCH" "\0"

"GPG_ERR_ESRMNT" "\0"

"GPG_ERR_ESTALE" "\0"

"GPG_ERR_ESTRPIPE" "\0"

"GPG_ERR_ETIME" "\0"

"GPG_ERR_ETIMEDOUT" "\0"

"GPG_ERR_ETOOMANYREFS" "\0"

"GPG_ERR_ETXTBSY" "\0"

"GPG_ERR_EUCLEAN" "\0"

"GPG_ERR_EUNATCH" "\0"

"GPG_ERR_EUSERS" "\0"

"GPG_ERR_EWOULDBLOCK" "\0"

"GPG_ERR_EXDEV" "\0"

"GPG_ERR_EXFULL";

static const int errnos_msgidx[] =

{

0,

14,

29,

48,

70,

83,

104,

119,

136,

150,

170,

184,

198,

213,

229,

243,

259,

275,

291,

306,

320,

338,

353,

368,

382,

403,

424,

443,

454,

470,

488,

509,

523,

536,

552,

567,

582,

597,

611,

626,

646,

664,

682,

703,

717,

731,

746,

766,

780,

795,

807,

823,

838,

853,

868,

885,

900,

915,

931,

947,

964,

980,

996,

1011,

1025,

1045,

1060,

1075,

1092,

1110,

1131,

1147,

1165,

1182,

1200,

1220,

1235,

1250,

1266,

1281,

1297,

1312,

1327,

1343,

1358,

1374,

1392,

1407,

1422,

1437,

1452,

1472,

1487,

1501,

1516,

1531,

1547,

1564,

1580,

1598,

1614,

1631,

1647,

1662,

1679,

1693,

1712,

1730,

1744,

1765,

1779,

1796,

1817,

1839,

1860,

1875,

1899,

1918,

1933,

1949,

1965,

1983,

2000,

2014,

2035,

2053,

2077,

2092,

2106,

2121,

2136,

2153,

2167,

2185,

2206,

2222,

2238,

2254,

2269,

2289,

2303,

};

static GPG_ERR_INLINE int

errnos_msgidxof (int code)

{

return (0 ? 0

: ((code >= 0) && (code <= 140)) ? (code - 0)

: -1);

}

相关推荐
F-2H9 分钟前
C语言:指针4(常量指针和指针常量及动态内存分配)
java·linux·c语言·开发语言·前端·c++
aherhuo12 分钟前
基于openEuler22.09部署OpenStack Yoga云平台(一)
linux·运维·服务器·openstack
WebDeveloper200115 分钟前
如何使用美国域名中心US Domain Center和WordPress创建商业网站
运维·服务器·css·网络·html
檀越剑指大厂38 分钟前
【Linux系列】Shell 脚本中的条件判断:`[ ]`与`[[ ]]`的比较
linux·运维·服务器
2301_819287123 小时前
ce第六次作业
linux·运维·服务器·网络
CIb0la3 小时前
GitLab 停止为中国区用户提供 GitLab.com 账号服务
运维·网络·程序人生
武汉联从信息3 小时前
如何使用linux日志管理工具来管理oracle osb服务器日志文件?
linux·运维·服务器
天天进步20153 小时前
STUN服务器实现NAT穿透
运维·服务器
PieroPc3 小时前
Python 自动化 打开网站 填表登陆 例子
运维·python·自动化
Aileen_0v03 小时前
【AI驱动的数据结构:包装类的艺术与科学】
linux·数据结构·人工智能·笔记·网络协议·tcp/ip·whisper