Page 1 of 1

grsecurity-2.2.2-3.0.4-201109261052 compile errors

PostPosted: Tue Oct 04, 2011 2:01 am
by x14sg1
Hello,

This error started happening for me with the 3.0.4 patches starting on the 17th

arch/x86/platform/efi/efi_32.c: In function 'efi_call_phys_prelog':
arch/x86/platform/efi/efi_32.c:64:2: error: 'GDT_ENTRY_EFI_CS' undeclared (first use in this function)
arch/x86/platform/efi/efi_32.c:64:2: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/platform/efi/efi_32.c:66:2: error: 'GDT_ENTRY_EFI_DS' undeclared (first use in this function)
arch/x86/platform/efi/efi_32.c: In function 'efi_call_phys_epilog':
arch/x86/platform/efi/efi_32.c:82:2: error: 'GDT_ENTRY_EFI_CS' undeclared (first use in this function)
arch/x86/platform/efi/efi_32.c:83:2: error: 'GDT_ENTRY_EFI_DS' undeclared (first use in this function)
make[3]: *** [arch/x86/platform/efi/efi_32.o] Error 1
AS arch/x86/platform/efi/efi_stub_32.o
make[3]: Target `__build' not remade because of errors.
make[2]: *** [arch/x86/platform/efi] Error 2

Re: grsecurity-2.2.2-3.0.4-201109261052 compile errors

PostPosted: Tue Oct 04, 2011 3:51 pm
by PaX Team
x14sg1 wrote:arch/x86/platform/efi/efi_32.c: In function 'efi_call_phys_prelog':
arch/x86/platform/efi/efi_32.c:64:2: error: 'GDT_ENTRY_EFI_CS' undeclared (first use in this function)
oops, small typo in there, i'll fix it in the next patch. coincidentally, are you actually using EFI and thus able to test my changes? ;)

Re: grsecurity-2.2.2-3.0.4-201109261052 compile errors

PostPosted: Tue Oct 04, 2011 7:50 pm
by x14sg1
PaX Team wrote:
x14sg1 wrote:arch/x86/platform/efi/efi_32.c: In function 'efi_call_phys_prelog':
arch/x86/platform/efi/efi_32.c:64:2: error: 'GDT_ENTRY_EFI_CS' undeclared (first use in this function)
oops, small typo in there, i'll fix it in the next patch. coincidentally, are you actually using EFI and thus able to test my changes? ;)


Sorry - I do not use EFI

Thanks