View previous topic :: View next topic |
Author |
Message |
nmel n00b
Joined: 12 Mar 2017 Posts: 34
|
Posted: Sat Feb 10, 2018 10:33 pm Post subject: failed to compile kernel 4.9.80 (kaiser.c) |
|
|
Make stage fails with the following error:
Code: | arch/x86/mm/kaiser.c: In function ‘kaiser_init’:
arch/x86/mm/kaiser.c:347:8: error: ‘vsyscall_pgprot’ undeclared (first use in this function)
vsyscall_pgprot);
^
arch/x86/mm/kaiser.c:269:47: note: in definition of macro ‘kaiser_add_user_map_early’
int __ret = kaiser_add_user_map(start, size, flags); \
^~~~~
arch/x86/mm/kaiser.c:347:8: note: each undeclared identifier is reported only once for each function it appears in
vsyscall_pgprot);
^
arch/x86/mm/kaiser.c:269:47: note: in definition of macro ‘kaiser_add_user_map_early’
int __ret = kaiser_add_user_map(start, size, flags); \
^~~~~
make[2]: *** [scripts/Makefile.build:293: arch/x86/mm/kaiser.o] Error 1
make[1]: *** [scripts/Makefile.build:544: arch/x86/mm] Error 2
make[1]: *** Waiting for unfinished jobs....
|
Upgrading gentoo-sources from v4.9.75. Is this something known?
----------------
4.9.79 fails with the same error.
4.9.76-r1, which is marked as stable, compiles successfully.
[Moderator edit: Moved poster's self-response into main post, then deleted that self-response to return the thread to the unanswered list.
OP: Generally, if post length permits, you should edit extra information into your first post instead of replying to it. Some users run a canned search for threads with zero replies as a way of finding posts to answer. When you replied to yourself, you removed your thread from that list, even though you were not replying to announce that the thread was solved. Thus, they would no longer see your thread on the list of unanswered threads.
-Hu] |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Feb 11, 2018 2:19 pm Post subject: |
|
|
https://github.com/osresearch/heads/issues/308
says this is known and patch submitted; patched?
This error will become academic soon because the kaiser.c and kaiser.h files apparently cease to exist after kernel linux-4.9.80. For fun I, merged 3 linux-4.9.*-gentoo kernels in addition to the linux-4.15.*-gentoo (-git) kernels I already had:
ls -l /usr/src yields:
linux-4.9.76-gentoo-r1
linux-4.9.79-gentoo
linux-4.9.80-gentoo
linux-4.14.15-gentoo
linux-4.15.0-gentoo
linux-4.15.1-gentoo
linux-4.15.2-gentoo
linux-4.15-rc9
Running: find /usr/src/ -name "*kaiser*"
Yields:
/usr/src/linux-4.9.80-gentoo/arch/x86/mm/kaiser.c
/usr/src/linux-4.9.80-gentoo/arch/x86/include/asm/kaiser.h
/usr/src/linux-4.9.80-gentoo/include/linux/kaiser.h
/usr/src/linux-4.9.76-gentoo-r1/arch/x86/mm/kaiser.c
/usr/src/linux-4.9.76-gentoo-r1/arch/x86/include/asm/kaiser.h
/usr/src/linux-4.9.76-gentoo-r1/include/linux/kaiser.h
/usr/src/linux-4.9.79-gentoo/arch/x86/mm/kaiser.c
/usr/src/linux-4.9.79-gentoo/arch/x86/include/asm/kaiser.h
/usr/src/linux-4.9.79-gentoo/include/linux/kaiser.h _________________ Defund the FCC. |
|
Back to top |
|
|
nmel n00b
Joined: 12 Mar 2017 Posts: 34
|
Posted: Mon Feb 12, 2018 6:04 am Post subject: |
|
|
Thanks for your replies! Will be waiting 4.9.81 as the kernel compiled from 4.9.76-r1 sources panics at boot with oldconfig from 4.9.75... |
|
Back to top |
|
|
|