Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run multi-thread coremark on baremetal rocket core #13

Open
alan2031 opened this issue Aug 29, 2023 · 0 comments
Open

Run multi-thread coremark on baremetal rocket core #13

alan2031 opened this issue Aug 29, 2023 · 0 comments

Comments

@alan2031
Copy link

Hi,
I'm running multi-thread coremark on baremetal using pthread and get the following error. Does riscv toolchain support pthread? Or I miss some compilation options?Thanks!

Building Coremark Linux and Baremetal
Start compilation
/root/chipyard/.conda-env/esp-tools/bin/riscv64-unknown-linux-gnu-gcc -O2 -mcmodel=medany -static -std=gnu99 -fno-common -nostdlib -nostartfiles -lm -lgcc -T ../riscv64-baremetal/link.ld -I../riscv64-baremetal -I. -DFLAGS_STR=""-O2 -mcmodel=medany -static -std=gnu99 -fno-common -nostdlib -nostartfiles -lm -lgcc -T ../riscv64-baremetal/link.ld -DMULTITHREAD=4 -DUSE_PTHREAD -lrt -lpthread"" -DITERATIONS=10 -DMULTITHREAD=4 -DUSE_PTHREAD core_list_join.c core_main.c core_matrix.c core_state.c core_util.c ../riscv64-baremetal/core_portme.c ../riscv64-baremetal/syscalls.c ../riscv64-baremetal/crt.S -o ./coremark.bare.riscv -lrt -lpthread
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function free_stacks': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:277: undefined reference to _dl_deallocate_tls'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:277: undefined reference to __munmap' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function change_stack_perm':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:328: undefined reference to __mprotect' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:321: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:336: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:321: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function create_thread': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/createthread.c:101: undefined reference to __clone'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/createthread.c:147: undefined reference to __getpid' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/createthread.c:63: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/createthread.c:63: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/createthread.c:63: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/createthread.c:119: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/createthread.c:142: undefined reference to __assert_fail'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function futex_wait': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/futex-internal.h:62: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function futex_wake': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/futex-internal.h:231: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function setxid_signal_thread': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:1074: undefined reference to __getpid'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __deallocate_stack': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:805: undefined reference to _dl_deallocate_tls'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:805: undefined reference to _dl_make_stack_executable' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __reclaim_stacks':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:881: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __nptl_setxid':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:1143: undefined reference to __libc_fatal' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:1191: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:1195: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:1195: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:1223: undefined reference to __mempcpy' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:1221: undefined reference to __mempcpy'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __pthread_init_static_tls': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:1258: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __find_in_stack_list': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:244: undefined reference to free'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __nptl_deallocate_tsd': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:251: undefined reference to free'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:269: undefined reference to __resp' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:273: undefined reference to __resp'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:275: undefined reference to __resp' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:275: undefined reference to __ctype_init'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:317: undefined reference to _setjmp' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __free_tcb':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:345: undefined reference to __libc_thread_freeres' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function start_thread':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:390: undefined reference to __getpagesize' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:500: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:467: undefined reference to __madvise' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function futex_wake':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/futex-internal.h:231: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function start_thread':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:554: undefined reference to __getpagesize' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:527: undefined reference to _dl_stack_flags'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function allocate_stack': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:540: undefined reference to free'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function get_cached_stack': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:176: undefined reference to _dl_allocate_tls_init'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function allocate_stack': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:745: undefined reference to __libc_alloca_cutoff'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __pthread_create_2_1': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:643: undefined reference to _dl_allocate_tls'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:664: undefined reference to free' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function allocate_stack':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:434: undefined reference to _IO_enable_locks' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __pthread_create_2_1':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:871: undefined reference to __mmap' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:765: undefined reference to __mprotect'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function collect_default_sched': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/default-sched.h:31: undefined reference to _dl_allocate_tls'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function report_thread_creation': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:625: undefined reference to _dl_stack_flags'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __pthread_create_2_1': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:838: undefined reference to __munmap'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function allocate_stack': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:605: undefined reference to malloc'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:610: undefined reference to __mprotect' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:621: undefined reference to __mprotect'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:639: undefined reference to _dl_deallocate_tls' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:639: undefined reference to __munmap'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:646: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:646: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:646: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __pthread_create_2_1':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:677: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function get_cached_stack':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:193: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o):/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:803: more undefined references to errno' follow
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __pthread_create_2_1': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:810: undefined reference to __munmap'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:811: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:811: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:822: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:822: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function allocate_stack': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:447: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:447: undefined reference to __munmap' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:447: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:428: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:430: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:430: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:430: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __libc_use_alloca': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/pthread/allocalim.h:29: undefined reference to __assert_fail'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function allocate_stack': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:685: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function __pthread_create_2_1': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:845: undefined reference to __assert_fail'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_create.c:854: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o): in function allocate_stack':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:624: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:629: undefined reference to __assert_fail'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:506: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_create.o):/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/allocatestack.c:209: more undefined references to __assert_fail' follow
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_mutex_lock.o): in function __pthread_mutex_lock_full': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_mutex_lock.c:437: undefined reference to __pause_nocancel'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_mutex_lock.c:442: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_mutex_lock.c:433: undefined reference to __assert_fail'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_mutex_lock.c:591: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_mutex_lock.c:428: undefined reference to __assert_fail'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_mutex_lock.o): in function __pthread_mutex_lock': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_mutex_lock.c:144: undefined reference to __assert_fail'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_mutex_lock.o):/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_mutex_lock.c:142: more undefined references to __assert_fail' follow /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_setspecific.o): in function __pthread_setspecific':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_setspecific.c:70: undefined reference to calloc' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_cancel.o): in function __pthread_cancel':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_cancel.c:69: undefined reference to __getpid' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_once.o): in function futex_fatal_error':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/nptl/futex-internal.h:200: undefined reference to __libc_fatal' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/nptl/futex-internal.h:200: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(cancellation.o): in function futex_fatal_error': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/nptl/futex-internal.h:200: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(lll_timedwait_tid.o): in function __lll_timedwait_tid': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/lll_timedwait_tid.c:46: undefined reference to __gettimeofday'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(tpp.o): in function __init_sched_fifo_prio': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:45: undefined reference to __sched_get_priority_max'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:45: undefined reference to __sched_get_priority_min' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(tpp.o): in function __pthread_tpp_change_priority':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:144: undefined reference to __sched_setscheduler' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:65: undefined reference to calloc'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:78: undefined reference to __sched_getparam' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:126: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:126: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:132: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:129: undefined reference to __sched_getscheduler' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:138: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:138: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:138: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:68: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:68: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(tpp.o):/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:69: more undefined references to errno' follow /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(tpp.o): in function __pthread_tpp_change_priority':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:154: undefined reference to __assert_fail' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:82: undefined reference to __assert_fail'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(tpp.o): in function __pthread_current_priority': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:192: undefined reference to __sched_getscheduler'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:182: undefined reference to __sched_getparam' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/tpp.c:174: undefined reference to __sched_getscheduler'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(pthread_mutex_conf.o): in function __pthread_tunables_init': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/pthread_mutex_conf.c:43: undefined reference to __tunable_get_val'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(nptl-init.o): in function sigcancel_handler': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:173: undefined reference to __getpid'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(nptl-init.o): in function sighandler_setxid': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:220: undefined reference to __getpid'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(nptl-init.o): in function futex_fatal_error': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/nptl/futex-internal.h:200: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(nptl-init.o): in function __pthread_initialize_minimal_internal': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:298: undefined reference to __libc_stack_end'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:365: undefined reference to _dl_get_tls_static_info' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:385: undefined reference to __getrlimit'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:385: undefined reference to _dl_pagesize' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:407: undefined reference to _dl_init_static_tls'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:430: undefined reference to _dl_wait_lookup_done' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:422: undefined reference to __libc_pthread_init'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/nptl-init.c:404: undefined reference to _dl_pagesize' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(unwind.o): in function unwind_stop':
/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/unwind.c:70: undefined reference to _Unwind_GetCFA' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/unwind.c:60: undefined reference to _Unwind_GetCFA'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/unwind.c:94: undefined reference to __libc_longjmp' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/unwind.c:70: undefined reference to _Unwind_GetCFA'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(unwind.o): in function unwind_cleanup': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/unwind.c:105: undefined reference to __libc_fatal'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(unwind.o): in function __pthread_unwind': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/unwind.c:121: undefined reference to _Unwind_ForcedUnwind'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(sigaction.o): in function __libc_sigaction': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/sigaction.c:58: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/sigaction.c:58: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../sysdeps/unix/sysv/linux/sigaction.c:58: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(sigaction.o): in function __sigaction': /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../nptl/sigaction.c:24: undefined reference to errno'
/root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../nptl/sigaction.c:24: undefined reference to errno' /root/chipyard/.conda-env/esp-tools/bin/../lib/gcc/riscv64-unknown-linux-gnu/9.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /root/chipyard/.conda-env/esp-tools/bin/../sysroot/usr/lib/libpthread.a(sigaction.o):/home/conda/feedstock_root/build_artifacts/esp-tools_1662766261984/work/riscv-gnu-toolchain/riscv-glibc/nptl/../nptl/sigaction.c:30: more undefined references to errno' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:86: compile] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant