[SOLVED] paxtest-0.9.14 fails to compile on ARMv6 (rpi)
Posted: 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:
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
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