You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83fdce81a7
gcc 10 will default to -fno-common, which causes this error at link time: (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here This is because both dtc-lexer as well as dtc-parser define the same global symbol yyloc. Before with -fcommon those were merged into one defintion. The proper solution would be to to mark this as "extern", however that leads to: dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls] 26 | extern YYLTYPE yylloc; | ^~~~~~ In file included from dtc-lexer.l:24: dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here 127 | extern YYLTYPE yylloc; | ^~~~~~ cc1: all warnings being treated as errors which means the declaration is completely redundant and can just be dropped. Signed-off-by: Dirk Mueller <dmueller@suse.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [robh: cherry-pick from upstream] Cc: stable@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Change-Id: Ie5f32479b6fb948472bbfdec45a07c3728855c28 |
1 year ago | |
---|---|---|
.. | ||
basic | 11 years ago | |
coccinelle | 8 years ago | |
dtc | 1 year ago | |
genksyms | 11 years ago | |
kconfig | 7 years ago | |
ksymoops | 19 years ago | |
mod | 5 years ago | |
package | 10 years ago | |
rt-tester | 13 years ago | |
selinux | 13 years ago | |
tracing | 15 years ago | |
.gitignore | 12 years ago | |
Kbuild.include | 11 years ago | |
Lindent | 16 years ago | |
Makefile | 12 years ago | |
Makefile.asm-generic | 12 years ago | |
Makefile.build | 11 years ago | |
Makefile.clean | 14 years ago | |
Makefile.fwinst | 12 years ago | |
Makefile.headersinst | 10 years ago | |
Makefile.help | 14 years ago | |
Makefile.host | 16 years ago | |
Makefile.kasan | 9 years ago | |
Makefile.lib | 7 years ago | |
Makefile.modbuiltin | 14 years ago | |
Makefile.modinst | 9 years ago | |
Makefile.modpost | 11 years ago | |
Makefile.modsign | 11 years ago | |
asn1_compiler.c | 7 years ago | |
bin2c.c | 19 years ago | |
bloat-o-meter | 8 years ago | |
bootgraph.pl | 13 years ago | |
build-all.py | 9 years ago | |
checkincludes.pl | 14 years ago | |
checkkconfigsymbols.sh | 14 years ago | |
checkpatch.pl | 9 years ago | |
checkstack.pl | 11 years ago | |
checksyscalls.sh | 12 years ago | |
checkversion.pl | 13 years ago | |
cleanfile | 17 years ago | |
cleanpatch | 17 years ago | |
coccicheck | 11 years ago | |
config | 11 years ago | |
conmakehash.c | 15 years ago | |
decodecode | 11 years ago | |
depmod.sh | 11 years ago | |
diffconfig | 16 years ago | |
docproc.c | 13 years ago | |
export_report.pl | 13 years ago | |
extract-ikconfig | 13 years ago | |
extract-vmlinux | 13 years ago | |
gcc-goto.sh | 12 years ago | |
gcc-version.sh | 12 years ago | |
gcc-wrapper.py | 9 years ago | |
gcc-x86_32-has-stack-protector.sh | 12 years ago | |
gcc-x86_64-has-stack-protector.sh | 12 years ago | |
gen_initramfs_list.sh | 13 years ago | |
get_maintainer.pl | 11 years ago | |
gfp-translate | 12 years ago | |
headerdep.pl | 14 years ago | |
headers.sh | 13 years ago | |
headers_check.pl | 12 years ago | |
headers_install.sh | 10 years ago | |
kallsyms.c | 10 years ago | |
kernel-doc | 9 years ago | |
link-vmlinux.sh | 10 years ago | |
makelst | 17 years ago | |
markup_oops.pl | 14 years ago | |
mkcompile_h | 13 years ago | |
mkmakefile | 13 years ago | |
mksysmap | 12 years ago | |
mkuboot.sh | 13 years ago | |
mkversion | 19 years ago | |
module-common.lds | 13 years ago | |
namespace.pl | 14 years ago | |
patch-kernel | 12 years ago | |
pnmtologo.c | 12 years ago | |
profile2linkerlist.pl | 14 years ago | |
recordmcount.c | 5 years ago | |
recordmcount.h | 8 years ago | |
recordmcount.pl | 7 years ago | |
setlocalversion | 11 years ago | |
show_delta | 14 years ago | |
sign-file | 11 years ago | |
sortextable.c | 7 years ago | |
sortextable.h | 7 years ago | |
spelling.txt | 9 years ago | |
tags.sh | 7 years ago | |
unifdef.c | 13 years ago | |
ver_linux | 15 years ago | |
xz_wrap.sh | 12 years ago |