make[4]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14' make -C src all make[5]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src' make -C common all make[6]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/common' make -C ../backend submake-errcodes make[7]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[7]: Nothing to be done for 'submake-errcodes'. make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[6]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/common' make -C port all make[6]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/port' make -C ../backend submake-errcodes make[7]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[7]: Nothing to be done for 'submake-errcodes'. make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[6]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/port' make -C timezone all make[6]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/timezone' make -C ../../src/port all make[7]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/port' make -C ../backend submake-errcodes make[8]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[8]: Nothing to be done for 'submake-errcodes'. make[8]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/port' make -C ../../src/common all make[7]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/common' make -C ../backend submake-errcodes make[8]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[8]: Nothing to be done for 'submake-errcodes'. make[8]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/common' make[6]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/timezone' make -C backend all make[6]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make -C ../../src/port all make[7]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/port' make -C ../backend submake-errcodes make[8]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[8]: Nothing to be done for 'submake-errcodes'. make[8]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/port' make -C ../../src/common all make[7]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/common' make -C ../backend submake-errcodes make[8]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[8]: Nothing to be done for 'submake-errcodes'. make[8]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/common' make -C catalog schemapg.h make[7]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend/catalog' make[7]: 'schemapg.h' is up to date. make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend/catalog' make -C access all make[7]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend/access' make -C brin all make[8]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend/access/brin' ccache_cc -Wall -Wmissing-prototypes -Wpointer-arith -Os -pipe -matomic -marchs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -lpthread -I../../../../src/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/include -D_GNU_SOURCE -c -o brin.o brin.c -MMD -MP -MF .deps/brin.Po ccache_cc -Wall -Wmissing-prototypes -Wpointer-arith -Os -pipe -matomic -marchs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -lpthread -I../../../../src/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/include -D_GNU_SOURCE -c -o brin_pageops.o brin_pageops.c -MMD -MP -MF .deps/brin_pageops.Po In file included from ../../../../src/include/storage/lwlock.h:18:0, from ../../../../src/include/storage/lock.h:18, from ../../../../src/include/storage/lmgr.h:19, from brin_pageops.c:21: ../../../../src/include/storage/s_lock.h:914:2: error: #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@postgresql.org. #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@postgresql.org. ^ ../../../../src/include/storage/s_lock.h:986:1: error: unknown type name 'slock_t' extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or ^ ../../../../src/include/storage/s_lock.h:996:1: error: unknown type name 'slock_t' extern slock_t dummy_spinlock; ^ ../../../../src/include/storage/s_lock.h:1001:1: error: unknown type name 'slock_t' extern int s_lock(volatile slock_t *lock, const char *file, int line); ^ In file included from ../../../../src/include/storage/lock.h:18:0, from ../../../../src/include/storage/lmgr.h:19, from brin_pageops.c:21: ../../../../src/include/storage/lwlock.h:50:2: error: unknown type name 'slock_t' slock_t mutex; /* Protects LWLock and queue of PGPROCs */ ^ ../../../../src/Makefile.global:787: recipe for target 'brin_pageops.o' failed make[8]: *** [brin_pageops.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../../../../src/include/storage/lwlock.h:18:0, from ../../../../src/include/storage/lock.h:18, from ../../../../src/include/access/genam.h:20, from ../../../../src/include/nodes/execnodes.h:17, from ../../../../src/include/access/brin.h:14, from brin.c:18: ../../../../src/include/storage/s_lock.h:914:2: error: #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@postgresql.org. #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@postgresql.org. ^ ../../../../src/include/storage/s_lock.h:986:1: error: unknown type name 'slock_t' extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or ^ ../../../../src/include/storage/s_lock.h:996:1: error: unknown type name 'slock_t' extern slock_t dummy_spinlock; ^ ../../../../src/include/storage/s_lock.h:1001:1: error: unknown type name 'slock_t' extern int s_lock(volatile slock_t *lock, const char *file, int line); ^ In file included from ../../../../src/include/storage/lock.h:18:0, from ../../../../src/include/access/genam.h:20, from ../../../../src/include/nodes/execnodes.h:17, from ../../../../src/include/access/brin.h:14, from brin.c:18: ../../../../src/include/storage/lwlock.h:50:2: error: unknown type name 'slock_t' slock_t mutex; /* Protects LWLock and queue of PGPROCs */ ^ ../../../../src/Makefile.global:787: recipe for target 'brin.o' failed make[8]: *** [brin.o] Error 1 make[8]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend/access/brin' ../../../src/backend/common.mk:41: recipe for target 'brin-recursive' failed make[7]: *** [brin-recursive] Error 2 make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend/access' common.mk:41: recipe for target 'access-recursive' failed make[6]: *** [access-recursive] Error 2 make[6]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src/backend' Makefile:35: recipe for target 'all-backend-recurse' failed make[5]: *** [all-backend-recurse] Error 2 make[5]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/src' GNUmakefile:11: recipe for target 'all-src-recurse' failed make[4]: *** [all-src-recurse] Error 2 make[4]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14' Makefile:228: recipe for target '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/.built' failed make[3]: *** [/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/postgresql-9.5.14/.built] Error 2