Hi all,
Im still having issue trying to compile Pynq for Ultra96 using Ubuntu 18.04 and Vivado 2018.3 tools. I have followed Peters advice for CT-NG and the solution almost gets there apart from the following error which i have no idea how to fix / resolve. Was wondering if anyone has any ideas.
Thanks in advance
[INFO ] =================================================================
[INFO ] Installing C library headers & start files
[INFO ] Installing C library headers & start files: done in 0.01s (at 09:38)
[INFO ] =================================================================
[INFO ] Installing pass-2 core C gcc compiler
[INFO ] Installing pass-2 core C gcc compiler: done in 254.20s (at 13:52)
[INFO ] =================================================================
[INFO ] Installing C library
[INFO ] Installing C library: done in 27.13s (at 14:19)
[INFO ] =================================================================
[INFO ] Installing final gcc compiler for build
[ERROR] collect2: error: ld returned 1 exit status
[ERROR] gmake[3]: *** [cc1plus] Error 1
[ERROR] gmake[2]: *** [all-gcc] Error 2
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step ‘Installing final gcc compiler for build’
[ERROR] >> called in step ‘(top-level)’
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR] >> called from: do_gcc_core_backend[scripts/build/cc/100-gcc.sh@537]
[ERROR] >> called from: do_gcc_for_build[scripts/build/cc/100-gcc.sh@625]
[ERROR] >> called from: do_cc_for_build[scripts/build/cc.sh@49]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@646]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: ‘build.log’
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> ‘/opt/crosstool-ng/share/doc/crosstool-ng/crosstool-ng-1.22.0/B - Known issues.txt’
[ERROR]
[ERROR] (elapsed: 16:45.81)
[16:46] / /opt/crosstool-ng/bin/ct-ng:152: recipe for target ‘build’ failed
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory ‘/home/iain/pynq/pynq2.4/sdbuild/build/gcc-mb’
/home/iain/pynq/pynq2.4/sdbuild/packages/gcc-mb/Makefile:22: recipe for target ‘/home/iain/pynq/pynq2.4/sdbuild/build/gcc-mb/aarch64/microblazeel-xilinx-elf/bin/mb-gcc’ failed
make: *** [/home/iain/pynq/pynq2.4/sdbuild/build/gcc-mb/aarch64/microblazeel-xilinx-elf/bin/mb-gcc] Error 2