public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dac324 at yahoo dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/102361] Errors compiling Linux kernel 5.14.4 with CONFIG_FORTIFY=y Date: Thu, 16 Sep 2021 13:29:56 +0000 [thread overview] Message-ID: <bug-102361-4-AlBPN53PSz@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-102361-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102361 --- Comment #5 from DAC324 <dac324 at yahoo dot de> --- OK, here we go: make -f ./scripts/Makefile.build obj=mm/kfence \ \ need-builtin=1 \ need-modorder=1 gcc -Wp,-MMD,mm/.memcontrol.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=sandybridge -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DKBUILD_MODFILE='"mm/memcontrol"' -DKBUILD_BASENAME='"memcontrol"' -DKBUILD_MODNAME='"memcontrol"' -D__KBUILD_MODNAME=kmod_memcontrol -c -o mm/memcontrol.o mm/memcontrol.c In file included from ./include/linux/string.h:262, from ./include/linux/bitmap.h:10, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/cgroup.h:12, from ./include/linux/memcontrol.h:13, from mm/memcontrol.c:29: In function 'memset', inlined from 'uncharge_gather_clear.part.0' at mm/memcontrol.c:6835:2: ./include/linux/fortify-string.h:172:17: error: call to '__write_overflow' declared with attribute error: detected write beyond size of object passed as 1st parameter 172 | __write_overflow(); | ^~~~~~~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.build:271: mm/memcontrol.o] Error 1 make: *** [Makefile:1851: mm] Error 2
next prev parent reply other threads:[~2021-09-16 13:29 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-16 9:59 [Bug c/102361] New: " dac324 at yahoo dot de 2021-09-16 10:38 ` [Bug c/102361] " marxin at gcc dot gnu.org 2021-09-16 12:34 ` dac324 at yahoo dot de 2021-09-16 12:36 ` jakub at gcc dot gnu.org 2021-09-16 13:29 ` dac324 at yahoo dot de 2021-09-16 13:29 ` dac324 at yahoo dot de [this message] 2021-09-16 13:41 ` dac324 at yahoo dot de 2021-09-16 13:42 ` dac324 at yahoo dot de 2021-09-16 13:45 ` dac324 at yahoo dot de 2021-09-16 22:57 ` [Bug middle-end/102361] " pinskia at gcc dot gnu.org 2021-09-16 22:57 ` pinskia at gcc dot gnu.org 2021-09-16 22:59 ` [Bug ipa/102361] " pinskia at gcc dot gnu.org 2021-09-16 22:59 ` pinskia at gcc dot gnu.org 2021-09-16 23:00 ` pinskia at gcc dot gnu.org 2021-09-17 7:24 ` [Bug ipa/102361] Errors compiling Linux kernel 5.14 " dac324 at yahoo dot de 2021-09-17 7:41 ` pinskia at gcc dot gnu.org 2022-01-18 10:36 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-102361-4-AlBPN53PSz@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).