[SOLVED] paxtest-0.9.14 fails to compile on ARMv6 (rpi)

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

[SOLVED] paxtest-0.9.14 fails to compile on ARMv6 (rpi)

Postby radegand » Sat Apr 16, 2016 2:48 pm

Hi,

I wanted to run paxtest on my rpi, but unfortunately, it fails to compile giving the following error:
Code: Select all
~/paxtest-0.9.14# make linux
make -f Makefile.psm
make[1]: Entering directory '/root/paxtest-0.9.14'
gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\".\" -fno-stack-protector   -o chpax-0.7/aout.o -c chpax-0.7/aout.c
gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\".\" -fno-stack-protector   -o chpax-0.7/chpax.o -c chpax-0.7/chpax.c
gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\".\" -fno-stack-protector   -o chpax-0.7/elf32.o -c chpax-0.7/elf32.c
gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\".\" -fno-stack-protector   -o chpax-0.7/elf64.o -c chpax-0.7/elf64.c
gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\".\" -fno-stack-protector   -o chpax-0.7/flags.o -c chpax-0.7/flags.c
gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\".\" -fno-stack-protector   -o chpax-0.7/io.o -c chpax-0.7/io.c
gcc  -o chpax chpax-0.7/aout.o chpax-0.7/chpax.o chpax-0.7/elf32.o chpax-0.7/elf64.o chpax-0.7/flags.o chpax-0.7/io.o
gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\".\" -fno-stack-protector   -fPIC -o shlibtest.o -c shlibtest.c
/tmp/cclReaBh.s: Assembler messages:
/tmp/cclReaBh.s:28: Error: alignment too large: 15 assumed
Makefile.psm:235: recipe for target 'shlibtest.o' failed
make[1]: *** [shlibtest.o] Error 1
make[1]: Leaving directory '/root/paxtest-0.9.14'
Makefile:11: recipe for target 'linux' failed
make: *** [linux] Error 2

It fails on the raspbian (gcc 4.6.3) and on my gentoo too (gcc 4.8.3).
Any hints will be appreciated.

Thanks!
Radek
Last edited by radegand on Sun Apr 17, 2016 1:28 pm, edited 1 time in total.
radegand
 
Posts: 19
Joined: Wed Aug 05, 2009 7:09 am

Re: paxtest-0.9.14 fails to compile on ARMv6 (rpi)

Postby PaX Team » Sun Apr 17, 2016 2:42 am

see https://bugs.gentoo.org/show_bug.cgi?id=579702 for a discussion of this problem.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

[SOLVED] paxtest-0.9.14 fails to compile on ARMv6 (rpi)

Postby radegand » Sun Apr 17, 2016 1:26 pm

Thanks! :)
radegand
 
Posts: 19
Joined: Wed Aug 05, 2009 7:09 am


Return to grsecurity support