3.7.1 compile error

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

3.7.1 compile error

Postby peter_tux » Fri Dec 28, 2012 7:22 am

using grsecurity-2.9.1-3.7.1-201212271953.patch and CONFIG_MODULES unset ends up with:

In file included from drivers/video/vesafb.c:12:0:
include/linux/moduleloader.h: In function 'apply_relocate':
include/linux/moduleloader.h:60:63: error: dereferencing pointer to incomplete type
make[2]: *** [drivers/video/vesafb.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

my fix ended up being http://pastebin.com/SG6wtiHq

the first hunk is optional and should go upstream I guess?
peter_tux
 
Posts: 1
Joined: Fri Dec 28, 2012 6:59 am

Re: 3.7.1 compile error

Postby PaX Team » Sat Dec 29, 2012 4:53 pm

thanks, i'll fix this in the next patch. i'll only change the two inline functions in moduleloader.h to compile under !CONFIG_MODULES as well, that's the smallest change for this.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support