Unable to compile 2.6.21 with grsec

Discuss and suggest new grsecurity features

Unable to compile 2.6.21 with grsec

Postby mmarinov » Sun May 06, 2007 9:12 am

Hello,
I'm working with grsec for many years now, but I see this error for first time:
Code: Select all
  MODPOST 153 modules
/bin/sh: line 1: 15459 File size limit exceededobjcopy -O binary -R .note -R .comment -S vmlinux arch/i386/boot/compressed/vmlinux.bin
make[2]: *** [arch/i386/boot/compressed/vmlinux.bin] Error 153
make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2
make: *** Waiting for unfinished jobs....


The file size is always different value. If I compile the kernel without the grsec patch I don't have any problems. Have you ever seen such an error?

I'm using vanilla 2.6.21 and grsecurity-2.1.10-2.6.21-200705041939.patch.

The only change to that patch was the dependency for the PaX.
mmarinov
 
Posts: 2
Joined: Sat May 05, 2007 1:58 pm

Re: Unable to compile 2.6.21 with grsec

Postby PaX Team » Sun May 06, 2007 10:12 am

mmarinov wrote:The file size is always different value. If I compile the kernel without the grsec patch I don't have any problems. Have you ever seen such an error?

I'm using vanilla 2.6.21 and grsecurity-2.1.10-2.6.21-200705041939.patch.

The only change to that patch was the dependency for the PaX.
do you have KERNEXEC enabled? and what's your ld version?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Postby mmarinov » Sun May 06, 2007 12:48 pm

Yes, I have KERNEXEC enabled.
Code: Select all
hackman@gamelon:~$ ld -V
GNU ld version 2.15.92.0.2 20040927
  Supported emulations:
   elf_i386
   i386linux
   elf_x86_64
mmarinov
 
Posts: 2
Joined: Sat May 05, 2007 1:58 pm


Return to grsecurity development