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

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

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

Postby fabled » Wed Dec 16, 2015 3:40 am

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.
fabled
 
Posts: 20
Joined: Sat Aug 08, 2009 8:39 am

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

Postby spender » Wed Dec 16, 2015 4:58 pm

Thanks, will be fixed in the next patch.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support

cron