-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
yan@am-002b67307289:~/dev/buildroot$ make qemu_arm_vexpress_defconfig
#
# configuration written to /home/yan/dev/buildroot/.config
#
yan@am-002b67307289:~/dev/buildroot$ git status
On branch 2022.02.x
Your branch is up to date with 'origin/2022.02.x'.
nothing to commit, working tree clean
Stuck on linux building stage:
/home/yan/dev/buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-gcc -Wp,-MD,kernel/.fork.o.d -nostdinc -isystem /home/yan/dev/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.3.0/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-dwarf2-cfi-asm -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -O2 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Wno-attribute-alias -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fork)" -D"KBUILD_MODNAME=KBUILD_STR(fork)" -c -o kernel/fork.o kernel/fork.c -v
Using built-in specs.
COLLECT_GCC=/home/yan/dev/buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-gcc.br_real
Target: arm-buildroot-linux-gnueabihf
Configured with: ./configure --prefix=/home/yan/dev/buildroot/output/host --sysconfdir=/home/yan/dev/buildroot/output/host/etc --enable-static --target=arm-buildroot-linux-gnueabihf --with-sysroot=/home/yan/dev/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/yan/dev/buildroot/output/host --with-mpc=/home/yan/dev/buildroot/output/host --with-mpfr=/home/yan/dev/buildroot/output/host --with-pkgversion='Buildroot 2022.02-521-g114487dfd2' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-abi=aapcs-linux --with-cpu=cortex-a9 --with-fpu=vfpv3-d16 --with-float=hard --with-mode=arm --enable-languages=c --with-build-time-tools=/home/yan/dev/buildroot/output/host/arm-buildroot-linux-gnueabihf/bin --enable-shared --disable-libgomp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.3.0 (Buildroot 2022.02-521-g114487dfd2)
COLLECT_GCC_OPTIONS='-fstack-protector-strong' '-nostdinc' '-isystem' '/home/yan/dev/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.3.0/include' '-I' './arch/arm/include' '-I' 'arch/arm/include/generated/uapi' '-I' 'arch/arm/include/generated' '-I' 'include' '-I' './arch/arm/include/uapi' '-I' 'arch/arm/include/generated/uapi' '-I' './include/uapi' '-I' 'include/generated/uapi' '-include' './include/linux/kconfig.h' '-D' '__KERNEL__' '-mlittle-endian' '-Wall' '-Wundef' '-Wstrict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing' '-fno-common' '-Werror=implicit-function-declaration' '-Wno-format-security' '-std=gnu90' '-fno-dwarf2-cfi-asm' '-fno-ipa-sra' '-mabi=aapcs-linux' '-mno-thumb-interwork' '-mfpu=vfp' '-funwind-tables' '-marm' '-D' '__LINUX_ARM_ARCH__=7' '-mfloat-abi=soft' '-U' 'arm' '-fno-delete-null-pointer-checks' '-O2' '-Wframe-larger-than=1024' '-fno-stack-protector' '-Wno-unused-but-set-variable' '-Wunused-const-variable=0' '-fomit-frame-pointer' '-fno-var-tracking-assignments' '-g' '-Wdeclaration-after-statement' '-Wno-pointer-sign' '-fno-strict-overflow' '-fconserve-stack' '-Werror=implicit-int' '-Werror=strict-prototypes' '-Werror=date-time' '-Werror=incompatible-pointer-types' '-Wattribute-alias=0' '-D' 'KBUILD_STR(s)=#s' '-D' 'KBUILD_BASENAME=KBUILD_STR(fork)' '-D' 'KBUILD_MODNAME=KBUILD_STR(fork)' '-c' '-o' 'kernel/fork.o' '-v' '-mtls-dialect=gnu' '-march=armv7-a'
/home/yan/dev/buildroot/output/host/libexec/gcc/arm-buildroot-linux-gnueabihf/10.3.0/cc1 -quiet -nostdinc -v -I ./arch/arm/include -I arch/arm/include/generated/uapi -I arch/arm/include/generated -I include -I ./arch/arm/include/uapi -I arch/arm/include/generated/uapi -I ./include/uapi -I include/generated/uapi -isysroot /home/yan/dev/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot -D __KERNEL__ -D __LINUX_ARM_ARCH__=7 -U arm -D KBUILD_STR(s)=#s -D KBUILD_BASENAME=KBUILD_STR(fork) -D KBUILD_MODNAME=KBUILD_STR(fork) -isystem /home/yan/dev/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.3.0/include -include ./include/linux/kconfig.h -MD kernel/.fork.o.d kernel/fork.c -quiet -dumpbase fork.c -mlittle-endian -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -marm -mfloat-abi=soft -mtls-dialect=gnu -march=armv7-a -auxbase-strip kernel/fork.o -g -O2 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror=implicit-function-declaration -Wno-format-security -Wframe-larger-than=1024 -Wno-unused-but-set-variable -Wunused-const-variable=0 -Wdeclaration-after-statement -Wno-pointer-sign -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Wattribute-alias=0 -std=gnu90 -version -fstack-protector-strong -fno-strict-aliasing -fno-common -fno-dwarf2-cfi-asm -fno-ipa-sra -funwind-tables -fno-delete-null-pointer-checks -fno-stack-protector -fomit-frame-pointer -fno-var-tracking-assignments -fno-strict-overflow -fconserve-stack -o /tmp/ccYYcoHI.s
GNU C89 (Buildroot 2022.02-521-g114487dfd2) version 10.3.0 (arm-buildroot-linux-gnueabihf)
compiled by GNU C version 10.2.1 20210110, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "arch/arm/include/generated/uapi"
#include "..." search starts here:
#include <...> search starts here:
./arch/arm/include
arch/arm/include/generated/uapi
arch/arm/include/generated
include
./arch/arm/include/uapi
./include/uapi
include/generated/uapi
/home/yan/dev/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.3.0/include
End of search list.
GNU C89 (Buildroot 2022.02-521-g114487dfd2) version 10.3.0 (arm-buildroot-linux-gnueabihf)
compiled by GNU C version 10.2.1 20210110, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: f0b4a9b923e6cc478a2ab2aeb6c8f754
In file included from include/linux/kernel.h:11,
from include/asm-generic/bug.h:13,
from ./arch/arm/include/asm/bug.h:62,
from include/linux/bug.h:4,
from include/linux/mmdebug.h:4,
from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from kernel/fork.c:14:
include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes]
22 | int ____ilog2_NaN(void);
| ^~~
COLLECT_GCC_OPTIONS='-fstack-protector-strong' '-nostdinc' '-isystem' '/home/yan/dev/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.3.0/include' '-I' './arch/arm/include' '-I' 'arch/arm/include/generated/uapi' '-I' 'arch/arm/include/generated' '-I' 'include' '-I' './arch/arm/include/uapi' '-I' 'arch/arm/include/generated/uapi' '-I' './include/uapi' '-I' 'include/generated/uapi' '-include' './include/linux/kconfig.h' '-D' '__KERNEL__' '-mlittle-endian' '-Wall' '-Wundef' '-Wstrict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing' '-fno-common' '-Werror=implicit-function-declaration' '-Wno-format-security' '-std=gnu90' '-fno-dwarf2-cfi-asm' '-fno-ipa-sra' '-mabi=aapcs-linux' '-mno-thumb-interwork' '-mfpu=vfp' '-funwind-tables' '-marm' '-D' '__LINUX_ARM_ARCH__=7' '-mfloat-abi=soft' '-U' 'arm' '-fno-delete-null-pointer-checks' '-O2' '-Wframe-larger-than=1024' '-fno-stack-protector' '-Wno-unused-but-set-variable' '-Wunused-const-variable=0' '-fomit-frame-pointer' '-fno-var-tracking-assignments' '-g' '-Wdeclaration-after-statement' '-Wno-pointer-sign' '-fno-strict-overflow' '-fconserve-stack' '-Werror=implicit-int' '-Werror=strict-prototypes' '-Werror=date-time' '-Werror=incompatible-pointer-types' '-Wattribute-alias=0' '-D' 'KBUILD_STR(s)=#s' '-D' 'KBUILD_BASENAME=KBUILD_STR(fork)' '-D' 'KBUILD_MODNAME=KBUILD_STR(fork)' '-c' '-o' 'kernel/fork.o' '-v' '-mtls-dialect=gnu' '-march=armv7-a'
/home/yan/dev/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.3.0/../../../../arm-buildroot-linux-gnueabihf/bin/as -v -I ./arch/arm/include -I arch/arm/include/generated/uapi -I arch/arm/include/generated -I include -I ./arch/arm/include/uapi -I arch/arm/include/generated/uapi -I ./include/uapi -I include/generated/uapi -EL -march=armv7-a -mfloat-abi=soft -mfpu=vfp -meabi=5 -o kernel/fork.o /tmp/ccYYcoHI.s
GNU assembler version 2.37 (arm-buildroot-linux-gnueabihf) using BFD version (GNU Binutils) 2.37
/tmp/ccYYcoHI.s: Assembler messages:
/tmp/ccYYcoHI.s:3348: Error: .err encountered
It seem to be an issue for compiling older kernel with newer gcc.
Metadata
Metadata
Assignees
Labels
No labels