undefined symbol PMD_SHIFT

Discuss and suggest new grsecurity features

undefined symbol PMD_SHIFT

Postby AlanW » Sun Jul 11, 2010 4:10 am

With 2.6.34.1 (and also 2.6.33.6) I'm getting the following error

arch/x86/kernel/vmlinux.lds:642: undefined symbol `PMD_SHIFT' referenced in expression

It was previously an issue in 2.6.13.

Configured for AMD32, .config is available at http://wylie.me.uk/tmp/config-2.6.34.1-pax
AlanW
 
Posts: 2
Joined: Sun Jul 11, 2010 4:02 am

Re: undefined symbol PMD_SHIFT

Postby spender » Sun Jul 11, 2010 11:47 am

This should be fixed in the latest patch uploaded yesterday. Check to make sure it's the same one you're using and let me know if you still have problems.

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

Re: undefined symbol PMD_SHIFT

Postby AlanW » Mon Jul 12, 2010 4:16 pm

This should be fixed in the latest patch uploaded yesterday. Check to make sure it's the same one you're using and let me know if you still have problems.


Sorry - latest version shows the error.

Code: Select all
tar xf /work/download/Linux/linux-2.6.34.tar.bz2
cd linux-2.6.34/
bzip2 -dc /work/download/Linux/patch-2.6.34.1.bz2 | patch -p 1
patch -p 1 < /work/download/Linux/pax-linux-2.6.34.1-test9.patch

cp ../../linux-2.6.34.1-pax/.config .
make oldconfig
make

...

LD      .tmp_vmlinux1
arch/x86/kernel/vmlinux.lds:642: undefined symbol `PMD_SHIFT' referenced in expression
make: *** [.tmp_vmlinux1] Error 1
AlanW
 
Posts: 2
Joined: Sun Jul 11, 2010 4:02 am

Re: undefined symbol PMD_SHIFT

Postby spender » Mon Jul 12, 2010 6:07 pm

The latest grsecurity patch I meant. I've included a fix for the compile issue. It'll be fixed as well in the next PaX patch when it's released.

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


Return to grsecurity development