x86_64 buildfailure on 2.6.33 with !PAX

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

x86_64 buildfailure on 2.6.33 with !PAX

Postby jeremyhu » Wed Apr 28, 2010 12:05 am

CC arch/x86/ia32/ia32_aout.o
arch/x86/ia32/ia32_aout.c: In function 'load_aout_binary':
arch/x86/ia32/ia32_aout.c:327: error: 'CONFIG_TASK_SIZE_MAX_SHIFT' undeclared (first use in this function)
arch/x86/ia32/ia32_aout.c:327: error: (Each undeclared identifier is reported only once
arch/x86/ia32/ia32_aout.c:327: error: for each function it appears in.)
arch/x86/ia32/ia32_aout.c:327: warning: type defaults to 'int' in declaration of 'type name'
arch/x86/ia32/ia32_aout.c:327: warning: type defaults to 'int' in declaration of 'type name'
make[2]: *** [arch/x86/ia32/ia32_aout.o] Error 1
make[1]: *** [arch/x86/ia32] Error 2
make: *** [arch/x86] Error 2

This should come from security/Kconfig, but it doesn't get set unless PAX is on. The build fails when pax is disabled.
jeremyhu
 
Posts: 2
Joined: Tue Apr 27, 2010 11:51 pm

Re: x86_64 buildfailure on 2.6.33 with !PAX

Postby specs » Wed Apr 28, 2010 1:33 am

You forgot to mention which version of pax you are using.\
pax-linux-2.6.33.2-test16.patch (the latest)?

Also, installing a patch for more functionality and not using it seems not productive.
Did you enable any of the pax-features?

Currently the patches are not sorted unfortunately.
specs
 
Posts: 190
Joined: Sun Mar 26, 2006 7:00 am

Re: x86_64 buildfailure on 2.6.33 with !PAX

Postby jeremyhu » Wed Apr 28, 2010 3:18 am

I know installing a patch and not using it is odd, but I got pax with a larger patchset (Gentoo's hardened-sources-2.6.33-r1).
jeremyhu
 
Posts: 2
Joined: Tue Apr 27, 2010 11:51 pm

Re: x86_64 buildfailure on 2.6.33 with !PAX

Postby PaX Team » Wed Apr 28, 2010 6:47 pm

jeremyhu wrote:CC arch/x86/ia32/ia32_aout.o
arch/x86/ia32/ia32_aout.c: In function 'load_aout_binary':
arch/x86/ia32/ia32_aout.c:327: error: 'CONFIG_TASK_SIZE_MAX_SHIFT' undeclared (first use in this function)
i know about this one already, will be fixed in the next patch.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support

cron