New: Failed build kernel with nat
Subsystems (2)
Begin forwarded message:
Date: Sat, 01 Dec 2018 17:20:33 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 201829] New: Failed build kernel with nat
https://bugzilla.kernel.org/show_bug.cgi?id=201829
Bug ID: 201829
Summary: Failed build kernel with nat
Product: Networking
Version: 2.5
Kernel Version: 4.19.6
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: NoCreated attachment 279769
--> https://bugzilla.kernel.org/attachment.cgi?id=279769&action=edit
Kernel configuration
Kernel building with my old configuration failing on inat_primary_table. I cant find find defining of this table in code. Last successfully builded version is 4.19.0.
workbook /usr/src/linux # make
CALL scripts/checksyscalls.sh
DESCEND objtool
CC /usr/src/linux-4.19.2/tools/objtool/arch/x86/decode.o
In file included from arch/x86/decode.c:23:0:arch/x86/lib/inat.c: В функции «inat_get_opcode_attribute»:arch/x86/lib/inat.c:29:9: ошибка: «inat_primary_table» не описан (первое использование в этой функции)
return inat_primary_table[opcode];
^~~~~~~~~~~~~~~~~~arch/x86/lib/inat.c:29:9: замечание: сообщение о каждом неописанном идентификаторе выдается один раз в каждой функции, где он встречается arch/x86/lib/inat.c: В функции «inat_get_escape_attribute»:arch/x86/lib/inat.c:48:10: ошибка: «inat_escape_tables» undeclared (first use in this function); did you mean «inat_escape_id»?
table = inat_escape_tables[n][0];
^~~~~~~~~~~~~~~~~~
inat_escape_id
arch/x86/lib/inat.c:44:6: ошибка: переменная «n» определена, но не используется
[-Werror=unused-but-set-variable]
int n;
^
arch/x86/lib/inat.c: В функции «inat_get_group_attribute»:
arch/x86/lib/inat.c:67:10: ошибка: «inat_group_tables» undeclared (first use in
this function); did you mean «inat_group_id»?
table = inat_group_tables[n][0];
^~~~~~~~~~~~~~~~~
inat_group_id
arch/x86/lib/inat.c:63:6: ошибка: переменная «n» определена, но не используется
[-Werror=unused-but-set-variable]
int n;
^
arch/x86/lib/inat.c: В функции «inat_get_avx_attribute»:
arch/x86/lib/inat.c:86:10: ошибка: «inat_avx_tables» не описан (первое
использование в этой функции)
table = inat_avx_tables[vex_m][0];
^~~~~~~~~~~~~~~In file included from arch/x86/decode.c:23:0:arch/x86/lib/inat.c: В функции «inat_get_opcode_attribute»:arch/x86/lib/inat.c:30:1: ошибка: управление достигает конца не-void функции [-Werror=return-type]
}
^
cc1: все предупреждения считаются ошибками
mv: не удалось выполнить stat для '/usr/src/linux-4.19.2/tools/objtool/arch/x86/.decode.o.tmp': Нет такого файла или каталога
make[4]: *** [/usr/src/linux-4.19.2/tools/build/Makefile.build:97:/usr/src/linux-4.19.2/tools/objtool/arch/x86/decode.o] Ошибка 1 make[3]: *** [/usr/src/linux-4.19.2/tools/build/Makefile.build:139: arch/x86] Ошибка 2
make[2]: *** [Makefile:46: /usr/src/linux-4.19.2/tools/objtool/objtool-in.o] Ошибка 2
make[1]: *** [Makefile:63: objtool] Ошибка 2
make: *** [Makefile:1644: tools/objtool] Error 2
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
David Miller
maintainerStephen please actually read the reports your forward here.
This is a report about arch/x86/lib/inat.c which is a set of CPU instruction attributes and has nothing to do with networkig.
Quoted 4 lines · On Sat, 01 Dec 2018 16:55:40 -0800 (PST) David Miller <[email protected]>…
Stephen please actually read the reports your forward here.
This is a report about
arch/x86/lib/inat.cwhich is a set of CPU instruction attributes and has nothing to do with networkig.
Yes, bug moved to x86 platform.