paxtest on 64bit
Posted: Fri Feb 12, 2010 4:44 pm
Hello,
The paxtest suite doesn't compile on 64bit (I'm using a fedora 10 machine). I get the error below:
I'm using the paxtest-0.9.7-pre6 package.
This has been a problem for quite some time. I'm most interested now in getting it to work, however, because I'm implementing an auto-regression testing system for grsecurity. As it stands right now in my environment, after the kernel is compiled, it gets launched inside a XEN virtual machine and test are kicked off. Right now it's just the grsecurity regression tests, and I'd like to add paxtest into here as well.
Each time I rebuild the kernel, code update or not, these tests happen. I imagine this will become more useful as time goes on and the internals of the kernel change, it'll automatically shout out when a test that has been previously working starts to fail.
As far as the PAX test are concerned, my understanding of the code in these tests is limited and as I learn more I'll write more tests. Soon I'll be picking up where I left off on a test suite for the RBAC system.
Any help to get paxtest to work on a 64bit compiler would be greatly appreciated.
The paxtest suite doesn't compile on 64bit (I'm using a fedora 10 machine). I get the error below:
make -f Makefile.psm
make[1]: Entering directory `/root/paxtest-0.9.7-pre6'
gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\".\" -fno-stack-protector -fPIE -Wa,--noexecstack -o crt1S.o -c crt1S.S
crt1S.S: Assembler messages:
crt1S.S:5: Error: suffix or operands invalid for `pop'
crt1S.S:10: Error: suffix or operands invalid for `pop'
crt1S.S:12: Error: suffix or operands invalid for `push'
crt1S.S:13: Error: suffix or operands invalid for `push'
crt1S.S:14: Error: suffix or operands invalid for `push'
crt1S.S:15: Error: suffix or operands invalid for `push'
crt1S.S:16: Error: suffix or operands invalid for `push'
crt1S.S:17: Error: suffix or operands invalid for `push'
crt1S.S:18: Error: suffix or operands invalid for `push'
crt1S.S:19: Error: suffix or operands invalid for `push'
crt1S.S:20: Error: suffix or operands invalid for `push'
crt1S.S:21: Error: suffix or operands invalid for `push'
make[1]: *** [crt1S.o] Error 1
make[1]: Leaving directory `/root/paxtest-0.9.7-pre6'
make: *** [linux] Error 2
I'm using the paxtest-0.9.7-pre6 package.
This has been a problem for quite some time. I'm most interested now in getting it to work, however, because I'm implementing an auto-regression testing system for grsecurity. As it stands right now in my environment, after the kernel is compiled, it gets launched inside a XEN virtual machine and test are kicked off. Right now it's just the grsecurity regression tests, and I'd like to add paxtest into here as well.
Each time I rebuild the kernel, code update or not, these tests happen. I imagine this will become more useful as time goes on and the internals of the kernel change, it'll automatically shout out when a test that has been previously working starts to fail.
As far as the PAX test are concerned, my understanding of the code in these tests is limited and as I learn more I'll write more tests. Soon I'll be picking up where I left off on a test suite for the RBAC system.
Any help to get paxtest to work on a 64bit compiler would be greatly appreciated.