grsecurity-2.2.2-3.0.4-201109142336.patch error

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

grsecurity-2.2.2-3.0.4-201109142336.patch error

Postby blablo » Thu Sep 15, 2011 3:44 am

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
blablo
 
Posts: 7
Joined: Mon Aug 29, 2011 8:30 am

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

Postby spender » Thu Sep 15, 2011 9:51 am

This is fixed in the latest patches.

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

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

Postby blablo » Fri Sep 16, 2011 9:13 am

Many thanks works great
blablo
 
Posts: 7
Joined: Mon Aug 29, 2011 8:30 am

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

Postby blablo » Mon Sep 19, 2011 7:23 am

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
blablo
 
Posts: 7
Joined: Mon Aug 29, 2011 8:30 am

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

Postby PaX Team » Mon Sep 19, 2011 8:43 am

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.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

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

Postby blablo » Mon Sep 19, 2011 10:36 am

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
blablo
 
Posts: 7
Joined: Mon Aug 29, 2011 8:30 am


Return to grsecurity support