linuxppc / issues

Issues repository for linuxppc
5 stars 0 forks source link

powerpc kernel selftests don't build 32-bit #273

Open chleroy opened 5 years ago

chleroy commented 5 years ago

LANG= make -C tools/testing/selftests -k ARCH=powerpc CROSS_COMPILE=ppc-linux-

results in:

make[1]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc'
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/alignment; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C alignment all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/alignment'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     copy_first_unaligned.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/alignment/copy_first_unaligned
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     alignment_handler.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/alignment/alignment_handler
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/alignment'
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C benchmarks all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2    gettimeofday.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks/gettimeofday
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -maltivec -mvsx -mabi=altivec    context_switch.c ../harness.c ../utils.c -lpthread -o /root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks/context_switch
context_switch.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
cc1: all warnings being treated as errors
../harness.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
cc1: all warnings being treated as errors
../utils.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks/context_switch] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2    fork.c ../harness.c -lpthread -o /root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks/fork
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2    mmap_bench.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks/mmap_bench
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2    futex_bench.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks/futex_bench
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2    null_syscall.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks/null_syscall
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -static -nostartfiles    exec_target.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks/exec_target
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/benchmarks'
make[1]: *** [benchmarks] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/cache_shape; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C cache_shape all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/cache_shape'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     cache_shape.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/cache_shape/cache_shape
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/cache_shape'
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C copyloops all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops'
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test___copy_tofrom_user_base \
        -D SELFTEST_CASE=0 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_t0 copyuser_64.S validate.c ../harness.c stubs.S
copyuser_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_t0] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test___copy_tofrom_user_base \
        -D SELFTEST_CASE=1 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_t1 copyuser_64.S validate.c ../harness.c stubs.S
copyuser_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_t1] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test___copy_tofrom_user_base \
        -D SELFTEST_CASE=2 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_t2 copyuser_64.S validate.c ../harness.c stubs.S
copyuser_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_t2] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test___copy_tofrom_user_power7 \
        -D SELFTEST_CASE=0 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_p7_t0 copyuser_power7.S validate.c ../harness.c stubs.S
copyuser_power7.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_p7_t0] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test___copy_tofrom_user_power7 \
        -D SELFTEST_CASE=1 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_p7_t1 copyuser_power7.S validate.c ../harness.c stubs.S
copyuser_power7.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_p7_t1] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test_memcpy \
        -D SELFTEST_CASE=0 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_64_t0 memcpy_64.S validate.c ../harness.c stubs.S
memcpy_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_64_t0] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test_memcpy \
        -D SELFTEST_CASE=1 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_64_t1 memcpy_64.S validate.c ../harness.c stubs.S
memcpy_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_64_t1] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test_memcpy \
        -D SELFTEST_CASE=2 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_64_t2 memcpy_64.S validate.c ../harness.c stubs.S
memcpy_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_64_t2] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test_memcpy_power7 \
        -D SELFTEST_CASE=0 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_p7_t0 memcpy_power7.S validate.c ../harness.c stubs.S
memcpy_power7.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_p7_t0] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test_memcpy_power7 \
        -D SELFTEST_CASE=1 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_p7_t1 memcpy_power7.S validate.c ../harness.c stubs.S
memcpy_power7.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
validate.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/memcpy_p7_t1] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test___copy_tofrom_user_base \
        -D SELFTEST_CASE=0 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_exc_t0 copyuser_64.S exc_validate.c ../harness.c copy_tofrom_user_reference.S stubs.S
copyuser_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
exc_validate.c:1:0: error: -m64 not supported in this configuration
 #include <stdlib.h>
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
copy_tofrom_user_reference.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_exc_t0] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test___copy_tofrom_user_base \
        -D SELFTEST_CASE=1 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_exc_t1 copyuser_64.S exc_validate.c ../harness.c copy_tofrom_user_reference.S stubs.S
copyuser_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
exc_validate.c:1:0: error: -m64 not supported in this configuration
 #include <stdlib.h>
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
copy_tofrom_user_reference.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_exc_t1] Error 1
ppc-linux-gcc  -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops -D SELFTEST -maltivec -mcpu=power4 \
        -D COPY_LOOP=test___copy_tofrom_user_base \
        -D SELFTEST_CASE=2 \
        -o /root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_exc_t2 copyuser_64.S exc_validate.c ../harness.c copy_tofrom_user_reference.S stubs.S
copyuser_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
exc_validate.c:1:0: error: -m64 not supported in this configuration
 #include <stdlib.h>
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
copy_tofrom_user_reference.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
stubs.S:1:0: error: -m64 not supported in this configuration
 #include <asm/ppc_asm.h>
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops/copyuser_64_exc_t2] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/copyloops'
make[1]: *** [copyloops] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/dscr; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C dscr all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/dscr'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     dscr_default_test.c ../harness.c -lpthread -o /root/linux-powerpc/tools/testing/selftests/powerpc/dscr/dscr_default_test
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     dscr_explicit_test.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/dscr/dscr_explicit_test
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     dscr_user_test.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/dscr/dscr_user_test
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     dscr_inherit_test.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/dscr/dscr_inherit_test
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     dscr_inherit_exec_test.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     dscr_sysfs_test.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/dscr/dscr_sysfs_test
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     dscr_sysfs_thread_test.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/dscr'
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/mm; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C mm all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/mm'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     hugetlb_vs_thp_test.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/mm/hugetlb_vs_thp_test
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     subpage_prot.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/mm/subpage_prot
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     prot_sao.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/mm/prot_sao
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     segv_errors.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/mm/segv_errors
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64    wild_bctr.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/mm/wild_bctr
wild_bctr.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0+
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/mm/wild_bctr] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64    large_vm_fork_separation.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/mm/large_vm_fork_separation
large_vm_fork_separation.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0+
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/mm/large_vm_fork_separation] Error 1
dd if=/dev/zero of=/root/linux-powerpc/tools/testing/selftests/powerpc/mm/tempfile bs=64k count=1
1+0 records in
1+0 records out
65536 bytes (66 kB) copied, 9.6902e-05 s, 676 MB/s
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/mm'
make[1]: *** [mm] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/pmu; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C pmu all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/pmu'
Makefile:40: warning: overriding commands for target 'clean'
../../lib.mk:123: warning: ignoring old commands for target 'clean'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/count_instructions loop.S count_instructions.c ../harness.c event.c lib.c ../utils.c
loop.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-only */
 ^
count_instructions.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
event.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
lib.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/count_instructions] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     l3_bank_test.c ../harness.c event.c lib.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/l3_bank_test
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include     per_event_excludes.c ../harness.c event.c lib.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/per_event_excludes
TARGET=ebb; BUILD_TARGET=$OUTPUT/$TARGET; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C $TARGET all
make[3]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  reg_access_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/reg_access_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/reg_access_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  event_attributes_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  cycles_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cycles_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cycles_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  cycles_with_freeze_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  pmc56_overflow_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  ebb_vs_cpu_event_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/ebb_vs_cpu_event_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/ebb_vs_cpu_event_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  cpu_event_vs_ebb_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cpu_event_vs_ebb_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cpu_event_vs_ebb_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  cpu_event_pinned_vs_ebb_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cpu_event_pinned_vs_ebb_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cpu_event_pinned_vs_ebb_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  task_event_vs_ebb_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  task_event_pinned_vs_ebb_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  multi_ebb_procs_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/multi_ebb_procs_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/multi_ebb_procs_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  multi_counter_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  pmae_handling_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/pmae_handling_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/pmae_handling_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  close_clears_pmcc_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/close_clears_pmcc_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/close_clears_pmcc_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  instruction_count_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S ../loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  fork_cleanup_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  ebb_on_child_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/ebb_on_child_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/ebb_on_child_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  ebb_on_willing_child_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/ebb_on_willing_child_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/ebb_on_willing_child_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  back_to_back_ebbs_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  lost_exception_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  no_handler_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/no_handler_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/no_handler_test] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64  -no-pie  cycles_with_mmcr2_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test
ppc-linux-gcc: error: unrecognized command line option '-no-pie'
make[3]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test] Error 1
make[3]: Target 'all' not remade because of errors.
make[3]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/pmu/ebb'
make[2]: *** [ebb] Error 2
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/pmu'
make[1]: *** [pmu] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/signal; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C signal all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/signal'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -maltivec    signal.c ../harness.c ../utils.c signal.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/signal/signal
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -maltivec -mhtm    signal_tm.c ../harness.c ../utils.c signal.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/signal/signal_tm
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -maltivec -pthread -m64    sigfuz.c ../harness.c ../utils.c signal.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/signal/sigfuz
sigfuz.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
signal.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/signal/sigfuz] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/signal'
make[1]: *** [signal] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/primitives; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C primitives all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/primitives'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I/root/linux-powerpc/tools/testing/selftests/powerpc/primitives    load_unaligned_zeropad.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/primitives'
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/stringloops; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C stringloops all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/stringloops'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I/root/linux-powerpc/tools/testing/selftests/powerpc/stringloops -m64 -maltivec    memcmp_64.S memcmp.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/stringloops/memcmp_64
memcmp_64.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
memcmp.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/stringloops/memcmp_64] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I/root/linux-powerpc/tools/testing/selftests/powerpc/stringloops    strlen.c string.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/stringloops/strlen
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/stringloops'
make[1]: *** [stringloops] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/switch_endian; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C switch_endian all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/switch_endian'
ppc-linux-gcc -O2 -Wall -g -nostdlib -m64 -I /root/linux-powerpc/tools/testing/selftests/powerpc/switch_endian   -c check.S -o /root/linux-powerpc/tools/testing/selftests/powerpc/switch_endian/check.o
check.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0 */
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/switch_endian/check.o] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/switch_endian'
make[1]: *** [switch_endian] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/syscalls; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C syscalls all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/syscalls'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include    ipc_unmuxed.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/syscalls/ipc_unmuxed
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/syscalls'
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/tm; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C tm all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/tm'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm    tm-resched-dscr.c ../harness.c ../utils.c ../pmu/lib.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-resched-dscr
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -I../../../../../usr/include    tm-syscall.c ../harness.c ../utils.c tm-syscall-asm.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-syscall
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm    tm-signal-msr-resv.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-msr-resv
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm    tm-signal-stack.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-stack
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm    tm-vmxcopy.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-vmxcopy
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm    tm-fork.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-fork
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm    tm-tar.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-tar
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -pthread    tm-tmspr.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-tmspr
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -pthread -m64    tm-vmx-unavail.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-vmx-unavail
tm-vmx-unavail.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-vmx-unavail] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -O0 -pthread -m64 -Wno-error=uninitialized -mvsx    tm-unavailable.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-unavailable
tm-unavailable.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
tm-unavailable.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../harness.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../utils.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-unavailable] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -O0 -pthread -m64    tm-trap.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-trap
tm-trap.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-trap] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -mhtm -m64 -mvsx    tm-signal-context-chk-gpr.c ../harness.c ../utils.c tm-signal.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr
tm-signal-context-chk-gpr.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
tm-signal-context-chk-gpr.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../harness.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../utils.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
tm-signal.S:1:0: error: -mvsx requires hardware floating point [-Werror]
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
tm-signal.S:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -mhtm -m64 -mvsx    tm-signal-context-chk-fpu.c ../harness.c ../utils.c tm-signal.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu
tm-signal-context-chk-fpu.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
tm-signal-context-chk-fpu.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../harness.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../utils.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
tm-signal.S:1:0: error: -mvsx requires hardware floating point [-Werror]
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
tm-signal.S:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -mhtm -m64 -mvsx    tm-signal-context-chk-vmx.c ../harness.c ../utils.c tm-signal.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx
tm-signal-context-chk-vmx.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
tm-signal-context-chk-vmx.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../harness.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../utils.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
tm-signal.S:1:0: error: -mvsx requires hardware floating point [-Werror]
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
tm-signal.S:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -mhtm -m64 -mvsx    tm-signal-context-chk-vsx.c ../harness.c ../utils.c tm-signal.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx
tm-signal-context-chk-vsx.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
tm-signal-context-chk-vsx.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../harness.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../utils.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
tm-signal.S:1:0: error: -mvsx requires hardware floating point [-Werror]
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
tm-signal.S:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm    tm-sigreturn.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-sigreturn
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm    tm-signal-sigreturn-nt.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -mhtm -pthread -m64    tm-signal-context-force-tm.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm
tm-signal-context-force-tm.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../utils.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/tm'
make[1]: *** [tm] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/vphn; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C vphn all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/vphn'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -m64 -I/root/linux-powerpc/tools/testing/selftests/powerpc/vphn    test-vphn.c ../harness.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/vphn/test-vphn
test-vphn.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/vphn/test-vphn] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/vphn'
make[1]: *** [vphn] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/math; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C math all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/math'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -g -pthread -m64 -maltivec    fpu_syscall.c ../harness.c fpu_asm.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/math/fpu_syscall
fpu_syscall.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
fpu_asm.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/math/fpu_syscall] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -g -pthread -m64 -maltivec    fpu_preempt.c ../harness.c fpu_asm.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/math/fpu_preempt
fpu_preempt.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
fpu_asm.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/math/fpu_preempt] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -g -pthread -m64 -maltivec    fpu_signal.c ../harness.c fpu_asm.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/math/fpu_signal
fpu_signal.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
fpu_asm.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/math/fpu_signal] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -g -pthread -m64 -maltivec    vmx_syscall.c ../harness.c vmx_asm.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/math/vmx_syscall
vmx_syscall.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
vmx_asm.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/math/vmx_syscall] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -g -pthread -m64 -maltivec    vmx_preempt.c ../harness.c vmx_asm.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/math/vmx_preempt
vmx_preempt.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
vmx_asm.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/math/vmx_preempt] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -g -pthread -m64 -maltivec    vmx_signal.c ../harness.c vmx_asm.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/math/vmx_signal
vmx_signal.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
 // SPDX-License-Identifier: GPL-2.0-only
 ^
vmx_asm.S:1:0: error: -m64 not supported in this configuration
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/math/vmx_signal] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -O2 -g -pthread -m64 -maltivec -mvsx    vsx_preempt.c ../harness.c vsx_asm.S  -o /root/linux-powerpc/tools/testing/selftests/powerpc/math/vsx_preempt
vsx_preempt.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-or-later
 ^
vsx_preempt.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
../harness.c:1:0: error: -mvsx requires hardware floating point [-Werror]
 // SPDX-License-Identifier: GPL-2.0-only
 ^
../harness.c:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
vsx_asm.S:1:0: error: -mvsx requires hardware floating point [-Werror]
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 ^
vsx_asm.S:1:0: error: -m64 not supported in this configuration
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/math/vsx_preempt] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/math'
make[1]: *** [math] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C ptrace all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-gpr.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-gpr
In file included from ptrace.h:27:0,
                 from ptrace-gpr.c:7:
ptrace-gpr.c: In function 'trace_gpr':
ptrace-gpr.h:15:19: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define FPR_1_REP 0x3f50624de0000000
                   ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-gpr.c:64:28: note: in expansion of macro 'FPR_1_REP'
  FAIL_IF(validate_fpr(fpr, FPR_1_REP));
                            ^
ptrace-gpr.h:17:19: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define FPR_3_REP 0x3f689374c0000000
                   ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-gpr.c:66:27: note: in expansion of macro 'FPR_3_REP'
  FAIL_IF(write_fpr(child, FPR_3_REP));
                           ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-gpr] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-tm-gpr.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr
In file included from ptrace-tm-gpr.c:9:0:
../tm/tm.h: In function 'failure_code':
../tm/tm.h:37:9: error: implicit declaration of function '__builtin_get_texasru' [-Werror=implicit-function-declaration]
  return __builtin_get_texasru() >> 24;
         ^
In file included from ptrace.h:27:0,
                 from ptrace-tm-gpr.c:7:
ptrace-tm-gpr.c: In function 'trace_tm_gpr':
ptrace-gpr.h:16:19: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define FPR_2_REP 0x3f60624de0000000
                   ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-gpr.c:96:28: note: in expansion of macro 'FPR_2_REP'
  FAIL_IF(validate_fpr(fpr, FPR_2_REP));
                            ^
ptrace-gpr.h:15:19: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define FPR_1_REP 0x3f50624de0000000
                   ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-gpr.c:98:28: note: in expansion of macro 'FPR_1_REP'
  FAIL_IF(validate_fpr(fpr, FPR_1_REP));
                            ^
ptrace-gpr.h:17:19: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define FPR_3_REP 0x3f689374c0000000
                   ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-gpr.c:102:32: note: in expansion of macro 'FPR_3_REP'
  FAIL_IF(write_ckpt_fpr(child, FPR_3_REP));
                                ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-tm-spd-gpr.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr
In file included from ptrace-tm-spd-gpr.c:9:0:
../tm/tm.h: In function 'failure_code':
../tm/tm.h:37:9: error: implicit declaration of function '__builtin_get_texasru' [-Werror=implicit-function-declaration]
  return __builtin_get_texasru() >> 24;
         ^
In file included from ptrace.h:27:0,
                 from ptrace-tm-spd-gpr.c:7:
ptrace-tm-spd-gpr.c: In function 'trace_tm_spd_gpr':
ptrace-gpr.h:18:19: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define FPR_4_REP 0x3f70624de0000000
                   ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-spd-gpr.c:102:28: note: in expansion of macro 'FPR_4_REP'
  FAIL_IF(validate_fpr(fpr, FPR_4_REP));
                            ^
ptrace-gpr.h:15:19: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define FPR_1_REP 0x3f50624de0000000
                   ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-spd-gpr.c:104:28: note: in expansion of macro 'FPR_1_REP'
  FAIL_IF(validate_fpr(fpr, FPR_1_REP));
                            ^
ptrace-gpr.h:17:19: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define FPR_3_REP 0x3f689374c0000000
                   ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-spd-gpr.c:108:32: note: in expansion of macro 'FPR_3_REP'
  FAIL_IF(write_ckpt_fpr(child, FPR_3_REP));
                                ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-tar.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tar
ptrace-tar.c: In function 'tar':
ptrace-tar.c:21:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Werror=format=]
  printf("%-30s TAR: %u PPR: %lx DSCR: %u\n",
         ^
In file included from ptrace-tar.c:8:0:
ptrace-tar.h:18:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_2   0x8000000000000         /* or 1,1,1 */
                 ^
ptrace-tar.c:45:43: note: in expansion of macro 'PPR_2'
  ret = validate_tar_registers(reg, TAR_2, PPR_2, DSCR_2);
                                           ^
In file included from ptrace.h:27:0,
                 from ptrace-tar.c:7:
ptrace-tar.c: In function 'trace_tar':
ptrace-tar.h:17:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_1   0x4000000000000         /* or 31,31,31*/
                 ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tar.c:60:45: note: in expansion of macro 'PPR_1'
  FAIL_IF(validate_tar_registers(reg, TAR_1, PPR_1, DSCR_1));
                                             ^
ptrace-tar.c: In function 'trace_tar_write':
ptrace-tar.h:18:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_2   0x8000000000000         /* or 1,1,1 */
                 ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tar.c:68:44: note: in expansion of macro 'PPR_2'
  FAIL_IF(write_tar_registers(child, TAR_2, PPR_2, DSCR_2));
                                            ^
ptrace-tar.c:69:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Werror=format=]
  printf("%-30s TAR: %u PPR: %lx DSCR: %u\n",
         ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tar] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-tm-tar.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar
In file included from ptrace-tm-tar.c:8:0:
../tm/tm.h: In function 'failure_code':
../tm/tm.h:37:9: error: implicit declaration of function '__builtin_get_texasru' [-Werror=implicit-function-declaration]
  return __builtin_get_texasru() >> 24;
         ^
In file included from ptrace-tm-tar.c:9:0:
ptrace-tm-tar.c: In function 'tm_tar':
ptrace-tar.h:20:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_4   0x10000000000000        /* or 2,2,2 */
                 ^
ptrace-tm-tar.c:81:45: note: in expansion of macro 'PPR_4'
   ret = validate_tar_registers(regs, TAR_4, PPR_4, DSCR_4);
                                             ^
In file included from ptrace.h:27:0,
                 from ptrace-tm-tar.c:7:
ptrace-tm-tar.c: In function 'trace_tm_tar':
ptrace-tar.h:18:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_2   0x8000000000000         /* or 1,1,1 */
                 ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-tar.c:99:46: note: in expansion of macro 'PPR_2'
  FAIL_IF(validate_tar_registers(regs, TAR_2, PPR_2, DSCR_2));
                                              ^
ptrace-tar.h:17:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_1   0x4000000000000         /* or 31,31,31*/
                 ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-tar.c:104:46: note: in expansion of macro 'PPR_1'
  FAIL_IF(validate_tar_registers(regs, TAR_1, PPR_1, DSCR_1));
                                              ^
ptrace-tar.h:20:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_4   0x10000000000000        /* or 2,2,2 */
                 ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-tar.c:105:49: note: in expansion of macro 'PPR_4'
  FAIL_IF(write_ckpt_tar_registers(child, TAR_4, PPR_4, DSCR_4));
                                                 ^
ptrace-tm-tar.c:106:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Werror=format=]
  printf("%-30s TAR: %u PPR: %lx DSCR: %u\n",
         ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-tm-spd-tar.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar
In file included from ptrace-tm-spd-tar.c:8:0:
../tm/tm.h: In function 'failure_code':
../tm/tm.h:37:9: error: implicit declaration of function '__builtin_get_texasru' [-Werror=implicit-function-declaration]
  return __builtin_get_texasru() >> 24;
         ^
In file included from ptrace-tm-spd-tar.c:9:0:
ptrace-tm-spd-tar.c: In function 'tm_spd_tar':
ptrace-tar.h:20:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_4   0x10000000000000        /* or 2,2,2 */
                 ^
ptrace-tm-spd-tar.c:92:45: note: in expansion of macro 'PPR_4'
   ret = validate_tar_registers(regs, TAR_4, PPR_4, DSCR_4);
                                             ^
In file included from ptrace.h:27:0,
                 from ptrace-tm-spd-tar.c:7:
ptrace-tm-spd-tar.c: In function 'trace_tm_spd_tar':
ptrace-tar.h:19:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_3   0xc000000000000         /* or 6,6,6 */
                 ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-spd-tar.c:110:46: note: in expansion of macro 'PPR_3'
  FAIL_IF(validate_tar_registers(regs, TAR_3, PPR_3, DSCR_3));
                                              ^
ptrace-tar.h:17:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_1   0x4000000000000         /* or 31,31,31*/
                 ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-spd-tar.c:115:46: note: in expansion of macro 'PPR_1'
  FAIL_IF(validate_tar_registers(regs, TAR_1, PPR_1, DSCR_1));
                                              ^
ptrace-tar.h:20:17: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
 #define PPR_4   0x10000000000000        /* or 2,2,2 */
                 ^
/root/linux-powerpc/tools/testing/selftests/powerpc/include/utils.h:66:7: note: in definition of macro 'FAIL_IF'
  if ((x)) {      \
       ^
ptrace-tm-spd-tar.c:116:49: note: in expansion of macro 'PPR_4'
  FAIL_IF(write_ckpt_tar_registers(child, TAR_4, PPR_4, DSCR_4));
                                                 ^
ptrace-tm-spd-tar.c:117:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Werror=format=]
  printf("%-30s TAR: %u PPR: %lx DSCR: %u\n",
         ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-vsx.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-vsx
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-tm-vsx.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx
In file included from ptrace-tm-vsx.c:8:0:
../tm/tm.h: In function 'failure_code':
../tm/tm.h:37:9: error: implicit declaration of function '__builtin_get_texasru' [-Werror=implicit-function-declaration]
  return __builtin_get_texasru() >> 24;
         ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-tm-spd-vsx.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx
In file included from ptrace-tm-spd-vsx.c:8:0:
../tm/tm.h: In function 'failure_code':
../tm/tm.h:37:9: error: implicit declaration of function '__builtin_get_texasru' [-Werror=implicit-function-declaration]
  return __builtin_get_texasru() >> 24;
         ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-tm-spr.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr
In file included from ptrace-tm-spr.c:8:0:
../tm/tm.h: In function 'failure_code':
../tm/tm.h:37:9: error: implicit declaration of function '__builtin_get_texasru' [-Werror=implicit-function-declaration]
  return __builtin_get_texasru() >> 24;
         ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-hwbreak.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak
ptrace-hwbreak.c: In function 'set_hwbreakpoint_addr':
ptrace-hwbreak.c:79:14: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  info.addr = (__u64)addr;
              ^
ptrace-hwbreak.c:80:15: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  info.addr2 = (__u64)addr + range;
               ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-pkey.c child.h ../harness.c ../utils.c ../lib/reg.S ptrace.h -pthread -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-pkey
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    core-pkey.c child.h ../harness.c ../utils.c ../lib/reg.S ptrace.h -pthread -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/core-pkey
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    perf-hwbreak.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/perf-hwbreak
perf-hwbreak.c: In function 'breakpoint_test':
perf-hwbreak.c:56:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  attr.bp_addr = (__u64)(&attr) & 0xfffffffffffff800;
                 ^
perf-hwbreak.c: In function 'runtestsingle':
perf-hwbreak.c:90:17: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  readintalign = (int *)(((unsigned long)readintarraybig + 0x7ff) &
                 ^
perf-hwbreak.c:102:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  attr.bp_addr = (__u64)ptr;
                 ^
cc1: all warnings being treated as errors
make[2]: *** [/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/perf-hwbreak] Error 1
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include -I../tm -fno-pie    ptrace-syscall.c ../harness.c ../utils.c ../lib/reg.S ptrace.h  -o /root/linux-powerpc/tools/testing/selftests/powerpc/ptrace/ptrace-syscall
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/ptrace'
make[1]: *** [ptrace] Error 2
BUILD_TARGET=/root/linux-powerpc/tools/testing/selftests/powerpc/security; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C security all
make[2]: Entering directory '/root/linux-powerpc/tools/testing/selftests/powerpc/security'
ppc-linux-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v5.3-rc5-886-g69ada9c6e532-dirty"' -I/root/linux-powerpc/tools/testing/selftests/powerpc/include  -I../../../../../usr/include    rfi_flush.c ../harness.c ../utils.c  -o /root/linux-powerpc/tools/testing/selftests/powerpc/security/rfi_flush
make[2]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc/security'
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/root/linux-powerpc/tools/testing/selftests/powerpc'
mpe commented 5 years ago

They do build, I build them with a range of toolchains, including big endian. But they don't build for 32-bit. Many of them can't work on 32-bit.

gromero commented 4 years ago

@chleroy Hi. Out of curiosity, what kind of HW / board are using to test 32-bit? Is it any Mikrotik board or alike?

chleroy commented 4 years ago

@gromero Hi. No it's not Mikrotik boards. That's powerpc boards from CS for Air Trafic Control, see https://uk.c-s.fr/Voice-Communication-Systems_a517.html Oldest boards have MPC866 cpu More recent ones have MPC885 cpu Latest ones have MPC8321E cpu

gromero commented 4 years ago

@chleroy oh I see. Nice. Thanks for the info about the CPUs too. Cheers.