Page 1 of 1

grsecurity-2.2.2-3.0.4-201109142336.patch error

PostPosted: Thu Sep 15, 2011 3:44 am
by blablo
Code: Select all
  CC      block/cfq-iosched.o
block/cfq-iosched.c: In function ‘cfq_back_seek_max_store’:
block/cfq-iosched.c:4168:1: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
block/cfq-iosched.c: In function ‘cfq_slice_idle_store’:
block/cfq-iosched.c:4171:1: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
block/cfq-iosched.c: In function ‘cfq_group_idle_store’:
block/cfq-iosched.c:4172:1: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
block/cfq-iosched.c: In function ‘cfq_low_latency_store’:
block/cfq-iosched.c:4177:1: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
  LD      block/built-in.o
  CC      grsecurity/grsec_chdir.o
  CC      grsecurity/grsec_chroot.o
grsecurity/grsec_chroot.c:354:1: error: ‘gr_handle_chroot_caps’ undeclared here (not in a function)
make[1]: *** [grsecurity/grsec_chroot.o] Error 1
make: *** [grsecurity] Error 2

distro: arch linux (32 bit)
gcc: gcc-4.6.1-4
kernel: linux-3.0.4 (vanilla)
grsec: grsecurity-2.2.2-3.0.4-201109142336.patch
Thanks

Re: grsecurity-2.2.2-3.0.4-201109142336.patch error

PostPosted: Thu Sep 15, 2011 9:51 am
by spender
This is fixed in the latest patches.

Thanks,
-Brad

Re: grsecurity-2.2.2-3.0.4-201109142336.patch error

PostPosted: Fri Sep 16, 2011 9:13 am
by blablo
Many thanks works great

Re: grsecurity-2.2.2-3.0.4-201109142336.patch error

PostPosted: Mon Sep 19, 2011 7:23 am
by blablo
grsec: grsecurity-2.2.2-3.0.4-201109171832.patch
Code: Select all
  LD      arch/x86/platform/ce4100/built-in.o
  CC      arch/x86/platform/efi/efi.o
  CC      arch/x86/platform/efi/efi_32.o
arch/x86/platform/efi/efi_32.c: In function ‘efi_call_phys_prelog’:
arch/x86/platform/efi/efi_32.c:69:20: warning: assignment makes integer from pointer without a cast [enabled by default]
arch/x86/platform/efi/efi_32.c: In function ‘efi_call_phys_epilog’:
arch/x86/platform/efi/efi_32.c:86:20: warning: assignment makes integer from pointer without a cast [enabled by default]
  AS      arch/x86/platform/efi/efi_stub_32.o
arch/x86/platform/efi/efi_stub_32.S: Assembler messages:
arch/x86/platform/efi/efi_stub_32.S:44: Error: can't handle non absolute segment in `ljmp'
arch/x86/platform/efi/efi_stub_32.S:92: Error: can't handle non absolute segment in `ljmp'
make[3]: *** [arch/x86/platform/efi/efi_stub_32.o] Error 1
make[2]: *** [arch/x86/platform/efi] Error 2
make[1]: *** [arch/x86/platform] Error 2
make: *** [arch/x86] Error 2

Thanks

Re: grsecurity-2.2.2-3.0.4-201109142336.patch error

PostPosted: Mon Sep 19, 2011 8:43 am
by PaX Team
thanks, i'll fix it in the next patch. on a related note, are you actually using EFI to boot? if so, can you test whether it now works with KERNEXEC enabled? otherwise you can just disable EFI for now and it'll compile.

Re: grsecurity-2.2.2-3.0.4-201109142336.patch error

PostPosted: Mon Sep 19, 2011 10:36 am
by blablo
on a related note, are you actually using EFI to boot?

I'm sorry but no
otherwise you can just disable EFI for now and it'll compile.

good point :)
thanks