Page 1 of 1

Compilation Error - grsecurity-2.9.1-3.2.38

PostPosted: Tue Feb 12, 2013 4:22 pm
by tradetaxfree
Code: Select all
arch/x86/platform/olpc/olpc.c: In function ‘olpc_init’:
arch/x86/platform/olpc/olpc.c:357:3: error: assignment of member ‘arch_init’ in read-only object
make[4]: *** [arch/x86/platform/olpc/olpc.o] Error 1
make[3]: *** [arch/x86/platform/olpc] Error 2
make[2]: *** [arch/x86/platform] Error 2
make[1]: *** [arch/x86] Error 2
make[1]: *** Waiting for unfinished jobs....

distro: Debian Wheezy (32 bit)
gcc: gcc-4.7.2-1
kernel: linux-3.2.38 (vanilla)
grsec: grsecurity-2.9.1-3.2.38-201302112313.patch

Kernel compiles without grsecurity. I had the same error on the previously released 3.2.37 patch / kernel also.

3.7.7 compiles ok

Re: Compilation Error - grsecurity-2.9.1-3.2.38

PostPosted: Wed Feb 13, 2013 11:21 am
by PaX Team
thanks, will be fixed in the next patch. also you must be the first user to run grsec on olpc ;).

Re: Compilation Error - grsecurity-2.9.1-3.2.38

PostPosted: Wed Feb 13, 2013 12:15 pm
by tradetaxfree
I use the Liquorix kernel config as my base - I think the olpc settings must be from there.