DEBUG: Executing shell function do_compile
NOTE: make CC=x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot RANLIB=x86_64-oe-linux-gcc-ranlib AR=x86_64-oe-linux-gcc-ar CFLAGS= -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/git=/usr/src/debug/mtd-utils/2.3.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/git=/usr/src/debug/mtd-utils/2.3.0  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/build=/usr/src/debug/mtd-utils/2.3.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/build=/usr/src/debug/mtd-utils/2.3.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot-native=  -pipe  -ITOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/git/include BUILDDIR=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/git
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../git -I./include  -Wall -Wextra -Wunused -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wjump-misses-init -Wuninitialized -Winit-self -Wlogical-op -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wduplicated-cond -Wduplicated-branches -Wrestrict -Wnull-dereference -Wno-shadow -Wno-sign-compare -D_GNU_SOURCE -std=gnu99 -I../git/include -include ./include/config.h -DWITH_ZLIB -DWITH_XATTR -DWITH_LZO       -ITOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot/usr/include/uuid  -I../git/ubi-utils/include -I../git/ubifs-utils/common -I ../git/ubifs-utils/libubifs   -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/git=/usr/src/debug/mtd-utils/2.3.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/git=/usr/src/debug/mtd-utils/2.3.0  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/build=/usr/src/debug/mtd-utils/2.3.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/build=/usr/src/debug/mtd-utils/2.3.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/recipe-sysroot-native=  -pipe  -ITOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/git/include -c -o ubifs-utils/common/mkfs_ubifs-bitops.o `test -f 'ubifs-utils/common/bitops.c' || echo '../git/'`ubifs-utils/common/bitops.c
In file included from ../git/ubifs-utils/libubifs/ubifs.h:23,
                 from ../git/ubifs-utils/common/defs.h:21,
                 from ../git/ubifs-utils/common/bitops.c:7:
../git/ubifs-utils/common/atomic.h:7:3: error: #error atomic.h works only with GCC newer than version 4.1
    7 | # error atomic.h works only with GCC newer than version 4.1
      |   ^~~~~
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/temp/run.do_compile.2848546:181 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
make: *** [Makefile:4826: ubifs-utils/common/mkfs_ubifs-bitops.o] Error 1
	#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/temp/run.do_compile.2848546, line 181
	#2: die, TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/temp/run.do_compile.2848546, line 165
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/temp/run.do_compile.2848546, line 160
	#4: autotools_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/temp/run.do_compile.2848546, line 155
	#5: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/temp/run.do_compile.2848546, line 150
	#6: main, TOPDIR/tmp/work/core2-64-oe-linux/mtd-utils/2.3.0/temp/run.do_compile.2848546, line 194

Error details

Submitted on:
25/03/25 05:57
Error type:
Recipe
Task:
do_compile
Recipe:
mtd-utils
Recipe version:
2.3.0-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
dc7b6417ab610c6b88935dce9d4d5d92d471873a
Build:
#202774
Submitter:
Martin.Jansa@gmail.com
Similar errors:
3
Open a bug