3.2.43 201304181907 does not compile

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

3.2.43 201304181907 does not compile

Postby roedie_nl » Mon Apr 22, 2013 4:14 am

Hi,

When compiling kernel 3.2.43 with the latest 201304181907 patch it fails with:

arch/x86/kvm/x86.c: In function ‘kvm_set_msr_common’:
arch/x86/kvm/x86.c:1600:4: error: expected ‘)’ before ‘break’
arch/x86/kvm/x86.c:1608:2: error: expected expression before ‘}’ token
make[4]: *** [arch/x86/kvm/x86.o] Error 1
make[3]: *** [arch/x86/kvm] Error 2
make[2]: *** [arch/x86] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2

It seems that this piece of code is not right:

/* Check that address+len does not cross page boundary */
if ((gpa_offset & (sizeof(struct pvclock_vcpu_time_info) - 1)
& PAGE_MASK)
break;

I can see there's either a '(' too much or a missing ')'. Since I'm not a coder I don't know which one :-)
roedie_nl
 
Posts: 3
Joined: Mon Apr 15, 2013 7:29 am

Re: 3.2.43 201304181907 does not compile

Postby spender » Mon Apr 22, 2013 7:50 am

Thanks, it'll be fixed tonight.

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


Return to grsecurity support

cron