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

Error when setup with docker #16

Open
EERose opened this issue Mar 10, 2023 · 0 comments
Open

Error when setup with docker #16

EERose opened this issue Mar 10, 2023 · 0 comments

Comments

@EERose
Copy link

EERose commented Mar 10, 2023

I tried to set up asa-framework using docker.
I follow the instructions in https://dsa-framework.readthedocs.io/en/latest/Basics/Setup.html
I DO SKIP the "./scripts/init-submodules.sh" command.
But I met Errors on command "make all -j"
Here is the error log!
Could you help me fix it?
Thank you!

gmake[6]: Leaving directory '/root/dsa-framework/chipyard/toolchains/riscv-tools/riscv-gnu-toolchain/build/build-binutils-newlib/bfd'
gmake[5]: *** [Makefile:1641: all-recursive] Error 1
gmake[5]: Leaving directory '/root/dsa-framework/chipyard/toolchains/riscv-tools/riscv-gnu-toolchain/build/build-binutils-newlib/bfd'
mv -f .deps/elflink.Tpo .deps/elflink.Plo
gmake[4]: *** [Makefile:1167: all] Error 2
/bin/sh ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -I/root/dsa-framework/chipyard/toolchains/riscv-tools/riscv-gnu-toolchain/build/../riscv-gdb/bfd/../zlib -g -O2 -rpath /root/dsa-framework/chipyard/riscv-tools-install/x86_64-pc-linux-gnu/riscv64-unknown-elf/lib -release cat libtool-soversion -o libbfd.la archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coff-bfd.lo compress.lo corefile.lo elf-properties.lo format.lo hash.lo init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo binary.lo ihex.lo srec.lo tekhex.lo verilog.lo cat ofiles -ldl -L./../zlib -lz -ldl
gmake[4]: Leaving directory '/root/dsa-framework/chipyard/toolchains/riscv-tools/riscv-gnu-toolchain/build/build-binutils-newlib/bfd'
gmake[3]: *** [Makefile:2690: all-bfd] Error 2
gmake[3]: Leaving directory '/root/dsa-framework/chipyard/toolchains/riscv-tools/riscv-gnu-toolchain/build/build-binutils-newlib'
gmake[2]: *** [Makefile:849: all] Error 2
gmake[2]: Leaving directory '/root/dsa-framework/chipyard/toolchains/riscv-tools/riscv-gnu-toolchain/build/build-binutils-newlib'
gmake[1]: *** [Makefile:391: stamps/build-binutils-newlib] Error 2
gmake[1]: *** Waiting for unfinished jobs....
libtool: link: ar rc .libs/libbfd.a archive.o archures.o bfd.o bfdio.o bfdwin.o cache.o coff-bfd.o compress.o corefile.o elf-properties.o format.o hash.o init.o libbfd.o linker.o merge.o opncls.o reloc.o section.o simple.o stab-syms.o stabs.o syms.o targets.o binary.o ihex.o srec.o tekhex.o verilog.o elf64-riscv.o elf64.o elfxx-riscv.o elf32.o elf.o elflink.o elf-attrs.o elf-strtab.o elf-eh-frame.o dwarf1.o dwarf2.o elf32-riscv.o elf64-gen.o elf32-gen.o plugin.o cpu-riscv.o cpu-plugin.o archive64.o
libtool: link: ranlib .libs/libbfd.a
libtool: link: ( cd ".libs" && rm -f "libbfd.la" && ln -s "../libbfd.la" "libbfd.la" )
libtooldir=/bin/sh ./libtool --config | /bin/sed -n -e 's/^objdir=//p'; \

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