grsecurity-3.1-4.4.4-201603032158 build failures on armv7
Posted: Mon Mar 07, 2016 3:07 am
Hi,
I ran in to a couple problems building with grsec and 4.4.4 for armv7.
I'm building from GCC 5.3.0 with libstdc++ switched to the new ABI [0], since it's being building for Parabola (distro based on Arch).
[0]:https://www.archlinux.org/news/c-abi-change/
I ran in to a couple problems building with grsec and 4.4.4 for armv7.
- Code: Select all
In file included from include/linux/atomic.h:562:0,
from include/linux/spinlock.h:417,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from arch/arm/kernel/asm-offsets.c:14:
include/asm-generic/atomic-long.h: In function 'atomic_long_inc_return_unchecked':
include/asm-generic/atomic-long.h:45:28: error: implicit declaration of function 'atomic_inc_return_unchecked' [-Werror=implicit-function-declaration]
#define ATOMIC_LONG_PFX(x) atomic ## x
^
include/asm-generic/atomic-long.h:203:15: note: in expansion of macro 'ATOMIC_LONG_PFX'
return (long)ATOMIC_LONG_PFX(_##op##_return##mo##suffix)(v); \
^
include/asm-generic/atomic-long.h:206:1: note: in expansion of macro 'ATOMIC_LONG_INC_DEC_OP'
ATOMIC_LONG_INC_DEC_OP(inc,,_unchecked)
^
I'm building from GCC 5.3.0 with libstdc++ switched to the new ABI [0], since it's being building for Parabola (distro based on Arch).
[0]:https://www.archlinux.org/news/c-abi-change/