Page 1 of 1

grsecurity-3.1-4.3.3-201512151908 fails to compile on arm

PostPosted: Wed Dec 16, 2015 3:40 am
by fabled
I get the following error:
Code: Select all
  AS      arch/arm/kernel/entry-common.o
/home/tteras/aports/main/linux-grtest/src/linux-4.3/arch/arm/kernel/entry-common.S: Assembler messages:
/home/tteras/aports/main/linux-grtest/src/linux-4.3/arch/arm/kernel/entry-common.S:67: Error: invalid constant (1ff) after fixup
/home/tteras/aports/main/linux-grtest/src/linux-4.3/scripts/Makefile.build:294: recipe for target 'arch/arm/kernel/entry-common.o' failed


The offending assembly line is:
Code: Select all
        tst     r1, #_TIF_SYSCALL_WORK | _TIF_WORK_MASK


Seems addition of _TIF_GRSEC_SETXID to _TIF_SYSCALL_WORK now makes the above line have too many bits set for the above instruction to be compiled.

Re: grsecurity-3.1-4.3.3-201512151908 fails to compile on ar

PostPosted: Wed Dec 16, 2015 4:58 pm
by spender
Thanks, will be fixed in the next patch.

-Brad