Page 1 of 1

Unable to compile 2.6.21 with grsec

PostPosted: Sun May 06, 2007 9:12 am
by mmarinov
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.

Re: Unable to compile 2.6.21 with grsec

PostPosted: Sun May 06, 2007 10:12 am
by PaX Team
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?

PostPosted: Sun May 06, 2007 12:48 pm
by mmarinov
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