grsecurity-2.2.2-3.0.4-201109261052 compile errors

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

grsecurity-2.2.2-3.0.4-201109261052 compile errors

Postby x14sg1 » Tue Oct 04, 2011 2:01 am

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
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm

Re: grsecurity-2.2.2-3.0.4-201109261052 compile errors

Postby PaX Team » Tue Oct 04, 2011 3:51 pm

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

Re: grsecurity-2.2.2-3.0.4-201109261052 compile errors

Postby x14sg1 » Tue Oct 04, 2011 7:50 pm

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
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm


Return to grsecurity support