Skip to content

Error when setup with docker #16

Description

@EERose

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'; \

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions