Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
failed to compile kernel 4.9.80 (kaiser.c)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nmel
n00b
n00b


Joined: 12 Mar 2017
Posts: 17

PostPosted: Sat Feb 10, 2018 10:33 pm    Post subject: failed to compile kernel 4.9.80 (kaiser.c) Reply with quote

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
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 628
Location: Italy

PostPosted: Sun Feb 11, 2018 1:14 pm    Post subject: Reply with quote

https://bugzilla.kernel.org/show_bug.cgi?id=198687
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Sun Feb 11, 2018 2:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
nmel
n00b
n00b


Joined: 12 Mar 2017
Posts: 17

PostPosted: Mon Feb 12, 2018 6:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum