DEBUG: Executing shell function do_compile
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.linux-x86_64-3.7
riscv64-yoe-linux-clang --rtlib=compiler-rt --unwindlib=libgcc --stdlib=libc++ -mlittle-endian -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3/3.7.4-r0=/usr/src/debug/python3/3.7.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3/3.7.4-r0=/usr/src/debug/python3/3.7.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot-native= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3/3.7.4-r0=/usr/src/debug/python3/3.7.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3/3.7.4-r0=/usr/src/debug/python3/3.7.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot-native= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0=/usr/src/debug/python3-greenlet/0.4.15-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0=/usr/src/debug/python3-greenlet/0.4.15-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot-native= -fPIC -ITOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot/usr/include/python3.7m -c greenlet.c -o build/temp.linux-x86_64-3.7/greenlet.o
In file included from greenlet.c:343:
In file included from ./slp_platformselect.h:53:
./platform/switch_riscv_unix.h:16:30: error: unknown register name 'fs0' in asm
  __asm__ volatile ("" : : : REGS_TO_SAVE);
                             ^
./platform/switch_riscv_unix.h:7:46: note: expanded from macro 'REGS_TO_SAVE'
                     "s6", "s7", "s8", "s9", "s10", "s11", "fs0", "fs1", \
                                                           ^
./platform/switch_riscv_unix.h:27:30: error: unknown register name 'fs0' in asm
  __asm__ volatile ("" : : : REGS_TO_SAVE);
                             ^
./platform/switch_riscv_unix.h:7:46: note: expanded from macro 'REGS_TO_SAVE'
                     "s6", "s7", "s8", "s9", "s10", "s11", "fs0", "fs1", \
                                                           ^
2 errors generated.
error: command 'riscv64-yoe-linux-clang' failed with exit status 1
ERROR: 'python3 setup.py build ' execution failed.
WARNING: TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/temp/run.do_compile.2206195:1 exit 1 from 'exit 1'
ERROR: Execution of 'TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/temp/run.do_compile.2206195' failed with exit code 1:
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.linux-x86_64-3.7
riscv64-yoe-linux-clang --rtlib=compiler-rt --unwindlib=libgcc --stdlib=libc++ -mlittle-endian -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3/3.7.4-r0=/usr/src/debug/python3/3.7.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3/3.7.4-r0=/usr/src/debug/python3/3.7.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot-native= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3/3.7.4-r0=/usr/src/debug/python3/3.7.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3/3.7.4-r0=/usr/src/debug/python3/3.7.4-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot-native= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0=/usr/src/debug/python3-greenlet/0.4.15-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0=/usr/src/debug/python3-greenlet/0.4.15-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot-native= -fPIC -ITOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/recipe-sysroot/usr/include/python3.7m -c greenlet.c -o build/temp.linux-x86_64-3.7/greenlet.o
In file included from greenlet.c:343:
In file included from ./slp_platformselect.h:53:
./platform/switch_riscv_unix.h:16:30: error: unknown register name 'fs0' in asm
  __asm__ volatile ("" : : : REGS_TO_SAVE);
                             ^
./platform/switch_riscv_unix.h:7:46: note: expanded from macro 'REGS_TO_SAVE'
                     "s6", "s7", "s8", "s9", "s10", "s11", "fs0", "fs1", \
                                                           ^
./platform/switch_riscv_unix.h:27:30: error: unknown register name 'fs0' in asm
  __asm__ volatile ("" : : : REGS_TO_SAVE);
                             ^
./platform/switch_riscv_unix.h:7:46: note: expanded from macro 'REGS_TO_SAVE'
                     "s6", "s7", "s8", "s9", "s10", "s11", "fs0", "fs1", \
                                                           ^
2 errors generated.
error: command 'riscv64-yoe-linux-clang' failed with exit status 1
WARNING: TOPDIR/build/tmp/work/riscv64-yoe-linux/python3-greenlet/0.4.15-r0/temp/run.do_compile.2206195:1 exit 1 from 'exit 1'

Error details

Submitted on:
09/09/19 20:50
Error type:
Recipe
Task:
do_compile
Recipe:
python3-greenlet
Recipe version:
0.4.15-r0
Machine:
qemuriscv64
Distro:
yoe-glibc-sysvinit-wayland
Build system:
x86_64-linux
Target system:
riscv64-yoe-linux
Host distro:
arch/arch
Branch:
yoe/mut
Commit:
638d89c26086ad86358de4efdc3215e96f3052f2
Build:
#88416
Submitter:
raj.khem@gmail.com
Similar errors:
3
Open a bug