Page 1 of 1

x86_64 buildfailure on 2.6.33 with !PAX

PostPosted: Wed Apr 28, 2010 12:05 am
by jeremyhu
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.

Re: x86_64 buildfailure on 2.6.33 with !PAX

PostPosted: Wed Apr 28, 2010 1:33 am
by specs
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.

Re: x86_64 buildfailure on 2.6.33 with !PAX

PostPosted: Wed Apr 28, 2010 3:18 am
by jeremyhu
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).

Re: x86_64 buildfailure on 2.6.33 with !PAX

PostPosted: Wed Apr 28, 2010 6:47 pm
by PaX Team
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.