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

SW Build fails with vexriscv minimal variant #742

Open
ShvetankPrakash opened this issue Nov 28, 2022 · 0 comments
Open

SW Build fails with vexriscv minimal variant #742

ShvetankPrakash opened this issue Nov 28, 2022 · 0 comments

Comments

@ShvetankPrakash
Copy link
Collaborator

Noticed this while doing some other experimenting but the following error occurs when running make software EXTRA_LITEX_ARGS="--cpu-variant=minimal" out of the box but works for minimal+cfu variant:

/..../CFU-Playground/env/conda/envs/cfu-symbiflow/bin/../lib/gcc/riscv32-elf/10.1.0/../../../../riscv32-elf/bin/ld: /..../CFU-Playground/proj/proj_template/build/src/tensorflow/lite/micro/micro_utils.cc:89: undefined reference to `__truncdfsf2'
/..../CFU-Playground/env/conda/envs/cfu-symbiflow/bin/../lib/gcc/riscv32-elf/10.1.0/../../../../riscv32-elf/bin/ld: /..../CFU-Playground/proj/proj_template/build/src/tensorflow/lite/micro/micro_utils.cc:78: undefined reference to `__truncdfsf2'
/..../CFU-Playground/env/conda/envs/cfu-symbiflow/bin/../lib/gcc/riscv32-elf/10.1.0/../../../../riscv32-elf/bin/ld: src/tensorflow/lite/micro/test_helpers.o: in function `void tflite::SymmetricPerChannelQuantize<long>(float const*, long*, int, int, float*)':
/..../CFU-Playground/proj/proj_template/build/src/tensorflow/lite/micro/micro_utils.h:96: undefined reference to `__extendsfdf2'
/..../CFU-Playground/env/conda/envs/cfu-symbiflow/bin/../lib/gcc/riscv32-elf/10.1.0/../../../../riscv32-elf/bin/ld: src/tensorflow/lite/micro/test_helpers.o: in function `long long tflite::FloatToSymmetricQuantizedType<long long>(float, float)':
/..../CFU-Playground/proj/proj_template/build/src/tensorflow/lite/micro/micro_utils.h:55: undefined reference to `__extendsfdf2'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:166: software.elf] Error 1
make[3]: Leaving directory '/..../CFU-Playground/proj/proj_template/build'
make[2]: *** [../proj.mk:233: /..../CFU-Playground/proj/proj_template/build/software.bin] Error 2
make[2]: Leaving directory '/..../CFU-Playground/proj/proj_template

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